Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2024-09-16 17:29:58 +00:00
parent 1afca056e3
commit 6989ba7bd2
3942 changed files with 55190 additions and 132206 deletions

View file

@ -4,10 +4,11 @@ var GetIntrinsic = require('get-intrinsic');
var callBound = require('call-bind/callBound');
var $SyntaxError = GetIntrinsic('%SyntaxError%');
var $SyntaxError = require('es-errors/syntax');
var getGlobalSymbolDescription = GetIntrinsic('%Symbol.keyFor%', true);
var thisSymbolValue = callBound('%Symbol.prototype.valueOf%', true);
var symToStr = callBound('Symbol.prototype.toString', true);
var $strSlice = callBound('String.prototype.slice');
var getInferredName = require('./getInferredName');
@ -36,7 +37,7 @@ module.exports = callBound('%Symbol.prototype.description%', true) || function g
}
}
desc = symToStr(sym).slice(7, -1); // str.slice('Symbol('.length, -')'.length);
desc = $strSlice(symToStr(sym), 7, -1); // str.slice('Symbol('.length, -')'.length);
if (desc) {
return desc;
}