yves 1.0.98 → 1.0.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/yves.js +910 -543
- package/package.json +4 -4
package/dist/yves.js
CHANGED
|
@@ -508,7 +508,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
508
508
|
};
|
|
509
509
|
|
|
510
510
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
511
|
-
},{"object.assign/polyfill":
|
|
511
|
+
},{"object.assign/polyfill":85,"util/":4}],2:[function(require,module,exports){
|
|
512
512
|
if (typeof Object.create === 'function') {
|
|
513
513
|
// implementation from standard node.js 'util' module
|
|
514
514
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -1130,38 +1130,27 @@ function hasOwnProperty(obj, prop) {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
1132
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
1133
|
-
},{"./support/isBuffer":3,"_process":
|
|
1133
|
+
},{"./support/isBuffer":3,"_process":89,"inherits":2}],5:[function(require,module,exports){
|
|
1134
1134
|
(function (global){(function (){
|
|
1135
1135
|
'use strict';
|
|
1136
1136
|
|
|
1137
|
-
var possibleNames =
|
|
1138
|
-
'BigInt64Array',
|
|
1139
|
-
'BigUint64Array',
|
|
1140
|
-
'Float32Array',
|
|
1141
|
-
'Float64Array',
|
|
1142
|
-
'Int16Array',
|
|
1143
|
-
'Int32Array',
|
|
1144
|
-
'Int8Array',
|
|
1145
|
-
'Uint16Array',
|
|
1146
|
-
'Uint32Array',
|
|
1147
|
-
'Uint8Array',
|
|
1148
|
-
'Uint8ClampedArray'
|
|
1149
|
-
];
|
|
1150
|
-
|
|
1137
|
+
var possibleNames = require('possible-typed-array-names');
|
|
1151
1138
|
var g = typeof globalThis === 'undefined' ? global : globalThis;
|
|
1152
1139
|
|
|
1140
|
+
/** @type {import('.')} */
|
|
1153
1141
|
module.exports = function availableTypedArrays() {
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1142
|
+
var /** @type {ReturnType<typeof availableTypedArrays>} */out = [];
|
|
1143
|
+
for (var i = 0; i < possibleNames.length; i++) {
|
|
1144
|
+
if (typeof g[possibleNames[i]] === 'function') {
|
|
1145
|
+
// @ts-expect-error
|
|
1146
|
+
out[out.length] = possibleNames[i];
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
return out;
|
|
1161
1150
|
};
|
|
1162
1151
|
|
|
1163
1152
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
1164
|
-
},{}],6:[function(require,module,exports){
|
|
1153
|
+
},{"possible-typed-array-names":88}],6:[function(require,module,exports){
|
|
1165
1154
|
'use strict'
|
|
1166
1155
|
|
|
1167
1156
|
exports.byteLength = byteLength
|
|
@@ -3098,70 +3087,110 @@ function numberIsNaN (obj) {
|
|
|
3098
3087
|
}
|
|
3099
3088
|
|
|
3100
3089
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
3101
|
-
},{"base64-js":6,"buffer":9,"ieee754":
|
|
3090
|
+
},{"base64-js":6,"buffer":9,"ieee754":56}],10:[function(require,module,exports){
|
|
3102
3091
|
'use strict';
|
|
3103
3092
|
|
|
3104
|
-
var
|
|
3093
|
+
var bind = require('function-bind');
|
|
3094
|
+
var $apply = require('./functionApply');
|
|
3095
|
+
var $call = require('./functionCall');
|
|
3096
|
+
var $reflectApply = require('./reflectApply');
|
|
3105
3097
|
|
|
3106
|
-
|
|
3098
|
+
/** @type {import('./actualApply')} */
|
|
3099
|
+
module.exports = $reflectApply || bind.call($call, $apply);
|
|
3107
3100
|
|
|
3108
|
-
|
|
3101
|
+
},{"./functionApply":12,"./functionCall":13,"./reflectApply":15,"function-bind":38}],11:[function(require,module,exports){
|
|
3102
|
+
'use strict';
|
|
3109
3103
|
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3104
|
+
var bind = require('function-bind');
|
|
3105
|
+
var $apply = require('./functionApply');
|
|
3106
|
+
var actualApply = require('./actualApply');
|
|
3107
|
+
|
|
3108
|
+
/** @type {import('./applyBind')} */
|
|
3109
|
+
module.exports = function applyBind() {
|
|
3110
|
+
return actualApply(bind, $apply, arguments);
|
|
3116
3111
|
};
|
|
3117
3112
|
|
|
3118
|
-
},{"./":
|
|
3113
|
+
},{"./actualApply":10,"./functionApply":12,"function-bind":38}],12:[function(require,module,exports){
|
|
3114
|
+
'use strict';
|
|
3115
|
+
|
|
3116
|
+
/** @type {import('./functionApply')} */
|
|
3117
|
+
module.exports = Function.prototype.apply;
|
|
3118
|
+
|
|
3119
|
+
},{}],13:[function(require,module,exports){
|
|
3120
|
+
'use strict';
|
|
3121
|
+
|
|
3122
|
+
/** @type {import('./functionCall')} */
|
|
3123
|
+
module.exports = Function.prototype.call;
|
|
3124
|
+
|
|
3125
|
+
},{}],14:[function(require,module,exports){
|
|
3119
3126
|
'use strict';
|
|
3120
3127
|
|
|
3121
3128
|
var bind = require('function-bind');
|
|
3122
|
-
var
|
|
3123
|
-
var
|
|
3129
|
+
var $TypeError = require('es-errors/type');
|
|
3130
|
+
var $call = require('./functionCall');
|
|
3131
|
+
var $actualApply = require('./actualApply');
|
|
3124
3132
|
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3133
|
+
/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */
|
|
3134
|
+
module.exports = function callBindBasic(args) {
|
|
3135
|
+
if (args.length < 1 || typeof args[0] !== 'function') {
|
|
3136
|
+
throw new $TypeError('a function is required');
|
|
3137
|
+
}
|
|
3138
|
+
return $actualApply(bind, $call, args);
|
|
3139
|
+
};
|
|
3129
3140
|
|
|
3130
|
-
|
|
3131
|
-
|
|
3141
|
+
},{"./actualApply":10,"./functionCall":13,"es-errors/type":31,"function-bind":38}],15:[function(require,module,exports){
|
|
3142
|
+
'use strict';
|
|
3132
3143
|
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3144
|
+
/** @type {import('./reflectApply')} */
|
|
3145
|
+
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
3146
|
+
|
|
3147
|
+
},{}],16:[function(require,module,exports){
|
|
3148
|
+
'use strict';
|
|
3149
|
+
|
|
3150
|
+
var setFunctionLength = require('set-function-length');
|
|
3151
|
+
|
|
3152
|
+
var $defineProperty = require('es-define-property');
|
|
3153
|
+
|
|
3154
|
+
var callBindBasic = require('call-bind-apply-helpers');
|
|
3155
|
+
var applyBind = require('call-bind-apply-helpers/applyBind');
|
|
3141
3156
|
|
|
3142
3157
|
module.exports = function callBind(originalFunction) {
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
}
|
|
3146
|
-
var func = $reflectApply(bind, $call, arguments);
|
|
3158
|
+
var func = callBindBasic(arguments);
|
|
3159
|
+
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
3147
3160
|
return setFunctionLength(
|
|
3148
3161
|
func,
|
|
3149
|
-
1 +
|
|
3162
|
+
1 + (adjustedLength > 0 ? adjustedLength : 0),
|
|
3150
3163
|
true
|
|
3151
3164
|
);
|
|
3152
3165
|
};
|
|
3153
3166
|
|
|
3154
|
-
var applyBind = function applyBind() {
|
|
3155
|
-
return $reflectApply(bind, $apply, arguments);
|
|
3156
|
-
};
|
|
3157
|
-
|
|
3158
3167
|
if ($defineProperty) {
|
|
3159
3168
|
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
3160
3169
|
} else {
|
|
3161
3170
|
module.exports.apply = applyBind;
|
|
3162
3171
|
}
|
|
3163
3172
|
|
|
3164
|
-
},{"
|
|
3173
|
+
},{"call-bind-apply-helpers":14,"call-bind-apply-helpers/applyBind":11,"es-define-property":25,"set-function-length":92}],17:[function(require,module,exports){
|
|
3174
|
+
'use strict';
|
|
3175
|
+
|
|
3176
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
3177
|
+
var callBindBasic = require('call-bind-apply-helpers');
|
|
3178
|
+
|
|
3179
|
+
/** @type {(thisArg: string, searchString: string, position?: number) => number} */
|
|
3180
|
+
var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
|
|
3181
|
+
|
|
3182
|
+
/** @type {import('.')} */
|
|
3183
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
3184
|
+
/* eslint no-extra-parens: 0 */
|
|
3185
|
+
|
|
3186
|
+
var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */GetIntrinsic(name, !!allowMissing);
|
|
3187
|
+
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
3188
|
+
return callBindBasic(/** @type {const} */[intrinsic]);
|
|
3189
|
+
}
|
|
3190
|
+
return intrinsic;
|
|
3191
|
+
};
|
|
3192
|
+
|
|
3193
|
+
},{"call-bind-apply-helpers":14,"get-intrinsic":41}],18:[function(require,module,exports){
|
|
3165
3194
|
module.exports={
|
|
3166
3195
|
"O_RDONLY": 0,
|
|
3167
3196
|
"O_WRONLY": 1,
|
|
@@ -3372,7 +3401,7 @@ module.exports={
|
|
|
3372
3401
|
"UV_UDP_REUSEADDR": 4
|
|
3373
3402
|
}
|
|
3374
3403
|
|
|
3375
|
-
},{}],
|
|
3404
|
+
},{}],19:[function(require,module,exports){
|
|
3376
3405
|
(function (process){(function (){
|
|
3377
3406
|
/* eslint-env browser */
|
|
3378
3407
|
|
|
@@ -3501,14 +3530,17 @@ function useColors() {
|
|
|
3501
3530
|
return false;
|
|
3502
3531
|
}
|
|
3503
3532
|
|
|
3533
|
+
let m;
|
|
3534
|
+
|
|
3504
3535
|
// Is webkit? http://stackoverflow.com/a/16459606/376773
|
|
3505
3536
|
// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
|
|
3537
|
+
// eslint-disable-next-line no-return-assign
|
|
3506
3538
|
return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
|
|
3507
3539
|
// Is firebug? http://stackoverflow.com/a/398120/376773
|
|
3508
3540
|
(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
|
|
3509
3541
|
// Is firefox >= v31?
|
|
3510
3542
|
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
3511
|
-
(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(
|
|
3543
|
+
(typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31) ||
|
|
3512
3544
|
// Double check webkit in userAgent just in case we are in a worker
|
|
3513
3545
|
(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
|
|
3514
3546
|
}
|
|
@@ -3592,7 +3624,7 @@ function save(namespaces) {
|
|
|
3592
3624
|
function load() {
|
|
3593
3625
|
let r;
|
|
3594
3626
|
try {
|
|
3595
|
-
r = exports.storage.getItem('debug');
|
|
3627
|
+
r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ;
|
|
3596
3628
|
} catch (error) {
|
|
3597
3629
|
// Swallow
|
|
3598
3630
|
// XXX (@Qix-) should we be logging these?
|
|
@@ -3645,7 +3677,7 @@ formatters.j = function (v) {
|
|
|
3645
3677
|
};
|
|
3646
3678
|
|
|
3647
3679
|
}).call(this)}).call(this,require('_process'))
|
|
3648
|
-
},{"./common":
|
|
3680
|
+
},{"./common":20,"_process":89}],20:[function(require,module,exports){
|
|
3649
3681
|
|
|
3650
3682
|
/**
|
|
3651
3683
|
* This is the common logic for both the Node.js and web browser
|
|
@@ -3814,24 +3846,62 @@ function setup(env) {
|
|
|
3814
3846
|
createDebug.names = [];
|
|
3815
3847
|
createDebug.skips = [];
|
|
3816
3848
|
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3849
|
+
const split = (typeof namespaces === 'string' ? namespaces : '')
|
|
3850
|
+
.trim()
|
|
3851
|
+
.replace(/\s+/g, ',')
|
|
3852
|
+
.split(',')
|
|
3853
|
+
.filter(Boolean);
|
|
3820
3854
|
|
|
3821
|
-
for (
|
|
3822
|
-
if (
|
|
3823
|
-
|
|
3824
|
-
|
|
3855
|
+
for (const ns of split) {
|
|
3856
|
+
if (ns[0] === '-') {
|
|
3857
|
+
createDebug.skips.push(ns.slice(1));
|
|
3858
|
+
} else {
|
|
3859
|
+
createDebug.names.push(ns);
|
|
3825
3860
|
}
|
|
3861
|
+
}
|
|
3862
|
+
}
|
|
3826
3863
|
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3864
|
+
/**
|
|
3865
|
+
* Checks if the given string matches a namespace template, honoring
|
|
3866
|
+
* asterisks as wildcards.
|
|
3867
|
+
*
|
|
3868
|
+
* @param {String} search
|
|
3869
|
+
* @param {String} template
|
|
3870
|
+
* @return {Boolean}
|
|
3871
|
+
*/
|
|
3872
|
+
function matchesTemplate(search, template) {
|
|
3873
|
+
let searchIndex = 0;
|
|
3874
|
+
let templateIndex = 0;
|
|
3875
|
+
let starIndex = -1;
|
|
3876
|
+
let matchIndex = 0;
|
|
3877
|
+
|
|
3878
|
+
while (searchIndex < search.length) {
|
|
3879
|
+
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {
|
|
3880
|
+
// Match character or proceed with wildcard
|
|
3881
|
+
if (template[templateIndex] === '*') {
|
|
3882
|
+
starIndex = templateIndex;
|
|
3883
|
+
matchIndex = searchIndex;
|
|
3884
|
+
templateIndex++; // Skip the '*'
|
|
3885
|
+
} else {
|
|
3886
|
+
searchIndex++;
|
|
3887
|
+
templateIndex++;
|
|
3888
|
+
}
|
|
3889
|
+
} else if (starIndex !== -1) { // eslint-disable-line no-negated-condition
|
|
3890
|
+
// Backtrack to the last '*' and try to match more characters
|
|
3891
|
+
templateIndex = starIndex + 1;
|
|
3892
|
+
matchIndex++;
|
|
3893
|
+
searchIndex = matchIndex;
|
|
3831
3894
|
} else {
|
|
3832
|
-
|
|
3895
|
+
return false; // No match
|
|
3833
3896
|
}
|
|
3834
3897
|
}
|
|
3898
|
+
|
|
3899
|
+
// Handle trailing '*' in template
|
|
3900
|
+
while (templateIndex < template.length && template[templateIndex] === '*') {
|
|
3901
|
+
templateIndex++;
|
|
3902
|
+
}
|
|
3903
|
+
|
|
3904
|
+
return templateIndex === template.length;
|
|
3835
3905
|
}
|
|
3836
3906
|
|
|
3837
3907
|
/**
|
|
@@ -3842,8 +3912,8 @@ function setup(env) {
|
|
|
3842
3912
|
*/
|
|
3843
3913
|
function disable() {
|
|
3844
3914
|
const namespaces = [
|
|
3845
|
-
...createDebug.names
|
|
3846
|
-
...createDebug.skips.map(
|
|
3915
|
+
...createDebug.names,
|
|
3916
|
+
...createDebug.skips.map(namespace => '-' + namespace)
|
|
3847
3917
|
].join(',');
|
|
3848
3918
|
createDebug.enable('');
|
|
3849
3919
|
return namespaces;
|
|
@@ -3857,21 +3927,14 @@ function setup(env) {
|
|
|
3857
3927
|
* @api public
|
|
3858
3928
|
*/
|
|
3859
3929
|
function enabled(name) {
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
}
|
|
3863
|
-
|
|
3864
|
-
let i;
|
|
3865
|
-
let len;
|
|
3866
|
-
|
|
3867
|
-
for (i = 0, len = createDebug.skips.length; i < len; i++) {
|
|
3868
|
-
if (createDebug.skips[i].test(name)) {
|
|
3930
|
+
for (const skip of createDebug.skips) {
|
|
3931
|
+
if (matchesTemplate(name, skip)) {
|
|
3869
3932
|
return false;
|
|
3870
3933
|
}
|
|
3871
3934
|
}
|
|
3872
3935
|
|
|
3873
|
-
for (
|
|
3874
|
-
if (
|
|
3936
|
+
for (const ns of createDebug.names) {
|
|
3937
|
+
if (matchesTemplate(name, ns)) {
|
|
3875
3938
|
return true;
|
|
3876
3939
|
}
|
|
3877
3940
|
}
|
|
@@ -3879,19 +3942,6 @@ function setup(env) {
|
|
|
3879
3942
|
return false;
|
|
3880
3943
|
}
|
|
3881
3944
|
|
|
3882
|
-
/**
|
|
3883
|
-
* Convert regexp to namespace
|
|
3884
|
-
*
|
|
3885
|
-
* @param {RegExp} regxep
|
|
3886
|
-
* @return {String} namespace
|
|
3887
|
-
* @api private
|
|
3888
|
-
*/
|
|
3889
|
-
function toNamespace(regexp) {
|
|
3890
|
-
return regexp.toString()
|
|
3891
|
-
.substring(2, regexp.toString().length - 2)
|
|
3892
|
-
.replace(/\.\*\?$/, '*');
|
|
3893
|
-
}
|
|
3894
|
-
|
|
3895
3945
|
/**
|
|
3896
3946
|
* Coerce `val`.
|
|
3897
3947
|
*
|
|
@@ -3921,7 +3971,7 @@ function setup(env) {
|
|
|
3921
3971
|
|
|
3922
3972
|
module.exports = setup;
|
|
3923
3973
|
|
|
3924
|
-
},{"ms":
|
|
3974
|
+
},{"ms":80}],21:[function(require,module,exports){
|
|
3925
3975
|
'use strict';
|
|
3926
3976
|
|
|
3927
3977
|
var isPlainObject = require('is-plain-object');
|
|
@@ -3954,77 +4004,83 @@ function sort(src, comparator) {
|
|
|
3954
4004
|
|
|
3955
4005
|
module.exports = sort;
|
|
3956
4006
|
|
|
3957
|
-
},{"is-plain-object":
|
|
4007
|
+
},{"is-plain-object":62}],22:[function(require,module,exports){
|
|
3958
4008
|
'use strict';
|
|
3959
4009
|
|
|
3960
|
-
var
|
|
3961
|
-
|
|
3962
|
-
var
|
|
3963
|
-
|
|
3964
|
-
var $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true);
|
|
3965
|
-
if ($defineProperty) {
|
|
3966
|
-
try {
|
|
3967
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
3968
|
-
} catch (e) {
|
|
3969
|
-
// IE 8 has a broken defineProperty
|
|
3970
|
-
$defineProperty = false;
|
|
3971
|
-
}
|
|
3972
|
-
}
|
|
4010
|
+
var $defineProperty = require('es-define-property');
|
|
4011
|
+
var $SyntaxError = require('es-errors/syntax');
|
|
4012
|
+
var $TypeError = require('es-errors/type');
|
|
4013
|
+
var gopd = require('gopd');
|
|
3973
4014
|
|
|
3974
|
-
|
|
3975
|
-
|
|
4015
|
+
/** @type {import('.')} */
|
|
4016
|
+
module.exports = function defineDataProperty(obj, property, value) {
|
|
4017
|
+
if (!obj || typeof obj !== 'object' && typeof obj !== 'function') {
|
|
4018
|
+
throw new $TypeError('`obj` must be an object or a function`');
|
|
4019
|
+
}
|
|
4020
|
+
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
4021
|
+
throw new $TypeError('`property` must be a string or a symbol`');
|
|
4022
|
+
}
|
|
4023
|
+
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
4024
|
+
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
4025
|
+
}
|
|
4026
|
+
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
4027
|
+
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
4028
|
+
}
|
|
4029
|
+
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
4030
|
+
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
4031
|
+
}
|
|
4032
|
+
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
4033
|
+
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
4034
|
+
}
|
|
4035
|
+
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
4036
|
+
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
4037
|
+
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
4038
|
+
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
3976
4039
|
|
|
3977
|
-
|
|
4040
|
+
/* @type {false | TypedPropertyDescriptor<unknown>} */
|
|
4041
|
+
var desc = !!gopd && gopd(obj, property);
|
|
4042
|
+
if ($defineProperty) {
|
|
4043
|
+
$defineProperty(obj, property, {
|
|
4044
|
+
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
4045
|
+
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
4046
|
+
value: value,
|
|
4047
|
+
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
4048
|
+
});
|
|
4049
|
+
} else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
|
|
4050
|
+
// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
|
|
4051
|
+
obj[property] = value; // eslint-disable-line no-param-reassign
|
|
4052
|
+
} else {
|
|
4053
|
+
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
4054
|
+
}
|
|
4055
|
+
};
|
|
3978
4056
|
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
obj,
|
|
3982
|
-
property,
|
|
3983
|
-
value
|
|
3984
|
-
) {
|
|
3985
|
-
if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
3986
|
-
throw new $TypeError('`obj` must be an object or a function`');
|
|
3987
|
-
}
|
|
3988
|
-
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
3989
|
-
throw new $TypeError('`property` must be a string or a symbol`');
|
|
3990
|
-
}
|
|
3991
|
-
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
3992
|
-
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
3993
|
-
}
|
|
3994
|
-
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
3995
|
-
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
3996
|
-
}
|
|
3997
|
-
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
3998
|
-
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
3999
|
-
}
|
|
4000
|
-
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
4001
|
-
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
4002
|
-
}
|
|
4057
|
+
},{"es-define-property":25,"es-errors/syntax":30,"es-errors/type":31,"gopd":46}],23:[function(require,module,exports){
|
|
4058
|
+
'use strict';
|
|
4003
4059
|
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4060
|
+
var callBind = require('call-bind-apply-helpers');
|
|
4061
|
+
var gOPD = require('gopd');
|
|
4062
|
+
var hasProtoAccessor;
|
|
4063
|
+
try {
|
|
4064
|
+
// eslint-disable-next-line no-extra-parens, no-proto
|
|
4065
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */[].__proto__ === Array.prototype;
|
|
4066
|
+
} catch (e) {
|
|
4067
|
+
if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
|
|
4068
|
+
throw e;
|
|
4069
|
+
}
|
|
4070
|
+
}
|
|
4008
4071
|
|
|
4009
|
-
|
|
4010
|
-
|
|
4072
|
+
// eslint-disable-next-line no-extra-parens
|
|
4073
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */'__proto__');
|
|
4074
|
+
var $Object = Object;
|
|
4075
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
4011
4076
|
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
4018
|
-
});
|
|
4019
|
-
} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
|
|
4020
|
-
// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
|
|
4021
|
-
obj[property] = value; // eslint-disable-line no-param-reassign
|
|
4022
|
-
} else {
|
|
4023
|
-
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
4024
|
-
}
|
|
4025
|
-
};
|
|
4077
|
+
/** @type {import('./get')} */
|
|
4078
|
+
module.exports = desc && typeof desc.get === 'function' ? callBind([desc.get]) : typeof $getPrototypeOf === 'function' ? /** @type {import('./get')} */function getDunder(value) {
|
|
4079
|
+
// eslint-disable-next-line eqeqeq
|
|
4080
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
4081
|
+
} : false;
|
|
4026
4082
|
|
|
4027
|
-
},{"
|
|
4083
|
+
},{"call-bind-apply-helpers":14,"gopd":46}],24:[function(require,module,exports){
|
|
4028
4084
|
'use strict';
|
|
4029
4085
|
|
|
4030
4086
|
var util = require('util');
|
|
@@ -4167,7 +4223,72 @@ errorEx.line = function (str, def) {
|
|
|
4167
4223
|
|
|
4168
4224
|
module.exports = errorEx;
|
|
4169
4225
|
|
|
4170
|
-
},{"is-arrayish":
|
|
4226
|
+
},{"is-arrayish":59,"util":114}],25:[function(require,module,exports){
|
|
4227
|
+
'use strict';
|
|
4228
|
+
|
|
4229
|
+
/** @type {import('.')} */
|
|
4230
|
+
var $defineProperty = Object.defineProperty || false;
|
|
4231
|
+
if ($defineProperty) {
|
|
4232
|
+
try {
|
|
4233
|
+
$defineProperty({}, 'a', {
|
|
4234
|
+
value: 1
|
|
4235
|
+
});
|
|
4236
|
+
} catch (e) {
|
|
4237
|
+
// IE 8 has a broken defineProperty
|
|
4238
|
+
$defineProperty = false;
|
|
4239
|
+
}
|
|
4240
|
+
}
|
|
4241
|
+
module.exports = $defineProperty;
|
|
4242
|
+
|
|
4243
|
+
},{}],26:[function(require,module,exports){
|
|
4244
|
+
'use strict';
|
|
4245
|
+
|
|
4246
|
+
/** @type {import('./eval')} */
|
|
4247
|
+
module.exports = EvalError;
|
|
4248
|
+
|
|
4249
|
+
},{}],27:[function(require,module,exports){
|
|
4250
|
+
'use strict';
|
|
4251
|
+
|
|
4252
|
+
/** @type {import('.')} */
|
|
4253
|
+
module.exports = Error;
|
|
4254
|
+
|
|
4255
|
+
},{}],28:[function(require,module,exports){
|
|
4256
|
+
'use strict';
|
|
4257
|
+
|
|
4258
|
+
/** @type {import('./range')} */
|
|
4259
|
+
module.exports = RangeError;
|
|
4260
|
+
|
|
4261
|
+
},{}],29:[function(require,module,exports){
|
|
4262
|
+
'use strict';
|
|
4263
|
+
|
|
4264
|
+
/** @type {import('./ref')} */
|
|
4265
|
+
module.exports = ReferenceError;
|
|
4266
|
+
|
|
4267
|
+
},{}],30:[function(require,module,exports){
|
|
4268
|
+
'use strict';
|
|
4269
|
+
|
|
4270
|
+
/** @type {import('./syntax')} */
|
|
4271
|
+
module.exports = SyntaxError;
|
|
4272
|
+
|
|
4273
|
+
},{}],31:[function(require,module,exports){
|
|
4274
|
+
'use strict';
|
|
4275
|
+
|
|
4276
|
+
/** @type {import('./type')} */
|
|
4277
|
+
module.exports = TypeError;
|
|
4278
|
+
|
|
4279
|
+
},{}],32:[function(require,module,exports){
|
|
4280
|
+
'use strict';
|
|
4281
|
+
|
|
4282
|
+
/** @type {import('./uri')} */
|
|
4283
|
+
module.exports = URIError;
|
|
4284
|
+
|
|
4285
|
+
},{}],33:[function(require,module,exports){
|
|
4286
|
+
'use strict';
|
|
4287
|
+
|
|
4288
|
+
/** @type {import('.')} */
|
|
4289
|
+
module.exports = Object;
|
|
4290
|
+
|
|
4291
|
+
},{}],34:[function(require,module,exports){
|
|
4171
4292
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
4172
4293
|
//
|
|
4173
4294
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -4666,7 +4787,7 @@ function eventTargetAgnosticAddListener(emitter, name, listener, flags) {
|
|
|
4666
4787
|
}
|
|
4667
4788
|
}
|
|
4668
4789
|
|
|
4669
|
-
},{}],
|
|
4790
|
+
},{}],35:[function(require,module,exports){
|
|
4670
4791
|
module.exports = stringify
|
|
4671
4792
|
stringify.default = stringify
|
|
4672
4793
|
stringify.stable = deterministicStringify
|
|
@@ -4897,71 +5018,75 @@ function replaceGetterValues (replacer) {
|
|
|
4897
5018
|
}
|
|
4898
5019
|
}
|
|
4899
5020
|
|
|
4900
|
-
},{}],
|
|
5021
|
+
},{}],36:[function(require,module,exports){
|
|
4901
5022
|
'use strict';
|
|
4902
5023
|
|
|
4903
5024
|
var isCallable = require('is-callable');
|
|
4904
|
-
|
|
4905
5025
|
var toStr = Object.prototype.toString;
|
|
4906
5026
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
4907
5027
|
|
|
5028
|
+
/** @type {<This, A extends readonly unknown[]>(arr: A, iterator: (this: This | void, value: A[number], index: number, arr: A) => void, receiver: This | undefined) => void} */
|
|
4908
5029
|
var forEachArray = function forEachArray(array, iterator, receiver) {
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
}
|
|
5030
|
+
for (var i = 0, len = array.length; i < len; i++) {
|
|
5031
|
+
if (hasOwnProperty.call(array, i)) {
|
|
5032
|
+
if (receiver == null) {
|
|
5033
|
+
iterator(array[i], i, array);
|
|
5034
|
+
} else {
|
|
5035
|
+
iterator.call(receiver, array[i], i, array);
|
|
5036
|
+
}
|
|
4917
5037
|
}
|
|
5038
|
+
}
|
|
4918
5039
|
};
|
|
4919
5040
|
|
|
5041
|
+
/** @type {<This, S extends string>(string: S, iterator: (this: This | void, value: S[number], index: number, string: S) => void, receiver: This | undefined) => void} */
|
|
4920
5042
|
var forEachString = function forEachString(string, iterator, receiver) {
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
}
|
|
5043
|
+
for (var i = 0, len = string.length; i < len; i++) {
|
|
5044
|
+
// no such thing as a sparse string.
|
|
5045
|
+
if (receiver == null) {
|
|
5046
|
+
iterator(string.charAt(i), i, string);
|
|
5047
|
+
} else {
|
|
5048
|
+
iterator.call(receiver, string.charAt(i), i, string);
|
|
4928
5049
|
}
|
|
5050
|
+
}
|
|
4929
5051
|
};
|
|
4930
5052
|
|
|
5053
|
+
/** @type {<This, O>(obj: O, iterator: (this: This | void, value: O[keyof O], index: keyof O, obj: O) => void, receiver: This | undefined) => void} */
|
|
4931
5054
|
var forEachObject = function forEachObject(object, iterator, receiver) {
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
}
|
|
5055
|
+
for (var k in object) {
|
|
5056
|
+
if (hasOwnProperty.call(object, k)) {
|
|
5057
|
+
if (receiver == null) {
|
|
5058
|
+
iterator(object[k], k, object);
|
|
5059
|
+
} else {
|
|
5060
|
+
iterator.call(receiver, object[k], k, object);
|
|
5061
|
+
}
|
|
4940
5062
|
}
|
|
5063
|
+
}
|
|
4941
5064
|
};
|
|
4942
5065
|
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
var receiver;
|
|
4949
|
-
if (arguments.length >= 3) {
|
|
4950
|
-
receiver = thisArg;
|
|
4951
|
-
}
|
|
5066
|
+
/** @type {(x: unknown) => x is readonly unknown[]} */
|
|
5067
|
+
function isArray(x) {
|
|
5068
|
+
return toStr.call(x) === '[object Array]';
|
|
5069
|
+
}
|
|
4952
5070
|
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
5071
|
+
/** @type {import('.')._internal} */
|
|
5072
|
+
module.exports = function forEach(list, iterator, thisArg) {
|
|
5073
|
+
if (!isCallable(iterator)) {
|
|
5074
|
+
throw new TypeError('iterator must be a function');
|
|
5075
|
+
}
|
|
5076
|
+
var receiver;
|
|
5077
|
+
if (arguments.length >= 3) {
|
|
5078
|
+
receiver = thisArg;
|
|
5079
|
+
}
|
|
5080
|
+
if (isArray(list)) {
|
|
5081
|
+
forEachArray(list, iterator, receiver);
|
|
5082
|
+
} else if (typeof list === 'string') {
|
|
5083
|
+
forEachString(list, iterator, receiver);
|
|
5084
|
+
} else {
|
|
5085
|
+
forEachObject(list, iterator, receiver);
|
|
5086
|
+
}
|
|
4960
5087
|
};
|
|
4961
5088
|
|
|
4962
|
-
module
|
|
4963
|
-
|
|
4964
|
-
},{"is-callable":39}],21:[function(require,module,exports){
|
|
5089
|
+
},{"is-callable":60}],37:[function(require,module,exports){
|
|
4965
5090
|
'use strict';
|
|
4966
5091
|
|
|
4967
5092
|
/* eslint no-invalid-this: 1 */
|
|
@@ -5047,21 +5172,58 @@ module.exports = function bind(that) {
|
|
|
5047
5172
|
return bound;
|
|
5048
5173
|
};
|
|
5049
5174
|
|
|
5050
|
-
},{}],
|
|
5175
|
+
},{}],38:[function(require,module,exports){
|
|
5051
5176
|
'use strict';
|
|
5052
5177
|
|
|
5053
5178
|
var implementation = require('./implementation');
|
|
5054
5179
|
|
|
5055
5180
|
module.exports = Function.prototype.bind || implementation;
|
|
5056
5181
|
|
|
5057
|
-
},{"./implementation":
|
|
5182
|
+
},{"./implementation":37}],39:[function(require,module,exports){
|
|
5183
|
+
'use strict';
|
|
5184
|
+
|
|
5185
|
+
// eslint-disable-next-line no-extra-parens, no-empty-function
|
|
5186
|
+
const cached = /** @type {GeneratorFunctionConstructor} */function* () {}.constructor;
|
|
5187
|
+
|
|
5188
|
+
/** @type {import('.')} */
|
|
5189
|
+
module.exports = () => cached;
|
|
5190
|
+
|
|
5191
|
+
},{}],40:[function(require,module,exports){
|
|
5192
|
+
"use strict";
|
|
5193
|
+
|
|
5194
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5195
|
+
value: true
|
|
5196
|
+
});
|
|
5197
|
+
exports.default = void 0;
|
|
5198
|
+
var _index = _interopRequireDefault(require("./index.js"));
|
|
5199
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
5200
|
+
/** @type {import('./index.d.mts').default} */
|
|
5201
|
+
var _default = exports.default = _index.default;
|
|
5202
|
+
|
|
5203
|
+
},{"./index.js":39}],41:[function(require,module,exports){
|
|
5058
5204
|
'use strict';
|
|
5059
5205
|
|
|
5060
5206
|
var undefined;
|
|
5061
5207
|
|
|
5062
|
-
var $
|
|
5208
|
+
var $Object = require('es-object-atoms');
|
|
5209
|
+
|
|
5210
|
+
var $Error = require('es-errors');
|
|
5211
|
+
var $EvalError = require('es-errors/eval');
|
|
5212
|
+
var $RangeError = require('es-errors/range');
|
|
5213
|
+
var $ReferenceError = require('es-errors/ref');
|
|
5214
|
+
var $SyntaxError = require('es-errors/syntax');
|
|
5215
|
+
var $TypeError = require('es-errors/type');
|
|
5216
|
+
var $URIError = require('es-errors/uri');
|
|
5217
|
+
|
|
5218
|
+
var abs = require('math-intrinsics/abs');
|
|
5219
|
+
var floor = require('math-intrinsics/floor');
|
|
5220
|
+
var max = require('math-intrinsics/max');
|
|
5221
|
+
var min = require('math-intrinsics/min');
|
|
5222
|
+
var pow = require('math-intrinsics/pow');
|
|
5223
|
+
var round = require('math-intrinsics/round');
|
|
5224
|
+
var sign = require('math-intrinsics/sign');
|
|
5225
|
+
|
|
5063
5226
|
var $Function = Function;
|
|
5064
|
-
var $TypeError = TypeError;
|
|
5065
5227
|
|
|
5066
5228
|
// eslint-disable-next-line consistent-return
|
|
5067
5229
|
var getEvalledConstructor = function (expressionSyntax) {
|
|
@@ -5070,14 +5232,8 @@ var getEvalledConstructor = function (expressionSyntax) {
|
|
|
5070
5232
|
} catch (e) {}
|
|
5071
5233
|
};
|
|
5072
5234
|
|
|
5073
|
-
var $gOPD =
|
|
5074
|
-
|
|
5075
|
-
try {
|
|
5076
|
-
$gOPD({}, '');
|
|
5077
|
-
} catch (e) {
|
|
5078
|
-
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
5079
|
-
}
|
|
5080
|
-
}
|
|
5235
|
+
var $gOPD = require('gopd');
|
|
5236
|
+
var $defineProperty = require('es-define-property');
|
|
5081
5237
|
|
|
5082
5238
|
var throwTypeError = function () {
|
|
5083
5239
|
throw new $TypeError();
|
|
@@ -5100,19 +5256,20 @@ var ThrowTypeError = $gOPD
|
|
|
5100
5256
|
: throwTypeError;
|
|
5101
5257
|
|
|
5102
5258
|
var hasSymbols = require('has-symbols')();
|
|
5103
|
-
var hasProto = require('has-proto')();
|
|
5104
5259
|
|
|
5105
|
-
var getProto =
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
);
|
|
5260
|
+
var getProto = require('get-proto');
|
|
5261
|
+
var $ObjectGPO = require('get-proto/Object.getPrototypeOf');
|
|
5262
|
+
var $ReflectGPO = require('get-proto/Reflect.getPrototypeOf');
|
|
5263
|
+
|
|
5264
|
+
var $apply = require('call-bind-apply-helpers/functionApply');
|
|
5265
|
+
var $call = require('call-bind-apply-helpers/functionCall');
|
|
5110
5266
|
|
|
5111
5267
|
var needsEval = {};
|
|
5112
5268
|
|
|
5113
5269
|
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
|
5114
5270
|
|
|
5115
5271
|
var INTRINSICS = {
|
|
5272
|
+
__proto__: null,
|
|
5116
5273
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
5117
5274
|
'%Array%': Array,
|
|
5118
5275
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
@@ -5133,9 +5290,10 @@ var INTRINSICS = {
|
|
|
5133
5290
|
'%decodeURIComponent%': decodeURIComponent,
|
|
5134
5291
|
'%encodeURI%': encodeURI,
|
|
5135
5292
|
'%encodeURIComponent%': encodeURIComponent,
|
|
5136
|
-
'%Error%': Error,
|
|
5293
|
+
'%Error%': $Error,
|
|
5137
5294
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
5138
|
-
'%EvalError%': EvalError,
|
|
5295
|
+
'%EvalError%': $EvalError,
|
|
5296
|
+
'%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array,
|
|
5139
5297
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
5140
5298
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
5141
5299
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -5152,13 +5310,14 @@ var INTRINSICS = {
|
|
|
5152
5310
|
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
5153
5311
|
'%Math%': Math,
|
|
5154
5312
|
'%Number%': Number,
|
|
5155
|
-
'%Object%': Object,
|
|
5313
|
+
'%Object%': $Object,
|
|
5314
|
+
'%Object.getOwnPropertyDescriptor%': $gOPD,
|
|
5156
5315
|
'%parseFloat%': parseFloat,
|
|
5157
5316
|
'%parseInt%': parseInt,
|
|
5158
5317
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
5159
5318
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
5160
|
-
'%RangeError%': RangeError,
|
|
5161
|
-
'%ReferenceError%': ReferenceError,
|
|
5319
|
+
'%RangeError%': $RangeError,
|
|
5320
|
+
'%ReferenceError%': $ReferenceError,
|
|
5162
5321
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
5163
5322
|
'%RegExp%': RegExp,
|
|
5164
5323
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
@@ -5175,10 +5334,23 @@ var INTRINSICS = {
|
|
|
5175
5334
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
5176
5335
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
5177
5336
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
5178
|
-
'%URIError%': URIError,
|
|
5337
|
+
'%URIError%': $URIError,
|
|
5179
5338
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
5180
5339
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
5181
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
5340
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
|
|
5341
|
+
|
|
5342
|
+
'%Function.prototype.call%': $call,
|
|
5343
|
+
'%Function.prototype.apply%': $apply,
|
|
5344
|
+
'%Object.defineProperty%': $defineProperty,
|
|
5345
|
+
'%Object.getPrototypeOf%': $ObjectGPO,
|
|
5346
|
+
'%Math.abs%': abs,
|
|
5347
|
+
'%Math.floor%': floor,
|
|
5348
|
+
'%Math.max%': max,
|
|
5349
|
+
'%Math.min%': min,
|
|
5350
|
+
'%Math.pow%': pow,
|
|
5351
|
+
'%Math.round%': round,
|
|
5352
|
+
'%Math.sign%': sign,
|
|
5353
|
+
'%Reflect.getPrototypeOf%': $ReflectGPO
|
|
5182
5354
|
};
|
|
5183
5355
|
|
|
5184
5356
|
if (getProto) {
|
|
@@ -5217,6 +5389,7 @@ var doEval = function doEval(name) {
|
|
|
5217
5389
|
};
|
|
5218
5390
|
|
|
5219
5391
|
var LEGACY_ALIASES = {
|
|
5392
|
+
__proto__: null,
|
|
5220
5393
|
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
5221
5394
|
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
5222
5395
|
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
@@ -5272,11 +5445,11 @@ var LEGACY_ALIASES = {
|
|
|
5272
5445
|
|
|
5273
5446
|
var bind = require('function-bind');
|
|
5274
5447
|
var hasOwn = require('hasown');
|
|
5275
|
-
var $concat = bind.call(
|
|
5276
|
-
var $spliceApply = bind.call(
|
|
5277
|
-
var $replace = bind.call(
|
|
5278
|
-
var $strSlice = bind.call(
|
|
5279
|
-
var $exec = bind.call(
|
|
5448
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
5449
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
5450
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
5451
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
5452
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
5280
5453
|
|
|
5281
5454
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
5282
5455
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -5407,25 +5580,64 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
5407
5580
|
return value;
|
|
5408
5581
|
};
|
|
5409
5582
|
|
|
5410
|
-
},{"function-bind":
|
|
5583
|
+
},{"call-bind-apply-helpers/functionApply":12,"call-bind-apply-helpers/functionCall":13,"es-define-property":25,"es-errors":27,"es-errors/eval":26,"es-errors/range":28,"es-errors/ref":29,"es-errors/syntax":30,"es-errors/type":31,"es-errors/uri":32,"es-object-atoms":33,"function-bind":38,"get-proto":44,"get-proto/Object.getPrototypeOf":42,"get-proto/Reflect.getPrototypeOf":43,"gopd":46,"has-symbols":52,"hasown":55,"math-intrinsics/abs":71,"math-intrinsics/floor":72,"math-intrinsics/max":74,"math-intrinsics/min":75,"math-intrinsics/pow":76,"math-intrinsics/round":77,"math-intrinsics/sign":78}],42:[function(require,module,exports){
|
|
5411
5584
|
'use strict';
|
|
5412
5585
|
|
|
5413
|
-
var
|
|
5586
|
+
var $Object = require('es-object-atoms');
|
|
5587
|
+
|
|
5588
|
+
/** @type {import('./Object.getPrototypeOf')} */
|
|
5589
|
+
module.exports = $Object.getPrototypeOf || null;
|
|
5590
|
+
|
|
5591
|
+
},{"es-object-atoms":33}],43:[function(require,module,exports){
|
|
5592
|
+
'use strict';
|
|
5593
|
+
|
|
5594
|
+
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
5595
|
+
module.exports = typeof Reflect !== 'undefined' && Reflect.getPrototypeOf || null;
|
|
5596
|
+
|
|
5597
|
+
},{}],44:[function(require,module,exports){
|
|
5598
|
+
'use strict';
|
|
5599
|
+
|
|
5600
|
+
var reflectGetProto = require('./Reflect.getPrototypeOf');
|
|
5601
|
+
var originalGetProto = require('./Object.getPrototypeOf');
|
|
5602
|
+
var getDunderProto = require('dunder-proto/get');
|
|
5603
|
+
|
|
5604
|
+
/** @type {import('.')} */
|
|
5605
|
+
module.exports = reflectGetProto ? function getProto(O) {
|
|
5606
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
5607
|
+
return reflectGetProto(O);
|
|
5608
|
+
} : originalGetProto ? function getProto(O) {
|
|
5609
|
+
if (!O || typeof O !== 'object' && typeof O !== 'function') {
|
|
5610
|
+
throw new TypeError('getProto: not an object');
|
|
5611
|
+
}
|
|
5612
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
5613
|
+
return originalGetProto(O);
|
|
5614
|
+
} : getDunderProto ? function getProto(O) {
|
|
5615
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
5616
|
+
return getDunderProto(O);
|
|
5617
|
+
} : null;
|
|
5618
|
+
|
|
5619
|
+
},{"./Object.getPrototypeOf":42,"./Reflect.getPrototypeOf":43,"dunder-proto/get":23}],45:[function(require,module,exports){
|
|
5620
|
+
'use strict';
|
|
5414
5621
|
|
|
5415
|
-
|
|
5622
|
+
/** @type {import('./gOPD')} */
|
|
5623
|
+
module.exports = Object.getOwnPropertyDescriptor;
|
|
5416
5624
|
|
|
5625
|
+
},{}],46:[function(require,module,exports){
|
|
5626
|
+
'use strict';
|
|
5627
|
+
|
|
5628
|
+
/** @type {import('.')} */
|
|
5629
|
+
var $gOPD = require('./gOPD');
|
|
5417
5630
|
if ($gOPD) {
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5631
|
+
try {
|
|
5632
|
+
$gOPD([], 'length');
|
|
5633
|
+
} catch (e) {
|
|
5634
|
+
// IE 8 has a broken gOPD
|
|
5635
|
+
$gOPD = null;
|
|
5636
|
+
}
|
|
5424
5637
|
}
|
|
5425
|
-
|
|
5426
5638
|
module.exports = $gOPD;
|
|
5427
5639
|
|
|
5428
|
-
},{"
|
|
5640
|
+
},{"./gOPD":45}],47:[function(require,module,exports){
|
|
5429
5641
|
'use strict'
|
|
5430
5642
|
|
|
5431
5643
|
module.exports = clone
|
|
@@ -5450,7 +5662,7 @@ function clone (obj) {
|
|
|
5450
5662
|
return copy
|
|
5451
5663
|
}
|
|
5452
5664
|
|
|
5453
|
-
},{}],
|
|
5665
|
+
},{}],48:[function(require,module,exports){
|
|
5454
5666
|
(function (process,global){(function (){
|
|
5455
5667
|
var fs = require('fs')
|
|
5456
5668
|
var polyfills = require('./polyfills.js')
|
|
@@ -5902,7 +6114,7 @@ function retry () {
|
|
|
5902
6114
|
}
|
|
5903
6115
|
|
|
5904
6116
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
5905
|
-
},{"./clone.js":
|
|
6117
|
+
},{"./clone.js":47,"./legacy-streams.js":49,"./polyfills.js":50,"_process":89,"assert":1,"fs":8,"util":114}],49:[function(require,module,exports){
|
|
5906
6118
|
(function (process){(function (){
|
|
5907
6119
|
var Stream = require('stream').Stream
|
|
5908
6120
|
|
|
@@ -6024,7 +6236,7 @@ function legacy (fs) {
|
|
|
6024
6236
|
}
|
|
6025
6237
|
|
|
6026
6238
|
}).call(this)}).call(this,require('_process'))
|
|
6027
|
-
},{"_process":
|
|
6239
|
+
},{"_process":89,"stream":93}],50:[function(require,module,exports){
|
|
6028
6240
|
(function (process){(function (){
|
|
6029
6241
|
var constants = require('constants')
|
|
6030
6242
|
|
|
@@ -6383,29 +6595,18 @@ function patch (fs) {
|
|
|
6383
6595
|
}
|
|
6384
6596
|
|
|
6385
6597
|
}).call(this)}).call(this,require('_process'))
|
|
6386
|
-
},{"_process":
|
|
6598
|
+
},{"_process":89,"constants":18}],51:[function(require,module,exports){
|
|
6387
6599
|
'use strict';
|
|
6388
6600
|
|
|
6389
|
-
var
|
|
6390
|
-
|
|
6391
|
-
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
6601
|
+
var $defineProperty = require('es-define-property');
|
|
6392
6602
|
|
|
6393
6603
|
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
|
6394
|
-
|
|
6395
|
-
try {
|
|
6396
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
6397
|
-
return true;
|
|
6398
|
-
} catch (e) {
|
|
6399
|
-
// IE 8 has a broken defineProperty
|
|
6400
|
-
return false;
|
|
6401
|
-
}
|
|
6402
|
-
}
|
|
6403
|
-
return false;
|
|
6604
|
+
return !!$defineProperty;
|
|
6404
6605
|
};
|
|
6405
6606
|
|
|
6406
6607
|
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
6407
6608
|
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
6408
|
-
if (
|
|
6609
|
+
if (!$defineProperty) {
|
|
6409
6610
|
return null;
|
|
6410
6611
|
}
|
|
6411
6612
|
try {
|
|
@@ -6418,98 +6619,113 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
6418
6619
|
|
|
6419
6620
|
module.exports = hasPropertyDescriptors;
|
|
6420
6621
|
|
|
6421
|
-
},{"
|
|
6422
|
-
'use strict';
|
|
6423
|
-
|
|
6424
|
-
var test = {
|
|
6425
|
-
foo: {}
|
|
6426
|
-
};
|
|
6427
|
-
|
|
6428
|
-
var $Object = Object;
|
|
6429
|
-
|
|
6430
|
-
module.exports = function hasProto() {
|
|
6431
|
-
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
6432
|
-
};
|
|
6433
|
-
|
|
6434
|
-
},{}],31:[function(require,module,exports){
|
|
6622
|
+
},{"es-define-property":25}],52:[function(require,module,exports){
|
|
6435
6623
|
'use strict';
|
|
6436
6624
|
|
|
6437
6625
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
6438
6626
|
var hasSymbolSham = require('./shams');
|
|
6439
6627
|
|
|
6628
|
+
/** @type {import('.')} */
|
|
6440
6629
|
module.exports = function hasNativeSymbols() {
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6630
|
+
if (typeof origSymbol !== 'function') {
|
|
6631
|
+
return false;
|
|
6632
|
+
}
|
|
6633
|
+
if (typeof Symbol !== 'function') {
|
|
6634
|
+
return false;
|
|
6635
|
+
}
|
|
6636
|
+
if (typeof origSymbol('foo') !== 'symbol') {
|
|
6637
|
+
return false;
|
|
6638
|
+
}
|
|
6639
|
+
if (typeof Symbol('bar') !== 'symbol') {
|
|
6640
|
+
return false;
|
|
6641
|
+
}
|
|
6642
|
+
return hasSymbolSham();
|
|
6447
6643
|
};
|
|
6448
6644
|
|
|
6449
|
-
},{"./shams":
|
|
6645
|
+
},{"./shams":53}],53:[function(require,module,exports){
|
|
6450
6646
|
'use strict';
|
|
6451
6647
|
|
|
6648
|
+
/** @type {import('./shams')} */
|
|
6452
6649
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
6453
6650
|
module.exports = function hasSymbols() {
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
if (typeof sym === 'string') { return false; }
|
|
6461
|
-
|
|
6462
|
-
if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
|
|
6463
|
-
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
|
|
6464
|
-
|
|
6465
|
-
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
6466
|
-
// if (sym instanceof Symbol) { return false; }
|
|
6467
|
-
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
6468
|
-
// if (!(symObj instanceof Symbol)) { return false; }
|
|
6469
|
-
|
|
6470
|
-
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
6471
|
-
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
6472
|
-
|
|
6473
|
-
var symVal = 42;
|
|
6474
|
-
obj[sym] = symVal;
|
|
6475
|
-
for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
6476
|
-
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
6477
|
-
|
|
6478
|
-
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
6651
|
+
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') {
|
|
6652
|
+
return false;
|
|
6653
|
+
}
|
|
6654
|
+
if (typeof Symbol.iterator === 'symbol') {
|
|
6655
|
+
return true;
|
|
6656
|
+
}
|
|
6479
6657
|
|
|
6480
|
-
|
|
6481
|
-
|
|
6658
|
+
/** @type {{ [k in symbol]?: unknown }} */
|
|
6659
|
+
var obj = {};
|
|
6660
|
+
var sym = Symbol('test');
|
|
6661
|
+
var symObj = Object(sym);
|
|
6662
|
+
if (typeof sym === 'string') {
|
|
6663
|
+
return false;
|
|
6664
|
+
}
|
|
6665
|
+
if (Object.prototype.toString.call(sym) !== '[object Symbol]') {
|
|
6666
|
+
return false;
|
|
6667
|
+
}
|
|
6668
|
+
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') {
|
|
6669
|
+
return false;
|
|
6670
|
+
}
|
|
6482
6671
|
|
|
6483
|
-
|
|
6672
|
+
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
6673
|
+
// if (sym instanceof Symbol) { return false; }
|
|
6674
|
+
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
6675
|
+
// if (!(symObj instanceof Symbol)) { return false; }
|
|
6484
6676
|
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
6488
|
-
}
|
|
6677
|
+
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
6678
|
+
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
6489
6679
|
|
|
6490
|
-
|
|
6680
|
+
var symVal = 42;
|
|
6681
|
+
obj[sym] = symVal;
|
|
6682
|
+
for (var _ in obj) {
|
|
6683
|
+
return false;
|
|
6684
|
+
} // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
6685
|
+
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) {
|
|
6686
|
+
return false;
|
|
6687
|
+
}
|
|
6688
|
+
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
6689
|
+
return false;
|
|
6690
|
+
}
|
|
6691
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
6692
|
+
if (syms.length !== 1 || syms[0] !== sym) {
|
|
6693
|
+
return false;
|
|
6694
|
+
}
|
|
6695
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
6696
|
+
return false;
|
|
6697
|
+
}
|
|
6698
|
+
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
6699
|
+
// eslint-disable-next-line no-extra-parens
|
|
6700
|
+
var descriptor = /** @type {PropertyDescriptor} */Object.getOwnPropertyDescriptor(obj, sym);
|
|
6701
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
6702
|
+
return false;
|
|
6703
|
+
}
|
|
6704
|
+
}
|
|
6705
|
+
return true;
|
|
6491
6706
|
};
|
|
6492
6707
|
|
|
6493
|
-
},{}],
|
|
6708
|
+
},{}],54:[function(require,module,exports){
|
|
6494
6709
|
'use strict';
|
|
6495
6710
|
|
|
6496
6711
|
var hasSymbols = require('has-symbols/shams');
|
|
6497
6712
|
|
|
6713
|
+
/** @type {import('.')} */
|
|
6498
6714
|
module.exports = function hasToStringTagShams() {
|
|
6499
|
-
|
|
6715
|
+
return hasSymbols() && !!Symbol.toStringTag;
|
|
6500
6716
|
};
|
|
6501
6717
|
|
|
6502
|
-
},{"has-symbols/shams":
|
|
6718
|
+
},{"has-symbols/shams":53}],55:[function(require,module,exports){
|
|
6503
6719
|
'use strict';
|
|
6504
6720
|
|
|
6505
6721
|
var call = Function.prototype.call;
|
|
6506
6722
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
6507
6723
|
var bind = require('function-bind');
|
|
6508
6724
|
|
|
6509
|
-
/** @type {(
|
|
6725
|
+
/** @type {import('.')} */
|
|
6510
6726
|
module.exports = bind.call(call, $hasOwn);
|
|
6511
6727
|
|
|
6512
|
-
},{"function-bind":
|
|
6728
|
+
},{"function-bind":38}],56:[function(require,module,exports){
|
|
6513
6729
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
6514
6730
|
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
6515
6731
|
var e, m
|
|
@@ -6596,7 +6812,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
6596
6812
|
buffer[offset + i - d] |= s * 128
|
|
6597
6813
|
}
|
|
6598
6814
|
|
|
6599
|
-
},{}],
|
|
6815
|
+
},{}],57:[function(require,module,exports){
|
|
6600
6816
|
if (typeof Object.create === 'function') {
|
|
6601
6817
|
// implementation from standard node.js 'util' module
|
|
6602
6818
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -6625,42 +6841,39 @@ if (typeof Object.create === 'function') {
|
|
|
6625
6841
|
}
|
|
6626
6842
|
}
|
|
6627
6843
|
|
|
6628
|
-
},{}],
|
|
6844
|
+
},{}],58:[function(require,module,exports){
|
|
6629
6845
|
'use strict';
|
|
6630
6846
|
|
|
6631
6847
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
6632
|
-
var callBound = require('call-
|
|
6633
|
-
|
|
6848
|
+
var callBound = require('call-bound');
|
|
6634
6849
|
var $toString = callBound('Object.prototype.toString');
|
|
6635
6850
|
|
|
6851
|
+
/** @type {import('.')} */
|
|
6636
6852
|
var isStandardArguments = function isArguments(value) {
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6853
|
+
if (hasToStringTag && value && typeof value === 'object' && Symbol.toStringTag in value) {
|
|
6854
|
+
return false;
|
|
6855
|
+
}
|
|
6856
|
+
return $toString(value) === '[object Arguments]';
|
|
6641
6857
|
};
|
|
6642
6858
|
|
|
6859
|
+
/** @type {import('.')} */
|
|
6643
6860
|
var isLegacyArguments = function isArguments(value) {
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
typeof value === 'object' &&
|
|
6649
|
-
typeof value.length === 'number' &&
|
|
6650
|
-
value.length >= 0 &&
|
|
6651
|
-
$toString(value) !== '[object Array]' &&
|
|
6652
|
-
$toString(value.callee) === '[object Function]';
|
|
6861
|
+
if (isStandardArguments(value)) {
|
|
6862
|
+
return true;
|
|
6863
|
+
}
|
|
6864
|
+
return value !== null && typeof value === 'object' && 'length' in value && typeof value.length === 'number' && value.length >= 0 && $toString(value) !== '[object Array]' && 'callee' in value && $toString(value.callee) === '[object Function]';
|
|
6653
6865
|
};
|
|
6866
|
+
var supportsStandardArguments = function () {
|
|
6867
|
+
return isStandardArguments(arguments);
|
|
6868
|
+
}();
|
|
6654
6869
|
|
|
6655
|
-
|
|
6656
|
-
return isStandardArguments(arguments);
|
|
6657
|
-
}());
|
|
6658
|
-
|
|
6870
|
+
// @ts-expect-error TODO make this not error
|
|
6659
6871
|
isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
6660
6872
|
|
|
6873
|
+
/** @type {import('.')} */
|
|
6661
6874
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
6662
6875
|
|
|
6663
|
-
},{"call-
|
|
6876
|
+
},{"call-bound":17,"has-tostringtag/shams":54}],59:[function(require,module,exports){
|
|
6664
6877
|
'use strict';
|
|
6665
6878
|
|
|
6666
6879
|
module.exports = function isArrayish(obj) {
|
|
@@ -6672,7 +6885,7 @@ module.exports = function isArrayish(obj) {
|
|
|
6672
6885
|
(obj.length >= 0 && obj.splice instanceof Function);
|
|
6673
6886
|
};
|
|
6674
6887
|
|
|
6675
|
-
},{}],
|
|
6888
|
+
},{}],60:[function(require,module,exports){
|
|
6676
6889
|
'use strict';
|
|
6677
6890
|
|
|
6678
6891
|
var fnToStr = Function.prototype.toString;
|
|
@@ -6775,47 +6988,38 @@ module.exports = reflectApply
|
|
|
6775
6988
|
return tryFunctionObject(value);
|
|
6776
6989
|
};
|
|
6777
6990
|
|
|
6778
|
-
},{}],
|
|
6991
|
+
},{}],61:[function(require,module,exports){
|
|
6779
6992
|
'use strict';
|
|
6780
6993
|
|
|
6781
|
-
var
|
|
6782
|
-
var
|
|
6783
|
-
var isFnRegex = /^\s*(?:function)
|
|
6994
|
+
var callBound = require('call-bound');
|
|
6995
|
+
var safeRegexTest = require('safe-regex-test');
|
|
6996
|
+
var isFnRegex = safeRegexTest(/^\s*(?:function)?\*/);
|
|
6784
6997
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
6785
|
-
var getProto =
|
|
6786
|
-
var
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
}
|
|
6790
|
-
try {
|
|
6791
|
-
return Function('return function*() {}')();
|
|
6792
|
-
} catch (e) {
|
|
6793
|
-
}
|
|
6794
|
-
};
|
|
6795
|
-
var GeneratorFunction;
|
|
6998
|
+
var getProto = require('get-proto');
|
|
6999
|
+
var toStr = callBound('Object.prototype.toString');
|
|
7000
|
+
var fnToStr = callBound('Function.prototype.toString');
|
|
7001
|
+
var getGeneratorFunction = require('generator-function');
|
|
6796
7002
|
|
|
7003
|
+
/** @type {import('.')} */
|
|
6797
7004
|
module.exports = function isGeneratorFunction(fn) {
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
GeneratorFunction = generatorFunc ? getProto(generatorFunc) : false;
|
|
6814
|
-
}
|
|
6815
|
-
return getProto(fn) === GeneratorFunction;
|
|
7005
|
+
if (typeof fn !== 'function') {
|
|
7006
|
+
return false;
|
|
7007
|
+
}
|
|
7008
|
+
if (isFnRegex(fnToStr(fn))) {
|
|
7009
|
+
return true;
|
|
7010
|
+
}
|
|
7011
|
+
if (!hasToStringTag) {
|
|
7012
|
+
var str = toStr(fn);
|
|
7013
|
+
return str === '[object GeneratorFunction]';
|
|
7014
|
+
}
|
|
7015
|
+
if (!getProto) {
|
|
7016
|
+
return false;
|
|
7017
|
+
}
|
|
7018
|
+
var GeneratorFunction = getGeneratorFunction();
|
|
7019
|
+
return GeneratorFunction && getProto(fn) === GeneratorFunction.prototype;
|
|
6816
7020
|
};
|
|
6817
7021
|
|
|
6818
|
-
},{"has-tostringtag/shams":
|
|
7022
|
+
},{"call-bound":17,"generator-function":40,"get-proto":44,"has-tostringtag/shams":54,"safe-regex-test":91}],62:[function(require,module,exports){
|
|
6819
7023
|
/*!
|
|
6820
7024
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
6821
7025
|
*
|
|
@@ -6854,16 +7058,82 @@ module.exports = function isPlainObject(o) {
|
|
|
6854
7058
|
return true;
|
|
6855
7059
|
};
|
|
6856
7060
|
|
|
6857
|
-
},{"isobject":
|
|
7061
|
+
},{"isobject":65}],63:[function(require,module,exports){
|
|
7062
|
+
'use strict';
|
|
7063
|
+
|
|
7064
|
+
var callBound = require('call-bound');
|
|
7065
|
+
var hasToStringTag = require('has-tostringtag/shams')();
|
|
7066
|
+
var hasOwn = require('hasown');
|
|
7067
|
+
var gOPD = require('gopd');
|
|
7068
|
+
|
|
7069
|
+
/** @type {import('.')} */
|
|
7070
|
+
var fn;
|
|
7071
|
+
if (hasToStringTag) {
|
|
7072
|
+
/** @type {(receiver: ThisParameterType<typeof RegExp.prototype.exec>, ...args: Parameters<typeof RegExp.prototype.exec>) => ReturnType<typeof RegExp.prototype.exec>} */
|
|
7073
|
+
var $exec = callBound('RegExp.prototype.exec');
|
|
7074
|
+
/** @type {object} */
|
|
7075
|
+
var isRegexMarker = {};
|
|
7076
|
+
var throwRegexMarker = function () {
|
|
7077
|
+
throw isRegexMarker;
|
|
7078
|
+
};
|
|
7079
|
+
/** @type {{ toString(): never, valueOf(): never, [Symbol.toPrimitive]?(): never }} */
|
|
7080
|
+
var badStringifier = {
|
|
7081
|
+
toString: throwRegexMarker,
|
|
7082
|
+
valueOf: throwRegexMarker
|
|
7083
|
+
};
|
|
7084
|
+
if (typeof Symbol.toPrimitive === 'symbol') {
|
|
7085
|
+
badStringifier[Symbol.toPrimitive] = throwRegexMarker;
|
|
7086
|
+
}
|
|
7087
|
+
|
|
7088
|
+
/** @type {import('.')} */
|
|
7089
|
+
// @ts-expect-error TS can't figure out that the $exec call always throws
|
|
7090
|
+
// eslint-disable-next-line consistent-return
|
|
7091
|
+
fn = function isRegex(value) {
|
|
7092
|
+
if (!value || typeof value !== 'object') {
|
|
7093
|
+
return false;
|
|
7094
|
+
}
|
|
7095
|
+
|
|
7096
|
+
// eslint-disable-next-line no-extra-parens
|
|
7097
|
+
var descriptor = /** @type {NonNullable<typeof gOPD>} */gOPD(/** @type {{ lastIndex?: unknown }} */value, 'lastIndex');
|
|
7098
|
+
var hasLastIndexDataProperty = descriptor && hasOwn(descriptor, 'value');
|
|
7099
|
+
if (!hasLastIndexDataProperty) {
|
|
7100
|
+
return false;
|
|
7101
|
+
}
|
|
7102
|
+
try {
|
|
7103
|
+
// eslint-disable-next-line no-extra-parens
|
|
7104
|
+
$exec(value, /** @type {string} */ /** @type {unknown} */badStringifier);
|
|
7105
|
+
} catch (e) {
|
|
7106
|
+
return e === isRegexMarker;
|
|
7107
|
+
}
|
|
7108
|
+
};
|
|
7109
|
+
} else {
|
|
7110
|
+
/** @type {(receiver: ThisParameterType<typeof Object.prototype.toString>, ...args: Parameters<typeof Object.prototype.toString>) => ReturnType<typeof Object.prototype.toString>} */
|
|
7111
|
+
var $toString = callBound('Object.prototype.toString');
|
|
7112
|
+
/** @const @type {'[object RegExp]'} */
|
|
7113
|
+
var regexClass = '[object RegExp]';
|
|
7114
|
+
|
|
7115
|
+
/** @type {import('.')} */
|
|
7116
|
+
fn = function isRegex(value) {
|
|
7117
|
+
// In older browsers, typeof regex incorrectly returns 'function'
|
|
7118
|
+
if (!value || typeof value !== 'object' && typeof value !== 'function') {
|
|
7119
|
+
return false;
|
|
7120
|
+
}
|
|
7121
|
+
return $toString(value) === regexClass;
|
|
7122
|
+
};
|
|
7123
|
+
}
|
|
7124
|
+
module.exports = fn;
|
|
7125
|
+
|
|
7126
|
+
},{"call-bound":17,"gopd":46,"has-tostringtag/shams":54,"hasown":55}],64:[function(require,module,exports){
|
|
6858
7127
|
'use strict';
|
|
6859
7128
|
|
|
6860
7129
|
var whichTypedArray = require('which-typed-array');
|
|
6861
7130
|
|
|
7131
|
+
/** @type {import('.')} */
|
|
6862
7132
|
module.exports = function isTypedArray(value) {
|
|
6863
|
-
|
|
7133
|
+
return !!whichTypedArray(value);
|
|
6864
7134
|
};
|
|
6865
7135
|
|
|
6866
|
-
},{"which-typed-array":
|
|
7136
|
+
},{"which-typed-array":115}],65:[function(require,module,exports){
|
|
6867
7137
|
/*!
|
|
6868
7138
|
* isobject <https://github.com/jonschlinkert/isobject>
|
|
6869
7139
|
*
|
|
@@ -6877,7 +7147,7 @@ module.exports = function isObject(val) {
|
|
|
6877
7147
|
return val != null && typeof val === 'object' && Array.isArray(val) === false;
|
|
6878
7148
|
};
|
|
6879
7149
|
|
|
6880
|
-
},{}],
|
|
7150
|
+
},{}],66:[function(require,module,exports){
|
|
6881
7151
|
'use strict'
|
|
6882
7152
|
|
|
6883
7153
|
module.exports = parseJson
|
|
@@ -6917,13 +7187,13 @@ function parseJson (txt, reviver, context) {
|
|
|
6917
7187
|
}
|
|
6918
7188
|
}
|
|
6919
7189
|
|
|
6920
|
-
},{}],
|
|
7190
|
+
},{}],67:[function(require,module,exports){
|
|
6921
7191
|
var jsonc = require('./lib/jsonc').jsonc;
|
|
6922
7192
|
module.exports = jsonc;
|
|
6923
7193
|
// adding circular ref to allow easy importing in both ES5/6 and TS projects
|
|
6924
7194
|
module.exports.jsonc = jsonc;
|
|
6925
7195
|
module.exports.safe = jsonc.safe;
|
|
6926
|
-
},{"./lib/jsonc":
|
|
7196
|
+
},{"./lib/jsonc":69}],68:[function(require,module,exports){
|
|
6927
7197
|
"use strict";
|
|
6928
7198
|
var __assign = (this && this.__assign) || function () {
|
|
6929
7199
|
__assign = Object.assign || function(t) {
|
|
@@ -7043,7 +7313,7 @@ var helper = {
|
|
|
7043
7313
|
};
|
|
7044
7314
|
exports.helper = helper;
|
|
7045
7315
|
|
|
7046
|
-
},{"fast-safe-stringify":
|
|
7316
|
+
},{"fast-safe-stringify":35,"graceful-fs":48,"mkdirp":79}],69:[function(require,module,exports){
|
|
7047
7317
|
(function (process){(function (){
|
|
7048
7318
|
"use strict";
|
|
7049
7319
|
|
|
@@ -7689,7 +7959,7 @@ jsonc.config(null);
|
|
|
7689
7959
|
exports.jsonc = jsonc;
|
|
7690
7960
|
|
|
7691
7961
|
}).call(this)}).call(this,require('_process'))
|
|
7692
|
-
},{"./helper":
|
|
7962
|
+
},{"./helper":68,"./jsonc.safe":70,"_process":89,"fast-safe-stringify":35,"parse-json":86,"path":87,"strip-bom":109,"strip-json-comments":110}],70:[function(require,module,exports){
|
|
7693
7963
|
"use strict";
|
|
7694
7964
|
|
|
7695
7965
|
/* tslint:disable:class-name no-require-imports no-default-export max-line-length interface-name max-classes-per-file max-file-line-count */
|
|
@@ -8161,7 +8431,64 @@ var jsoncSafe = /** @class */function () {
|
|
|
8161
8431
|
}();
|
|
8162
8432
|
exports.jsoncSafe = jsoncSafe;
|
|
8163
8433
|
|
|
8164
|
-
},{"./helper":
|
|
8434
|
+
},{"./helper":68,"./jsonc":69,"fast-safe-stringify":35,"strip-json-comments":110}],71:[function(require,module,exports){
|
|
8435
|
+
'use strict';
|
|
8436
|
+
|
|
8437
|
+
/** @type {import('./abs')} */
|
|
8438
|
+
module.exports = Math.abs;
|
|
8439
|
+
|
|
8440
|
+
},{}],72:[function(require,module,exports){
|
|
8441
|
+
'use strict';
|
|
8442
|
+
|
|
8443
|
+
/** @type {import('./floor')} */
|
|
8444
|
+
module.exports = Math.floor;
|
|
8445
|
+
|
|
8446
|
+
},{}],73:[function(require,module,exports){
|
|
8447
|
+
'use strict';
|
|
8448
|
+
|
|
8449
|
+
/** @type {import('./isNaN')} */
|
|
8450
|
+
module.exports = Number.isNaN || function isNaN(a) {
|
|
8451
|
+
return a !== a;
|
|
8452
|
+
};
|
|
8453
|
+
|
|
8454
|
+
},{}],74:[function(require,module,exports){
|
|
8455
|
+
'use strict';
|
|
8456
|
+
|
|
8457
|
+
/** @type {import('./max')} */
|
|
8458
|
+
module.exports = Math.max;
|
|
8459
|
+
|
|
8460
|
+
},{}],75:[function(require,module,exports){
|
|
8461
|
+
'use strict';
|
|
8462
|
+
|
|
8463
|
+
/** @type {import('./min')} */
|
|
8464
|
+
module.exports = Math.min;
|
|
8465
|
+
|
|
8466
|
+
},{}],76:[function(require,module,exports){
|
|
8467
|
+
'use strict';
|
|
8468
|
+
|
|
8469
|
+
/** @type {import('./pow')} */
|
|
8470
|
+
module.exports = Math.pow;
|
|
8471
|
+
|
|
8472
|
+
},{}],77:[function(require,module,exports){
|
|
8473
|
+
'use strict';
|
|
8474
|
+
|
|
8475
|
+
/** @type {import('./round')} */
|
|
8476
|
+
module.exports = Math.round;
|
|
8477
|
+
|
|
8478
|
+
},{}],78:[function(require,module,exports){
|
|
8479
|
+
'use strict';
|
|
8480
|
+
|
|
8481
|
+
var $isNaN = require('./isNaN');
|
|
8482
|
+
|
|
8483
|
+
/** @type {import('./sign')} */
|
|
8484
|
+
module.exports = function sign(number) {
|
|
8485
|
+
if ($isNaN(number) || number === 0) {
|
|
8486
|
+
return number;
|
|
8487
|
+
}
|
|
8488
|
+
return number < 0 ? -1 : +1;
|
|
8489
|
+
};
|
|
8490
|
+
|
|
8491
|
+
},{"./isNaN":73}],79:[function(require,module,exports){
|
|
8165
8492
|
var path = require('path');
|
|
8166
8493
|
var fs = require('fs');
|
|
8167
8494
|
var _0777 = parseInt('0777', 8);
|
|
@@ -8265,7 +8592,7 @@ mkdirP.sync = function sync (p, opts, made) {
|
|
|
8265
8592
|
return made;
|
|
8266
8593
|
};
|
|
8267
8594
|
|
|
8268
|
-
},{"fs":8,"path":
|
|
8595
|
+
},{"fs":8,"path":87}],80:[function(require,module,exports){
|
|
8269
8596
|
/**
|
|
8270
8597
|
* Helpers.
|
|
8271
8598
|
*/
|
|
@@ -8291,7 +8618,7 @@ var y = d * 365.25;
|
|
|
8291
8618
|
* @api public
|
|
8292
8619
|
*/
|
|
8293
8620
|
|
|
8294
|
-
module.exports = function(val, options) {
|
|
8621
|
+
module.exports = function (val, options) {
|
|
8295
8622
|
options = options || {};
|
|
8296
8623
|
var type = typeof val;
|
|
8297
8624
|
if (type === 'string' && val.length > 0) {
|
|
@@ -8429,7 +8756,7 @@ function plural(ms, msAbs, n, name) {
|
|
|
8429
8756
|
return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
|
|
8430
8757
|
}
|
|
8431
8758
|
|
|
8432
|
-
},{}],
|
|
8759
|
+
},{}],81:[function(require,module,exports){
|
|
8433
8760
|
'use strict';
|
|
8434
8761
|
|
|
8435
8762
|
var keysShim;
|
|
@@ -8553,7 +8880,7 @@ if (!Object.keys) {
|
|
|
8553
8880
|
}
|
|
8554
8881
|
module.exports = keysShim;
|
|
8555
8882
|
|
|
8556
|
-
},{"./isArguments":
|
|
8883
|
+
},{"./isArguments":83}],82:[function(require,module,exports){
|
|
8557
8884
|
'use strict';
|
|
8558
8885
|
|
|
8559
8886
|
var slice = Array.prototype.slice;
|
|
@@ -8587,7 +8914,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
8587
8914
|
|
|
8588
8915
|
module.exports = keysShim;
|
|
8589
8916
|
|
|
8590
|
-
},{"./implementation":
|
|
8917
|
+
},{"./implementation":81,"./isArguments":83}],83:[function(require,module,exports){
|
|
8591
8918
|
'use strict';
|
|
8592
8919
|
|
|
8593
8920
|
var toStr = Object.prototype.toString;
|
|
@@ -8606,31 +8933,31 @@ module.exports = function isArguments(value) {
|
|
|
8606
8933
|
return isArgs;
|
|
8607
8934
|
};
|
|
8608
8935
|
|
|
8609
|
-
},{}],
|
|
8936
|
+
},{}],84:[function(require,module,exports){
|
|
8610
8937
|
'use strict';
|
|
8611
8938
|
|
|
8612
8939
|
// modified from https://github.com/es-shims/es6-shim
|
|
8613
8940
|
var objectKeys = require('object-keys');
|
|
8614
8941
|
var hasSymbols = require('has-symbols/shams')();
|
|
8615
|
-
var callBound = require('call-
|
|
8616
|
-
var
|
|
8942
|
+
var callBound = require('call-bound');
|
|
8943
|
+
var $Object = require('es-object-atoms');
|
|
8617
8944
|
var $push = callBound('Array.prototype.push');
|
|
8618
8945
|
var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');
|
|
8619
|
-
var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;
|
|
8946
|
+
var originalGetSymbols = hasSymbols ? $Object.getOwnPropertySymbols : null;
|
|
8620
8947
|
|
|
8621
8948
|
// eslint-disable-next-line no-unused-vars
|
|
8622
8949
|
module.exports = function assign(target, source1) {
|
|
8623
8950
|
if (target == null) { throw new TypeError('target must be an object'); }
|
|
8624
|
-
var to =
|
|
8951
|
+
var to = $Object(target); // step 1
|
|
8625
8952
|
if (arguments.length === 1) {
|
|
8626
8953
|
return to; // step 2
|
|
8627
8954
|
}
|
|
8628
8955
|
for (var s = 1; s < arguments.length; ++s) {
|
|
8629
|
-
var from =
|
|
8956
|
+
var from = $Object(arguments[s]); // step 3.a.i
|
|
8630
8957
|
|
|
8631
8958
|
// step 3.a.ii:
|
|
8632
8959
|
var keys = objectKeys(from);
|
|
8633
|
-
var getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols);
|
|
8960
|
+
var getSymbols = hasSymbols && ($Object.getOwnPropertySymbols || originalGetSymbols);
|
|
8634
8961
|
if (getSymbols) {
|
|
8635
8962
|
var syms = getSymbols(from);
|
|
8636
8963
|
for (var j = 0; j < syms.length; ++j) {
|
|
@@ -8654,7 +8981,7 @@ module.exports = function assign(target, source1) {
|
|
|
8654
8981
|
return to; // step 4
|
|
8655
8982
|
};
|
|
8656
8983
|
|
|
8657
|
-
},{"call-
|
|
8984
|
+
},{"call-bound":17,"es-object-atoms":33,"has-symbols/shams":53,"object-keys":82}],85:[function(require,module,exports){
|
|
8658
8985
|
'use strict';
|
|
8659
8986
|
|
|
8660
8987
|
var implementation = require('./implementation');
|
|
@@ -8711,7 +9038,7 @@ module.exports = function getPolyfill() {
|
|
|
8711
9038
|
return Object.assign;
|
|
8712
9039
|
};
|
|
8713
9040
|
|
|
8714
|
-
},{"./implementation":
|
|
9041
|
+
},{"./implementation":84}],86:[function(require,module,exports){
|
|
8715
9042
|
'use strict';
|
|
8716
9043
|
const errorEx = require('error-ex');
|
|
8717
9044
|
const fallback = require('json-parse-better-errors');
|
|
@@ -8746,7 +9073,7 @@ module.exports = (input, reviver, filename) => {
|
|
|
8746
9073
|
}
|
|
8747
9074
|
};
|
|
8748
9075
|
|
|
8749
|
-
},{"error-ex":
|
|
9076
|
+
},{"error-ex":24,"json-parse-better-errors":66}],87:[function(require,module,exports){
|
|
8750
9077
|
(function (process){(function (){
|
|
8751
9078
|
// 'path' module extracted from Node.js v8.11.1 (only the posix part)
|
|
8752
9079
|
// transplited with Babel
|
|
@@ -9279,7 +9606,13 @@ posix.posix = posix;
|
|
|
9279
9606
|
module.exports = posix;
|
|
9280
9607
|
|
|
9281
9608
|
}).call(this)}).call(this,require('_process'))
|
|
9282
|
-
},{"_process":
|
|
9609
|
+
},{"_process":89}],88:[function(require,module,exports){
|
|
9610
|
+
'use strict';
|
|
9611
|
+
|
|
9612
|
+
/** @type {import('.')} */
|
|
9613
|
+
module.exports = ['Float16Array', 'Float32Array', 'Float64Array', 'Int8Array', 'Int16Array', 'Int32Array', 'Uint8Array', 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'BigInt64Array', 'BigUint64Array'];
|
|
9614
|
+
|
|
9615
|
+
},{}],89:[function(require,module,exports){
|
|
9283
9616
|
// shim for using process in browser
|
|
9284
9617
|
var process = module.exports = {};
|
|
9285
9618
|
|
|
@@ -9465,7 +9798,7 @@ process.chdir = function (dir) {
|
|
|
9465
9798
|
};
|
|
9466
9799
|
process.umask = function() { return 0; };
|
|
9467
9800
|
|
|
9468
|
-
},{}],
|
|
9801
|
+
},{}],90:[function(require,module,exports){
|
|
9469
9802
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
9470
9803
|
/* eslint-disable node/no-deprecated-api */
|
|
9471
9804
|
var buffer = require('buffer')
|
|
@@ -9532,50 +9865,65 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
9532
9865
|
return buffer.SlowBuffer(size)
|
|
9533
9866
|
}
|
|
9534
9867
|
|
|
9535
|
-
},{"buffer":9}],
|
|
9868
|
+
},{"buffer":9}],91:[function(require,module,exports){
|
|
9869
|
+
'use strict';
|
|
9870
|
+
|
|
9871
|
+
var callBound = require('call-bound');
|
|
9872
|
+
var isRegex = require('is-regex');
|
|
9873
|
+
var $exec = callBound('RegExp.prototype.exec');
|
|
9874
|
+
var $TypeError = require('es-errors/type');
|
|
9875
|
+
|
|
9876
|
+
/** @type {import('.')} */
|
|
9877
|
+
module.exports = function regexTester(regex) {
|
|
9878
|
+
if (!isRegex(regex)) {
|
|
9879
|
+
throw new $TypeError('`regex` must be a RegExp');
|
|
9880
|
+
}
|
|
9881
|
+
return function test(s) {
|
|
9882
|
+
return $exec(regex, s) !== null;
|
|
9883
|
+
};
|
|
9884
|
+
};
|
|
9885
|
+
|
|
9886
|
+
},{"call-bound":17,"es-errors/type":31,"is-regex":63}],92:[function(require,module,exports){
|
|
9536
9887
|
'use strict';
|
|
9537
9888
|
|
|
9538
9889
|
var GetIntrinsic = require('get-intrinsic');
|
|
9539
9890
|
var define = require('define-data-property');
|
|
9540
9891
|
var hasDescriptors = require('has-property-descriptors')();
|
|
9541
9892
|
var gOPD = require('gopd');
|
|
9542
|
-
|
|
9543
|
-
var $TypeError = GetIntrinsic('%TypeError%');
|
|
9893
|
+
var $TypeError = require('es-errors/type');
|
|
9544
9894
|
var $floor = GetIntrinsic('%Math.floor%');
|
|
9545
9895
|
|
|
9896
|
+
/** @type {import('.')} */
|
|
9546
9897
|
module.exports = function setFunctionLength(fn, length) {
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
}
|
|
9574
|
-
}
|
|
9575
|
-
return fn;
|
|
9898
|
+
if (typeof fn !== 'function') {
|
|
9899
|
+
throw new $TypeError('`fn` is not a function');
|
|
9900
|
+
}
|
|
9901
|
+
if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
|
|
9902
|
+
throw new $TypeError('`length` must be a positive 32-bit integer');
|
|
9903
|
+
}
|
|
9904
|
+
var loose = arguments.length > 2 && !!arguments[2];
|
|
9905
|
+
var functionLengthIsConfigurable = true;
|
|
9906
|
+
var functionLengthIsWritable = true;
|
|
9907
|
+
if ('length' in fn && gOPD) {
|
|
9908
|
+
var desc = gOPD(fn, 'length');
|
|
9909
|
+
if (desc && !desc.configurable) {
|
|
9910
|
+
functionLengthIsConfigurable = false;
|
|
9911
|
+
}
|
|
9912
|
+
if (desc && !desc.writable) {
|
|
9913
|
+
functionLengthIsWritable = false;
|
|
9914
|
+
}
|
|
9915
|
+
}
|
|
9916
|
+
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
9917
|
+
if (hasDescriptors) {
|
|
9918
|
+
define(/** @type {Parameters<define>[0]} */fn, 'length', length, true, true);
|
|
9919
|
+
} else {
|
|
9920
|
+
define(/** @type {Parameters<define>[0]} */fn, 'length', length);
|
|
9921
|
+
}
|
|
9922
|
+
}
|
|
9923
|
+
return fn;
|
|
9576
9924
|
};
|
|
9577
9925
|
|
|
9578
|
-
},{"define-data-property":
|
|
9926
|
+
},{"define-data-property":22,"es-errors/type":31,"get-intrinsic":41,"gopd":46,"has-property-descriptors":51}],93:[function(require,module,exports){
|
|
9579
9927
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
9580
9928
|
//
|
|
9581
9929
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -9706,7 +10054,7 @@ Stream.prototype.pipe = function(dest, options) {
|
|
|
9706
10054
|
return dest;
|
|
9707
10055
|
};
|
|
9708
10056
|
|
|
9709
|
-
},{"events":
|
|
10057
|
+
},{"events":34,"inherits":57,"readable-stream/lib/_stream_duplex.js":95,"readable-stream/lib/_stream_passthrough.js":96,"readable-stream/lib/_stream_readable.js":97,"readable-stream/lib/_stream_transform.js":98,"readable-stream/lib/_stream_writable.js":99,"readable-stream/lib/internal/streams/end-of-stream.js":103,"readable-stream/lib/internal/streams/pipeline.js":105}],94:[function(require,module,exports){
|
|
9710
10058
|
'use strict';
|
|
9711
10059
|
|
|
9712
10060
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
@@ -9835,7 +10183,7 @@ createErrorType('ERR_UNKNOWN_ENCODING', function (arg) {
|
|
|
9835
10183
|
createErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event');
|
|
9836
10184
|
module.exports.codes = codes;
|
|
9837
10185
|
|
|
9838
|
-
},{}],
|
|
10186
|
+
},{}],95:[function(require,module,exports){
|
|
9839
10187
|
(function (process){(function (){
|
|
9840
10188
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
9841
10189
|
//
|
|
@@ -9964,7 +10312,7 @@ Object.defineProperty(Duplex.prototype, 'destroyed', {
|
|
|
9964
10312
|
}
|
|
9965
10313
|
});
|
|
9966
10314
|
}).call(this)}).call(this,require('_process'))
|
|
9967
|
-
},{"./_stream_readable":
|
|
10315
|
+
},{"./_stream_readable":97,"./_stream_writable":99,"_process":89,"inherits":57}],96:[function(require,module,exports){
|
|
9968
10316
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
9969
10317
|
//
|
|
9970
10318
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -10002,7 +10350,7 @@ function PassThrough(options) {
|
|
|
10002
10350
|
PassThrough.prototype._transform = function (chunk, encoding, cb) {
|
|
10003
10351
|
cb(null, chunk);
|
|
10004
10352
|
};
|
|
10005
|
-
},{"./_stream_transform":
|
|
10353
|
+
},{"./_stream_transform":98,"inherits":57}],97:[function(require,module,exports){
|
|
10006
10354
|
(function (process,global){(function (){
|
|
10007
10355
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
10008
10356
|
//
|
|
@@ -11032,7 +11380,7 @@ function indexOf(xs, x) {
|
|
|
11032
11380
|
return -1;
|
|
11033
11381
|
}
|
|
11034
11382
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
11035
|
-
},{"../errors":
|
|
11383
|
+
},{"../errors":94,"./_stream_duplex":95,"./internal/streams/async_iterator":100,"./internal/streams/buffer_list":101,"./internal/streams/destroy":102,"./internal/streams/from":104,"./internal/streams/state":106,"./internal/streams/stream":107,"_process":89,"buffer":9,"events":34,"inherits":57,"string_decoder/":108,"util":7}],98:[function(require,module,exports){
|
|
11036
11384
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
11037
11385
|
//
|
|
11038
11386
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -11223,7 +11571,7 @@ function done(stream, er, data) {
|
|
|
11223
11571
|
if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING();
|
|
11224
11572
|
return stream.push(null);
|
|
11225
11573
|
}
|
|
11226
|
-
},{"../errors":
|
|
11574
|
+
},{"../errors":94,"./_stream_duplex":95,"inherits":57}],99:[function(require,module,exports){
|
|
11227
11575
|
(function (process,global){(function (){
|
|
11228
11576
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
11229
11577
|
//
|
|
@@ -11867,7 +12215,7 @@ Writable.prototype._destroy = function (err, cb) {
|
|
|
11867
12215
|
cb(err);
|
|
11868
12216
|
};
|
|
11869
12217
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
11870
|
-
},{"../errors":
|
|
12218
|
+
},{"../errors":94,"./_stream_duplex":95,"./internal/streams/destroy":102,"./internal/streams/state":106,"./internal/streams/stream":107,"_process":89,"buffer":9,"inherits":57,"util-deprecate":111}],100:[function(require,module,exports){
|
|
11871
12219
|
(function (process){(function (){
|
|
11872
12220
|
'use strict';
|
|
11873
12221
|
|
|
@@ -12050,7 +12398,7 @@ var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterat
|
|
|
12050
12398
|
};
|
|
12051
12399
|
module.exports = createReadableStreamAsyncIterator;
|
|
12052
12400
|
}).call(this)}).call(this,require('_process'))
|
|
12053
|
-
},{"./end-of-stream":
|
|
12401
|
+
},{"./end-of-stream":103,"_process":89}],101:[function(require,module,exports){
|
|
12054
12402
|
'use strict';
|
|
12055
12403
|
|
|
12056
12404
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -12234,7 +12582,7 @@ module.exports = /*#__PURE__*/function () {
|
|
|
12234
12582
|
}]);
|
|
12235
12583
|
return BufferList;
|
|
12236
12584
|
}();
|
|
12237
|
-
},{"buffer":9,"util":7}],
|
|
12585
|
+
},{"buffer":9,"util":7}],102:[function(require,module,exports){
|
|
12238
12586
|
(function (process){(function (){
|
|
12239
12587
|
'use strict';
|
|
12240
12588
|
|
|
@@ -12333,7 +12681,7 @@ module.exports = {
|
|
|
12333
12681
|
errorOrDestroy: errorOrDestroy
|
|
12334
12682
|
};
|
|
12335
12683
|
}).call(this)}).call(this,require('_process'))
|
|
12336
|
-
},{"_process":
|
|
12684
|
+
},{"_process":89}],103:[function(require,module,exports){
|
|
12337
12685
|
// Ported from https://github.com/mafintosh/end-of-stream with
|
|
12338
12686
|
// permission from the author, Mathias Buus (@mafintosh).
|
|
12339
12687
|
|
|
@@ -12420,12 +12768,12 @@ function eos(stream, opts, callback) {
|
|
|
12420
12768
|
};
|
|
12421
12769
|
}
|
|
12422
12770
|
module.exports = eos;
|
|
12423
|
-
},{"../../../errors":
|
|
12771
|
+
},{"../../../errors":94}],104:[function(require,module,exports){
|
|
12424
12772
|
module.exports = function () {
|
|
12425
12773
|
throw new Error('Readable.from is not available in the browser')
|
|
12426
12774
|
};
|
|
12427
12775
|
|
|
12428
|
-
},{}],
|
|
12776
|
+
},{}],105:[function(require,module,exports){
|
|
12429
12777
|
// Ported from https://github.com/mafintosh/pump with
|
|
12430
12778
|
// permission from the author, Mathias Buus (@mafintosh).
|
|
12431
12779
|
|
|
@@ -12512,7 +12860,7 @@ function pipeline() {
|
|
|
12512
12860
|
return streams.reduce(pipe);
|
|
12513
12861
|
}
|
|
12514
12862
|
module.exports = pipeline;
|
|
12515
|
-
},{"../../../errors":
|
|
12863
|
+
},{"../../../errors":94,"./end-of-stream":103}],106:[function(require,module,exports){
|
|
12516
12864
|
'use strict';
|
|
12517
12865
|
|
|
12518
12866
|
var ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE;
|
|
@@ -12535,10 +12883,10 @@ function getHighWaterMark(state, options, duplexKey, isDuplex) {
|
|
|
12535
12883
|
module.exports = {
|
|
12536
12884
|
getHighWaterMark: getHighWaterMark
|
|
12537
12885
|
};
|
|
12538
|
-
},{"../../../errors":
|
|
12886
|
+
},{"../../../errors":94}],107:[function(require,module,exports){
|
|
12539
12887
|
module.exports = require('events').EventEmitter;
|
|
12540
12888
|
|
|
12541
|
-
},{"events":
|
|
12889
|
+
},{"events":34}],108:[function(require,module,exports){
|
|
12542
12890
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
12543
12891
|
//
|
|
12544
12892
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -12835,7 +13183,7 @@ function simpleWrite(buf) {
|
|
|
12835
13183
|
function simpleEnd(buf) {
|
|
12836
13184
|
return buf && buf.length ? this.write(buf) : '';
|
|
12837
13185
|
}
|
|
12838
|
-
},{"safe-buffer":
|
|
13186
|
+
},{"safe-buffer":90}],109:[function(require,module,exports){
|
|
12839
13187
|
'use strict';
|
|
12840
13188
|
|
|
12841
13189
|
module.exports = string => {
|
|
@@ -12852,7 +13200,7 @@ module.exports = string => {
|
|
|
12852
13200
|
return string;
|
|
12853
13201
|
};
|
|
12854
13202
|
|
|
12855
|
-
},{}],
|
|
13203
|
+
},{}],110:[function(require,module,exports){
|
|
12856
13204
|
'use strict';
|
|
12857
13205
|
const singleComment = Symbol('singleComment');
|
|
12858
13206
|
const multiComment = Symbol('multiComment');
|
|
@@ -12931,7 +13279,7 @@ module.exports = (jsonString, options = {}) => {
|
|
|
12931
13279
|
return result + (insideComment ? strip(jsonString.slice(offset)) : jsonString.slice(offset));
|
|
12932
13280
|
};
|
|
12933
13281
|
|
|
12934
|
-
},{}],
|
|
13282
|
+
},{}],111:[function(require,module,exports){
|
|
12935
13283
|
(function (global){(function (){
|
|
12936
13284
|
|
|
12937
13285
|
/**
|
|
@@ -13002,9 +13350,9 @@ function config (name) {
|
|
|
13002
13350
|
}
|
|
13003
13351
|
|
|
13004
13352
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
13005
|
-
},{}],
|
|
13353
|
+
},{}],112:[function(require,module,exports){
|
|
13006
13354
|
arguments[4][3][0].apply(exports,arguments)
|
|
13007
|
-
},{"dup":3}],
|
|
13355
|
+
},{"dup":3}],113:[function(require,module,exports){
|
|
13008
13356
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
13009
13357
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
13010
13358
|
|
|
@@ -13340,7 +13688,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
13340
13688
|
});
|
|
13341
13689
|
});
|
|
13342
13690
|
|
|
13343
|
-
},{"is-arguments":
|
|
13691
|
+
},{"is-arguments":58,"is-generator-function":61,"is-typed-array":64,"which-typed-array":115}],114:[function(require,module,exports){
|
|
13344
13692
|
(function (process){(function (){
|
|
13345
13693
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
13346
13694
|
//
|
|
@@ -14059,103 +14407,125 @@ function callbackify(original) {
|
|
|
14059
14407
|
exports.callbackify = callbackify;
|
|
14060
14408
|
|
|
14061
14409
|
}).call(this)}).call(this,require('_process'))
|
|
14062
|
-
},{"./support/isBuffer":
|
|
14410
|
+
},{"./support/isBuffer":112,"./support/types":113,"_process":89,"inherits":57}],115:[function(require,module,exports){
|
|
14063
14411
|
(function (global){(function (){
|
|
14064
14412
|
'use strict';
|
|
14065
14413
|
|
|
14066
14414
|
var forEach = require('for-each');
|
|
14067
14415
|
var availableTypedArrays = require('available-typed-arrays');
|
|
14068
14416
|
var callBind = require('call-bind');
|
|
14069
|
-
var callBound = require('call-
|
|
14417
|
+
var callBound = require('call-bound');
|
|
14070
14418
|
var gOPD = require('gopd');
|
|
14071
|
-
|
|
14419
|
+
var getProto = require('get-proto');
|
|
14072
14420
|
var $toString = callBound('Object.prototype.toString');
|
|
14073
14421
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
14074
|
-
|
|
14075
14422
|
var g = typeof globalThis === 'undefined' ? global : globalThis;
|
|
14076
14423
|
var typedArrays = availableTypedArrays();
|
|
14077
|
-
|
|
14078
14424
|
var $slice = callBound('String.prototype.slice');
|
|
14079
|
-
var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
|
|
14080
14425
|
|
|
14426
|
+
/** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */
|
|
14081
14427
|
var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
14088
|
-
};
|
|
14089
|
-
|
|
14090
|
-
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
|
-
|
|
14094
|
-
|
|
14095
|
-
|
|
14096
|
-
|
|
14097
|
-
|
|
14098
|
-
|
|
14099
|
-
|
|
14100
|
-
|
|
14101
|
-
|
|
14102
|
-
|
|
14428
|
+
for (var i = 0; i < array.length; i += 1) {
|
|
14429
|
+
if (array[i] === value) {
|
|
14430
|
+
return i;
|
|
14431
|
+
}
|
|
14432
|
+
}
|
|
14433
|
+
return -1;
|
|
14434
|
+
};
|
|
14435
|
+
|
|
14436
|
+
/** @typedef {import('./types').Getter} Getter */
|
|
14437
|
+
/** @type {import('./types').Cache} */
|
|
14438
|
+
var cache = {
|
|
14439
|
+
__proto__: null
|
|
14440
|
+
};
|
|
14441
|
+
if (hasToStringTag && gOPD && getProto) {
|
|
14442
|
+
forEach(typedArrays, function (typedArray) {
|
|
14443
|
+
var arr = new g[typedArray]();
|
|
14444
|
+
if (Symbol.toStringTag in arr && getProto) {
|
|
14445
|
+
var proto = getProto(arr);
|
|
14446
|
+
// @ts-expect-error TS won't narrow inside a closure
|
|
14447
|
+
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
14448
|
+
if (!descriptor && proto) {
|
|
14449
|
+
var superProto = getProto(proto);
|
|
14450
|
+
// @ts-expect-error TS won't narrow inside a closure
|
|
14451
|
+
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
14452
|
+
}
|
|
14453
|
+
if (descriptor && descriptor.get) {
|
|
14454
|
+
var bound = callBind(descriptor.get);
|
|
14455
|
+
cache[(/** @type {`$${import('.').TypedArrayName}`} */'$' + typedArray)] = bound;
|
|
14456
|
+
}
|
|
14457
|
+
}
|
|
14458
|
+
});
|
|
14103
14459
|
} else {
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14108
|
-
|
|
14109
|
-
|
|
14110
|
-
|
|
14460
|
+
forEach(typedArrays, function (typedArray) {
|
|
14461
|
+
var arr = new g[typedArray]();
|
|
14462
|
+
var fn = arr.slice || arr.set;
|
|
14463
|
+
if (fn) {
|
|
14464
|
+
var bound = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
|
|
14465
|
+
// @ts-expect-error TODO FIXME
|
|
14466
|
+
callBind(fn);
|
|
14467
|
+
cache[(/** @type {`$${import('.').TypedArrayName}`} */'$' + typedArray)] = bound;
|
|
14468
|
+
}
|
|
14469
|
+
});
|
|
14111
14470
|
}
|
|
14112
14471
|
|
|
14472
|
+
/** @type {(value: object) => false | import('.').TypedArrayName} */
|
|
14113
14473
|
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
14114
|
-
|
|
14115
|
-
|
|
14116
|
-
|
|
14117
|
-
|
|
14118
|
-
|
|
14119
|
-
|
|
14120
|
-
|
|
14121
|
-
|
|
14122
|
-
|
|
14123
|
-
|
|
14124
|
-
|
|
14474
|
+
/** @type {ReturnType<typeof tryAllTypedArrays>} */var found = false;
|
|
14475
|
+
forEach(/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */cache, /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
14476
|
+
function (getter, typedArray) {
|
|
14477
|
+
if (!found) {
|
|
14478
|
+
try {
|
|
14479
|
+
// @ts-expect-error a throw is fine here
|
|
14480
|
+
if ('$' + getter(value) === typedArray) {
|
|
14481
|
+
found = /** @type {import('.').TypedArrayName} */$slice(typedArray, 1);
|
|
14482
|
+
}
|
|
14483
|
+
} catch (e) {/**/}
|
|
14484
|
+
}
|
|
14485
|
+
});
|
|
14486
|
+
return found;
|
|
14125
14487
|
};
|
|
14126
14488
|
|
|
14489
|
+
/** @type {(value: object) => false | import('.').TypedArrayName} */
|
|
14127
14490
|
var trySlices = function tryAllSlices(value) {
|
|
14128
|
-
|
|
14129
|
-
|
|
14130
|
-
|
|
14131
|
-
|
|
14132
|
-
|
|
14133
|
-
|
|
14134
|
-
|
|
14135
|
-
|
|
14136
|
-
|
|
14137
|
-
|
|
14491
|
+
/** @type {ReturnType<typeof tryAllSlices>} */var found = false;
|
|
14492
|
+
forEach(/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */cache, /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */function (getter, name) {
|
|
14493
|
+
if (!found) {
|
|
14494
|
+
try {
|
|
14495
|
+
// @ts-expect-error a throw is fine here
|
|
14496
|
+
getter(value);
|
|
14497
|
+
found = /** @type {import('.').TypedArrayName} */$slice(name, 1);
|
|
14498
|
+
} catch (e) {/**/}
|
|
14499
|
+
}
|
|
14500
|
+
});
|
|
14501
|
+
return found;
|
|
14138
14502
|
};
|
|
14139
14503
|
|
|
14504
|
+
/** @type {import('.')} */
|
|
14140
14505
|
module.exports = function whichTypedArray(value) {
|
|
14141
|
-
|
|
14142
|
-
|
|
14143
|
-
|
|
14144
|
-
|
|
14145
|
-
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
|
|
14149
|
-
|
|
14150
|
-
|
|
14151
|
-
|
|
14152
|
-
|
|
14153
|
-
|
|
14154
|
-
|
|
14506
|
+
if (!value || typeof value !== 'object') {
|
|
14507
|
+
return false;
|
|
14508
|
+
}
|
|
14509
|
+
if (!hasToStringTag) {
|
|
14510
|
+
/** @type {string} */
|
|
14511
|
+
var tag = $slice($toString(value), 8, -1);
|
|
14512
|
+
if ($indexOf(typedArrays, tag) > -1) {
|
|
14513
|
+
return tag;
|
|
14514
|
+
}
|
|
14515
|
+
if (tag !== 'Object') {
|
|
14516
|
+
return false;
|
|
14517
|
+
}
|
|
14518
|
+
// node < 0.6 hits here on real Typed Arrays
|
|
14519
|
+
return trySlices(value);
|
|
14520
|
+
}
|
|
14521
|
+
if (!gOPD) {
|
|
14522
|
+
return null;
|
|
14523
|
+
} // unknown engine
|
|
14524
|
+
return tryTypedArrays(value);
|
|
14155
14525
|
};
|
|
14156
14526
|
|
|
14157
14527
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
14158
|
-
},{"available-typed-arrays":5,"call-bind":
|
|
14528
|
+
},{"available-typed-arrays":5,"call-bind":16,"call-bound":17,"for-each":36,"get-proto":44,"gopd":46,"has-tostringtag/shams":54}],116:[function(require,module,exports){
|
|
14159
14529
|
(function (process,global,Buffer){(function (){
|
|
14160
14530
|
"use strict";
|
|
14161
14531
|
|
|
@@ -14166,7 +14536,7 @@ exports.default = void 0;
|
|
|
14166
14536
|
var _deepSortObject = _interopRequireDefault(require("deep-sort-object"));
|
|
14167
14537
|
var _debug = _interopRequireDefault(require("debug"));
|
|
14168
14538
|
var _jsonc = _interopRequireDefault(require("jsonc"));
|
|
14169
|
-
function _interopRequireDefault(
|
|
14539
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14170
14540
|
//
|
|
14171
14541
|
// Yves - a customizable value inspector for Node.js
|
|
14172
14542
|
//
|
|
@@ -14187,7 +14557,6 @@ function isItA(obj, A) {
|
|
|
14187
14557
|
return false; //
|
|
14188
14558
|
}
|
|
14189
14559
|
}
|
|
14190
|
-
|
|
14191
14560
|
let stack = [];
|
|
14192
14561
|
const verbose = false;
|
|
14193
14562
|
const yves = function () {
|
|
@@ -14238,7 +14607,6 @@ yves.defaults = {
|
|
|
14238
14607
|
// true false
|
|
14239
14608
|
regexp: 'green' // /\d+/
|
|
14240
14609
|
},
|
|
14241
|
-
|
|
14242
14610
|
pretty: true,
|
|
14243
14611
|
// Indent object literals
|
|
14244
14612
|
indent: 4,
|
|
@@ -14265,7 +14633,6 @@ yves.defaults = {
|
|
|
14265
14633
|
yves.options = function (opts) {
|
|
14266
14634
|
yves.defaults = Object.assign({}, yves.defaults, opts); // { ...yves.defaults, ...opts}
|
|
14267
14635
|
};
|
|
14268
|
-
|
|
14269
14636
|
function getCircularReplacer() {
|
|
14270
14637
|
const seen = new WeakSet();
|
|
14271
14638
|
return function (key, value) {
|
|
@@ -14829,7 +15196,7 @@ function typeOf(value) {
|
|
|
14829
15196
|
}
|
|
14830
15197
|
return s;
|
|
14831
15198
|
}
|
|
14832
|
-
function merge(
|
|
15199
|
+
function merge(/* variable args */
|
|
14833
15200
|
) {
|
|
14834
15201
|
const objs = Array.prototype.slice.call(arguments);
|
|
14835
15202
|
const target = {};
|
|
@@ -14860,5 +15227,5 @@ yves.typeOf = typeOf;
|
|
|
14860
15227
|
var _default = exports.default = yves;
|
|
14861
15228
|
|
|
14862
15229
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
|
|
14863
|
-
},{"_process":
|
|
15230
|
+
},{"_process":89,"buffer":9,"debug":19,"deep-sort-object":21,"jsonc":67}]},{},[116])(116)
|
|
14864
15231
|
});
|