contentful-management 11.43.0-beta.2 → 11.43.1
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 +862 -655
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +966 -733
- 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/index.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/index.js +0 -2
- package/dist/es-modules/entities/scheduled-action.js +5 -0
- package/dist/es-modules/plain/plain-client.js +0 -4
- package/dist/typings/adapters/REST/endpoints/index.d.ts +0 -2
- package/dist/typings/common-types.d.ts +0 -21
- package/dist/typings/entities/index.d.ts +0 -2
- package/dist/typings/plain/common-types.d.ts +0 -2
- package/package.json +8 -19
- package/dist/es-modules/adapters/REST/endpoints/function-log.js +0 -21
- package/dist/es-modules/create-function-log-api.js +0 -94
- package/dist/es-modules/entities/function-log.js +0 -24
- package/dist/es-modules/plain/entities/function-log.js +0 -1
- package/dist/typings/adapters/REST/endpoints/function-log.d.ts +0 -3
- package/dist/typings/create-function-log-api.d.ts +0 -63
- package/dist/typings/entities/function-log.d.ts +0 -50
- package/dist/typings/plain/entities/function-log.d.ts +0 -38
|
@@ -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}`);
|
|
@@ -2490,43 +2488,6 @@ const del = (http, params) => {
|
|
|
2490
2488
|
|
|
2491
2489
|
/***/ }),
|
|
2492
2490
|
|
|
2493
|
-
/***/ "./adapters/REST/endpoints/function-log.ts":
|
|
2494
|
-
/*!*************************************************!*\
|
|
2495
|
-
!*** ./adapters/REST/endpoints/function-log.ts ***!
|
|
2496
|
-
\*************************************************/
|
|
2497
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2498
|
-
|
|
2499
|
-
"use strict";
|
|
2500
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2501
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2502
|
-
/* harmony export */ get: () => (/* binding */ get),
|
|
2503
|
-
/* harmony export */ getAll: () => (/* binding */ getAll)
|
|
2504
|
-
/* harmony export */ });
|
|
2505
|
-
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
2506
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2507
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2508
|
-
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; }
|
|
2509
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
2510
|
-
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); }
|
|
2511
|
-
|
|
2512
|
-
const FunctionLogAlphaHeaders = {
|
|
2513
|
-
'x-contentful-enable-alpha-feature': 'function-logs'
|
|
2514
|
-
};
|
|
2515
|
-
const baseURL = params => `/spaces/${params.spaceId}/environments/${params.environmentId}/app_installations/${params.appInstallationId}/functions/${params.functionId}/logs`;
|
|
2516
|
-
const getURL = params => `/spaces/${params.spaceId}/environments/${params.environmentId}/app_installations/${params.appInstallationId}/functions/${params.functionId}/logs/${params.logId}`;
|
|
2517
|
-
const get = (http, params) => {
|
|
2518
|
-
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, getURL(params), {
|
|
2519
|
-
headers: _objectSpread({}, FunctionLogAlphaHeaders)
|
|
2520
|
-
});
|
|
2521
|
-
};
|
|
2522
|
-
const getAll = (http, params) => {
|
|
2523
|
-
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, baseURL(params), {
|
|
2524
|
-
headers: _objectSpread({}, FunctionLogAlphaHeaders)
|
|
2525
|
-
});
|
|
2526
|
-
};
|
|
2527
|
-
|
|
2528
|
-
/***/ }),
|
|
2529
|
-
|
|
2530
2491
|
/***/ "./adapters/REST/endpoints/function.ts":
|
|
2531
2492
|
/*!*********************************************!*\
|
|
2532
2493
|
!*** ./adapters/REST/endpoints/function.ts ***!
|
|
@@ -2659,41 +2620,39 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2659
2620
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./environment-template-installation */ "./adapters/REST/endpoints/environment-template-installation.ts");
|
|
2660
2621
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./extension */ "./adapters/REST/endpoints/extension.ts");
|
|
2661
2622
|
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./function */ "./adapters/REST/endpoints/function.ts");
|
|
2662
|
-
/* harmony import */ var
|
|
2663
|
-
/* harmony import */ var
|
|
2664
|
-
/* harmony import */ var
|
|
2665
|
-
/* harmony import */ var
|
|
2666
|
-
/* harmony import */ var
|
|
2667
|
-
/* harmony import */ var
|
|
2668
|
-
/* harmony import */ var
|
|
2669
|
-
/* harmony import */ var
|
|
2670
|
-
/* harmony import */ var
|
|
2671
|
-
/* harmony import */ var
|
|
2672
|
-
/* harmony import */ var
|
|
2673
|
-
/* harmony import */ var
|
|
2674
|
-
/* harmony import */ var
|
|
2675
|
-
/* harmony import */ var
|
|
2676
|
-
/* harmony import */ var
|
|
2677
|
-
/* harmony import */ var
|
|
2678
|
-
/* harmony import */ var
|
|
2679
|
-
/* harmony import */ var
|
|
2680
|
-
/* harmony import */ var
|
|
2681
|
-
/* harmony import */ var
|
|
2682
|
-
/* harmony import */ var
|
|
2683
|
-
/* harmony import */ var
|
|
2684
|
-
/* harmony import */ var
|
|
2685
|
-
/* harmony import */ var
|
|
2686
|
-
/* harmony import */ var
|
|
2687
|
-
/* harmony import */ var
|
|
2688
|
-
/* harmony import */ var
|
|
2689
|
-
/* harmony import */ var
|
|
2690
|
-
/* harmony import */ var
|
|
2691
|
-
/* harmony import */ var
|
|
2692
|
-
/* harmony import */ var
|
|
2693
|
-
/* harmony import */ var
|
|
2694
|
-
/* harmony import */ var
|
|
2695
|
-
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
2696
|
-
|
|
2623
|
+
/* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./http */ "./adapters/REST/endpoints/http.ts");
|
|
2624
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./locale */ "./adapters/REST/endpoints/locale.ts");
|
|
2625
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./organization */ "./adapters/REST/endpoints/organization.ts");
|
|
2626
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./organization-invitation */ "./adapters/REST/endpoints/organization-invitation.ts");
|
|
2627
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./organization-membership */ "./adapters/REST/endpoints/organization-membership.ts");
|
|
2628
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./personal-access-token */ "./adapters/REST/endpoints/personal-access-token.ts");
|
|
2629
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./preview-api-key */ "./adapters/REST/endpoints/preview-api-key.ts");
|
|
2630
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./release */ "./adapters/REST/endpoints/release.ts");
|
|
2631
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./release-action */ "./adapters/REST/endpoints/release-action.ts");
|
|
2632
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./resource */ "./adapters/REST/endpoints/resource.ts");
|
|
2633
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./resource-provider */ "./adapters/REST/endpoints/resource-provider.ts");
|
|
2634
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./resource-type */ "./adapters/REST/endpoints/resource-type.ts");
|
|
2635
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./role */ "./adapters/REST/endpoints/role.ts");
|
|
2636
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./scheduled-action */ "./adapters/REST/endpoints/scheduled-action.ts");
|
|
2637
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./snapshot */ "./adapters/REST/endpoints/snapshot.ts");
|
|
2638
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./space */ "./adapters/REST/endpoints/space.ts");
|
|
2639
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./space-member */ "./adapters/REST/endpoints/space-member.ts");
|
|
2640
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./space-membership */ "./adapters/REST/endpoints/space-membership.ts");
|
|
2641
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./tag */ "./adapters/REST/endpoints/tag.ts");
|
|
2642
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./task */ "./adapters/REST/endpoints/task.ts");
|
|
2643
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./team */ "./adapters/REST/endpoints/team.ts");
|
|
2644
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./team-membership */ "./adapters/REST/endpoints/team-membership.ts");
|
|
2645
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./team-space-membership */ "./adapters/REST/endpoints/team-space-membership.ts");
|
|
2646
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./ui-config */ "./adapters/REST/endpoints/ui-config.ts");
|
|
2647
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./upload */ "./adapters/REST/endpoints/upload.ts");
|
|
2648
|
+
/* harmony import */ var _upload_credentials__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./upload-credentials */ "./adapters/REST/endpoints/upload-credentials.ts");
|
|
2649
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./usage */ "./adapters/REST/endpoints/usage.ts");
|
|
2650
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./user */ "./adapters/REST/endpoints/user.ts");
|
|
2651
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./user-ui-config */ "./adapters/REST/endpoints/user-ui-config.ts");
|
|
2652
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./webhook */ "./adapters/REST/endpoints/webhook.ts");
|
|
2653
|
+
/* harmony import */ var _workflow__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./workflow */ "./adapters/REST/endpoints/workflow.ts");
|
|
2654
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./workflow-definition */ "./adapters/REST/endpoints/workflow-definition.ts");
|
|
2655
|
+
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
2697
2656
|
|
|
2698
2657
|
|
|
2699
2658
|
|
|
@@ -2785,41 +2744,40 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2785
2744
|
EnvironmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__,
|
|
2786
2745
|
Extension: _extension__WEBPACK_IMPORTED_MODULE_27__,
|
|
2787
2746
|
Function: _function__WEBPACK_IMPORTED_MODULE_28__,
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
PersonalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_35__,
|
|
2747
|
+
Http: _http__WEBPACK_IMPORTED_MODULE_29__,
|
|
2748
|
+
Locale: _locale__WEBPACK_IMPORTED_MODULE_30__,
|
|
2749
|
+
Organization: _organization__WEBPACK_IMPORTED_MODULE_31__,
|
|
2750
|
+
OrganizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_32__,
|
|
2751
|
+
OrganizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_33__,
|
|
2752
|
+
PersonalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_34__,
|
|
2795
2753
|
AccessToken: _access_token__WEBPACK_IMPORTED_MODULE_0__,
|
|
2796
|
-
PreviewApiKey:
|
|
2797
|
-
Release:
|
|
2798
|
-
ReleaseAction:
|
|
2799
|
-
Resource:
|
|
2800
|
-
ResourceProvider:
|
|
2801
|
-
ResourceType:
|
|
2802
|
-
Role:
|
|
2803
|
-
ScheduledAction:
|
|
2804
|
-
Snapshot:
|
|
2805
|
-
Space:
|
|
2806
|
-
SpaceMember:
|
|
2807
|
-
SpaceMembership:
|
|
2808
|
-
Tag:
|
|
2809
|
-
Task:
|
|
2810
|
-
Team:
|
|
2811
|
-
TeamMembership:
|
|
2812
|
-
TeamSpaceMembership:
|
|
2813
|
-
UIConfig:
|
|
2814
|
-
Upload:
|
|
2815
|
-
UploadCredential:
|
|
2816
|
-
Usage:
|
|
2817
|
-
User:
|
|
2818
|
-
UserUIConfig:
|
|
2819
|
-
Webhook:
|
|
2820
|
-
WorkflowDefinition:
|
|
2821
|
-
Workflow:
|
|
2822
|
-
WorkflowsChangelog:
|
|
2754
|
+
PreviewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_35__,
|
|
2755
|
+
Release: _release__WEBPACK_IMPORTED_MODULE_36__,
|
|
2756
|
+
ReleaseAction: _release_action__WEBPACK_IMPORTED_MODULE_37__,
|
|
2757
|
+
Resource: _resource__WEBPACK_IMPORTED_MODULE_38__,
|
|
2758
|
+
ResourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_39__,
|
|
2759
|
+
ResourceType: _resource_type__WEBPACK_IMPORTED_MODULE_40__,
|
|
2760
|
+
Role: _role__WEBPACK_IMPORTED_MODULE_41__,
|
|
2761
|
+
ScheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_42__,
|
|
2762
|
+
Snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_43__,
|
|
2763
|
+
Space: _space__WEBPACK_IMPORTED_MODULE_44__,
|
|
2764
|
+
SpaceMember: _space_member__WEBPACK_IMPORTED_MODULE_45__,
|
|
2765
|
+
SpaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_46__,
|
|
2766
|
+
Tag: _tag__WEBPACK_IMPORTED_MODULE_47__,
|
|
2767
|
+
Task: _task__WEBPACK_IMPORTED_MODULE_48__,
|
|
2768
|
+
Team: _team__WEBPACK_IMPORTED_MODULE_49__,
|
|
2769
|
+
TeamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_50__,
|
|
2770
|
+
TeamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_51__,
|
|
2771
|
+
UIConfig: _ui_config__WEBPACK_IMPORTED_MODULE_52__,
|
|
2772
|
+
Upload: _upload__WEBPACK_IMPORTED_MODULE_53__,
|
|
2773
|
+
UploadCredential: _upload_credentials__WEBPACK_IMPORTED_MODULE_54__,
|
|
2774
|
+
Usage: _usage__WEBPACK_IMPORTED_MODULE_55__,
|
|
2775
|
+
User: _user__WEBPACK_IMPORTED_MODULE_56__,
|
|
2776
|
+
UserUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_57__,
|
|
2777
|
+
Webhook: _webhook__WEBPACK_IMPORTED_MODULE_58__,
|
|
2778
|
+
WorkflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_60__,
|
|
2779
|
+
Workflow: _workflow__WEBPACK_IMPORTED_MODULE_59__,
|
|
2780
|
+
WorkflowsChangelog: _workflows_changelog__WEBPACK_IMPORTED_MODULE_61__
|
|
2823
2781
|
});
|
|
2824
2782
|
|
|
2825
2783
|
/***/ }),
|
|
@@ -3171,8 +3129,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
3171
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; }
|
|
3172
3130
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3173
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); }
|
|
3174
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3175
|
-
|
|
3176
3132
|
|
|
3177
3133
|
const get = (http, params) => {
|
|
3178
3134
|
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/releases/${params.releaseId}/actions/${params.actionId}`);
|
|
@@ -4677,7 +4633,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4677
4633
|
*/
|
|
4678
4634
|
|
|
4679
4635
|
/** Base interface for all Payload interfaces. Used as part of the MakeRequestOptions to simplify payload definitions. */
|
|
4680
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
4681
4636
|
|
|
4682
4637
|
let ScheduledActionReferenceFilters = /*#__PURE__*/function (ScheduledActionReferenceFilters) {
|
|
4683
4638
|
ScheduledActionReferenceFilters["contentTypeAnnotationNotIn"] = "sys.contentType.metadata.annotations.ContentType[nin]";
|
|
@@ -9475,116 +9430,6 @@ function createFunctionApi(makeRequest) {
|
|
|
9475
9430
|
|
|
9476
9431
|
/***/ }),
|
|
9477
9432
|
|
|
9478
|
-
/***/ "./create-function-log-api.ts":
|
|
9479
|
-
/*!************************************!*\
|
|
9480
|
-
!*** ./create-function-log-api.ts ***!
|
|
9481
|
-
\************************************/
|
|
9482
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9483
|
-
|
|
9484
|
-
"use strict";
|
|
9485
|
-
__webpack_require__.r(__webpack_exports__);
|
|
9486
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9487
|
-
/* harmony export */ "default": () => (/* binding */ createFunctionLogApi)
|
|
9488
|
-
/* harmony export */ });
|
|
9489
|
-
/* harmony import */ var _entities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./entities */ "./entities/index.ts");
|
|
9490
|
-
/* harmony import */ var _entities_function_log__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./entities/function-log */ "./entities/function-log.ts");
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
/**
|
|
9495
|
-
* @private
|
|
9496
|
-
*/
|
|
9497
|
-
|
|
9498
|
-
/**
|
|
9499
|
-
* @private
|
|
9500
|
-
*/
|
|
9501
|
-
function createFunctionLogApi(makeRequest) {
|
|
9502
|
-
const {
|
|
9503
|
-
wrapFunctionLog
|
|
9504
|
-
} = _entities__WEBPACK_IMPORTED_MODULE_0__["default"].functionLog;
|
|
9505
|
-
return {
|
|
9506
|
-
/**
|
|
9507
|
-
* Get a FunctionLog by it's log ID
|
|
9508
|
-
* @Param spaceId - Space ID
|
|
9509
|
-
* @Param environmentId - Environment ID
|
|
9510
|
-
* @Param appInstallationId - App Installation ID
|
|
9511
|
-
* @Param functionId - Function ID
|
|
9512
|
-
* @Param logId - Log ID
|
|
9513
|
-
* @returns a function log
|
|
9514
|
-
* ```javascript
|
|
9515
|
-
* const contentful = require('contentful-management')
|
|
9516
|
-
*
|
|
9517
|
-
* const client = contentful.createClient({
|
|
9518
|
-
* accessToken: '<content_management_api_key>'
|
|
9519
|
-
* })
|
|
9520
|
-
*
|
|
9521
|
-
* client.functionLog.get({
|
|
9522
|
-
* spaceId: '<space_id>',
|
|
9523
|
-
* environmentId: '<environment_id>',
|
|
9524
|
-
* appInstallationId: '<app_installation_id>',
|
|
9525
|
-
* functionId: '<function_id>',
|
|
9526
|
-
* logId: '<log_id>'
|
|
9527
|
-
* })
|
|
9528
|
-
* .then((response) => console.log(response.items))
|
|
9529
|
-
* .catch(console.error)
|
|
9530
|
-
* ```
|
|
9531
|
-
*/
|
|
9532
|
-
get(logId) {
|
|
9533
|
-
const raw = this.toPlainObject();
|
|
9534
|
-
return makeRequest({
|
|
9535
|
-
entityType: 'FunctionLog',
|
|
9536
|
-
action: 'get',
|
|
9537
|
-
params: {
|
|
9538
|
-
spaceId: raw.sys.space.sys.id,
|
|
9539
|
-
environmentId: raw.sys.environment.sys.id,
|
|
9540
|
-
appInstallationId: raw.sys.appDefinition.sys.id,
|
|
9541
|
-
functionId: raw.sys.id,
|
|
9542
|
-
logId: logId
|
|
9543
|
-
}
|
|
9544
|
-
}).then(data => wrapFunctionLog(makeRequest, data));
|
|
9545
|
-
},
|
|
9546
|
-
/**
|
|
9547
|
-
* Get all FunctionLogs
|
|
9548
|
-
* @Param spaceId - Space ID
|
|
9549
|
-
* @Param environmentId - Environment ID
|
|
9550
|
-
* @Param appInstallationId - App Installation ID
|
|
9551
|
-
* @Param functionId - Function ID
|
|
9552
|
-
* @returns a collection of FunctionLogs
|
|
9553
|
-
* ```javascript
|
|
9554
|
-
* const contentful = require('contentful-management')
|
|
9555
|
-
*
|
|
9556
|
-
* const client = contentful.createClient({
|
|
9557
|
-
* accessToken: '<content_management_api_key>'
|
|
9558
|
-
* })
|
|
9559
|
-
*
|
|
9560
|
-
* client.functionLog.getAll({
|
|
9561
|
-
* spaceId: '<space_id>',
|
|
9562
|
-
* environmentId: '<environment_id>',
|
|
9563
|
-
* appInstallationId: '<app_installation_id>',
|
|
9564
|
-
* functionId: '<function_id>'
|
|
9565
|
-
* })
|
|
9566
|
-
* .then((response) => console.log(response.items))
|
|
9567
|
-
* .catch(console.error)
|
|
9568
|
-
* ```
|
|
9569
|
-
*/
|
|
9570
|
-
getAll() {
|
|
9571
|
-
const raw = this.toPlainObject();
|
|
9572
|
-
return makeRequest({
|
|
9573
|
-
entityType: 'FunctionLog',
|
|
9574
|
-
action: 'getAll',
|
|
9575
|
-
params: {
|
|
9576
|
-
spaceId: raw.sys.space.sys.id,
|
|
9577
|
-
environmentId: raw.sys.environment.sys.id,
|
|
9578
|
-
appInstallationId: raw.sys.appDefinition.sys.id,
|
|
9579
|
-
functionId: raw.sys.id
|
|
9580
|
-
}
|
|
9581
|
-
}).then(data => (0,_entities_function_log__WEBPACK_IMPORTED_MODULE_1__.wrapFunctionLogCollection)(makeRequest, data));
|
|
9582
|
-
}
|
|
9583
|
-
};
|
|
9584
|
-
}
|
|
9585
|
-
|
|
9586
|
-
/***/ }),
|
|
9587
|
-
|
|
9588
9433
|
/***/ "./create-organization-api.ts":
|
|
9589
9434
|
/*!************************************!*\
|
|
9590
9435
|
!*** ./create-organization-api.ts ***!
|
|
@@ -13608,9 +13453,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13608
13453
|
|
|
13609
13454
|
/** Represents the state of the BulkAction */
|
|
13610
13455
|
let BulkActionStatus = /*#__PURE__*/function (BulkActionStatus) {
|
|
13456
|
+
/** BulkAction is pending execution */
|
|
13611
13457
|
BulkActionStatus["created"] = "created";
|
|
13458
|
+
/** BulkAction has been started and pending completion */
|
|
13612
13459
|
BulkActionStatus["inProgress"] = "inProgress";
|
|
13460
|
+
/** BulkAction was completed successfully (terminal state) */
|
|
13613
13461
|
BulkActionStatus["succeeded"] = "succeeded";
|
|
13462
|
+
/** BulkAction failed to complete (terminal state) */
|
|
13614
13463
|
BulkActionStatus["failed"] = "failed";
|
|
13615
13464
|
return BulkActionStatus;
|
|
13616
13465
|
}({});
|
|
@@ -14314,50 +14163,6 @@ const wrapExtensionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.wr
|
|
|
14314
14163
|
|
|
14315
14164
|
/***/ }),
|
|
14316
14165
|
|
|
14317
|
-
/***/ "./entities/function-log.ts":
|
|
14318
|
-
/*!**********************************!*\
|
|
14319
|
-
!*** ./entities/function-log.ts ***!
|
|
14320
|
-
\**********************************/
|
|
14321
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
14322
|
-
|
|
14323
|
-
"use strict";
|
|
14324
|
-
__webpack_require__.r(__webpack_exports__);
|
|
14325
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14326
|
-
/* harmony export */ wrapFunctionLog: () => (/* binding */ wrapFunctionLog),
|
|
14327
|
-
/* harmony export */ wrapFunctionLogCollection: () => (/* binding */ wrapFunctionLogCollection)
|
|
14328
|
-
/* harmony export */ });
|
|
14329
|
-
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
14330
|
-
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
14331
|
-
/* harmony import */ var _common_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common-utils */ "./common-utils.ts");
|
|
14332
|
-
/* harmony import */ var _enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enhance-with-methods */ "./enhance-with-methods.ts");
|
|
14333
|
-
/* harmony import */ var _create_function_log_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../create-function-log-api */ "./create-function-log-api.ts");
|
|
14334
|
-
|
|
14335
|
-
|
|
14336
|
-
|
|
14337
|
-
|
|
14338
|
-
|
|
14339
|
-
/**
|
|
14340
|
-
* @private
|
|
14341
|
-
* @param makeRequest - function to make requests via an adapter
|
|
14342
|
-
* @param data - raw contentful-Function data
|
|
14343
|
-
* @return Wrapped Function data
|
|
14344
|
-
*/
|
|
14345
|
-
function wrapFunctionLog(makeRequest, data) {
|
|
14346
|
-
const appAction = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
14347
|
-
const appActionWithMethods = (0,_enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__["default"])(appAction, (0,_create_function_log_api__WEBPACK_IMPORTED_MODULE_4__["default"])(makeRequest));
|
|
14348
|
-
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(appActionWithMethods);
|
|
14349
|
-
}
|
|
14350
|
-
|
|
14351
|
-
/**
|
|
14352
|
-
* @private
|
|
14353
|
-
* @param makeRequest - function to make requests via an adapter
|
|
14354
|
-
* @param data - raw contentful-function data
|
|
14355
|
-
* @return Wrapped App Function collection data
|
|
14356
|
-
*/
|
|
14357
|
-
const wrapFunctionLogCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2__.wrapCollection)(wrapFunctionLog);
|
|
14358
|
-
|
|
14359
|
-
/***/ }),
|
|
14360
|
-
|
|
14361
14166
|
/***/ "./entities/function.ts":
|
|
14362
14167
|
/*!******************************!*\
|
|
14363
14168
|
!*** ./entities/function.ts ***!
|
|
@@ -14439,40 +14244,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14439
14244
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./environment-template-installation */ "./entities/environment-template-installation.ts");
|
|
14440
14245
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./extension */ "./entities/extension.ts");
|
|
14441
14246
|
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./function */ "./entities/function.ts");
|
|
14442
|
-
/* harmony import */ var
|
|
14443
|
-
/* harmony import */ var
|
|
14444
|
-
/* harmony import */ var
|
|
14445
|
-
/* harmony import */ var
|
|
14446
|
-
/* harmony import */ var
|
|
14447
|
-
/* harmony import */ var
|
|
14448
|
-
/* harmony import */ var
|
|
14449
|
-
/* harmony import */ var
|
|
14450
|
-
/* harmony import */ var
|
|
14451
|
-
/* harmony import */ var
|
|
14452
|
-
/* harmony import */ var
|
|
14453
|
-
/* harmony import */ var
|
|
14454
|
-
/* harmony import */ var
|
|
14455
|
-
/* harmony import */ var
|
|
14456
|
-
/* harmony import */ var
|
|
14457
|
-
/* harmony import */ var
|
|
14458
|
-
/* harmony import */ var
|
|
14459
|
-
/* harmony import */ var
|
|
14460
|
-
/* harmony import */ var
|
|
14461
|
-
/* harmony import */ var
|
|
14462
|
-
/* harmony import */ var
|
|
14463
|
-
/* harmony import */ var
|
|
14464
|
-
/* harmony import */ var
|
|
14465
|
-
/* harmony import */ var
|
|
14466
|
-
/* harmony import */ var
|
|
14467
|
-
/* harmony import */ var
|
|
14468
|
-
/* harmony import */ var
|
|
14469
|
-
/* harmony import */ var
|
|
14470
|
-
/* harmony import */ var
|
|
14471
|
-
/* harmony import */ var
|
|
14472
|
-
/* harmony import */ var
|
|
14473
|
-
/* harmony import */ var
|
|
14474
|
-
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
14475
|
-
|
|
14247
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./locale */ "./entities/locale.ts");
|
|
14248
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./organization */ "./entities/organization.ts");
|
|
14249
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./organization-invitation */ "./entities/organization-invitation.ts");
|
|
14250
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./organization-membership */ "./entities/organization-membership.ts");
|
|
14251
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./personal-access-token */ "./entities/personal-access-token.ts");
|
|
14252
|
+
/* harmony import */ var _access_token__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./access-token */ "./entities/access-token.ts");
|
|
14253
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./preview-api-key */ "./entities/preview-api-key.ts");
|
|
14254
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./release */ "./entities/release.ts");
|
|
14255
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./release-action */ "./entities/release-action.ts");
|
|
14256
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./role */ "./entities/role.ts");
|
|
14257
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./scheduled-action */ "./entities/scheduled-action.ts");
|
|
14258
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./snapshot */ "./entities/snapshot.ts");
|
|
14259
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./space */ "./entities/space.ts");
|
|
14260
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./space-member */ "./entities/space-member.ts");
|
|
14261
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./space-membership */ "./entities/space-membership.ts");
|
|
14262
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./tag */ "./entities/tag.ts");
|
|
14263
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./task */ "./entities/task.ts");
|
|
14264
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./team */ "./entities/team.ts");
|
|
14265
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./team-membership */ "./entities/team-membership.ts");
|
|
14266
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./team-space-membership */ "./entities/team-space-membership.ts");
|
|
14267
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./ui-config */ "./entities/ui-config.ts");
|
|
14268
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./upload */ "./entities/upload.ts");
|
|
14269
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./usage */ "./entities/usage.ts");
|
|
14270
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./user */ "./entities/user.ts");
|
|
14271
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./user-ui-config */ "./entities/user-ui-config.ts");
|
|
14272
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./webhook */ "./entities/webhook.ts");
|
|
14273
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./workflow-definition */ "./entities/workflow-definition.ts");
|
|
14274
|
+
/* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./concept */ "./entities/concept.ts");
|
|
14275
|
+
/* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./concept-scheme */ "./entities/concept-scheme.ts");
|
|
14276
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./resource-provider */ "./entities/resource-provider.ts");
|
|
14277
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./resource-type */ "./entities/resource-type.ts");
|
|
14278
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
14476
14279
|
|
|
14477
14280
|
|
|
14478
14281
|
|
|
@@ -14532,7 +14335,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14532
14335
|
|
|
14533
14336
|
|
|
14534
14337
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
14535
|
-
accessToken:
|
|
14338
|
+
accessToken: _access_token__WEBPACK_IMPORTED_MODULE_31__,
|
|
14536
14339
|
appAction: _app_action__WEBPACK_IMPORTED_MODULE_1__,
|
|
14537
14340
|
appActionCall: _app_action_call__WEBPACK_IMPORTED_MODULE_2__,
|
|
14538
14341
|
appBundle: _app_bundle__WEBPACK_IMPORTED_MODULE_3__,
|
|
@@ -14550,8 +14353,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14550
14353
|
assetKey: _asset_key__WEBPACK_IMPORTED_MODULE_14__,
|
|
14551
14354
|
bulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_15__,
|
|
14552
14355
|
comment: _comment__WEBPACK_IMPORTED_MODULE_16__,
|
|
14553
|
-
concept:
|
|
14554
|
-
conceptScheme:
|
|
14356
|
+
concept: _concept__WEBPACK_IMPORTED_MODULE_53__,
|
|
14357
|
+
conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_54__,
|
|
14555
14358
|
contentType: _content_type__WEBPACK_IMPORTED_MODULE_17__,
|
|
14556
14359
|
editorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_18__,
|
|
14557
14360
|
entry: _entry__WEBPACK_IMPORTED_MODULE_19__,
|
|
@@ -14561,36 +14364,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14561
14364
|
environmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__,
|
|
14562
14365
|
extension: _extension__WEBPACK_IMPORTED_MODULE_24__,
|
|
14563
14366
|
func: _function__WEBPACK_IMPORTED_MODULE_25__,
|
|
14564
|
-
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
-
|
|
14570
|
-
|
|
14571
|
-
|
|
14572
|
-
|
|
14573
|
-
|
|
14574
|
-
|
|
14575
|
-
|
|
14576
|
-
|
|
14577
|
-
|
|
14578
|
-
|
|
14579
|
-
|
|
14580
|
-
|
|
14581
|
-
|
|
14582
|
-
|
|
14583
|
-
|
|
14584
|
-
|
|
14585
|
-
|
|
14586
|
-
|
|
14587
|
-
|
|
14588
|
-
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
|
|
14592
|
-
|
|
14593
|
-
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_53__
|
|
14367
|
+
locale: _locale__WEBPACK_IMPORTED_MODULE_26__,
|
|
14368
|
+
organization: _organization__WEBPACK_IMPORTED_MODULE_27__,
|
|
14369
|
+
organizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_28__,
|
|
14370
|
+
organizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_29__,
|
|
14371
|
+
personalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_30__,
|
|
14372
|
+
previewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_32__,
|
|
14373
|
+
release: _release__WEBPACK_IMPORTED_MODULE_33__,
|
|
14374
|
+
releaseAction: _release_action__WEBPACK_IMPORTED_MODULE_34__,
|
|
14375
|
+
resourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_55__,
|
|
14376
|
+
resourceType: _resource_type__WEBPACK_IMPORTED_MODULE_56__,
|
|
14377
|
+
resource: _resource__WEBPACK_IMPORTED_MODULE_57__,
|
|
14378
|
+
role: _role__WEBPACK_IMPORTED_MODULE_35__,
|
|
14379
|
+
scheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_36__,
|
|
14380
|
+
snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_37__,
|
|
14381
|
+
space: _space__WEBPACK_IMPORTED_MODULE_38__,
|
|
14382
|
+
spaceMember: _space_member__WEBPACK_IMPORTED_MODULE_39__,
|
|
14383
|
+
spaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_40__,
|
|
14384
|
+
tag: _tag__WEBPACK_IMPORTED_MODULE_41__,
|
|
14385
|
+
task: _task__WEBPACK_IMPORTED_MODULE_42__,
|
|
14386
|
+
team: _team__WEBPACK_IMPORTED_MODULE_43__,
|
|
14387
|
+
teamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_44__,
|
|
14388
|
+
teamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_45__,
|
|
14389
|
+
uiConfig: _ui_config__WEBPACK_IMPORTED_MODULE_46__,
|
|
14390
|
+
upload: _upload__WEBPACK_IMPORTED_MODULE_47__,
|
|
14391
|
+
usage: _usage__WEBPACK_IMPORTED_MODULE_48__,
|
|
14392
|
+
user: _user__WEBPACK_IMPORTED_MODULE_49__,
|
|
14393
|
+
userUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_50__,
|
|
14394
|
+
webhook: _webhook__WEBPACK_IMPORTED_MODULE_51__,
|
|
14395
|
+
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_52__
|
|
14594
14396
|
});
|
|
14595
14397
|
|
|
14596
14398
|
/***/ }),
|
|
@@ -15510,10 +15312,15 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
15510
15312
|
* Represents that state of the scheduled action
|
|
15511
15313
|
*/
|
|
15512
15314
|
let ScheduledActionStatus = /*#__PURE__*/function (ScheduledActionStatus) {
|
|
15315
|
+
/** action is pending execution */
|
|
15513
15316
|
ScheduledActionStatus["scheduled"] = "scheduled";
|
|
15317
|
+
/** action has been started and pending completion */
|
|
15514
15318
|
ScheduledActionStatus["inProgress"] = "inProgress";
|
|
15319
|
+
/** action was completed successfully (terminal state) */
|
|
15515
15320
|
ScheduledActionStatus["succeeded"] = "succeeded";
|
|
15321
|
+
/** action failed to complete (terminal state) */
|
|
15516
15322
|
ScheduledActionStatus["failed"] = "failed";
|
|
15323
|
+
/** action was canceled by a user (terminal state) */
|
|
15517
15324
|
ScheduledActionStatus["canceled"] = "canceled";
|
|
15518
15325
|
return ScheduledActionStatus;
|
|
15519
15326
|
}({});
|
|
@@ -17142,10 +16949,6 @@ const createPlainClient = (makeRequest, defaults) => {
|
|
|
17142
16949
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getMany'),
|
|
17143
16950
|
getManyForEnvironment: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getManyForEnvironment')
|
|
17144
16951
|
},
|
|
17145
|
-
functionLog: {
|
|
17146
|
-
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'FunctionLog', 'get'),
|
|
17147
|
-
getAll: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'FunctionLog', 'getAll')
|
|
17148
|
-
},
|
|
17149
16952
|
editorInterface: {
|
|
17150
16953
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'get'),
|
|
17151
16954
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'getMany'),
|
|
@@ -17615,74 +17418,123 @@ function getUploadHttpClient(http, options) {
|
|
|
17615
17418
|
|
|
17616
17419
|
/***/ }),
|
|
17617
17420
|
|
|
17618
|
-
/***/ "../node_modules/call-bind/
|
|
17619
|
-
|
|
17620
|
-
!*** ../node_modules/call-bind/
|
|
17621
|
-
|
|
17421
|
+
/***/ "../node_modules/call-bind-apply-helpers/actualApply.js":
|
|
17422
|
+
/*!**************************************************************!*\
|
|
17423
|
+
!*** ../node_modules/call-bind-apply-helpers/actualApply.js ***!
|
|
17424
|
+
\**************************************************************/
|
|
17622
17425
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17623
17426
|
|
|
17624
17427
|
"use strict";
|
|
17625
17428
|
|
|
17626
17429
|
|
|
17627
|
-
var
|
|
17430
|
+
var bind = __webpack_require__(/*! function-bind */ "../node_modules/function-bind/index.js");
|
|
17628
17431
|
|
|
17629
|
-
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");
|
|
17630
17435
|
|
|
17631
|
-
|
|
17436
|
+
/** @type {import('./actualApply')} */
|
|
17437
|
+
module.exports = $reflectApply || bind.call($call, $apply);
|
|
17632
17438
|
|
|
17633
|
-
|
|
17634
|
-
|
|
17635
|
-
|
|
17636
|
-
|
|
17637
|
-
|
|
17638
|
-
|
|
17639
|
-
|
|
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";
|
|
17449
|
+
|
|
17450
|
+
|
|
17451
|
+
/** @type {import('./functionApply')} */
|
|
17452
|
+
module.exports = Function.prototype.apply;
|
|
17640
17453
|
|
|
17641
17454
|
|
|
17642
17455
|
/***/ }),
|
|
17643
17456
|
|
|
17644
|
-
/***/ "../node_modules/call-bind/
|
|
17645
|
-
|
|
17646
|
-
!*** ../node_modules/call-bind/
|
|
17647
|
-
|
|
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
|
+
\********************************************************/
|
|
17648
17476
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17649
17477
|
|
|
17650
17478
|
"use strict";
|
|
17651
17479
|
|
|
17652
17480
|
|
|
17653
17481
|
var bind = __webpack_require__(/*! function-bind */ "../node_modules/function-bind/index.js");
|
|
17654
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
17655
|
-
var setFunctionLength = __webpack_require__(/*! set-function-length */ "../node_modules/set-function-length/index.js");
|
|
17656
|
-
|
|
17657
17482
|
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
17658
|
-
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
17659
|
-
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
17660
|
-
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
17661
17483
|
|
|
17662
|
-
var $
|
|
17663
|
-
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");
|
|
17664
17486
|
|
|
17665
|
-
|
|
17666
|
-
|
|
17487
|
+
/** @type {import('.')} */
|
|
17488
|
+
module.exports = function callBindBasic(args) {
|
|
17489
|
+
if (args.length < 1 || typeof args[0] !== 'function') {
|
|
17667
17490
|
throw new $TypeError('a function is required');
|
|
17668
17491
|
}
|
|
17669
|
-
|
|
17670
|
-
return setFunctionLength(
|
|
17671
|
-
func,
|
|
17672
|
-
1 + $max(0, originalFunction.length - (arguments.length - 1)),
|
|
17673
|
-
true
|
|
17674
|
-
);
|
|
17492
|
+
return $actualApply(bind, $call, args);
|
|
17675
17493
|
};
|
|
17676
17494
|
|
|
17677
|
-
var applyBind = function applyBind() {
|
|
17678
|
-
return $reflectApply(bind, $apply, arguments);
|
|
17679
|
-
};
|
|
17680
17495
|
|
|
17681
|
-
|
|
17682
|
-
|
|
17683
|
-
|
|
17684
|
-
|
|
17685
|
-
|
|
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
|
+
};
|
|
17686
17538
|
|
|
17687
17539
|
|
|
17688
17540
|
/***/ }),
|
|
@@ -18042,6 +17894,7 @@ function useColors() {
|
|
|
18042
17894
|
|
|
18043
17895
|
// Is webkit? http://stackoverflow.com/a/16459606/376773
|
|
18044
17896
|
// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
|
|
17897
|
+
// eslint-disable-next-line no-return-assign
|
|
18045
17898
|
return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
|
|
18046
17899
|
// Is firebug? http://stackoverflow.com/a/398120/376773
|
|
18047
17900
|
(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
|
|
@@ -18360,24 +18213,62 @@ function setup(env) {
|
|
|
18360
18213
|
createDebug.names = [];
|
|
18361
18214
|
createDebug.skips = [];
|
|
18362
18215
|
|
|
18363
|
-
|
|
18364
|
-
|
|
18365
|
-
|
|
18216
|
+
const split = (typeof namespaces === 'string' ? namespaces : '')
|
|
18217
|
+
.trim()
|
|
18218
|
+
.replace(' ', ',')
|
|
18219
|
+
.split(',')
|
|
18220
|
+
.filter(Boolean);
|
|
18366
18221
|
|
|
18367
|
-
for (
|
|
18368
|
-
if (
|
|
18369
|
-
|
|
18370
|
-
|
|
18222
|
+
for (const ns of split) {
|
|
18223
|
+
if (ns[0] === '-') {
|
|
18224
|
+
createDebug.skips.push(ns.slice(1));
|
|
18225
|
+
} else {
|
|
18226
|
+
createDebug.names.push(ns);
|
|
18371
18227
|
}
|
|
18228
|
+
}
|
|
18229
|
+
}
|
|
18372
18230
|
|
|
18373
|
-
|
|
18374
|
-
|
|
18375
|
-
|
|
18376
|
-
|
|
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;
|
|
18377
18261
|
} else {
|
|
18378
|
-
|
|
18262
|
+
return false; // No match
|
|
18379
18263
|
}
|
|
18380
18264
|
}
|
|
18265
|
+
|
|
18266
|
+
// Handle trailing '*' in template
|
|
18267
|
+
while (templateIndex < template.length && template[templateIndex] === '*') {
|
|
18268
|
+
templateIndex++;
|
|
18269
|
+
}
|
|
18270
|
+
|
|
18271
|
+
return templateIndex === template.length;
|
|
18381
18272
|
}
|
|
18382
18273
|
|
|
18383
18274
|
/**
|
|
@@ -18388,8 +18279,8 @@ function setup(env) {
|
|
|
18388
18279
|
*/
|
|
18389
18280
|
function disable() {
|
|
18390
18281
|
const namespaces = [
|
|
18391
|
-
...createDebug.names
|
|
18392
|
-
...createDebug.skips.map(
|
|
18282
|
+
...createDebug.names,
|
|
18283
|
+
...createDebug.skips.map(namespace => '-' + namespace)
|
|
18393
18284
|
].join(',');
|
|
18394
18285
|
createDebug.enable('');
|
|
18395
18286
|
return namespaces;
|
|
@@ -18403,21 +18294,14 @@ function setup(env) {
|
|
|
18403
18294
|
* @api public
|
|
18404
18295
|
*/
|
|
18405
18296
|
function enabled(name) {
|
|
18406
|
-
|
|
18407
|
-
|
|
18408
|
-
}
|
|
18409
|
-
|
|
18410
|
-
let i;
|
|
18411
|
-
let len;
|
|
18412
|
-
|
|
18413
|
-
for (i = 0, len = createDebug.skips.length; i < len; i++) {
|
|
18414
|
-
if (createDebug.skips[i].test(name)) {
|
|
18297
|
+
for (const skip of createDebug.skips) {
|
|
18298
|
+
if (matchesTemplate(name, skip)) {
|
|
18415
18299
|
return false;
|
|
18416
18300
|
}
|
|
18417
18301
|
}
|
|
18418
18302
|
|
|
18419
|
-
for (
|
|
18420
|
-
if (
|
|
18303
|
+
for (const ns of createDebug.names) {
|
|
18304
|
+
if (matchesTemplate(name, ns)) {
|
|
18421
18305
|
return true;
|
|
18422
18306
|
}
|
|
18423
18307
|
}
|
|
@@ -18425,19 +18309,6 @@ function setup(env) {
|
|
|
18425
18309
|
return false;
|
|
18426
18310
|
}
|
|
18427
18311
|
|
|
18428
|
-
/**
|
|
18429
|
-
* Convert regexp to namespace
|
|
18430
|
-
*
|
|
18431
|
-
* @param {RegExp} regxep
|
|
18432
|
-
* @return {String} namespace
|
|
18433
|
-
* @api private
|
|
18434
|
-
*/
|
|
18435
|
-
function toNamespace(regexp) {
|
|
18436
|
-
return regexp.toString()
|
|
18437
|
-
.substring(2, regexp.toString().length - 2)
|
|
18438
|
-
.replace(/\.\*\?$/, '*');
|
|
18439
|
-
}
|
|
18440
|
-
|
|
18441
18312
|
/**
|
|
18442
18313
|
* Coerce `val`.
|
|
18443
18314
|
*
|
|
@@ -18763,97 +18634,30 @@ formatters.O = function (v) {
|
|
|
18763
18634
|
|
|
18764
18635
|
/***/ }),
|
|
18765
18636
|
|
|
18766
|
-
/***/ "../node_modules/
|
|
18767
|
-
|
|
18768
|
-
!*** ../node_modules/
|
|
18769
|
-
|
|
18637
|
+
/***/ "../node_modules/delayed-stream/lib/delayed_stream.js":
|
|
18638
|
+
/*!************************************************************!*\
|
|
18639
|
+
!*** ../node_modules/delayed-stream/lib/delayed_stream.js ***!
|
|
18640
|
+
\************************************************************/
|
|
18770
18641
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
18771
18642
|
|
|
18772
|
-
|
|
18773
|
-
|
|
18643
|
+
var Stream = (__webpack_require__(/*! stream */ "stream").Stream);
|
|
18644
|
+
var util = __webpack_require__(/*! util */ "util");
|
|
18774
18645
|
|
|
18775
|
-
|
|
18646
|
+
module.exports = DelayedStream;
|
|
18647
|
+
function DelayedStream() {
|
|
18648
|
+
this.source = null;
|
|
18649
|
+
this.dataSize = 0;
|
|
18650
|
+
this.maxDataSize = 1024 * 1024;
|
|
18651
|
+
this.pauseStream = true;
|
|
18776
18652
|
|
|
18777
|
-
|
|
18778
|
-
|
|
18653
|
+
this._maxDataSizeExceeded = false;
|
|
18654
|
+
this._released = false;
|
|
18655
|
+
this._bufferedEvents = [];
|
|
18656
|
+
}
|
|
18657
|
+
util.inherits(DelayedStream, Stream);
|
|
18779
18658
|
|
|
18780
|
-
|
|
18781
|
-
|
|
18782
|
-
/** @type {import('.')} */
|
|
18783
|
-
module.exports = function defineDataProperty(
|
|
18784
|
-
obj,
|
|
18785
|
-
property,
|
|
18786
|
-
value
|
|
18787
|
-
) {
|
|
18788
|
-
if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
18789
|
-
throw new $TypeError('`obj` must be an object or a function`');
|
|
18790
|
-
}
|
|
18791
|
-
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
18792
|
-
throw new $TypeError('`property` must be a string or a symbol`');
|
|
18793
|
-
}
|
|
18794
|
-
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
18795
|
-
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
18796
|
-
}
|
|
18797
|
-
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
18798
|
-
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
18799
|
-
}
|
|
18800
|
-
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
18801
|
-
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
18802
|
-
}
|
|
18803
|
-
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
18804
|
-
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
18805
|
-
}
|
|
18806
|
-
|
|
18807
|
-
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
18808
|
-
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
18809
|
-
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
18810
|
-
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
18811
|
-
|
|
18812
|
-
/* @type {false | TypedPropertyDescriptor<unknown>} */
|
|
18813
|
-
var desc = !!gopd && gopd(obj, property);
|
|
18814
|
-
|
|
18815
|
-
if ($defineProperty) {
|
|
18816
|
-
$defineProperty(obj, property, {
|
|
18817
|
-
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
18818
|
-
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
18819
|
-
value: value,
|
|
18820
|
-
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
18821
|
-
});
|
|
18822
|
-
} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
|
|
18823
|
-
// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
|
|
18824
|
-
obj[property] = value; // eslint-disable-line no-param-reassign
|
|
18825
|
-
} else {
|
|
18826
|
-
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
18827
|
-
}
|
|
18828
|
-
};
|
|
18829
|
-
|
|
18830
|
-
|
|
18831
|
-
/***/ }),
|
|
18832
|
-
|
|
18833
|
-
/***/ "../node_modules/delayed-stream/lib/delayed_stream.js":
|
|
18834
|
-
/*!************************************************************!*\
|
|
18835
|
-
!*** ../node_modules/delayed-stream/lib/delayed_stream.js ***!
|
|
18836
|
-
\************************************************************/
|
|
18837
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
18838
|
-
|
|
18839
|
-
var Stream = (__webpack_require__(/*! stream */ "stream").Stream);
|
|
18840
|
-
var util = __webpack_require__(/*! util */ "util");
|
|
18841
|
-
|
|
18842
|
-
module.exports = DelayedStream;
|
|
18843
|
-
function DelayedStream() {
|
|
18844
|
-
this.source = null;
|
|
18845
|
-
this.dataSize = 0;
|
|
18846
|
-
this.maxDataSize = 1024 * 1024;
|
|
18847
|
-
this.pauseStream = true;
|
|
18848
|
-
|
|
18849
|
-
this._maxDataSizeExceeded = false;
|
|
18850
|
-
this._released = false;
|
|
18851
|
-
this._bufferedEvents = [];
|
|
18852
|
-
}
|
|
18853
|
-
util.inherits(DelayedStream, Stream);
|
|
18854
|
-
|
|
18855
|
-
DelayedStream.create = function(source, options) {
|
|
18856
|
-
var delayedStream = new this();
|
|
18659
|
+
DelayedStream.create = function(source, options) {
|
|
18660
|
+
var delayedStream = new this();
|
|
18857
18661
|
|
|
18858
18662
|
options = options || {};
|
|
18859
18663
|
for (var option in options) {
|
|
@@ -18945,21 +18749,60 @@ DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() {
|
|
|
18945
18749
|
};
|
|
18946
18750
|
|
|
18947
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
|
+
|
|
18948
18793
|
/***/ }),
|
|
18949
18794
|
|
|
18950
18795
|
/***/ "../node_modules/es-define-property/index.js":
|
|
18951
18796
|
/*!***************************************************!*\
|
|
18952
18797
|
!*** ../node_modules/es-define-property/index.js ***!
|
|
18953
18798
|
\***************************************************/
|
|
18954
|
-
/***/ ((module
|
|
18799
|
+
/***/ ((module) => {
|
|
18955
18800
|
|
|
18956
18801
|
"use strict";
|
|
18957
18802
|
|
|
18958
18803
|
|
|
18959
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
18960
|
-
|
|
18961
18804
|
/** @type {import('.')} */
|
|
18962
|
-
var $defineProperty =
|
|
18805
|
+
var $defineProperty = Object.defineProperty || false;
|
|
18963
18806
|
if ($defineProperty) {
|
|
18964
18807
|
try {
|
|
18965
18808
|
$defineProperty({}, 'a', { value: 1 });
|
|
@@ -19077,6 +18920,21 @@ module.exports = TypeError;
|
|
|
19077
18920
|
module.exports = URIError;
|
|
19078
18921
|
|
|
19079
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
|
+
|
|
19080
18938
|
/***/ }),
|
|
19081
18939
|
|
|
19082
18940
|
/***/ "../node_modules/follow-redirects/debug.js":
|
|
@@ -20453,6 +20311,8 @@ module.exports = Function.prototype.bind || implementation;
|
|
|
20453
20311
|
|
|
20454
20312
|
var undefined;
|
|
20455
20313
|
|
|
20314
|
+
var $Object = __webpack_require__(/*! es-object-atoms */ "../node_modules/es-object-atoms/index.js");
|
|
20315
|
+
|
|
20456
20316
|
var $Error = __webpack_require__(/*! es-errors */ "../node_modules/es-errors/index.js");
|
|
20457
20317
|
var $EvalError = __webpack_require__(/*! es-errors/eval */ "../node_modules/es-errors/eval.js");
|
|
20458
20318
|
var $RangeError = __webpack_require__(/*! es-errors/range */ "../node_modules/es-errors/range.js");
|
|
@@ -20461,6 +20321,14 @@ var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ "../node_modules/
|
|
|
20461
20321
|
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
20462
20322
|
var $URIError = __webpack_require__(/*! es-errors/uri */ "../node_modules/es-errors/uri.js");
|
|
20463
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
|
+
|
|
20464
20332
|
var $Function = Function;
|
|
20465
20333
|
|
|
20466
20334
|
// eslint-disable-next-line consistent-return
|
|
@@ -20470,14 +20338,8 @@ var getEvalledConstructor = function (expressionSyntax) {
|
|
|
20470
20338
|
} catch (e) {}
|
|
20471
20339
|
};
|
|
20472
20340
|
|
|
20473
|
-
var $gOPD =
|
|
20474
|
-
|
|
20475
|
-
try {
|
|
20476
|
-
$gOPD({}, '');
|
|
20477
|
-
} catch (e) {
|
|
20478
|
-
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
20479
|
-
}
|
|
20480
|
-
}
|
|
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");
|
|
20481
20343
|
|
|
20482
20344
|
var throwTypeError = function () {
|
|
20483
20345
|
throw new $TypeError();
|
|
@@ -20500,13 +20362,13 @@ var ThrowTypeError = $gOPD
|
|
|
20500
20362
|
: throwTypeError;
|
|
20501
20363
|
|
|
20502
20364
|
var hasSymbols = __webpack_require__(/*! has-symbols */ "../node_modules/has-symbols/index.js")();
|
|
20503
|
-
var hasProto = __webpack_require__(/*! has-proto */ "../node_modules/has-proto/index.js")();
|
|
20504
20365
|
|
|
20505
|
-
var getProto =
|
|
20506
|
-
|
|
20507
|
-
|
|
20508
|
-
|
|
20509
|
-
);
|
|
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");
|
|
20510
20372
|
|
|
20511
20373
|
var needsEval = {};
|
|
20512
20374
|
|
|
@@ -20553,7 +20415,8 @@ var INTRINSICS = {
|
|
|
20553
20415
|
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
20554
20416
|
'%Math%': Math,
|
|
20555
20417
|
'%Number%': Number,
|
|
20556
|
-
'%Object%': Object,
|
|
20418
|
+
'%Object%': $Object,
|
|
20419
|
+
'%Object.getOwnPropertyDescriptor%': $gOPD,
|
|
20557
20420
|
'%parseFloat%': parseFloat,
|
|
20558
20421
|
'%parseInt%': parseInt,
|
|
20559
20422
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
@@ -20579,7 +20442,20 @@ var INTRINSICS = {
|
|
|
20579
20442
|
'%URIError%': $URIError,
|
|
20580
20443
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
20581
20444
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
20582
|
-
'%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
|
|
20583
20459
|
};
|
|
20584
20460
|
|
|
20585
20461
|
if (getProto) {
|
|
@@ -20674,11 +20550,11 @@ var LEGACY_ALIASES = {
|
|
|
20674
20550
|
|
|
20675
20551
|
var bind = __webpack_require__(/*! function-bind */ "../node_modules/function-bind/index.js");
|
|
20676
20552
|
var hasOwn = __webpack_require__(/*! hasown */ "../node_modules/hasown/index.js");
|
|
20677
|
-
var $concat = bind.call(
|
|
20678
|
-
var $spliceApply = bind.call(
|
|
20679
|
-
var $replace = bind.call(
|
|
20680
|
-
var $strSlice = bind.call(
|
|
20681
|
-
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);
|
|
20682
20558
|
|
|
20683
20559
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
20684
20560
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -20812,106 +20688,131 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
20812
20688
|
|
|
20813
20689
|
/***/ }),
|
|
20814
20690
|
|
|
20815
|
-
/***/ "../node_modules/
|
|
20816
|
-
|
|
20817
|
-
!*** ../node_modules/
|
|
20818
|
-
|
|
20691
|
+
/***/ "../node_modules/get-proto/Object.getPrototypeOf.js":
|
|
20692
|
+
/*!**********************************************************!*\
|
|
20693
|
+
!*** ../node_modules/get-proto/Object.getPrototypeOf.js ***!
|
|
20694
|
+
\**********************************************************/
|
|
20819
20695
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20820
20696
|
|
|
20821
20697
|
"use strict";
|
|
20822
20698
|
|
|
20823
20699
|
|
|
20824
|
-
var
|
|
20700
|
+
var $Object = __webpack_require__(/*! es-object-atoms */ "../node_modules/es-object-atoms/index.js");
|
|
20825
20701
|
|
|
20826
|
-
|
|
20827
|
-
|
|
20828
|
-
if ($gOPD) {
|
|
20829
|
-
try {
|
|
20830
|
-
$gOPD([], 'length');
|
|
20831
|
-
} catch (e) {
|
|
20832
|
-
// IE 8 has a broken gOPD
|
|
20833
|
-
$gOPD = null;
|
|
20834
|
-
}
|
|
20835
|
-
}
|
|
20836
|
-
|
|
20837
|
-
module.exports = $gOPD;
|
|
20702
|
+
/** @type {import('./Object.getPrototypeOf')} */
|
|
20703
|
+
module.exports = $Object.getPrototypeOf || null;
|
|
20838
20704
|
|
|
20839
20705
|
|
|
20840
20706
|
/***/ }),
|
|
20841
20707
|
|
|
20842
|
-
/***/ "../node_modules/
|
|
20843
|
-
|
|
20844
|
-
!*** ../node_modules/
|
|
20845
|
-
|
|
20708
|
+
/***/ "../node_modules/get-proto/Reflect.getPrototypeOf.js":
|
|
20709
|
+
/*!***********************************************************!*\
|
|
20710
|
+
!*** ../node_modules/get-proto/Reflect.getPrototypeOf.js ***!
|
|
20711
|
+
\***********************************************************/
|
|
20846
20712
|
/***/ ((module) => {
|
|
20847
20713
|
|
|
20848
20714
|
"use strict";
|
|
20849
20715
|
|
|
20850
20716
|
|
|
20851
|
-
|
|
20852
|
-
|
|
20853
|
-
const position = argv.indexOf(prefix + flag);
|
|
20854
|
-
const terminatorPosition = argv.indexOf('--');
|
|
20855
|
-
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
20856
|
-
};
|
|
20717
|
+
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
20718
|
+
module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
|
|
20857
20719
|
|
|
20858
20720
|
|
|
20859
20721
|
/***/ }),
|
|
20860
20722
|
|
|
20861
|
-
/***/ "../node_modules/
|
|
20862
|
-
|
|
20863
|
-
!*** ../node_modules/
|
|
20864
|
-
|
|
20723
|
+
/***/ "../node_modules/get-proto/index.js":
|
|
20724
|
+
/*!******************************************!*\
|
|
20725
|
+
!*** ../node_modules/get-proto/index.js ***!
|
|
20726
|
+
\******************************************/
|
|
20865
20727
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20866
20728
|
|
|
20867
20729
|
"use strict";
|
|
20868
20730
|
|
|
20869
20731
|
|
|
20870
|
-
var
|
|
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");
|
|
20871
20734
|
|
|
20872
|
-
var
|
|
20873
|
-
return !!$defineProperty;
|
|
20874
|
-
};
|
|
20735
|
+
var getDunderProto = __webpack_require__(/*! dunder-proto/get */ "../node_modules/dunder-proto/get.js");
|
|
20875
20736
|
|
|
20876
|
-
|
|
20877
|
-
|
|
20878
|
-
|
|
20879
|
-
|
|
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);
|
|
20880
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
|
+
|
|
20774
|
+
/***/ }),
|
|
20775
|
+
|
|
20776
|
+
/***/ "../node_modules/gopd/index.js":
|
|
20777
|
+
/*!*************************************!*\
|
|
20778
|
+
!*** ../node_modules/gopd/index.js ***!
|
|
20779
|
+
\*************************************/
|
|
20780
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20781
|
+
|
|
20782
|
+
"use strict";
|
|
20783
|
+
|
|
20784
|
+
|
|
20785
|
+
/** @type {import('.')} */
|
|
20786
|
+
var $gOPD = __webpack_require__(/*! ./gOPD */ "../node_modules/gopd/gOPD.js");
|
|
20787
|
+
|
|
20788
|
+
if ($gOPD) {
|
|
20881
20789
|
try {
|
|
20882
|
-
|
|
20790
|
+
$gOPD([], 'length');
|
|
20883
20791
|
} catch (e) {
|
|
20884
|
-
//
|
|
20885
|
-
|
|
20792
|
+
// IE 8 has a broken gOPD
|
|
20793
|
+
$gOPD = null;
|
|
20886
20794
|
}
|
|
20887
|
-
}
|
|
20795
|
+
}
|
|
20888
20796
|
|
|
20889
|
-
module.exports =
|
|
20797
|
+
module.exports = $gOPD;
|
|
20890
20798
|
|
|
20891
20799
|
|
|
20892
20800
|
/***/ }),
|
|
20893
20801
|
|
|
20894
|
-
/***/ "../node_modules/has-
|
|
20895
|
-
|
|
20896
|
-
!*** ../node_modules/has-
|
|
20897
|
-
|
|
20802
|
+
/***/ "../node_modules/has-flag/index.js":
|
|
20803
|
+
/*!*****************************************!*\
|
|
20804
|
+
!*** ../node_modules/has-flag/index.js ***!
|
|
20805
|
+
\*****************************************/
|
|
20898
20806
|
/***/ ((module) => {
|
|
20899
20807
|
|
|
20900
20808
|
"use strict";
|
|
20901
20809
|
|
|
20902
20810
|
|
|
20903
|
-
|
|
20904
|
-
|
|
20905
|
-
|
|
20906
|
-
|
|
20907
|
-
|
|
20908
|
-
var $Object = Object;
|
|
20909
|
-
|
|
20910
|
-
/** @type {import('.')} */
|
|
20911
|
-
module.exports = function hasProto() {
|
|
20912
|
-
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
20913
|
-
return { __proto__: test }.foo === test.foo
|
|
20914
|
-
&& !(test instanceof $Object);
|
|
20811
|
+
module.exports = (flag, argv = process.argv) => {
|
|
20812
|
+
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
|
|
20813
|
+
const position = argv.indexOf(prefix + flag);
|
|
20814
|
+
const terminatorPosition = argv.indexOf('--');
|
|
20815
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
20915
20816
|
};
|
|
20916
20817
|
|
|
20917
20818
|
|
|
@@ -20929,6 +20830,7 @@ module.exports = function hasProto() {
|
|
|
20929
20830
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
20930
20831
|
var hasSymbolSham = __webpack_require__(/*! ./shams */ "../node_modules/has-symbols/shams.js");
|
|
20931
20832
|
|
|
20833
|
+
/** @type {import('.')} */
|
|
20932
20834
|
module.exports = function hasNativeSymbols() {
|
|
20933
20835
|
if (typeof origSymbol !== 'function') { return false; }
|
|
20934
20836
|
if (typeof Symbol !== 'function') { return false; }
|
|
@@ -20950,11 +20852,13 @@ module.exports = function hasNativeSymbols() {
|
|
|
20950
20852
|
"use strict";
|
|
20951
20853
|
|
|
20952
20854
|
|
|
20855
|
+
/** @type {import('./shams')} */
|
|
20953
20856
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
20954
20857
|
module.exports = function hasSymbols() {
|
|
20955
20858
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
20956
20859
|
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
20957
20860
|
|
|
20861
|
+
/** @type {{ [k in symbol]?: unknown }} */
|
|
20958
20862
|
var obj = {};
|
|
20959
20863
|
var sym = Symbol('test');
|
|
20960
20864
|
var symObj = Object(sym);
|
|
@@ -20973,7 +20877,7 @@ module.exports = function hasSymbols() {
|
|
|
20973
20877
|
|
|
20974
20878
|
var symVal = 42;
|
|
20975
20879
|
obj[sym] = symVal;
|
|
20976
|
-
for (
|
|
20880
|
+
for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
20977
20881
|
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
20978
20882
|
|
|
20979
20883
|
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
@@ -20984,7 +20888,8 @@ module.exports = function hasSymbols() {
|
|
|
20984
20888
|
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
20985
20889
|
|
|
20986
20890
|
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
20987
|
-
|
|
20891
|
+
// eslint-disable-next-line no-extra-parens
|
|
20892
|
+
var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
|
|
20988
20893
|
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
20989
20894
|
}
|
|
20990
20895
|
|
|
@@ -21271,6 +21176,135 @@ function isString(value) {
|
|
|
21271
21176
|
module.exports = isString;
|
|
21272
21177
|
|
|
21273
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
|
+
|
|
21274
21308
|
/***/ }),
|
|
21275
21309
|
|
|
21276
21310
|
/***/ "../node_modules/mime-db/index.js":
|
|
@@ -22437,7 +22471,8 @@ var defaults = {
|
|
|
22437
22471
|
parseArrays: true,
|
|
22438
22472
|
plainObjects: false,
|
|
22439
22473
|
strictDepth: false,
|
|
22440
|
-
strictNullHandling: false
|
|
22474
|
+
strictNullHandling: false,
|
|
22475
|
+
throwOnLimitExceeded: false
|
|
22441
22476
|
};
|
|
22442
22477
|
|
|
22443
22478
|
var interpretNumericEntities = function (str) {
|
|
@@ -22446,11 +22481,15 @@ var interpretNumericEntities = function (str) {
|
|
|
22446
22481
|
});
|
|
22447
22482
|
};
|
|
22448
22483
|
|
|
22449
|
-
var parseArrayValue = function (val, options) {
|
|
22484
|
+
var parseArrayValue = function (val, options, currentArrayLength) {
|
|
22450
22485
|
if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
|
|
22451
22486
|
return val.split(',');
|
|
22452
22487
|
}
|
|
22453
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
|
+
|
|
22454
22493
|
return val;
|
|
22455
22494
|
};
|
|
22456
22495
|
|
|
@@ -22469,8 +22508,17 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
22469
22508
|
|
|
22470
22509
|
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
|
22471
22510
|
cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
|
|
22511
|
+
|
|
22472
22512
|
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
|
22473
|
-
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
|
+
|
|
22474
22522
|
var skipIndex = -1; // Keep track of where the utf8 sentinel was found
|
|
22475
22523
|
var i;
|
|
22476
22524
|
|
|
@@ -22498,14 +22546,20 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
22498
22546
|
var bracketEqualsPos = part.indexOf(']=');
|
|
22499
22547
|
var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
|
|
22500
22548
|
|
|
22501
|
-
var key
|
|
22549
|
+
var key;
|
|
22550
|
+
var val;
|
|
22502
22551
|
if (pos === -1) {
|
|
22503
22552
|
key = options.decoder(part, defaults.decoder, charset, 'key');
|
|
22504
22553
|
val = options.strictNullHandling ? null : '';
|
|
22505
22554
|
} else {
|
|
22506
22555
|
key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
|
|
22556
|
+
|
|
22507
22557
|
val = utils.maybeMap(
|
|
22508
|
-
parseArrayValue(
|
|
22558
|
+
parseArrayValue(
|
|
22559
|
+
part.slice(pos + 1),
|
|
22560
|
+
options,
|
|
22561
|
+
isArray(obj[key]) ? obj[key].length : 0
|
|
22562
|
+
),
|
|
22509
22563
|
function (encodedVal) {
|
|
22510
22564
|
return options.decoder(encodedVal, defaults.decoder, charset, 'value');
|
|
22511
22565
|
}
|
|
@@ -22513,7 +22567,7 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
22513
22567
|
}
|
|
22514
22568
|
|
|
22515
22569
|
if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
|
|
22516
|
-
val = interpretNumericEntities(val);
|
|
22570
|
+
val = interpretNumericEntities(String(val));
|
|
22517
22571
|
}
|
|
22518
22572
|
|
|
22519
22573
|
if (part.indexOf('[]=') > -1) {
|
|
@@ -22532,7 +22586,13 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
22532
22586
|
};
|
|
22533
22587
|
|
|
22534
22588
|
var parseObject = function (chain, val, options, valuesParsed) {
|
|
22535
|
-
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);
|
|
22536
22596
|
|
|
22537
22597
|
for (var i = chain.length - 1; i >= 0; --i) {
|
|
22538
22598
|
var obj;
|
|
@@ -22541,9 +22601,9 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
22541
22601
|
if (root === '[]' && options.parseArrays) {
|
|
22542
22602
|
obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))
|
|
22543
22603
|
? []
|
|
22544
|
-
: []
|
|
22604
|
+
: utils.combine([], leaf);
|
|
22545
22605
|
} else {
|
|
22546
|
-
obj = options.plainObjects ?
|
|
22606
|
+
obj = options.plainObjects ? { __proto__: null } : {};
|
|
22547
22607
|
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
|
22548
22608
|
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
|
|
22549
22609
|
var index = parseInt(decodedRoot, 10);
|
|
@@ -22646,6 +22706,11 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
22646
22706
|
if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
|
|
22647
22707
|
throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
|
|
22648
22708
|
}
|
|
22709
|
+
|
|
22710
|
+
if (typeof opts.throwOnLimitExceeded !== 'undefined' && typeof opts.throwOnLimitExceeded !== 'boolean') {
|
|
22711
|
+
throw new TypeError('`throwOnLimitExceeded` option must be a boolean');
|
|
22712
|
+
}
|
|
22713
|
+
|
|
22649
22714
|
var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
|
|
22650
22715
|
|
|
22651
22716
|
var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;
|
|
@@ -22677,7 +22742,8 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
22677
22742
|
parseArrays: opts.parseArrays !== false,
|
|
22678
22743
|
plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
|
|
22679
22744
|
strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,
|
|
22680
|
-
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
|
|
22681
22747
|
};
|
|
22682
22748
|
};
|
|
22683
22749
|
|
|
@@ -22685,11 +22751,11 @@ module.exports = function (str, opts) {
|
|
|
22685
22751
|
var options = normalizeParseOptions(opts);
|
|
22686
22752
|
|
|
22687
22753
|
if (str === '' || str === null || typeof str === 'undefined') {
|
|
22688
|
-
return options.plainObjects ?
|
|
22754
|
+
return options.plainObjects ? { __proto__: null } : {};
|
|
22689
22755
|
}
|
|
22690
22756
|
|
|
22691
22757
|
var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
|
|
22692
|
-
var obj = options.plainObjects ?
|
|
22758
|
+
var obj = options.plainObjects ? { __proto__: null } : {};
|
|
22693
22759
|
|
|
22694
22760
|
// Iterate over the keys and setup the new object
|
|
22695
22761
|
|
|
@@ -22753,11 +22819,13 @@ var defaults = {
|
|
|
22753
22819
|
arrayFormat: 'indices',
|
|
22754
22820
|
charset: 'utf-8',
|
|
22755
22821
|
charsetSentinel: false,
|
|
22822
|
+
commaRoundTrip: false,
|
|
22756
22823
|
delimiter: '&',
|
|
22757
22824
|
encode: true,
|
|
22758
22825
|
encodeDotInKeys: false,
|
|
22759
22826
|
encoder: utils.encode,
|
|
22760
22827
|
encodeValuesOnly: false,
|
|
22828
|
+
filter: void undefined,
|
|
22761
22829
|
format: defaultFormat,
|
|
22762
22830
|
formatter: formats.formatters[defaultFormat],
|
|
22763
22831
|
// deprecated
|
|
@@ -22869,7 +22937,7 @@ var stringify = function stringify(
|
|
|
22869
22937
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
22870
22938
|
}
|
|
22871
22939
|
|
|
22872
|
-
var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, '%2E') : prefix;
|
|
22940
|
+
var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, '%2E') : String(prefix);
|
|
22873
22941
|
|
|
22874
22942
|
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;
|
|
22875
22943
|
|
|
@@ -22879,13 +22947,15 @@ var stringify = function stringify(
|
|
|
22879
22947
|
|
|
22880
22948
|
for (var j = 0; j < objKeys.length; ++j) {
|
|
22881
22949
|
var key = objKeys[j];
|
|
22882
|
-
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];
|
|
22883
22953
|
|
|
22884
22954
|
if (skipNulls && value === null) {
|
|
22885
22955
|
continue;
|
|
22886
22956
|
}
|
|
22887
22957
|
|
|
22888
|
-
var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key;
|
|
22958
|
+
var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, '%2E') : String(key);
|
|
22889
22959
|
var keyPrefix = isArray(obj)
|
|
22890
22960
|
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
|
|
22891
22961
|
: adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');
|
|
@@ -22976,7 +23046,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
22976
23046
|
arrayFormat: arrayFormat,
|
|
22977
23047
|
charset: charset,
|
|
22978
23048
|
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
22979
|
-
commaRoundTrip: opts.commaRoundTrip,
|
|
23049
|
+
commaRoundTrip: !!opts.commaRoundTrip,
|
|
22980
23050
|
delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
|
|
22981
23051
|
encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
|
|
22982
23052
|
encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
|
|
@@ -23027,12 +23097,13 @@ module.exports = function (object, opts) {
|
|
|
23027
23097
|
var sideChannel = getSideChannel();
|
|
23028
23098
|
for (var i = 0; i < objKeys.length; ++i) {
|
|
23029
23099
|
var key = objKeys[i];
|
|
23100
|
+
var value = obj[key];
|
|
23030
23101
|
|
|
23031
|
-
if (options.skipNulls &&
|
|
23102
|
+
if (options.skipNulls && value === null) {
|
|
23032
23103
|
continue;
|
|
23033
23104
|
}
|
|
23034
23105
|
pushToArray(keys, stringify(
|
|
23035
|
-
|
|
23106
|
+
value,
|
|
23036
23107
|
key,
|
|
23037
23108
|
generateArrayPrefix,
|
|
23038
23109
|
commaRoundTrip,
|
|
@@ -23115,7 +23186,7 @@ var compactQueue = function compactQueue(queue) {
|
|
|
23115
23186
|
};
|
|
23116
23187
|
|
|
23117
23188
|
var arrayToObject = function arrayToObject(source, options) {
|
|
23118
|
-
var obj = options && options.plainObjects ?
|
|
23189
|
+
var obj = options && options.plainObjects ? { __proto__: null } : {};
|
|
23119
23190
|
for (var i = 0; i < source.length; ++i) {
|
|
23120
23191
|
if (typeof source[i] !== 'undefined') {
|
|
23121
23192
|
obj[i] = source[i];
|
|
@@ -23131,11 +23202,14 @@ var merge = function merge(target, source, options) {
|
|
|
23131
23202
|
return target;
|
|
23132
23203
|
}
|
|
23133
23204
|
|
|
23134
|
-
if (typeof source !== 'object') {
|
|
23205
|
+
if (typeof source !== 'object' && typeof source !== 'function') {
|
|
23135
23206
|
if (isArray(target)) {
|
|
23136
23207
|
target.push(source);
|
|
23137
23208
|
} else if (target && typeof target === 'object') {
|
|
23138
|
-
if (
|
|
23209
|
+
if (
|
|
23210
|
+
(options && (options.plainObjects || options.allowPrototypes))
|
|
23211
|
+
|| !has.call(Object.prototype, source)
|
|
23212
|
+
) {
|
|
23139
23213
|
target[source] = true;
|
|
23140
23214
|
}
|
|
23141
23215
|
} else {
|
|
@@ -23189,7 +23263,7 @@ var assign = function assignSingleSource(target, source) {
|
|
|
23189
23263
|
}, target);
|
|
23190
23264
|
};
|
|
23191
23265
|
|
|
23192
|
-
var decode = function (str,
|
|
23266
|
+
var decode = function (str, defaultDecoder, charset) {
|
|
23193
23267
|
var strWithoutPlus = str.replace(/\+/g, ' ');
|
|
23194
23268
|
if (charset === 'iso-8859-1') {
|
|
23195
23269
|
// unescape never throws, no try...catch needed:
|
|
@@ -23348,193 +23422,352 @@ module.exports = {
|
|
|
23348
23422
|
|
|
23349
23423
|
/***/ }),
|
|
23350
23424
|
|
|
23351
|
-
/***/ "../node_modules/
|
|
23352
|
-
|
|
23353
|
-
!*** ../node_modules/
|
|
23354
|
-
|
|
23355
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
23356
|
-
|
|
23357
|
-
"use strict";
|
|
23358
|
-
|
|
23359
|
-
|
|
23360
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
23361
|
-
var define = __webpack_require__(/*! define-data-property */ "../node_modules/define-data-property/index.js");
|
|
23362
|
-
var hasDescriptors = __webpack_require__(/*! has-property-descriptors */ "../node_modules/has-property-descriptors/index.js")();
|
|
23363
|
-
var gOPD = __webpack_require__(/*! gopd */ "../node_modules/gopd/index.js");
|
|
23364
|
-
|
|
23365
|
-
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
23366
|
-
var $floor = GetIntrinsic('%Math.floor%');
|
|
23367
|
-
|
|
23368
|
-
/** @type {import('.')} */
|
|
23369
|
-
module.exports = function setFunctionLength(fn, length) {
|
|
23370
|
-
if (typeof fn !== 'function') {
|
|
23371
|
-
throw new $TypeError('`fn` is not a function');
|
|
23372
|
-
}
|
|
23373
|
-
if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
|
|
23374
|
-
throw new $TypeError('`length` must be a positive 32-bit integer');
|
|
23375
|
-
}
|
|
23376
|
-
|
|
23377
|
-
var loose = arguments.length > 2 && !!arguments[2];
|
|
23378
|
-
|
|
23379
|
-
var functionLengthIsConfigurable = true;
|
|
23380
|
-
var functionLengthIsWritable = true;
|
|
23381
|
-
if ('length' in fn && gOPD) {
|
|
23382
|
-
var desc = gOPD(fn, 'length');
|
|
23383
|
-
if (desc && !desc.configurable) {
|
|
23384
|
-
functionLengthIsConfigurable = false;
|
|
23385
|
-
}
|
|
23386
|
-
if (desc && !desc.writable) {
|
|
23387
|
-
functionLengthIsWritable = false;
|
|
23388
|
-
}
|
|
23389
|
-
}
|
|
23390
|
-
|
|
23391
|
-
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
23392
|
-
if (hasDescriptors) {
|
|
23393
|
-
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
|
|
23394
|
-
} else {
|
|
23395
|
-
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
|
|
23396
|
-
}
|
|
23397
|
-
}
|
|
23398
|
-
return fn;
|
|
23399
|
-
};
|
|
23400
|
-
|
|
23401
|
-
|
|
23402
|
-
/***/ }),
|
|
23403
|
-
|
|
23404
|
-
/***/ "../node_modules/side-channel/index.js":
|
|
23405
|
-
/*!*********************************************!*\
|
|
23406
|
-
!*** ../node_modules/side-channel/index.js ***!
|
|
23407
|
-
\*********************************************/
|
|
23425
|
+
/***/ "../node_modules/side-channel-list/index.js":
|
|
23426
|
+
/*!**************************************************!*\
|
|
23427
|
+
!*** ../node_modules/side-channel-list/index.js ***!
|
|
23428
|
+
\**************************************************/
|
|
23408
23429
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
23409
23430
|
|
|
23410
23431
|
"use strict";
|
|
23411
23432
|
|
|
23412
23433
|
|
|
23413
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
23414
|
-
var callBound = __webpack_require__(/*! call-bind/callBound */ "../node_modules/call-bind/callBound.js");
|
|
23415
23434
|
var inspect = __webpack_require__(/*! object-inspect */ "../node_modules/object-inspect/index.js");
|
|
23416
23435
|
|
|
23417
23436
|
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
23418
|
-
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
23419
|
-
var $Map = GetIntrinsic('%Map%', true);
|
|
23420
|
-
|
|
23421
|
-
var $weakMapGet = callBound('WeakMap.prototype.get', true);
|
|
23422
|
-
var $weakMapSet = callBound('WeakMap.prototype.set', true);
|
|
23423
|
-
var $weakMapHas = callBound('WeakMap.prototype.has', true);
|
|
23424
|
-
var $mapGet = callBound('Map.prototype.get', true);
|
|
23425
|
-
var $mapSet = callBound('Map.prototype.set', true);
|
|
23426
|
-
var $mapHas = callBound('Map.prototype.has', true);
|
|
23427
23437
|
|
|
23428
23438
|
/*
|
|
23429
23439
|
* This function traverses the list returning the node corresponding to the given key.
|
|
23430
23440
|
*
|
|
23431
|
-
* 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.
|
|
23432
23443
|
*/
|
|
23433
|
-
/** @type {import('.').listGetNode} */
|
|
23434
|
-
|
|
23444
|
+
/** @type {import('./list.d.ts').listGetNode} */
|
|
23445
|
+
// eslint-disable-next-line consistent-return
|
|
23446
|
+
var listGetNode = function (list, key, isDelete) {
|
|
23435
23447
|
/** @type {typeof list | NonNullable<(typeof list)['next']>} */
|
|
23436
23448
|
var prev = list;
|
|
23437
23449
|
/** @type {(typeof list)['next']} */
|
|
23438
23450
|
var curr;
|
|
23439
|
-
|
|
23451
|
+
// eslint-disable-next-line eqeqeq
|
|
23452
|
+
for (; (curr = prev.next) != null; prev = curr) {
|
|
23440
23453
|
if (curr.key === key) {
|
|
23441
23454
|
prev.next = curr.next;
|
|
23442
|
-
|
|
23443
|
-
|
|
23444
|
-
|
|
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
|
+
}
|
|
23445
23460
|
return curr;
|
|
23446
23461
|
}
|
|
23447
23462
|
}
|
|
23448
23463
|
};
|
|
23449
23464
|
|
|
23450
|
-
/** @type {import('.').listGet} */
|
|
23465
|
+
/** @type {import('./list.d.ts').listGet} */
|
|
23451
23466
|
var listGet = function (objects, key) {
|
|
23467
|
+
if (!objects) {
|
|
23468
|
+
return void undefined;
|
|
23469
|
+
}
|
|
23452
23470
|
var node = listGetNode(objects, key);
|
|
23453
23471
|
return node && node.value;
|
|
23454
23472
|
};
|
|
23455
|
-
/** @type {import('.').listSet} */
|
|
23473
|
+
/** @type {import('./list.d.ts').listSet} */
|
|
23456
23474
|
var listSet = function (objects, key, value) {
|
|
23457
23475
|
var node = listGetNode(objects, key);
|
|
23458
23476
|
if (node) {
|
|
23459
23477
|
node.value = value;
|
|
23460
23478
|
} else {
|
|
23461
23479
|
// Prepend the new node to the beginning of the list
|
|
23462
|
-
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
|
|
23463
23481
|
key: key,
|
|
23464
23482
|
next: objects.next,
|
|
23465
23483
|
value: value
|
|
23466
23484
|
});
|
|
23467
23485
|
}
|
|
23468
23486
|
};
|
|
23469
|
-
/** @type {import('.').listHas} */
|
|
23487
|
+
/** @type {import('./list.d.ts').listHas} */
|
|
23470
23488
|
var listHas = function (objects, key) {
|
|
23489
|
+
if (!objects) {
|
|
23490
|
+
return false;
|
|
23491
|
+
}
|
|
23471
23492
|
return !!listGetNode(objects, key);
|
|
23472
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
|
+
};
|
|
23473
23501
|
|
|
23474
23502
|
/** @type {import('.')} */
|
|
23475
|
-
module.exports = function
|
|
23476
|
-
/** @
|
|
23477
|
-
/** @
|
|
23478
|
-
/** @
|
|
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;
|
|
23479
23509
|
|
|
23480
|
-
/** @type {
|
|
23510
|
+
/** @type {Channel} */
|
|
23481
23511
|
var channel = {
|
|
23482
23512
|
assert: function (key) {
|
|
23483
23513
|
if (!channel.has(key)) {
|
|
23484
23514
|
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
|
23485
23515
|
}
|
|
23486
23516
|
},
|
|
23487
|
-
|
|
23488
|
-
|
|
23489
|
-
|
|
23490
|
-
|
|
23491
|
-
|
|
23492
|
-
} else if ($Map) {
|
|
23493
|
-
if ($m) {
|
|
23494
|
-
return $mapGet($m, key);
|
|
23495
|
-
}
|
|
23496
|
-
} else {
|
|
23497
|
-
if ($o) { // eslint-disable-line no-lonely-if
|
|
23498
|
-
return listGet($o, key);
|
|
23499
|
-
}
|
|
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;
|
|
23500
23522
|
}
|
|
23523
|
+
return !!deletedNode;
|
|
23524
|
+
},
|
|
23525
|
+
get: function (key) {
|
|
23526
|
+
return listGet($o, key);
|
|
23501
23527
|
},
|
|
23502
23528
|
has: function (key) {
|
|
23503
|
-
|
|
23504
|
-
|
|
23505
|
-
|
|
23506
|
-
|
|
23507
|
-
|
|
23508
|
-
|
|
23509
|
-
|
|
23510
|
-
}
|
|
23511
|
-
}
|
|
23512
|
-
|
|
23513
|
-
|
|
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;
|
|
23514
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);
|
|
23515
23609
|
}
|
|
23516
23610
|
return false;
|
|
23517
23611
|
},
|
|
23518
23612
|
set: function (key, value) {
|
|
23519
|
-
if (
|
|
23520
|
-
|
|
23521
|
-
|
|
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));
|
|
23669
|
+
}
|
|
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
|
+
}
|
|
23522
23680
|
}
|
|
23523
|
-
|
|
23524
|
-
}
|
|
23525
|
-
|
|
23526
|
-
|
|
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
|
+
}
|
|
23527
23688
|
}
|
|
23528
|
-
$
|
|
23529
|
-
}
|
|
23530
|
-
|
|
23531
|
-
|
|
23532
|
-
$
|
|
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);
|
|
23533
23711
|
}
|
|
23534
|
-
listSet($o, key, value);
|
|
23535
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);
|
|
23536
23768
|
}
|
|
23537
23769
|
};
|
|
23770
|
+
// @ts-expect-error TODO: figure out why this is erroring
|
|
23538
23771
|
return channel;
|
|
23539
23772
|
};
|
|
23540
23773
|
|
|
@@ -31170,7 +31403,7 @@ function createClient(params, opts = {}) {
|
|
|
31170
31403
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
31171
31404
|
const userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(
|
|
31172
31405
|
// @ts-expect-error
|
|
31173
|
-
`${sdkMain}/${"11.43.
|
|
31406
|
+
`${sdkMain}/${"11.43.1"}`, params.application, params.integration, params.feature);
|
|
31174
31407
|
const adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
31175
31408
|
userAgent
|
|
31176
31409
|
}));
|