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

@ -1,22 +1,18 @@
'use strict';
var GetIntrinsic = require('get-intrinsic');
var $SyntaxError;
var $TypeError = GetIntrinsic('%TypeError%');
var $SyntaxError = require('es-errors/syntax');
var $TypeError = require('es-errors/type');
var callBound = require('call-bind/callBound');
var $BigIntToString = callBound('BigInt.prototype.toString', true);
var Type = require('../Type');
var isInteger = require('../../helpers/isInteger');
// https://262.ecma-international.org/14.0/#sec-numeric-types-bigint-tostring
module.exports = function BigIntToString(x, radix) {
if (Type(x) !== 'BigInt') {
if (typeof x !== 'bigint') {
throw new $TypeError('Assertion failed: `x` must be a BigInt');
}