contentful-management 11.43.0 → 11.43.2
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/contentful-management.browser.js +732 -317
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +831 -397
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/adapters/REST/endpoints/bulk-action.js +0 -2
- package/dist/es-modules/adapters/REST/endpoints/release-action.js +0 -2
- package/dist/es-modules/common-types.js +0 -1
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/entities/bulk-action.js +4 -0
- package/dist/es-modules/entities/scheduled-action.js +5 -0
- package/dist/typings/common-types.d.ts +1 -1
- package/package.json +8 -19
|
@@ -1527,8 +1527,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1527
1527
|
/* harmony export */ validate: () => (/* binding */ validate)
|
|
1528
1528
|
/* harmony export */ });
|
|
1529
1529
|
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
1530
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1531
|
-
|
|
1532
1530
|
|
|
1533
1531
|
const get = (http, params) => {
|
|
1534
1532
|
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/bulk_actions/actions/${params.bulkActionId}`);
|
|
@@ -3131,8 +3129,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
3131
3129
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
3132
3130
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3133
3131
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3134
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3135
|
-
|
|
3136
3132
|
|
|
3137
3133
|
const get = (http, params) => {
|
|
3138
3134
|
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/releases/${params.releaseId}/actions/${params.actionId}`);
|
|
@@ -4637,7 +4633,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4637
4633
|
*/
|
|
4638
4634
|
|
|
4639
4635
|
/** Base interface for all Payload interfaces. Used as part of the MakeRequestOptions to simplify payload definitions. */
|
|
4640
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
4641
4636
|
|
|
4642
4637
|
let ScheduledActionReferenceFilters = /*#__PURE__*/function (ScheduledActionReferenceFilters) {
|
|
4643
4638
|
ScheduledActionReferenceFilters["contentTypeAnnotationNotIn"] = "sys.contentType.metadata.annotations.ContentType[nin]";
|
|
@@ -13458,9 +13453,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13458
13453
|
|
|
13459
13454
|
/** Represents the state of the BulkAction */
|
|
13460
13455
|
let BulkActionStatus = /*#__PURE__*/function (BulkActionStatus) {
|
|
13456
|
+
/** BulkAction is pending execution */
|
|
13461
13457
|
BulkActionStatus["created"] = "created";
|
|
13458
|
+
/** BulkAction has been started and pending completion */
|
|
13462
13459
|
BulkActionStatus["inProgress"] = "inProgress";
|
|
13460
|
+
/** BulkAction was completed successfully (terminal state) */
|
|
13463
13461
|
BulkActionStatus["succeeded"] = "succeeded";
|
|
13462
|
+
/** BulkAction failed to complete (terminal state) */
|
|
13464
13463
|
BulkActionStatus["failed"] = "failed";
|
|
13465
13464
|
return BulkActionStatus;
|
|
13466
13465
|
}({});
|
|
@@ -15313,10 +15312,15 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
15313
15312
|
* Represents that state of the scheduled action
|
|
15314
15313
|
*/
|
|
15315
15314
|
let ScheduledActionStatus = /*#__PURE__*/function (ScheduledActionStatus) {
|
|
15315
|
+
/** action is pending execution */
|
|
15316
15316
|
ScheduledActionStatus["scheduled"] = "scheduled";
|
|
15317
|
+
/** action has been started and pending completion */
|
|
15317
15318
|
ScheduledActionStatus["inProgress"] = "inProgress";
|
|
15319
|
+
/** action was completed successfully (terminal state) */
|
|
15318
15320
|
ScheduledActionStatus["succeeded"] = "succeeded";
|
|
15321
|
+
/** action failed to complete (terminal state) */
|
|
15319
15322
|
ScheduledActionStatus["failed"] = "failed";
|
|
15323
|
+
/** action was canceled by a user (terminal state) */
|
|
15320
15324
|
ScheduledActionStatus["canceled"] = "canceled";
|
|
15321
15325
|
return ScheduledActionStatus;
|
|
15322
15326
|
}({});
|
|
@@ -17414,74 +17418,123 @@ function getUploadHttpClient(http, options) {
|
|
|
17414
17418
|
|
|
17415
17419
|
/***/ }),
|
|
17416
17420
|
|
|
17417
|
-
/***/ "../node_modules/call-bind/
|
|
17418
|
-
|
|
17419
|
-
!*** ../node_modules/call-bind/
|
|
17420
|
-
|
|
17421
|
+
/***/ "../node_modules/call-bind-apply-helpers/actualApply.js":
|
|
17422
|
+
/*!**************************************************************!*\
|
|
17423
|
+
!*** ../node_modules/call-bind-apply-helpers/actualApply.js ***!
|
|
17424
|
+
\**************************************************************/
|
|
17421
17425
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17422
17426
|
|
|
17423
17427
|
"use strict";
|
|
17424
17428
|
|
|
17425
17429
|
|
|
17426
|
-
var
|
|
17430
|
+
var bind = __webpack_require__(/*! function-bind */ "../node_modules/function-bind/index.js");
|
|
17427
17431
|
|
|
17428
|
-
var
|
|
17432
|
+
var $apply = __webpack_require__(/*! ./functionApply */ "../node_modules/call-bind-apply-helpers/functionApply.js");
|
|
17433
|
+
var $call = __webpack_require__(/*! ./functionCall */ "../node_modules/call-bind-apply-helpers/functionCall.js");
|
|
17434
|
+
var $reflectApply = __webpack_require__(/*! ./reflectApply */ "../node_modules/call-bind-apply-helpers/reflectApply.js");
|
|
17429
17435
|
|
|
17430
|
-
|
|
17436
|
+
/** @type {import('./actualApply')} */
|
|
17437
|
+
module.exports = $reflectApply || bind.call($call, $apply);
|
|
17438
|
+
|
|
17439
|
+
|
|
17440
|
+
/***/ }),
|
|
17441
|
+
|
|
17442
|
+
/***/ "../node_modules/call-bind-apply-helpers/functionApply.js":
|
|
17443
|
+
/*!****************************************************************!*\
|
|
17444
|
+
!*** ../node_modules/call-bind-apply-helpers/functionApply.js ***!
|
|
17445
|
+
\****************************************************************/
|
|
17446
|
+
/***/ ((module) => {
|
|
17447
|
+
|
|
17448
|
+
"use strict";
|
|
17431
17449
|
|
|
17432
|
-
|
|
17433
|
-
|
|
17434
|
-
|
|
17435
|
-
return callBind(intrinsic);
|
|
17436
|
-
}
|
|
17437
|
-
return intrinsic;
|
|
17438
|
-
};
|
|
17450
|
+
|
|
17451
|
+
/** @type {import('./functionApply')} */
|
|
17452
|
+
module.exports = Function.prototype.apply;
|
|
17439
17453
|
|
|
17440
17454
|
|
|
17441
17455
|
/***/ }),
|
|
17442
17456
|
|
|
17443
|
-
/***/ "../node_modules/call-bind/
|
|
17444
|
-
|
|
17445
|
-
!*** ../node_modules/call-bind/
|
|
17446
|
-
|
|
17457
|
+
/***/ "../node_modules/call-bind-apply-helpers/functionCall.js":
|
|
17458
|
+
/*!***************************************************************!*\
|
|
17459
|
+
!*** ../node_modules/call-bind-apply-helpers/functionCall.js ***!
|
|
17460
|
+
\***************************************************************/
|
|
17461
|
+
/***/ ((module) => {
|
|
17462
|
+
|
|
17463
|
+
"use strict";
|
|
17464
|
+
|
|
17465
|
+
|
|
17466
|
+
/** @type {import('./functionCall')} */
|
|
17467
|
+
module.exports = Function.prototype.call;
|
|
17468
|
+
|
|
17469
|
+
|
|
17470
|
+
/***/ }),
|
|
17471
|
+
|
|
17472
|
+
/***/ "../node_modules/call-bind-apply-helpers/index.js":
|
|
17473
|
+
/*!********************************************************!*\
|
|
17474
|
+
!*** ../node_modules/call-bind-apply-helpers/index.js ***!
|
|
17475
|
+
\********************************************************/
|
|
17447
17476
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17448
17477
|
|
|
17449
17478
|
"use strict";
|
|
17450
17479
|
|
|
17451
17480
|
|
|
17452
17481
|
var bind = __webpack_require__(/*! function-bind */ "../node_modules/function-bind/index.js");
|
|
17453
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
17454
|
-
var setFunctionLength = __webpack_require__(/*! set-function-length */ "../node_modules/set-function-length/index.js");
|
|
17455
|
-
|
|
17456
17482
|
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
17457
|
-
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
17458
|
-
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
17459
|
-
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
17460
17483
|
|
|
17461
|
-
var $
|
|
17462
|
-
var $
|
|
17484
|
+
var $call = __webpack_require__(/*! ./functionCall */ "../node_modules/call-bind-apply-helpers/functionCall.js");
|
|
17485
|
+
var $actualApply = __webpack_require__(/*! ./actualApply */ "../node_modules/call-bind-apply-helpers/actualApply.js");
|
|
17463
17486
|
|
|
17464
|
-
|
|
17465
|
-
|
|
17487
|
+
/** @type {import('.')} */
|
|
17488
|
+
module.exports = function callBindBasic(args) {
|
|
17489
|
+
if (args.length < 1 || typeof args[0] !== 'function') {
|
|
17466
17490
|
throw new $TypeError('a function is required');
|
|
17467
17491
|
}
|
|
17468
|
-
|
|
17469
|
-
return setFunctionLength(
|
|
17470
|
-
func,
|
|
17471
|
-
1 + $max(0, originalFunction.length - (arguments.length - 1)),
|
|
17472
|
-
true
|
|
17473
|
-
);
|
|
17492
|
+
return $actualApply(bind, $call, args);
|
|
17474
17493
|
};
|
|
17475
17494
|
|
|
17476
|
-
var applyBind = function applyBind() {
|
|
17477
|
-
return $reflectApply(bind, $apply, arguments);
|
|
17478
|
-
};
|
|
17479
17495
|
|
|
17480
|
-
|
|
17481
|
-
|
|
17482
|
-
|
|
17483
|
-
|
|
17484
|
-
|
|
17496
|
+
/***/ }),
|
|
17497
|
+
|
|
17498
|
+
/***/ "../node_modules/call-bind-apply-helpers/reflectApply.js":
|
|
17499
|
+
/*!***************************************************************!*\
|
|
17500
|
+
!*** ../node_modules/call-bind-apply-helpers/reflectApply.js ***!
|
|
17501
|
+
\***************************************************************/
|
|
17502
|
+
/***/ ((module) => {
|
|
17503
|
+
|
|
17504
|
+
"use strict";
|
|
17505
|
+
|
|
17506
|
+
|
|
17507
|
+
/** @type {import('./reflectApply')} */
|
|
17508
|
+
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
17509
|
+
|
|
17510
|
+
|
|
17511
|
+
/***/ }),
|
|
17512
|
+
|
|
17513
|
+
/***/ "../node_modules/call-bound/index.js":
|
|
17514
|
+
/*!*******************************************!*\
|
|
17515
|
+
!*** ../node_modules/call-bound/index.js ***!
|
|
17516
|
+
\*******************************************/
|
|
17517
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17518
|
+
|
|
17519
|
+
"use strict";
|
|
17520
|
+
|
|
17521
|
+
|
|
17522
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
17523
|
+
|
|
17524
|
+
var callBindBasic = __webpack_require__(/*! call-bind-apply-helpers */ "../node_modules/call-bind-apply-helpers/index.js");
|
|
17525
|
+
|
|
17526
|
+
/** @type {(thisArg: string, searchString: string, position?: number) => number} */
|
|
17527
|
+
var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
|
|
17528
|
+
|
|
17529
|
+
/** @type {import('.')} */
|
|
17530
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
17531
|
+
// eslint-disable-next-line no-extra-parens
|
|
17532
|
+
var intrinsic = /** @type {Parameters<typeof callBindBasic>[0][0]} */ (GetIntrinsic(name, !!allowMissing));
|
|
17533
|
+
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
17534
|
+
return callBindBasic([intrinsic]);
|
|
17535
|
+
}
|
|
17536
|
+
return intrinsic;
|
|
17537
|
+
};
|
|
17485
17538
|
|
|
17486
17539
|
|
|
17487
17540
|
/***/ }),
|
|
@@ -17841,6 +17894,7 @@ function useColors() {
|
|
|
17841
17894
|
|
|
17842
17895
|
// Is webkit? http://stackoverflow.com/a/16459606/376773
|
|
17843
17896
|
// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
|
|
17897
|
+
// eslint-disable-next-line no-return-assign
|
|
17844
17898
|
return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
|
|
17845
17899
|
// Is firebug? http://stackoverflow.com/a/398120/376773
|
|
17846
17900
|
(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
|
|
@@ -18159,24 +18213,62 @@ function setup(env) {
|
|
|
18159
18213
|
createDebug.names = [];
|
|
18160
18214
|
createDebug.skips = [];
|
|
18161
18215
|
|
|
18162
|
-
|
|
18163
|
-
|
|
18164
|
-
|
|
18216
|
+
const split = (typeof namespaces === 'string' ? namespaces : '')
|
|
18217
|
+
.trim()
|
|
18218
|
+
.replace(' ', ',')
|
|
18219
|
+
.split(',')
|
|
18220
|
+
.filter(Boolean);
|
|
18165
18221
|
|
|
18166
|
-
for (
|
|
18167
|
-
if (
|
|
18168
|
-
|
|
18169
|
-
|
|
18222
|
+
for (const ns of split) {
|
|
18223
|
+
if (ns[0] === '-') {
|
|
18224
|
+
createDebug.skips.push(ns.slice(1));
|
|
18225
|
+
} else {
|
|
18226
|
+
createDebug.names.push(ns);
|
|
18170
18227
|
}
|
|
18228
|
+
}
|
|
18229
|
+
}
|
|
18171
18230
|
|
|
18172
|
-
|
|
18173
|
-
|
|
18174
|
-
|
|
18175
|
-
|
|
18231
|
+
/**
|
|
18232
|
+
* Checks if the given string matches a namespace template, honoring
|
|
18233
|
+
* asterisks as wildcards.
|
|
18234
|
+
*
|
|
18235
|
+
* @param {String} search
|
|
18236
|
+
* @param {String} template
|
|
18237
|
+
* @return {Boolean}
|
|
18238
|
+
*/
|
|
18239
|
+
function matchesTemplate(search, template) {
|
|
18240
|
+
let searchIndex = 0;
|
|
18241
|
+
let templateIndex = 0;
|
|
18242
|
+
let starIndex = -1;
|
|
18243
|
+
let matchIndex = 0;
|
|
18244
|
+
|
|
18245
|
+
while (searchIndex < search.length) {
|
|
18246
|
+
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {
|
|
18247
|
+
// Match character or proceed with wildcard
|
|
18248
|
+
if (template[templateIndex] === '*') {
|
|
18249
|
+
starIndex = templateIndex;
|
|
18250
|
+
matchIndex = searchIndex;
|
|
18251
|
+
templateIndex++; // Skip the '*'
|
|
18252
|
+
} else {
|
|
18253
|
+
searchIndex++;
|
|
18254
|
+
templateIndex++;
|
|
18255
|
+
}
|
|
18256
|
+
} else if (starIndex !== -1) { // eslint-disable-line no-negated-condition
|
|
18257
|
+
// Backtrack to the last '*' and try to match more characters
|
|
18258
|
+
templateIndex = starIndex + 1;
|
|
18259
|
+
matchIndex++;
|
|
18260
|
+
searchIndex = matchIndex;
|
|
18176
18261
|
} else {
|
|
18177
|
-
|
|
18262
|
+
return false; // No match
|
|
18178
18263
|
}
|
|
18179
18264
|
}
|
|
18265
|
+
|
|
18266
|
+
// Handle trailing '*' in template
|
|
18267
|
+
while (templateIndex < template.length && template[templateIndex] === '*') {
|
|
18268
|
+
templateIndex++;
|
|
18269
|
+
}
|
|
18270
|
+
|
|
18271
|
+
return templateIndex === template.length;
|
|
18180
18272
|
}
|
|
18181
18273
|
|
|
18182
18274
|
/**
|
|
@@ -18187,8 +18279,8 @@ function setup(env) {
|
|
|
18187
18279
|
*/
|
|
18188
18280
|
function disable() {
|
|
18189
18281
|
const namespaces = [
|
|
18190
|
-
...createDebug.names
|
|
18191
|
-
...createDebug.skips.map(
|
|
18282
|
+
...createDebug.names,
|
|
18283
|
+
...createDebug.skips.map(namespace => '-' + namespace)
|
|
18192
18284
|
].join(',');
|
|
18193
18285
|
createDebug.enable('');
|
|
18194
18286
|
return namespaces;
|
|
@@ -18202,21 +18294,14 @@ function setup(env) {
|
|
|
18202
18294
|
* @api public
|
|
18203
18295
|
*/
|
|
18204
18296
|
function enabled(name) {
|
|
18205
|
-
|
|
18206
|
-
|
|
18207
|
-
}
|
|
18208
|
-
|
|
18209
|
-
let i;
|
|
18210
|
-
let len;
|
|
18211
|
-
|
|
18212
|
-
for (i = 0, len = createDebug.skips.length; i < len; i++) {
|
|
18213
|
-
if (createDebug.skips[i].test(name)) {
|
|
18297
|
+
for (const skip of createDebug.skips) {
|
|
18298
|
+
if (matchesTemplate(name, skip)) {
|
|
18214
18299
|
return false;
|
|
18215
18300
|
}
|
|
18216
18301
|
}
|
|
18217
18302
|
|
|
18218
|
-
for (
|
|
18219
|
-
if (
|
|
18303
|
+
for (const ns of createDebug.names) {
|
|
18304
|
+
if (matchesTemplate(name, ns)) {
|
|
18220
18305
|
return true;
|
|
18221
18306
|
}
|
|
18222
18307
|
}
|
|
@@ -18224,19 +18309,6 @@ function setup(env) {
|
|
|
18224
18309
|
return false;
|
|
18225
18310
|
}
|
|
18226
18311
|
|
|
18227
|
-
/**
|
|
18228
|
-
* Convert regexp to namespace
|
|
18229
|
-
*
|
|
18230
|
-
* @param {RegExp} regxep
|
|
18231
|
-
* @return {String} namespace
|
|
18232
|
-
* @api private
|
|
18233
|
-
*/
|
|
18234
|
-
function toNamespace(regexp) {
|
|
18235
|
-
return regexp.toString()
|
|
18236
|
-
.substring(2, regexp.toString().length - 2)
|
|
18237
|
-
.replace(/\.\*\?$/, '*');
|
|
18238
|
-
}
|
|
18239
|
-
|
|
18240
18312
|
/**
|
|
18241
18313
|
* Coerce `val`.
|
|
18242
18314
|
*
|
|
@@ -18560,73 +18632,6 @@ formatters.O = function (v) {
|
|
|
18560
18632
|
};
|
|
18561
18633
|
|
|
18562
18634
|
|
|
18563
|
-
/***/ }),
|
|
18564
|
-
|
|
18565
|
-
/***/ "../node_modules/define-data-property/index.js":
|
|
18566
|
-
/*!*****************************************************!*\
|
|
18567
|
-
!*** ../node_modules/define-data-property/index.js ***!
|
|
18568
|
-
\*****************************************************/
|
|
18569
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
18570
|
-
|
|
18571
|
-
"use strict";
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
var $defineProperty = __webpack_require__(/*! es-define-property */ "../node_modules/es-define-property/index.js");
|
|
18575
|
-
|
|
18576
|
-
var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ "../node_modules/es-errors/syntax.js");
|
|
18577
|
-
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
18578
|
-
|
|
18579
|
-
var gopd = __webpack_require__(/*! gopd */ "../node_modules/gopd/index.js");
|
|
18580
|
-
|
|
18581
|
-
/** @type {import('.')} */
|
|
18582
|
-
module.exports = function defineDataProperty(
|
|
18583
|
-
obj,
|
|
18584
|
-
property,
|
|
18585
|
-
value
|
|
18586
|
-
) {
|
|
18587
|
-
if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
18588
|
-
throw new $TypeError('`obj` must be an object or a function`');
|
|
18589
|
-
}
|
|
18590
|
-
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
18591
|
-
throw new $TypeError('`property` must be a string or a symbol`');
|
|
18592
|
-
}
|
|
18593
|
-
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
18594
|
-
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
18595
|
-
}
|
|
18596
|
-
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
18597
|
-
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
18598
|
-
}
|
|
18599
|
-
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
18600
|
-
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
18601
|
-
}
|
|
18602
|
-
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
18603
|
-
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
18604
|
-
}
|
|
18605
|
-
|
|
18606
|
-
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
18607
|
-
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
18608
|
-
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
18609
|
-
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
18610
|
-
|
|
18611
|
-
/* @type {false | TypedPropertyDescriptor<unknown>} */
|
|
18612
|
-
var desc = !!gopd && gopd(obj, property);
|
|
18613
|
-
|
|
18614
|
-
if ($defineProperty) {
|
|
18615
|
-
$defineProperty(obj, property, {
|
|
18616
|
-
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
18617
|
-
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
18618
|
-
value: value,
|
|
18619
|
-
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
18620
|
-
});
|
|
18621
|
-
} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
|
|
18622
|
-
// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
|
|
18623
|
-
obj[property] = value; // eslint-disable-line no-param-reassign
|
|
18624
|
-
} else {
|
|
18625
|
-
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
18626
|
-
}
|
|
18627
|
-
};
|
|
18628
|
-
|
|
18629
|
-
|
|
18630
18635
|
/***/ }),
|
|
18631
18636
|
|
|
18632
18637
|
/***/ "../node_modules/delayed-stream/lib/delayed_stream.js":
|
|
@@ -18744,21 +18749,60 @@ DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() {
|
|
|
18744
18749
|
};
|
|
18745
18750
|
|
|
18746
18751
|
|
|
18752
|
+
/***/ }),
|
|
18753
|
+
|
|
18754
|
+
/***/ "../node_modules/dunder-proto/get.js":
|
|
18755
|
+
/*!*******************************************!*\
|
|
18756
|
+
!*** ../node_modules/dunder-proto/get.js ***!
|
|
18757
|
+
\*******************************************/
|
|
18758
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
18759
|
+
|
|
18760
|
+
"use strict";
|
|
18761
|
+
|
|
18762
|
+
|
|
18763
|
+
var callBind = __webpack_require__(/*! call-bind-apply-helpers */ "../node_modules/call-bind-apply-helpers/index.js");
|
|
18764
|
+
var gOPD = __webpack_require__(/*! gopd */ "../node_modules/gopd/index.js");
|
|
18765
|
+
|
|
18766
|
+
var hasProtoAccessor;
|
|
18767
|
+
try {
|
|
18768
|
+
// eslint-disable-next-line no-extra-parens, no-proto
|
|
18769
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
|
|
18770
|
+
} catch (e) {
|
|
18771
|
+
if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
|
|
18772
|
+
throw e;
|
|
18773
|
+
}
|
|
18774
|
+
}
|
|
18775
|
+
|
|
18776
|
+
// eslint-disable-next-line no-extra-parens
|
|
18777
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
|
|
18778
|
+
|
|
18779
|
+
var $Object = Object;
|
|
18780
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
18781
|
+
|
|
18782
|
+
/** @type {import('./get')} */
|
|
18783
|
+
module.exports = desc && typeof desc.get === 'function'
|
|
18784
|
+
? callBind([desc.get])
|
|
18785
|
+
: typeof $getPrototypeOf === 'function'
|
|
18786
|
+
? /** @type {import('./get')} */ function getDunder(value) {
|
|
18787
|
+
// eslint-disable-next-line eqeqeq
|
|
18788
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
18789
|
+
}
|
|
18790
|
+
: false;
|
|
18791
|
+
|
|
18792
|
+
|
|
18747
18793
|
/***/ }),
|
|
18748
18794
|
|
|
18749
18795
|
/***/ "../node_modules/es-define-property/index.js":
|
|
18750
18796
|
/*!***************************************************!*\
|
|
18751
18797
|
!*** ../node_modules/es-define-property/index.js ***!
|
|
18752
18798
|
\***************************************************/
|
|
18753
|
-
/***/ ((module
|
|
18799
|
+
/***/ ((module) => {
|
|
18754
18800
|
|
|
18755
18801
|
"use strict";
|
|
18756
18802
|
|
|
18757
18803
|
|
|
18758
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
18759
|
-
|
|
18760
18804
|
/** @type {import('.')} */
|
|
18761
|
-
var $defineProperty =
|
|
18805
|
+
var $defineProperty = Object.defineProperty || false;
|
|
18762
18806
|
if ($defineProperty) {
|
|
18763
18807
|
try {
|
|
18764
18808
|
$defineProperty({}, 'a', { value: 1 });
|
|
@@ -18876,6 +18920,21 @@ module.exports = TypeError;
|
|
|
18876
18920
|
module.exports = URIError;
|
|
18877
18921
|
|
|
18878
18922
|
|
|
18923
|
+
/***/ }),
|
|
18924
|
+
|
|
18925
|
+
/***/ "../node_modules/es-object-atoms/index.js":
|
|
18926
|
+
/*!************************************************!*\
|
|
18927
|
+
!*** ../node_modules/es-object-atoms/index.js ***!
|
|
18928
|
+
\************************************************/
|
|
18929
|
+
/***/ ((module) => {
|
|
18930
|
+
|
|
18931
|
+
"use strict";
|
|
18932
|
+
|
|
18933
|
+
|
|
18934
|
+
/** @type {import('.')} */
|
|
18935
|
+
module.exports = Object;
|
|
18936
|
+
|
|
18937
|
+
|
|
18879
18938
|
/***/ }),
|
|
18880
18939
|
|
|
18881
18940
|
/***/ "../node_modules/follow-redirects/debug.js":
|
|
@@ -20252,6 +20311,8 @@ module.exports = Function.prototype.bind || implementation;
|
|
|
20252
20311
|
|
|
20253
20312
|
var undefined;
|
|
20254
20313
|
|
|
20314
|
+
var $Object = __webpack_require__(/*! es-object-atoms */ "../node_modules/es-object-atoms/index.js");
|
|
20315
|
+
|
|
20255
20316
|
var $Error = __webpack_require__(/*! es-errors */ "../node_modules/es-errors/index.js");
|
|
20256
20317
|
var $EvalError = __webpack_require__(/*! es-errors/eval */ "../node_modules/es-errors/eval.js");
|
|
20257
20318
|
var $RangeError = __webpack_require__(/*! es-errors/range */ "../node_modules/es-errors/range.js");
|
|
@@ -20260,6 +20321,14 @@ var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ "../node_modules/
|
|
|
20260
20321
|
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
20261
20322
|
var $URIError = __webpack_require__(/*! es-errors/uri */ "../node_modules/es-errors/uri.js");
|
|
20262
20323
|
|
|
20324
|
+
var abs = __webpack_require__(/*! math-intrinsics/abs */ "../node_modules/math-intrinsics/abs.js");
|
|
20325
|
+
var floor = __webpack_require__(/*! math-intrinsics/floor */ "../node_modules/math-intrinsics/floor.js");
|
|
20326
|
+
var max = __webpack_require__(/*! math-intrinsics/max */ "../node_modules/math-intrinsics/max.js");
|
|
20327
|
+
var min = __webpack_require__(/*! math-intrinsics/min */ "../node_modules/math-intrinsics/min.js");
|
|
20328
|
+
var pow = __webpack_require__(/*! math-intrinsics/pow */ "../node_modules/math-intrinsics/pow.js");
|
|
20329
|
+
var round = __webpack_require__(/*! math-intrinsics/round */ "../node_modules/math-intrinsics/round.js");
|
|
20330
|
+
var sign = __webpack_require__(/*! math-intrinsics/sign */ "../node_modules/math-intrinsics/sign.js");
|
|
20331
|
+
|
|
20263
20332
|
var $Function = Function;
|
|
20264
20333
|
|
|
20265
20334
|
// eslint-disable-next-line consistent-return
|
|
@@ -20269,14 +20338,8 @@ var getEvalledConstructor = function (expressionSyntax) {
|
|
|
20269
20338
|
} catch (e) {}
|
|
20270
20339
|
};
|
|
20271
20340
|
|
|
20272
|
-
var $gOPD =
|
|
20273
|
-
|
|
20274
|
-
try {
|
|
20275
|
-
$gOPD({}, '');
|
|
20276
|
-
} catch (e) {
|
|
20277
|
-
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
20278
|
-
}
|
|
20279
|
-
}
|
|
20341
|
+
var $gOPD = __webpack_require__(/*! gopd */ "../node_modules/gopd/index.js");
|
|
20342
|
+
var $defineProperty = __webpack_require__(/*! es-define-property */ "../node_modules/es-define-property/index.js");
|
|
20280
20343
|
|
|
20281
20344
|
var throwTypeError = function () {
|
|
20282
20345
|
throw new $TypeError();
|
|
@@ -20299,13 +20362,13 @@ var ThrowTypeError = $gOPD
|
|
|
20299
20362
|
: throwTypeError;
|
|
20300
20363
|
|
|
20301
20364
|
var hasSymbols = __webpack_require__(/*! has-symbols */ "../node_modules/has-symbols/index.js")();
|
|
20302
|
-
var hasProto = __webpack_require__(/*! has-proto */ "../node_modules/has-proto/index.js")();
|
|
20303
20365
|
|
|
20304
|
-
var getProto =
|
|
20305
|
-
|
|
20306
|
-
|
|
20307
|
-
|
|
20308
|
-
);
|
|
20366
|
+
var getProto = __webpack_require__(/*! get-proto */ "../node_modules/get-proto/index.js");
|
|
20367
|
+
var $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ "../node_modules/get-proto/Object.getPrototypeOf.js");
|
|
20368
|
+
var $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ "../node_modules/get-proto/Reflect.getPrototypeOf.js");
|
|
20369
|
+
|
|
20370
|
+
var $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ "../node_modules/call-bind-apply-helpers/functionApply.js");
|
|
20371
|
+
var $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ "../node_modules/call-bind-apply-helpers/functionCall.js");
|
|
20309
20372
|
|
|
20310
20373
|
var needsEval = {};
|
|
20311
20374
|
|
|
@@ -20352,7 +20415,8 @@ var INTRINSICS = {
|
|
|
20352
20415
|
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
20353
20416
|
'%Math%': Math,
|
|
20354
20417
|
'%Number%': Number,
|
|
20355
|
-
'%Object%': Object,
|
|
20418
|
+
'%Object%': $Object,
|
|
20419
|
+
'%Object.getOwnPropertyDescriptor%': $gOPD,
|
|
20356
20420
|
'%parseFloat%': parseFloat,
|
|
20357
20421
|
'%parseInt%': parseInt,
|
|
20358
20422
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
@@ -20378,7 +20442,20 @@ var INTRINSICS = {
|
|
|
20378
20442
|
'%URIError%': $URIError,
|
|
20379
20443
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
20380
20444
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
20381
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
20445
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
|
|
20446
|
+
|
|
20447
|
+
'%Function.prototype.call%': $call,
|
|
20448
|
+
'%Function.prototype.apply%': $apply,
|
|
20449
|
+
'%Object.defineProperty%': $defineProperty,
|
|
20450
|
+
'%Object.getPrototypeOf%': $ObjectGPO,
|
|
20451
|
+
'%Math.abs%': abs,
|
|
20452
|
+
'%Math.floor%': floor,
|
|
20453
|
+
'%Math.max%': max,
|
|
20454
|
+
'%Math.min%': min,
|
|
20455
|
+
'%Math.pow%': pow,
|
|
20456
|
+
'%Math.round%': round,
|
|
20457
|
+
'%Math.sign%': sign,
|
|
20458
|
+
'%Reflect.getPrototypeOf%': $ReflectGPO
|
|
20382
20459
|
};
|
|
20383
20460
|
|
|
20384
20461
|
if (getProto) {
|
|
@@ -20473,11 +20550,11 @@ var LEGACY_ALIASES = {
|
|
|
20473
20550
|
|
|
20474
20551
|
var bind = __webpack_require__(/*! function-bind */ "../node_modules/function-bind/index.js");
|
|
20475
20552
|
var hasOwn = __webpack_require__(/*! hasown */ "../node_modules/hasown/index.js");
|
|
20476
|
-
var $concat = bind.call(
|
|
20477
|
-
var $spliceApply = bind.call(
|
|
20478
|
-
var $replace = bind.call(
|
|
20479
|
-
var $strSlice = bind.call(
|
|
20480
|
-
var $exec = bind.call(
|
|
20553
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
20554
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
20555
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
20556
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
20557
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
20481
20558
|
|
|
20482
20559
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
20483
20560
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -20609,6 +20686,91 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
20609
20686
|
};
|
|
20610
20687
|
|
|
20611
20688
|
|
|
20689
|
+
/***/ }),
|
|
20690
|
+
|
|
20691
|
+
/***/ "../node_modules/get-proto/Object.getPrototypeOf.js":
|
|
20692
|
+
/*!**********************************************************!*\
|
|
20693
|
+
!*** ../node_modules/get-proto/Object.getPrototypeOf.js ***!
|
|
20694
|
+
\**********************************************************/
|
|
20695
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20696
|
+
|
|
20697
|
+
"use strict";
|
|
20698
|
+
|
|
20699
|
+
|
|
20700
|
+
var $Object = __webpack_require__(/*! es-object-atoms */ "../node_modules/es-object-atoms/index.js");
|
|
20701
|
+
|
|
20702
|
+
/** @type {import('./Object.getPrototypeOf')} */
|
|
20703
|
+
module.exports = $Object.getPrototypeOf || null;
|
|
20704
|
+
|
|
20705
|
+
|
|
20706
|
+
/***/ }),
|
|
20707
|
+
|
|
20708
|
+
/***/ "../node_modules/get-proto/Reflect.getPrototypeOf.js":
|
|
20709
|
+
/*!***********************************************************!*\
|
|
20710
|
+
!*** ../node_modules/get-proto/Reflect.getPrototypeOf.js ***!
|
|
20711
|
+
\***********************************************************/
|
|
20712
|
+
/***/ ((module) => {
|
|
20713
|
+
|
|
20714
|
+
"use strict";
|
|
20715
|
+
|
|
20716
|
+
|
|
20717
|
+
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
20718
|
+
module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
|
|
20719
|
+
|
|
20720
|
+
|
|
20721
|
+
/***/ }),
|
|
20722
|
+
|
|
20723
|
+
/***/ "../node_modules/get-proto/index.js":
|
|
20724
|
+
/*!******************************************!*\
|
|
20725
|
+
!*** ../node_modules/get-proto/index.js ***!
|
|
20726
|
+
\******************************************/
|
|
20727
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20728
|
+
|
|
20729
|
+
"use strict";
|
|
20730
|
+
|
|
20731
|
+
|
|
20732
|
+
var reflectGetProto = __webpack_require__(/*! ./Reflect.getPrototypeOf */ "../node_modules/get-proto/Reflect.getPrototypeOf.js");
|
|
20733
|
+
var originalGetProto = __webpack_require__(/*! ./Object.getPrototypeOf */ "../node_modules/get-proto/Object.getPrototypeOf.js");
|
|
20734
|
+
|
|
20735
|
+
var getDunderProto = __webpack_require__(/*! dunder-proto/get */ "../node_modules/dunder-proto/get.js");
|
|
20736
|
+
|
|
20737
|
+
/** @type {import('.')} */
|
|
20738
|
+
module.exports = reflectGetProto
|
|
20739
|
+
? function getProto(O) {
|
|
20740
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
20741
|
+
return reflectGetProto(O);
|
|
20742
|
+
}
|
|
20743
|
+
: originalGetProto
|
|
20744
|
+
? function getProto(O) {
|
|
20745
|
+
if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
|
|
20746
|
+
throw new TypeError('getProto: not an object');
|
|
20747
|
+
}
|
|
20748
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
20749
|
+
return originalGetProto(O);
|
|
20750
|
+
}
|
|
20751
|
+
: getDunderProto
|
|
20752
|
+
? function getProto(O) {
|
|
20753
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
20754
|
+
return getDunderProto(O);
|
|
20755
|
+
}
|
|
20756
|
+
: null;
|
|
20757
|
+
|
|
20758
|
+
|
|
20759
|
+
/***/ }),
|
|
20760
|
+
|
|
20761
|
+
/***/ "../node_modules/gopd/gOPD.js":
|
|
20762
|
+
/*!************************************!*\
|
|
20763
|
+
!*** ../node_modules/gopd/gOPD.js ***!
|
|
20764
|
+
\************************************/
|
|
20765
|
+
/***/ ((module) => {
|
|
20766
|
+
|
|
20767
|
+
"use strict";
|
|
20768
|
+
|
|
20769
|
+
|
|
20770
|
+
/** @type {import('./gOPD')} */
|
|
20771
|
+
module.exports = Object.getOwnPropertyDescriptor;
|
|
20772
|
+
|
|
20773
|
+
|
|
20612
20774
|
/***/ }),
|
|
20613
20775
|
|
|
20614
20776
|
/***/ "../node_modules/gopd/index.js":
|
|
@@ -20620,9 +20782,8 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
20620
20782
|
"use strict";
|
|
20621
20783
|
|
|
20622
20784
|
|
|
20623
|
-
|
|
20624
|
-
|
|
20625
|
-
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
20785
|
+
/** @type {import('.')} */
|
|
20786
|
+
var $gOPD = __webpack_require__(/*! ./gOPD */ "../node_modules/gopd/gOPD.js");
|
|
20626
20787
|
|
|
20627
20788
|
if ($gOPD) {
|
|
20628
20789
|
try {
|
|
@@ -20657,84 +20818,26 @@ module.exports = (flag, argv = process.argv) => {
|
|
|
20657
20818
|
|
|
20658
20819
|
/***/ }),
|
|
20659
20820
|
|
|
20660
|
-
/***/ "../node_modules/has-
|
|
20661
|
-
|
|
20662
|
-
!*** ../node_modules/has-
|
|
20663
|
-
|
|
20821
|
+
/***/ "../node_modules/has-symbols/index.js":
|
|
20822
|
+
/*!********************************************!*\
|
|
20823
|
+
!*** ../node_modules/has-symbols/index.js ***!
|
|
20824
|
+
\********************************************/
|
|
20664
20825
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20665
20826
|
|
|
20666
20827
|
"use strict";
|
|
20667
20828
|
|
|
20668
20829
|
|
|
20669
|
-
var
|
|
20830
|
+
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
20831
|
+
var hasSymbolSham = __webpack_require__(/*! ./shams */ "../node_modules/has-symbols/shams.js");
|
|
20670
20832
|
|
|
20671
|
-
|
|
20672
|
-
|
|
20673
|
-
}
|
|
20833
|
+
/** @type {import('.')} */
|
|
20834
|
+
module.exports = function hasNativeSymbols() {
|
|
20835
|
+
if (typeof origSymbol !== 'function') { return false; }
|
|
20836
|
+
if (typeof Symbol !== 'function') { return false; }
|
|
20837
|
+
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
20838
|
+
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
20674
20839
|
|
|
20675
|
-
|
|
20676
|
-
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
20677
|
-
if (!$defineProperty) {
|
|
20678
|
-
return null;
|
|
20679
|
-
}
|
|
20680
|
-
try {
|
|
20681
|
-
return $defineProperty([], 'length', { value: 1 }).length !== 1;
|
|
20682
|
-
} catch (e) {
|
|
20683
|
-
// In Firefox 4-22, defining length on an array throws an exception.
|
|
20684
|
-
return true;
|
|
20685
|
-
}
|
|
20686
|
-
};
|
|
20687
|
-
|
|
20688
|
-
module.exports = hasPropertyDescriptors;
|
|
20689
|
-
|
|
20690
|
-
|
|
20691
|
-
/***/ }),
|
|
20692
|
-
|
|
20693
|
-
/***/ "../node_modules/has-proto/index.js":
|
|
20694
|
-
/*!******************************************!*\
|
|
20695
|
-
!*** ../node_modules/has-proto/index.js ***!
|
|
20696
|
-
\******************************************/
|
|
20697
|
-
/***/ ((module) => {
|
|
20698
|
-
|
|
20699
|
-
"use strict";
|
|
20700
|
-
|
|
20701
|
-
|
|
20702
|
-
var test = {
|
|
20703
|
-
__proto__: null,
|
|
20704
|
-
foo: {}
|
|
20705
|
-
};
|
|
20706
|
-
|
|
20707
|
-
var $Object = Object;
|
|
20708
|
-
|
|
20709
|
-
/** @type {import('.')} */
|
|
20710
|
-
module.exports = function hasProto() {
|
|
20711
|
-
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
20712
|
-
return { __proto__: test }.foo === test.foo
|
|
20713
|
-
&& !(test instanceof $Object);
|
|
20714
|
-
};
|
|
20715
|
-
|
|
20716
|
-
|
|
20717
|
-
/***/ }),
|
|
20718
|
-
|
|
20719
|
-
/***/ "../node_modules/has-symbols/index.js":
|
|
20720
|
-
/*!********************************************!*\
|
|
20721
|
-
!*** ../node_modules/has-symbols/index.js ***!
|
|
20722
|
-
\********************************************/
|
|
20723
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20724
|
-
|
|
20725
|
-
"use strict";
|
|
20726
|
-
|
|
20727
|
-
|
|
20728
|
-
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
20729
|
-
var hasSymbolSham = __webpack_require__(/*! ./shams */ "../node_modules/has-symbols/shams.js");
|
|
20730
|
-
|
|
20731
|
-
module.exports = function hasNativeSymbols() {
|
|
20732
|
-
if (typeof origSymbol !== 'function') { return false; }
|
|
20733
|
-
if (typeof Symbol !== 'function') { return false; }
|
|
20734
|
-
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
20735
|
-
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
20736
|
-
|
|
20737
|
-
return hasSymbolSham();
|
|
20840
|
+
return hasSymbolSham();
|
|
20738
20841
|
};
|
|
20739
20842
|
|
|
20740
20843
|
|
|
@@ -20749,11 +20852,13 @@ module.exports = function hasNativeSymbols() {
|
|
|
20749
20852
|
"use strict";
|
|
20750
20853
|
|
|
20751
20854
|
|
|
20855
|
+
/** @type {import('./shams')} */
|
|
20752
20856
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
20753
20857
|
module.exports = function hasSymbols() {
|
|
20754
20858
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
20755
20859
|
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
20756
20860
|
|
|
20861
|
+
/** @type {{ [k in symbol]?: unknown }} */
|
|
20757
20862
|
var obj = {};
|
|
20758
20863
|
var sym = Symbol('test');
|
|
20759
20864
|
var symObj = Object(sym);
|
|
@@ -20772,7 +20877,7 @@ module.exports = function hasSymbols() {
|
|
|
20772
20877
|
|
|
20773
20878
|
var symVal = 42;
|
|
20774
20879
|
obj[sym] = symVal;
|
|
20775
|
-
for (
|
|
20880
|
+
for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
20776
20881
|
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
20777
20882
|
|
|
20778
20883
|
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
@@ -20783,7 +20888,8 @@ module.exports = function hasSymbols() {
|
|
|
20783
20888
|
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
20784
20889
|
|
|
20785
20890
|
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
20786
|
-
|
|
20891
|
+
// eslint-disable-next-line no-extra-parens
|
|
20892
|
+
var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
|
|
20787
20893
|
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
20788
20894
|
}
|
|
20789
20895
|
|
|
@@ -21070,6 +21176,135 @@ function isString(value) {
|
|
|
21070
21176
|
module.exports = isString;
|
|
21071
21177
|
|
|
21072
21178
|
|
|
21179
|
+
/***/ }),
|
|
21180
|
+
|
|
21181
|
+
/***/ "../node_modules/math-intrinsics/abs.js":
|
|
21182
|
+
/*!**********************************************!*\
|
|
21183
|
+
!*** ../node_modules/math-intrinsics/abs.js ***!
|
|
21184
|
+
\**********************************************/
|
|
21185
|
+
/***/ ((module) => {
|
|
21186
|
+
|
|
21187
|
+
"use strict";
|
|
21188
|
+
|
|
21189
|
+
|
|
21190
|
+
/** @type {import('./abs')} */
|
|
21191
|
+
module.exports = Math.abs;
|
|
21192
|
+
|
|
21193
|
+
|
|
21194
|
+
/***/ }),
|
|
21195
|
+
|
|
21196
|
+
/***/ "../node_modules/math-intrinsics/floor.js":
|
|
21197
|
+
/*!************************************************!*\
|
|
21198
|
+
!*** ../node_modules/math-intrinsics/floor.js ***!
|
|
21199
|
+
\************************************************/
|
|
21200
|
+
/***/ ((module) => {
|
|
21201
|
+
|
|
21202
|
+
"use strict";
|
|
21203
|
+
|
|
21204
|
+
|
|
21205
|
+
/** @type {import('./floor')} */
|
|
21206
|
+
module.exports = Math.floor;
|
|
21207
|
+
|
|
21208
|
+
|
|
21209
|
+
/***/ }),
|
|
21210
|
+
|
|
21211
|
+
/***/ "../node_modules/math-intrinsics/isNaN.js":
|
|
21212
|
+
/*!************************************************!*\
|
|
21213
|
+
!*** ../node_modules/math-intrinsics/isNaN.js ***!
|
|
21214
|
+
\************************************************/
|
|
21215
|
+
/***/ ((module) => {
|
|
21216
|
+
|
|
21217
|
+
"use strict";
|
|
21218
|
+
|
|
21219
|
+
|
|
21220
|
+
/** @type {import('./isNaN')} */
|
|
21221
|
+
module.exports = Number.isNaN || function isNaN(a) {
|
|
21222
|
+
return a !== a;
|
|
21223
|
+
};
|
|
21224
|
+
|
|
21225
|
+
|
|
21226
|
+
/***/ }),
|
|
21227
|
+
|
|
21228
|
+
/***/ "../node_modules/math-intrinsics/max.js":
|
|
21229
|
+
/*!**********************************************!*\
|
|
21230
|
+
!*** ../node_modules/math-intrinsics/max.js ***!
|
|
21231
|
+
\**********************************************/
|
|
21232
|
+
/***/ ((module) => {
|
|
21233
|
+
|
|
21234
|
+
"use strict";
|
|
21235
|
+
|
|
21236
|
+
|
|
21237
|
+
/** @type {import('./max')} */
|
|
21238
|
+
module.exports = Math.max;
|
|
21239
|
+
|
|
21240
|
+
|
|
21241
|
+
/***/ }),
|
|
21242
|
+
|
|
21243
|
+
/***/ "../node_modules/math-intrinsics/min.js":
|
|
21244
|
+
/*!**********************************************!*\
|
|
21245
|
+
!*** ../node_modules/math-intrinsics/min.js ***!
|
|
21246
|
+
\**********************************************/
|
|
21247
|
+
/***/ ((module) => {
|
|
21248
|
+
|
|
21249
|
+
"use strict";
|
|
21250
|
+
|
|
21251
|
+
|
|
21252
|
+
/** @type {import('./min')} */
|
|
21253
|
+
module.exports = Math.min;
|
|
21254
|
+
|
|
21255
|
+
|
|
21256
|
+
/***/ }),
|
|
21257
|
+
|
|
21258
|
+
/***/ "../node_modules/math-intrinsics/pow.js":
|
|
21259
|
+
/*!**********************************************!*\
|
|
21260
|
+
!*** ../node_modules/math-intrinsics/pow.js ***!
|
|
21261
|
+
\**********************************************/
|
|
21262
|
+
/***/ ((module) => {
|
|
21263
|
+
|
|
21264
|
+
"use strict";
|
|
21265
|
+
|
|
21266
|
+
|
|
21267
|
+
/** @type {import('./pow')} */
|
|
21268
|
+
module.exports = Math.pow;
|
|
21269
|
+
|
|
21270
|
+
|
|
21271
|
+
/***/ }),
|
|
21272
|
+
|
|
21273
|
+
/***/ "../node_modules/math-intrinsics/round.js":
|
|
21274
|
+
/*!************************************************!*\
|
|
21275
|
+
!*** ../node_modules/math-intrinsics/round.js ***!
|
|
21276
|
+
\************************************************/
|
|
21277
|
+
/***/ ((module) => {
|
|
21278
|
+
|
|
21279
|
+
"use strict";
|
|
21280
|
+
|
|
21281
|
+
|
|
21282
|
+
/** @type {import('./round')} */
|
|
21283
|
+
module.exports = Math.round;
|
|
21284
|
+
|
|
21285
|
+
|
|
21286
|
+
/***/ }),
|
|
21287
|
+
|
|
21288
|
+
/***/ "../node_modules/math-intrinsics/sign.js":
|
|
21289
|
+
/*!***********************************************!*\
|
|
21290
|
+
!*** ../node_modules/math-intrinsics/sign.js ***!
|
|
21291
|
+
\***********************************************/
|
|
21292
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
21293
|
+
|
|
21294
|
+
"use strict";
|
|
21295
|
+
|
|
21296
|
+
|
|
21297
|
+
var $isNaN = __webpack_require__(/*! ./isNaN */ "../node_modules/math-intrinsics/isNaN.js");
|
|
21298
|
+
|
|
21299
|
+
/** @type {import('./sign')} */
|
|
21300
|
+
module.exports = function sign(number) {
|
|
21301
|
+
if ($isNaN(number) || number === 0) {
|
|
21302
|
+
return number;
|
|
21303
|
+
}
|
|
21304
|
+
return number < 0 ? -1 : +1;
|
|
21305
|
+
};
|
|
21306
|
+
|
|
21307
|
+
|
|
21073
21308
|
/***/ }),
|
|
21074
21309
|
|
|
21075
21310
|
/***/ "../node_modules/mime-db/index.js":
|
|
@@ -22236,7 +22471,8 @@ var defaults = {
|
|
|
22236
22471
|
parseArrays: true,
|
|
22237
22472
|
plainObjects: false,
|
|
22238
22473
|
strictDepth: false,
|
|
22239
|
-
strictNullHandling: false
|
|
22474
|
+
strictNullHandling: false,
|
|
22475
|
+
throwOnLimitExceeded: false
|
|
22240
22476
|
};
|
|
22241
22477
|
|
|
22242
22478
|
var interpretNumericEntities = function (str) {
|
|
@@ -22245,11 +22481,15 @@ var interpretNumericEntities = function (str) {
|
|
|
22245
22481
|
});
|
|
22246
22482
|
};
|
|
22247
22483
|
|
|
22248
|
-
var parseArrayValue = function (val, options) {
|
|
22484
|
+
var parseArrayValue = function (val, options, currentArrayLength) {
|
|
22249
22485
|
if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
|
|
22250
22486
|
return val.split(',');
|
|
22251
22487
|
}
|
|
22252
22488
|
|
|
22489
|
+
if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {
|
|
22490
|
+
throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');
|
|
22491
|
+
}
|
|
22492
|
+
|
|
22253
22493
|
return val;
|
|
22254
22494
|
};
|
|
22255
22495
|
|
|
@@ -22268,8 +22508,17 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
22268
22508
|
|
|
22269
22509
|
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
|
22270
22510
|
cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
|
|
22511
|
+
|
|
22271
22512
|
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
|
22272
|
-
var parts = cleanStr.split(
|
|
22513
|
+
var parts = cleanStr.split(
|
|
22514
|
+
options.delimiter,
|
|
22515
|
+
options.throwOnLimitExceeded ? limit + 1 : limit
|
|
22516
|
+
);
|
|
22517
|
+
|
|
22518
|
+
if (options.throwOnLimitExceeded && parts.length > limit) {
|
|
22519
|
+
throw new RangeError('Parameter limit exceeded. Only ' + limit + ' parameter' + (limit === 1 ? '' : 's') + ' allowed.');
|
|
22520
|
+
}
|
|
22521
|
+
|
|
22273
22522
|
var skipIndex = -1; // Keep track of where the utf8 sentinel was found
|
|
22274
22523
|
var i;
|
|
22275
22524
|
|
|
@@ -22297,14 +22546,20 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
22297
22546
|
var bracketEqualsPos = part.indexOf(']=');
|
|
22298
22547
|
var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
|
|
22299
22548
|
|
|
22300
|
-
var key
|
|
22549
|
+
var key;
|
|
22550
|
+
var val;
|
|
22301
22551
|
if (pos === -1) {
|
|
22302
22552
|
key = options.decoder(part, defaults.decoder, charset, 'key');
|
|
22303
22553
|
val = options.strictNullHandling ? null : '';
|
|
22304
22554
|
} else {
|
|
22305
22555
|
key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
|
|
22556
|
+
|
|
22306
22557
|
val = utils.maybeMap(
|
|
22307
|
-
parseArrayValue(
|
|
22558
|
+
parseArrayValue(
|
|
22559
|
+
part.slice(pos + 1),
|
|
22560
|
+
options,
|
|
22561
|
+
isArray(obj[key]) ? obj[key].length : 0
|
|
22562
|
+
),
|
|
22308
22563
|
function (encodedVal) {
|
|
22309
22564
|
return options.decoder(encodedVal, defaults.decoder, charset, 'value');
|
|
22310
22565
|
}
|
|
@@ -22312,7 +22567,7 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
22312
22567
|
}
|
|
22313
22568
|
|
|
22314
22569
|
if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
|
|
22315
|
-
val = interpretNumericEntities(val);
|
|
22570
|
+
val = interpretNumericEntities(String(val));
|
|
22316
22571
|
}
|
|
22317
22572
|
|
|
22318
22573
|
if (part.indexOf('[]=') > -1) {
|
|
@@ -22331,7 +22586,13 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
22331
22586
|
};
|
|
22332
22587
|
|
|
22333
22588
|
var parseObject = function (chain, val, options, valuesParsed) {
|
|
22334
|
-
var
|
|
22589
|
+
var currentArrayLength = 0;
|
|
22590
|
+
if (chain.length > 0 && chain[chain.length - 1] === '[]') {
|
|
22591
|
+
var parentKey = chain.slice(0, -1).join('');
|
|
22592
|
+
currentArrayLength = Array.isArray(val) && val[parentKey] ? val[parentKey].length : 0;
|
|
22593
|
+
}
|
|
22594
|
+
|
|
22595
|
+
var leaf = valuesParsed ? val : parseArrayValue(val, options, currentArrayLength);
|
|
22335
22596
|
|
|
22336
22597
|
for (var i = chain.length - 1; i >= 0; --i) {
|
|
22337
22598
|
var obj;
|
|
@@ -22340,9 +22601,9 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
22340
22601
|
if (root === '[]' && options.parseArrays) {
|
|
22341
22602
|
obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))
|
|
22342
22603
|
? []
|
|
22343
|
-
: []
|
|
22604
|
+
: utils.combine([], leaf);
|
|
22344
22605
|
} else {
|
|
22345
|
-
obj = options.plainObjects ?
|
|
22606
|
+
obj = options.plainObjects ? { __proto__: null } : {};
|
|
22346
22607
|
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
|
22347
22608
|
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
|
|
22348
22609
|
var index = parseInt(decodedRoot, 10);
|
|
@@ -22445,6 +22706,11 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
22445
22706
|
if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
|
|
22446
22707
|
throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
|
|
22447
22708
|
}
|
|
22709
|
+
|
|
22710
|
+
if (typeof opts.throwOnLimitExceeded !== 'undefined' && typeof opts.throwOnLimitExceeded !== 'boolean') {
|
|
22711
|
+
throw new TypeError('`throwOnLimitExceeded` option must be a boolean');
|
|
22712
|
+
}
|
|
22713
|
+
|
|
22448
22714
|
var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
|
|
22449
22715
|
|
|
22450
22716
|
var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;
|
|
@@ -22476,7 +22742,8 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
22476
22742
|
parseArrays: opts.parseArrays !== false,
|
|
22477
22743
|
plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
|
|
22478
22744
|
strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,
|
|
22479
|
-
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
|
|
22745
|
+
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling,
|
|
22746
|
+
throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === 'boolean' ? opts.throwOnLimitExceeded : false
|
|
22480
22747
|
};
|
|
22481
22748
|
};
|
|
22482
22749
|
|
|
@@ -22484,11 +22751,11 @@ module.exports = function (str, opts) {
|
|
|
22484
22751
|
var options = normalizeParseOptions(opts);
|
|
22485
22752
|
|
|
22486
22753
|
if (str === '' || str === null || typeof str === 'undefined') {
|
|
22487
|
-
return options.plainObjects ?
|
|
22754
|
+
return options.plainObjects ? { __proto__: null } : {};
|
|
22488
22755
|
}
|
|
22489
22756
|
|
|
22490
22757
|
var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
|
|
22491
|
-
var obj = options.plainObjects ?
|
|
22758
|
+
var obj = options.plainObjects ? { __proto__: null } : {};
|
|
22492
22759
|
|
|
22493
22760
|
// Iterate over the keys and setup the new object
|
|
22494
22761
|
|
|
@@ -22552,11 +22819,13 @@ var defaults = {
|
|
|
22552
22819
|
arrayFormat: 'indices',
|
|
22553
22820
|
charset: 'utf-8',
|
|
22554
22821
|
charsetSentinel: false,
|
|
22822
|
+
commaRoundTrip: false,
|
|
22555
22823
|
delimiter: '&',
|
|
22556
22824
|
encode: true,
|
|
22557
22825
|
encodeDotInKeys: false,
|
|
22558
22826
|
encoder: utils.encode,
|
|
22559
22827
|
encodeValuesOnly: false,
|
|
22828
|
+
filter: void undefined,
|
|
22560
22829
|
format: defaultFormat,
|
|
22561
22830
|
formatter: formats.formatters[defaultFormat],
|
|
22562
22831
|
// deprecated
|
|
@@ -22668,7 +22937,7 @@ var stringify = function stringify(
|
|
|
22668
22937
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
22669
22938
|
}
|
|
22670
22939
|
|
|
22671
|
-
var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, '%2E') : prefix;
|
|
22940
|
+
var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, '%2E') : String(prefix);
|
|
22672
22941
|
|
|
22673
22942
|
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;
|
|
22674
22943
|
|
|
@@ -22678,13 +22947,15 @@ var stringify = function stringify(
|
|
|
22678
22947
|
|
|
22679
22948
|
for (var j = 0; j < objKeys.length; ++j) {
|
|
22680
22949
|
var key = objKeys[j];
|
|
22681
|
-
var value = typeof key === 'object' && typeof key.value !== 'undefined'
|
|
22950
|
+
var value = typeof key === 'object' && key && typeof key.value !== 'undefined'
|
|
22951
|
+
? key.value
|
|
22952
|
+
: obj[key];
|
|
22682
22953
|
|
|
22683
22954
|
if (skipNulls && value === null) {
|
|
22684
22955
|
continue;
|
|
22685
22956
|
}
|
|
22686
22957
|
|
|
22687
|
-
var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key;
|
|
22958
|
+
var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, '%2E') : String(key);
|
|
22688
22959
|
var keyPrefix = isArray(obj)
|
|
22689
22960
|
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
|
|
22690
22961
|
: adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');
|
|
@@ -22775,7 +23046,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
22775
23046
|
arrayFormat: arrayFormat,
|
|
22776
23047
|
charset: charset,
|
|
22777
23048
|
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
22778
|
-
commaRoundTrip: opts.commaRoundTrip,
|
|
23049
|
+
commaRoundTrip: !!opts.commaRoundTrip,
|
|
22779
23050
|
delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
|
|
22780
23051
|
encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
|
|
22781
23052
|
encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
|
|
@@ -22826,12 +23097,13 @@ module.exports = function (object, opts) {
|
|
|
22826
23097
|
var sideChannel = getSideChannel();
|
|
22827
23098
|
for (var i = 0; i < objKeys.length; ++i) {
|
|
22828
23099
|
var key = objKeys[i];
|
|
23100
|
+
var value = obj[key];
|
|
22829
23101
|
|
|
22830
|
-
if (options.skipNulls &&
|
|
23102
|
+
if (options.skipNulls && value === null) {
|
|
22831
23103
|
continue;
|
|
22832
23104
|
}
|
|
22833
23105
|
pushToArray(keys, stringify(
|
|
22834
|
-
|
|
23106
|
+
value,
|
|
22835
23107
|
key,
|
|
22836
23108
|
generateArrayPrefix,
|
|
22837
23109
|
commaRoundTrip,
|
|
@@ -22914,7 +23186,7 @@ var compactQueue = function compactQueue(queue) {
|
|
|
22914
23186
|
};
|
|
22915
23187
|
|
|
22916
23188
|
var arrayToObject = function arrayToObject(source, options) {
|
|
22917
|
-
var obj = options && options.plainObjects ?
|
|
23189
|
+
var obj = options && options.plainObjects ? { __proto__: null } : {};
|
|
22918
23190
|
for (var i = 0; i < source.length; ++i) {
|
|
22919
23191
|
if (typeof source[i] !== 'undefined') {
|
|
22920
23192
|
obj[i] = source[i];
|
|
@@ -22930,11 +23202,14 @@ var merge = function merge(target, source, options) {
|
|
|
22930
23202
|
return target;
|
|
22931
23203
|
}
|
|
22932
23204
|
|
|
22933
|
-
if (typeof source !== 'object') {
|
|
23205
|
+
if (typeof source !== 'object' && typeof source !== 'function') {
|
|
22934
23206
|
if (isArray(target)) {
|
|
22935
23207
|
target.push(source);
|
|
22936
23208
|
} else if (target && typeof target === 'object') {
|
|
22937
|
-
if (
|
|
23209
|
+
if (
|
|
23210
|
+
(options && (options.plainObjects || options.allowPrototypes))
|
|
23211
|
+
|| !has.call(Object.prototype, source)
|
|
23212
|
+
) {
|
|
22938
23213
|
target[source] = true;
|
|
22939
23214
|
}
|
|
22940
23215
|
} else {
|
|
@@ -22988,7 +23263,7 @@ var assign = function assignSingleSource(target, source) {
|
|
|
22988
23263
|
}, target);
|
|
22989
23264
|
};
|
|
22990
23265
|
|
|
22991
|
-
var decode = function (str,
|
|
23266
|
+
var decode = function (str, defaultDecoder, charset) {
|
|
22992
23267
|
var strWithoutPlus = str.replace(/\+/g, ' ');
|
|
22993
23268
|
if (charset === 'iso-8859-1') {
|
|
22994
23269
|
// unescape never throws, no try...catch needed:
|
|
@@ -23147,193 +23422,352 @@ module.exports = {
|
|
|
23147
23422
|
|
|
23148
23423
|
/***/ }),
|
|
23149
23424
|
|
|
23150
|
-
/***/ "../node_modules/
|
|
23151
|
-
|
|
23152
|
-
!*** ../node_modules/
|
|
23153
|
-
|
|
23154
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
23155
|
-
|
|
23156
|
-
"use strict";
|
|
23157
|
-
|
|
23158
|
-
|
|
23159
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
23160
|
-
var define = __webpack_require__(/*! define-data-property */ "../node_modules/define-data-property/index.js");
|
|
23161
|
-
var hasDescriptors = __webpack_require__(/*! has-property-descriptors */ "../node_modules/has-property-descriptors/index.js")();
|
|
23162
|
-
var gOPD = __webpack_require__(/*! gopd */ "../node_modules/gopd/index.js");
|
|
23163
|
-
|
|
23164
|
-
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
23165
|
-
var $floor = GetIntrinsic('%Math.floor%');
|
|
23166
|
-
|
|
23167
|
-
/** @type {import('.')} */
|
|
23168
|
-
module.exports = function setFunctionLength(fn, length) {
|
|
23169
|
-
if (typeof fn !== 'function') {
|
|
23170
|
-
throw new $TypeError('`fn` is not a function');
|
|
23171
|
-
}
|
|
23172
|
-
if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
|
|
23173
|
-
throw new $TypeError('`length` must be a positive 32-bit integer');
|
|
23174
|
-
}
|
|
23175
|
-
|
|
23176
|
-
var loose = arguments.length > 2 && !!arguments[2];
|
|
23177
|
-
|
|
23178
|
-
var functionLengthIsConfigurable = true;
|
|
23179
|
-
var functionLengthIsWritable = true;
|
|
23180
|
-
if ('length' in fn && gOPD) {
|
|
23181
|
-
var desc = gOPD(fn, 'length');
|
|
23182
|
-
if (desc && !desc.configurable) {
|
|
23183
|
-
functionLengthIsConfigurable = false;
|
|
23184
|
-
}
|
|
23185
|
-
if (desc && !desc.writable) {
|
|
23186
|
-
functionLengthIsWritable = false;
|
|
23187
|
-
}
|
|
23188
|
-
}
|
|
23189
|
-
|
|
23190
|
-
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
23191
|
-
if (hasDescriptors) {
|
|
23192
|
-
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
|
|
23193
|
-
} else {
|
|
23194
|
-
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
|
|
23195
|
-
}
|
|
23196
|
-
}
|
|
23197
|
-
return fn;
|
|
23198
|
-
};
|
|
23199
|
-
|
|
23200
|
-
|
|
23201
|
-
/***/ }),
|
|
23202
|
-
|
|
23203
|
-
/***/ "../node_modules/side-channel/index.js":
|
|
23204
|
-
/*!*********************************************!*\
|
|
23205
|
-
!*** ../node_modules/side-channel/index.js ***!
|
|
23206
|
-
\*********************************************/
|
|
23425
|
+
/***/ "../node_modules/side-channel-list/index.js":
|
|
23426
|
+
/*!**************************************************!*\
|
|
23427
|
+
!*** ../node_modules/side-channel-list/index.js ***!
|
|
23428
|
+
\**************************************************/
|
|
23207
23429
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
23208
23430
|
|
|
23209
23431
|
"use strict";
|
|
23210
23432
|
|
|
23211
23433
|
|
|
23212
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
23213
|
-
var callBound = __webpack_require__(/*! call-bind/callBound */ "../node_modules/call-bind/callBound.js");
|
|
23214
23434
|
var inspect = __webpack_require__(/*! object-inspect */ "../node_modules/object-inspect/index.js");
|
|
23215
23435
|
|
|
23216
23436
|
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
23217
|
-
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
23218
|
-
var $Map = GetIntrinsic('%Map%', true);
|
|
23219
|
-
|
|
23220
|
-
var $weakMapGet = callBound('WeakMap.prototype.get', true);
|
|
23221
|
-
var $weakMapSet = callBound('WeakMap.prototype.set', true);
|
|
23222
|
-
var $weakMapHas = callBound('WeakMap.prototype.has', true);
|
|
23223
|
-
var $mapGet = callBound('Map.prototype.get', true);
|
|
23224
|
-
var $mapSet = callBound('Map.prototype.set', true);
|
|
23225
|
-
var $mapHas = callBound('Map.prototype.has', true);
|
|
23226
23437
|
|
|
23227
23438
|
/*
|
|
23228
23439
|
* This function traverses the list returning the node corresponding to the given key.
|
|
23229
23440
|
*
|
|
23230
|
-
* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.
|
|
23441
|
+
* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.
|
|
23442
|
+
* By doing so, all the recently used nodes can be accessed relatively quickly.
|
|
23231
23443
|
*/
|
|
23232
|
-
/** @type {import('.').listGetNode} */
|
|
23233
|
-
|
|
23444
|
+
/** @type {import('./list.d.ts').listGetNode} */
|
|
23445
|
+
// eslint-disable-next-line consistent-return
|
|
23446
|
+
var listGetNode = function (list, key, isDelete) {
|
|
23234
23447
|
/** @type {typeof list | NonNullable<(typeof list)['next']>} */
|
|
23235
23448
|
var prev = list;
|
|
23236
23449
|
/** @type {(typeof list)['next']} */
|
|
23237
23450
|
var curr;
|
|
23238
|
-
|
|
23451
|
+
// eslint-disable-next-line eqeqeq
|
|
23452
|
+
for (; (curr = prev.next) != null; prev = curr) {
|
|
23239
23453
|
if (curr.key === key) {
|
|
23240
23454
|
prev.next = curr.next;
|
|
23241
|
-
|
|
23242
|
-
|
|
23243
|
-
|
|
23455
|
+
if (!isDelete) {
|
|
23456
|
+
// eslint-disable-next-line no-extra-parens
|
|
23457
|
+
curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
|
|
23458
|
+
list.next = curr; // eslint-disable-line no-param-reassign
|
|
23459
|
+
}
|
|
23244
23460
|
return curr;
|
|
23245
23461
|
}
|
|
23246
23462
|
}
|
|
23247
23463
|
};
|
|
23248
23464
|
|
|
23249
|
-
/** @type {import('.').listGet} */
|
|
23465
|
+
/** @type {import('./list.d.ts').listGet} */
|
|
23250
23466
|
var listGet = function (objects, key) {
|
|
23467
|
+
if (!objects) {
|
|
23468
|
+
return void undefined;
|
|
23469
|
+
}
|
|
23251
23470
|
var node = listGetNode(objects, key);
|
|
23252
23471
|
return node && node.value;
|
|
23253
23472
|
};
|
|
23254
|
-
/** @type {import('.').listSet} */
|
|
23473
|
+
/** @type {import('./list.d.ts').listSet} */
|
|
23255
23474
|
var listSet = function (objects, key, value) {
|
|
23256
23475
|
var node = listGetNode(objects, key);
|
|
23257
23476
|
if (node) {
|
|
23258
23477
|
node.value = value;
|
|
23259
23478
|
} else {
|
|
23260
23479
|
// Prepend the new node to the beginning of the list
|
|
23261
|
-
objects.next = /** @type {import('.').ListNode<typeof value>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
|
|
23480
|
+
objects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
|
|
23262
23481
|
key: key,
|
|
23263
23482
|
next: objects.next,
|
|
23264
23483
|
value: value
|
|
23265
23484
|
});
|
|
23266
23485
|
}
|
|
23267
23486
|
};
|
|
23268
|
-
/** @type {import('.').listHas} */
|
|
23487
|
+
/** @type {import('./list.d.ts').listHas} */
|
|
23269
23488
|
var listHas = function (objects, key) {
|
|
23489
|
+
if (!objects) {
|
|
23490
|
+
return false;
|
|
23491
|
+
}
|
|
23270
23492
|
return !!listGetNode(objects, key);
|
|
23271
23493
|
};
|
|
23494
|
+
/** @type {import('./list.d.ts').listDelete} */
|
|
23495
|
+
// eslint-disable-next-line consistent-return
|
|
23496
|
+
var listDelete = function (objects, key) {
|
|
23497
|
+
if (objects) {
|
|
23498
|
+
return listGetNode(objects, key, true);
|
|
23499
|
+
}
|
|
23500
|
+
};
|
|
23272
23501
|
|
|
23273
23502
|
/** @type {import('.')} */
|
|
23274
|
-
module.exports = function
|
|
23275
|
-
/** @
|
|
23276
|
-
/** @
|
|
23277
|
-
/** @
|
|
23503
|
+
module.exports = function getSideChannelList() {
|
|
23504
|
+
/** @typedef {ReturnType<typeof getSideChannelList>} Channel */
|
|
23505
|
+
/** @typedef {Parameters<Channel['get']>[0]} K */
|
|
23506
|
+
/** @typedef {Parameters<Channel['set']>[1]} V */
|
|
23507
|
+
|
|
23508
|
+
/** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;
|
|
23278
23509
|
|
|
23279
|
-
/** @type {
|
|
23510
|
+
/** @type {Channel} */
|
|
23280
23511
|
var channel = {
|
|
23281
23512
|
assert: function (key) {
|
|
23282
23513
|
if (!channel.has(key)) {
|
|
23283
23514
|
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
|
23284
23515
|
}
|
|
23285
23516
|
},
|
|
23286
|
-
|
|
23287
|
-
|
|
23288
|
-
|
|
23289
|
-
|
|
23290
|
-
|
|
23291
|
-
} else if ($Map) {
|
|
23292
|
-
if ($m) {
|
|
23293
|
-
return $mapGet($m, key);
|
|
23294
|
-
}
|
|
23295
|
-
} else {
|
|
23296
|
-
if ($o) { // eslint-disable-line no-lonely-if
|
|
23297
|
-
return listGet($o, key);
|
|
23298
|
-
}
|
|
23517
|
+
'delete': function (key) {
|
|
23518
|
+
var root = $o && $o.next;
|
|
23519
|
+
var deletedNode = listDelete($o, key);
|
|
23520
|
+
if (deletedNode && root && root === deletedNode) {
|
|
23521
|
+
$o = void undefined;
|
|
23299
23522
|
}
|
|
23523
|
+
return !!deletedNode;
|
|
23524
|
+
},
|
|
23525
|
+
get: function (key) {
|
|
23526
|
+
return listGet($o, key);
|
|
23300
23527
|
},
|
|
23301
23528
|
has: function (key) {
|
|
23302
|
-
|
|
23303
|
-
|
|
23304
|
-
|
|
23305
|
-
|
|
23306
|
-
|
|
23307
|
-
|
|
23308
|
-
|
|
23309
|
-
}
|
|
23310
|
-
}
|
|
23311
|
-
|
|
23312
|
-
|
|
23529
|
+
return listHas($o, key);
|
|
23530
|
+
},
|
|
23531
|
+
set: function (key, value) {
|
|
23532
|
+
if (!$o) {
|
|
23533
|
+
// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
|
|
23534
|
+
$o = {
|
|
23535
|
+
next: void undefined
|
|
23536
|
+
};
|
|
23537
|
+
}
|
|
23538
|
+
// eslint-disable-next-line no-extra-parens
|
|
23539
|
+
listSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);
|
|
23540
|
+
}
|
|
23541
|
+
};
|
|
23542
|
+
// @ts-expect-error TODO: figure out why this is erroring
|
|
23543
|
+
return channel;
|
|
23544
|
+
};
|
|
23545
|
+
|
|
23546
|
+
|
|
23547
|
+
/***/ }),
|
|
23548
|
+
|
|
23549
|
+
/***/ "../node_modules/side-channel-map/index.js":
|
|
23550
|
+
/*!*************************************************!*\
|
|
23551
|
+
!*** ../node_modules/side-channel-map/index.js ***!
|
|
23552
|
+
\*************************************************/
|
|
23553
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
23554
|
+
|
|
23555
|
+
"use strict";
|
|
23556
|
+
|
|
23557
|
+
|
|
23558
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
23559
|
+
var callBound = __webpack_require__(/*! call-bound */ "../node_modules/call-bound/index.js");
|
|
23560
|
+
var inspect = __webpack_require__(/*! object-inspect */ "../node_modules/object-inspect/index.js");
|
|
23561
|
+
|
|
23562
|
+
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
23563
|
+
var $Map = GetIntrinsic('%Map%', true);
|
|
23564
|
+
|
|
23565
|
+
/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */
|
|
23566
|
+
var $mapGet = callBound('Map.prototype.get', true);
|
|
23567
|
+
/** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */
|
|
23568
|
+
var $mapSet = callBound('Map.prototype.set', true);
|
|
23569
|
+
/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
|
|
23570
|
+
var $mapHas = callBound('Map.prototype.has', true);
|
|
23571
|
+
/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
|
|
23572
|
+
var $mapDelete = callBound('Map.prototype.delete', true);
|
|
23573
|
+
/** @type {<K, V>(thisArg: Map<K, V>) => number} */
|
|
23574
|
+
var $mapSize = callBound('Map.prototype.size', true);
|
|
23575
|
+
|
|
23576
|
+
/** @type {import('.')} */
|
|
23577
|
+
module.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {
|
|
23578
|
+
/** @typedef {ReturnType<typeof getSideChannelMap>} Channel */
|
|
23579
|
+
/** @typedef {Parameters<Channel['get']>[0]} K */
|
|
23580
|
+
/** @typedef {Parameters<Channel['set']>[1]} V */
|
|
23581
|
+
|
|
23582
|
+
/** @type {Map<K, V> | undefined} */ var $m;
|
|
23583
|
+
|
|
23584
|
+
/** @type {Channel} */
|
|
23585
|
+
var channel = {
|
|
23586
|
+
assert: function (key) {
|
|
23587
|
+
if (!channel.has(key)) {
|
|
23588
|
+
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
|
23589
|
+
}
|
|
23590
|
+
},
|
|
23591
|
+
'delete': function (key) {
|
|
23592
|
+
if ($m) {
|
|
23593
|
+
var result = $mapDelete($m, key);
|
|
23594
|
+
if ($mapSize($m) === 0) {
|
|
23595
|
+
$m = void undefined;
|
|
23313
23596
|
}
|
|
23597
|
+
return result;
|
|
23598
|
+
}
|
|
23599
|
+
return false;
|
|
23600
|
+
},
|
|
23601
|
+
get: function (key) { // eslint-disable-line consistent-return
|
|
23602
|
+
if ($m) {
|
|
23603
|
+
return $mapGet($m, key);
|
|
23604
|
+
}
|
|
23605
|
+
},
|
|
23606
|
+
has: function (key) {
|
|
23607
|
+
if ($m) {
|
|
23608
|
+
return $mapHas($m, key);
|
|
23314
23609
|
}
|
|
23315
23610
|
return false;
|
|
23316
23611
|
},
|
|
23317
23612
|
set: function (key, value) {
|
|
23318
|
-
if (
|
|
23319
|
-
|
|
23320
|
-
|
|
23613
|
+
if (!$m) {
|
|
23614
|
+
// @ts-expect-error TS can't handle narrowing a variable inside a closure
|
|
23615
|
+
$m = new $Map();
|
|
23616
|
+
}
|
|
23617
|
+
$mapSet($m, key, value);
|
|
23618
|
+
}
|
|
23619
|
+
};
|
|
23620
|
+
|
|
23621
|
+
// @ts-expect-error TODO: figure out why TS is erroring here
|
|
23622
|
+
return channel;
|
|
23623
|
+
};
|
|
23624
|
+
|
|
23625
|
+
|
|
23626
|
+
/***/ }),
|
|
23627
|
+
|
|
23628
|
+
/***/ "../node_modules/side-channel-weakmap/index.js":
|
|
23629
|
+
/*!*****************************************************!*\
|
|
23630
|
+
!*** ../node_modules/side-channel-weakmap/index.js ***!
|
|
23631
|
+
\*****************************************************/
|
|
23632
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
23633
|
+
|
|
23634
|
+
"use strict";
|
|
23635
|
+
|
|
23636
|
+
|
|
23637
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
23638
|
+
var callBound = __webpack_require__(/*! call-bound */ "../node_modules/call-bound/index.js");
|
|
23639
|
+
var inspect = __webpack_require__(/*! object-inspect */ "../node_modules/object-inspect/index.js");
|
|
23640
|
+
var getSideChannelMap = __webpack_require__(/*! side-channel-map */ "../node_modules/side-channel-map/index.js");
|
|
23641
|
+
|
|
23642
|
+
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
23643
|
+
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
23644
|
+
|
|
23645
|
+
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */
|
|
23646
|
+
var $weakMapGet = callBound('WeakMap.prototype.get', true);
|
|
23647
|
+
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */
|
|
23648
|
+
var $weakMapSet = callBound('WeakMap.prototype.set', true);
|
|
23649
|
+
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
|
|
23650
|
+
var $weakMapHas = callBound('WeakMap.prototype.has', true);
|
|
23651
|
+
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
|
|
23652
|
+
var $weakMapDelete = callBound('WeakMap.prototype.delete', true);
|
|
23653
|
+
|
|
23654
|
+
/** @type {import('.')} */
|
|
23655
|
+
module.exports = $WeakMap
|
|
23656
|
+
? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {
|
|
23657
|
+
/** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */
|
|
23658
|
+
/** @typedef {Parameters<Channel['get']>[0]} K */
|
|
23659
|
+
/** @typedef {Parameters<Channel['set']>[1]} V */
|
|
23660
|
+
|
|
23661
|
+
/** @type {WeakMap<K & object, V> | undefined} */ var $wm;
|
|
23662
|
+
/** @type {Channel | undefined} */ var $m;
|
|
23663
|
+
|
|
23664
|
+
/** @type {Channel} */
|
|
23665
|
+
var channel = {
|
|
23666
|
+
assert: function (key) {
|
|
23667
|
+
if (!channel.has(key)) {
|
|
23668
|
+
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
|
23321
23669
|
}
|
|
23322
|
-
|
|
23323
|
-
|
|
23324
|
-
if (
|
|
23325
|
-
|
|
23670
|
+
},
|
|
23671
|
+
'delete': function (key) {
|
|
23672
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
23673
|
+
if ($wm) {
|
|
23674
|
+
return $weakMapDelete($wm, key);
|
|
23675
|
+
}
|
|
23676
|
+
} else if (getSideChannelMap) {
|
|
23677
|
+
if ($m) {
|
|
23678
|
+
return $m['delete'](key);
|
|
23679
|
+
}
|
|
23326
23680
|
}
|
|
23327
|
-
|
|
23328
|
-
}
|
|
23329
|
-
|
|
23330
|
-
|
|
23331
|
-
$
|
|
23681
|
+
return false;
|
|
23682
|
+
},
|
|
23683
|
+
get: function (key) {
|
|
23684
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
23685
|
+
if ($wm) {
|
|
23686
|
+
return $weakMapGet($wm, key);
|
|
23687
|
+
}
|
|
23688
|
+
}
|
|
23689
|
+
return $m && $m.get(key);
|
|
23690
|
+
},
|
|
23691
|
+
has: function (key) {
|
|
23692
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
23693
|
+
if ($wm) {
|
|
23694
|
+
return $weakMapHas($wm, key);
|
|
23695
|
+
}
|
|
23696
|
+
}
|
|
23697
|
+
return !!$m && $m.has(key);
|
|
23698
|
+
},
|
|
23699
|
+
set: function (key, value) {
|
|
23700
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
23701
|
+
if (!$wm) {
|
|
23702
|
+
$wm = new $WeakMap();
|
|
23703
|
+
}
|
|
23704
|
+
$weakMapSet($wm, key, value);
|
|
23705
|
+
} else if (getSideChannelMap) {
|
|
23706
|
+
if (!$m) {
|
|
23707
|
+
$m = getSideChannelMap();
|
|
23708
|
+
}
|
|
23709
|
+
// eslint-disable-next-line no-extra-parens
|
|
23710
|
+
/** @type {NonNullable<typeof $m>} */ ($m).set(key, value);
|
|
23332
23711
|
}
|
|
23333
|
-
listSet($o, key, value);
|
|
23334
23712
|
}
|
|
23713
|
+
};
|
|
23714
|
+
|
|
23715
|
+
// @ts-expect-error TODO: figure out why this is erroring
|
|
23716
|
+
return channel;
|
|
23717
|
+
}
|
|
23718
|
+
: getSideChannelMap;
|
|
23719
|
+
|
|
23720
|
+
|
|
23721
|
+
/***/ }),
|
|
23722
|
+
|
|
23723
|
+
/***/ "../node_modules/side-channel/index.js":
|
|
23724
|
+
/*!*********************************************!*\
|
|
23725
|
+
!*** ../node_modules/side-channel/index.js ***!
|
|
23726
|
+
\*********************************************/
|
|
23727
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
23728
|
+
|
|
23729
|
+
"use strict";
|
|
23730
|
+
|
|
23731
|
+
|
|
23732
|
+
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
23733
|
+
var inspect = __webpack_require__(/*! object-inspect */ "../node_modules/object-inspect/index.js");
|
|
23734
|
+
var getSideChannelList = __webpack_require__(/*! side-channel-list */ "../node_modules/side-channel-list/index.js");
|
|
23735
|
+
var getSideChannelMap = __webpack_require__(/*! side-channel-map */ "../node_modules/side-channel-map/index.js");
|
|
23736
|
+
var getSideChannelWeakMap = __webpack_require__(/*! side-channel-weakmap */ "../node_modules/side-channel-weakmap/index.js");
|
|
23737
|
+
|
|
23738
|
+
var makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;
|
|
23739
|
+
|
|
23740
|
+
/** @type {import('.')} */
|
|
23741
|
+
module.exports = function getSideChannel() {
|
|
23742
|
+
/** @typedef {ReturnType<typeof getSideChannel>} Channel */
|
|
23743
|
+
|
|
23744
|
+
/** @type {Channel | undefined} */ var $channelData;
|
|
23745
|
+
|
|
23746
|
+
/** @type {Channel} */
|
|
23747
|
+
var channel = {
|
|
23748
|
+
assert: function (key) {
|
|
23749
|
+
if (!channel.has(key)) {
|
|
23750
|
+
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
|
23751
|
+
}
|
|
23752
|
+
},
|
|
23753
|
+
'delete': function (key) {
|
|
23754
|
+
return !!$channelData && $channelData['delete'](key);
|
|
23755
|
+
},
|
|
23756
|
+
get: function (key) {
|
|
23757
|
+
return $channelData && $channelData.get(key);
|
|
23758
|
+
},
|
|
23759
|
+
has: function (key) {
|
|
23760
|
+
return !!$channelData && $channelData.has(key);
|
|
23761
|
+
},
|
|
23762
|
+
set: function (key, value) {
|
|
23763
|
+
if (!$channelData) {
|
|
23764
|
+
$channelData = makeChannel();
|
|
23765
|
+
}
|
|
23766
|
+
|
|
23767
|
+
$channelData.set(key, value);
|
|
23335
23768
|
}
|
|
23336
23769
|
};
|
|
23770
|
+
// @ts-expect-error TODO: figure out why this is erroring
|
|
23337
23771
|
return channel;
|
|
23338
23772
|
};
|
|
23339
23773
|
|
|
@@ -30969,7 +31403,7 @@ function createClient(params, opts = {}) {
|
|
|
30969
31403
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
30970
31404
|
const userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(
|
|
30971
31405
|
// @ts-expect-error
|
|
30972
|
-
`${sdkMain}/${"11.43.
|
|
31406
|
+
`${sdkMain}/${"11.43.2"}`, params.application, params.integration, params.feature);
|
|
30973
31407
|
const adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
30974
31408
|
userAgent
|
|
30975
31409
|
}));
|