@swagger-api/apidom-parser-adapter-json 0.82.0 → 0.82.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/cjs/syntactic-analysis/direct/index.cjs +1 -1
- package/cjs/syntactic-analysis/indirect/index.cjs +1 -1
- package/dist/apidom-parser-adapter-json.browser.js +24 -172
- package/dist/apidom-parser-adapter-json.browser.min.js +1 -1
- package/es/syntactic-analysis/direct/index.mjs +1 -1
- package/es/syntactic-analysis/indirect/index.mjs +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.82.2](https://github.com/swagger-api/apidom/compare/v0.82.1...v0.82.2) (2023-11-03)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- return support for Node.js >=12.20.0 ([#3356](https://github.com/swagger-api/apidom/issues/3356)) ([75528ec](https://github.com/swagger-api/apidom/commit/75528eca3cc54bfae2240d8482d0858f0f7dbef9))
|
|
11
|
+
|
|
12
|
+
## [0.82.1](https://github.com/swagger-api/apidom/compare/v0.82.0...v0.82.1) (2023-11-03)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-json
|
|
15
|
+
|
|
6
16
|
# [0.82.0](https://github.com/swagger-api/apidom/compare/v0.81.0...v0.82.0) (2023-11-01)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-json
|
|
@@ -49,7 +49,7 @@ const analyze = (cst, {
|
|
|
49
49
|
const visitor = (0, _CstVisitor.default)();
|
|
50
50
|
const cursor = cst.walk();
|
|
51
51
|
const iterator = new _TreeCursorIterator.default(cursor);
|
|
52
|
-
const rootNode = [...iterator]
|
|
52
|
+
const rootNode = [...iterator][0];
|
|
53
53
|
return (0, _apidomAst.visit)(rootNode, visitor, {
|
|
54
54
|
// @ts-ignore
|
|
55
55
|
keyMap,
|
|
@@ -28,7 +28,7 @@ const analyze = (cst, {
|
|
|
28
28
|
} = {}) => {
|
|
29
29
|
const cursor = cst.walk();
|
|
30
30
|
const iterator = new _TreeCursorIterator.default(cursor);
|
|
31
|
-
const rootNode = [...iterator]
|
|
31
|
+
const rootNode = [...iterator][0];
|
|
32
32
|
const cstVisitor = (0, _CstVisitor.default)();
|
|
33
33
|
const astVisitor = (0, _JsonAstVisitor.default)();
|
|
34
34
|
const jsonAst = (0, _apidomAst.visit)(rootNode, cstVisitor, {
|
|
@@ -289,7 +289,7 @@ const analyze = (cst, {
|
|
|
289
289
|
const visitor = (0,_visitors_CstVisitor__WEBPACK_IMPORTED_MODULE_3__["default"])();
|
|
290
290
|
const cursor = cst.walk();
|
|
291
291
|
const iterator = new _TreeCursorIterator__WEBPACK_IMPORTED_MODULE_4__["default"](cursor);
|
|
292
|
-
const rootNode = [...iterator]
|
|
292
|
+
const rootNode = [...iterator][0];
|
|
293
293
|
return (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_2__.visit)(rootNode, visitor, {
|
|
294
294
|
// @ts-ignore
|
|
295
295
|
keyMap,
|
|
@@ -528,7 +528,7 @@ const analyze = (cst, {
|
|
|
528
528
|
} = {}) => {
|
|
529
529
|
const cursor = cst.walk();
|
|
530
530
|
const iterator = new _TreeCursorIterator__WEBPACK_IMPORTED_MODULE_0__["default"](cursor);
|
|
531
|
-
const rootNode = [...iterator]
|
|
531
|
+
const rootNode = [...iterator][0];
|
|
532
532
|
const cstVisitor = (0,_visitors_CstVisitor__WEBPACK_IMPORTED_MODULE_1__["default"])();
|
|
533
533
|
const astVisitor = (0,_visitors_JsonAstVisitor__WEBPACK_IMPORTED_MODULE_2__["default"])();
|
|
534
534
|
const jsonAst = (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__.visit)(rootNode, cstVisitor, {
|
|
@@ -4155,7 +4155,7 @@ module.exports = Set;
|
|
|
4155
4155
|
|
|
4156
4156
|
/***/ }),
|
|
4157
4157
|
|
|
4158
|
-
/***/
|
|
4158
|
+
/***/ 5386:
|
|
4159
4159
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4160
4160
|
|
|
4161
4161
|
var MapCache = __webpack_require__(6738),
|
|
@@ -4890,7 +4890,7 @@ module.exports = coreJsData;
|
|
|
4890
4890
|
/***/ 4871:
|
|
4891
4891
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4892
4892
|
|
|
4893
|
-
var SetCache = __webpack_require__(
|
|
4893
|
+
var SetCache = __webpack_require__(5386),
|
|
4894
4894
|
arraySome = __webpack_require__(7064),
|
|
4895
4895
|
cacheHas = __webpack_require__(9950);
|
|
4896
4896
|
|
|
@@ -11178,59 +11178,6 @@ var flip =
|
|
|
11178
11178
|
|
|
11179
11179
|
/***/ }),
|
|
11180
11180
|
|
|
11181
|
-
/***/ 4506:
|
|
11182
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
11183
|
-
|
|
11184
|
-
"use strict";
|
|
11185
|
-
__webpack_require__.r(__webpack_exports__);
|
|
11186
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11187
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
11188
|
-
/* harmony export */ });
|
|
11189
|
-
/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5652);
|
|
11190
|
-
/* harmony import */ var _isNil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7596);
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
|
-
/**
|
|
11194
|
-
* Returns whether or not an object or its prototype chain has a property with
|
|
11195
|
-
* the specified name
|
|
11196
|
-
*
|
|
11197
|
-
* @func
|
|
11198
|
-
* @memberOf R
|
|
11199
|
-
* @since v0.7.0
|
|
11200
|
-
* @category Object
|
|
11201
|
-
* @sig s -> {s: x} -> Boolean
|
|
11202
|
-
* @param {String} prop The name of the property to check for.
|
|
11203
|
-
* @param {Object} obj The object to query.
|
|
11204
|
-
* @return {Boolean} Whether the property exists.
|
|
11205
|
-
* @example
|
|
11206
|
-
*
|
|
11207
|
-
* function Rectangle(width, height) {
|
|
11208
|
-
* this.width = width;
|
|
11209
|
-
* this.height = height;
|
|
11210
|
-
* }
|
|
11211
|
-
* Rectangle.prototype.area = function() {
|
|
11212
|
-
* return this.width * this.height;
|
|
11213
|
-
* };
|
|
11214
|
-
*
|
|
11215
|
-
* const square = new Rectangle(2, 2);
|
|
11216
|
-
* R.hasIn('width', square); //=> true
|
|
11217
|
-
* R.hasIn('area', square); //=> true
|
|
11218
|
-
*/
|
|
11219
|
-
|
|
11220
|
-
var hasIn =
|
|
11221
|
-
/*#__PURE__*/
|
|
11222
|
-
(0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function hasIn(prop, obj) {
|
|
11223
|
-
if ((0,_isNil_js__WEBPACK_IMPORTED_MODULE_1__["default"])(obj)) {
|
|
11224
|
-
return false;
|
|
11225
|
-
}
|
|
11226
|
-
|
|
11227
|
-
return prop in obj;
|
|
11228
|
-
});
|
|
11229
|
-
|
|
11230
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hasIn);
|
|
11231
|
-
|
|
11232
|
-
/***/ }),
|
|
11233
|
-
|
|
11234
11181
|
/***/ 7018:
|
|
11235
11182
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
11236
11183
|
|
|
@@ -12426,7 +12373,7 @@ function _isFunction(x) {
|
|
|
12426
12373
|
|
|
12427
12374
|
/***/ }),
|
|
12428
12375
|
|
|
12429
|
-
/***/
|
|
12376
|
+
/***/ 425:
|
|
12430
12377
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
12431
12378
|
|
|
12432
12379
|
"use strict";
|
|
@@ -13074,44 +13021,6 @@ var isEmpty =
|
|
|
13074
13021
|
|
|
13075
13022
|
/***/ }),
|
|
13076
13023
|
|
|
13077
|
-
/***/ 7596:
|
|
13078
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
13079
|
-
|
|
13080
|
-
"use strict";
|
|
13081
|
-
__webpack_require__.r(__webpack_exports__);
|
|
13082
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13083
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
13084
|
-
/* harmony export */ });
|
|
13085
|
-
/* harmony import */ var _internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9757);
|
|
13086
|
-
|
|
13087
|
-
/**
|
|
13088
|
-
* Checks if the input value is `null` or `undefined`.
|
|
13089
|
-
*
|
|
13090
|
-
* @func
|
|
13091
|
-
* @memberOf R
|
|
13092
|
-
* @since v0.9.0
|
|
13093
|
-
* @category Type
|
|
13094
|
-
* @sig * -> Boolean
|
|
13095
|
-
* @param {*} x The value to test.
|
|
13096
|
-
* @return {Boolean} `true` if `x` is `undefined` or `null`, otherwise `false`.
|
|
13097
|
-
* @example
|
|
13098
|
-
*
|
|
13099
|
-
* R.isNil(null); //=> true
|
|
13100
|
-
* R.isNil(undefined); //=> true
|
|
13101
|
-
* R.isNil(0); //=> false
|
|
13102
|
-
* R.isNil([]); //=> false
|
|
13103
|
-
*/
|
|
13104
|
-
|
|
13105
|
-
var isNil =
|
|
13106
|
-
/*#__PURE__*/
|
|
13107
|
-
(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function isNil(x) {
|
|
13108
|
-
return x == null;
|
|
13109
|
-
});
|
|
13110
|
-
|
|
13111
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isNil);
|
|
13112
|
-
|
|
13113
|
-
/***/ }),
|
|
13114
|
-
|
|
13115
13024
|
/***/ 3118:
|
|
13116
13025
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
13117
13026
|
|
|
@@ -13556,59 +13465,6 @@ var nth =
|
|
|
13556
13465
|
|
|
13557
13466
|
/***/ }),
|
|
13558
13467
|
|
|
13559
|
-
/***/ 4783:
|
|
13560
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
13561
|
-
|
|
13562
|
-
"use strict";
|
|
13563
|
-
__webpack_require__.r(__webpack_exports__);
|
|
13564
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13565
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
13566
|
-
/* harmony export */ });
|
|
13567
|
-
/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5652);
|
|
13568
|
-
|
|
13569
|
-
/**
|
|
13570
|
-
* Returns a partial copy of an object omitting the keys specified.
|
|
13571
|
-
*
|
|
13572
|
-
* @func
|
|
13573
|
-
* @memberOf R
|
|
13574
|
-
* @since v0.1.0
|
|
13575
|
-
* @category Object
|
|
13576
|
-
* @sig [String] -> {String: *} -> {String: *}
|
|
13577
|
-
* @param {Array} names an array of String property names to omit from the new object
|
|
13578
|
-
* @param {Object} obj The object to copy from
|
|
13579
|
-
* @return {Object} A new object with properties from `names` not on it.
|
|
13580
|
-
* @see R.pick
|
|
13581
|
-
* @example
|
|
13582
|
-
*
|
|
13583
|
-
* R.omit(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, c: 3}
|
|
13584
|
-
*/
|
|
13585
|
-
|
|
13586
|
-
var omit =
|
|
13587
|
-
/*#__PURE__*/
|
|
13588
|
-
(0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function omit(names, obj) {
|
|
13589
|
-
var result = {};
|
|
13590
|
-
var index = {};
|
|
13591
|
-
var idx = 0;
|
|
13592
|
-
var len = names.length;
|
|
13593
|
-
|
|
13594
|
-
while (idx < len) {
|
|
13595
|
-
index[names[idx]] = 1;
|
|
13596
|
-
idx += 1;
|
|
13597
|
-
}
|
|
13598
|
-
|
|
13599
|
-
for (var prop in obj) {
|
|
13600
|
-
if (!index.hasOwnProperty(prop)) {
|
|
13601
|
-
result[prop] = obj[prop];
|
|
13602
|
-
}
|
|
13603
|
-
}
|
|
13604
|
-
|
|
13605
|
-
return result;
|
|
13606
|
-
});
|
|
13607
|
-
|
|
13608
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (omit);
|
|
13609
|
-
|
|
13610
|
-
/***/ }),
|
|
13611
|
-
|
|
13612
13468
|
/***/ 9154:
|
|
13613
13469
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
13614
13470
|
|
|
@@ -13708,7 +13564,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13708
13564
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
13709
13565
|
/* harmony export */ });
|
|
13710
13566
|
/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5652);
|
|
13711
|
-
/* harmony import */ var _internal_isInteger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
13567
|
+
/* harmony import */ var _internal_isInteger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(425);
|
|
13712
13568
|
/* harmony import */ var _nth_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9605);
|
|
13713
13569
|
|
|
13714
13570
|
|
|
@@ -13870,7 +13726,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13870
13726
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
13871
13727
|
/* harmony export */ });
|
|
13872
13728
|
/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5652);
|
|
13873
|
-
/* harmony import */ var _internal_isInteger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
13729
|
+
/* harmony import */ var _internal_isInteger_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(425);
|
|
13874
13730
|
/* harmony import */ var _nth_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9605);
|
|
13875
13731
|
|
|
13876
13732
|
|
|
@@ -15228,8 +15084,9 @@ visitor, {
|
|
|
15228
15084
|
}
|
|
15229
15085
|
} while (stack !== undefined);
|
|
15230
15086
|
if (edits.length !== 0) {
|
|
15231
|
-
return edits.
|
|
15087
|
+
return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
|
|
15232
15088
|
}
|
|
15089
|
+
|
|
15233
15090
|
return root;
|
|
15234
15091
|
};
|
|
15235
15092
|
|
|
@@ -15380,8 +15237,9 @@ visitor, {
|
|
|
15380
15237
|
}
|
|
15381
15238
|
} while (stack !== undefined);
|
|
15382
15239
|
if (edits.length !== 0) {
|
|
15383
|
-
return edits.
|
|
15240
|
+
return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
|
|
15384
15241
|
}
|
|
15242
|
+
|
|
15385
15243
|
return root;
|
|
15386
15244
|
};
|
|
15387
15245
|
|
|
@@ -16313,10 +16171,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16313
16171
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
16314
16172
|
/* harmony export */ });
|
|
16315
16173
|
/* harmony import */ var _babel_runtime_corejs3_core_js_aggregate_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1427);
|
|
16316
|
-
/* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9723);
|
|
16317
|
-
/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4506);
|
|
16318
|
-
|
|
16319
|
-
|
|
16320
16174
|
|
|
16321
16175
|
class ApiDOMAggregateError extends _babel_runtime_corejs3_core_js_aggregate_error__WEBPACK_IMPORTED_MODULE_0__ {
|
|
16322
16176
|
constructor(errors, message, options) {
|
|
@@ -16333,15 +16187,15 @@ class ApiDOMAggregateError extends _babel_runtime_corejs3_core_js_aggregate_erro
|
|
|
16333
16187
|
|
|
16334
16188
|
/**
|
|
16335
16189
|
* This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
|
|
16336
|
-
* Node.js
|
|
16190
|
+
* Node.js >= 16.9.0 supports error causes natively.
|
|
16337
16191
|
*/
|
|
16338
|
-
if (
|
|
16192
|
+
if (options != null && typeof options === 'object' && Object.hasOwn(options, 'cause') && !('cause' in this)) {
|
|
16339
16193
|
const {
|
|
16340
16194
|
cause
|
|
16341
16195
|
} = options;
|
|
16342
16196
|
this.cause = cause;
|
|
16343
|
-
if (cause instanceof Error &&
|
|
16344
|
-
this.stack = `${this.stack}\nCAUSE: ${cause
|
|
16197
|
+
if (cause instanceof Error && 'stack' in cause) {
|
|
16198
|
+
this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
|
|
16345
16199
|
}
|
|
16346
16200
|
}
|
|
16347
16201
|
}
|
|
@@ -16358,12 +16212,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16358
16212
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16359
16213
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
16360
16214
|
/* harmony export */ });
|
|
16361
|
-
/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4506);
|
|
16362
|
-
/* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9723);
|
|
16363
16215
|
/* harmony import */ var _ApiDOMAggregateError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7345);
|
|
16364
16216
|
|
|
16365
|
-
|
|
16366
|
-
|
|
16367
16217
|
class ApiDOMError extends Error {
|
|
16368
16218
|
static [Symbol.hasInstance](instance) {
|
|
16369
16219
|
// we want to ApiDOMAggregateError to act as if ApiDOMError was its superclass
|
|
@@ -16385,13 +16235,13 @@ class ApiDOMError extends Error {
|
|
|
16385
16235
|
* This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
|
|
16386
16236
|
* Node.js is >= 16.9.0 supports error causes natively.
|
|
16387
16237
|
*/
|
|
16388
|
-
if (
|
|
16238
|
+
if (options != null && typeof options === 'object' && Object.hasOwn(options, 'cause') && !('cause' in this)) {
|
|
16389
16239
|
const {
|
|
16390
16240
|
cause
|
|
16391
16241
|
} = options;
|
|
16392
16242
|
this.cause = cause;
|
|
16393
|
-
if (cause instanceof Error &&
|
|
16394
|
-
this.stack = `${this.stack}\nCAUSE: ${cause
|
|
16243
|
+
if (cause instanceof Error && 'stack' in cause) {
|
|
16244
|
+
this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
|
|
16395
16245
|
}
|
|
16396
16246
|
}
|
|
16397
16247
|
}
|
|
@@ -16408,15 +16258,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16408
16258
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16409
16259
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
16410
16260
|
/* harmony export */ });
|
|
16411
|
-
/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4783);
|
|
16412
16261
|
/* harmony import */ var _ApiDOMError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7471);
|
|
16413
16262
|
|
|
16414
|
-
|
|
16415
16263
|
class ApiDOMStructuredError extends _ApiDOMError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
16416
16264
|
constructor(message, structuredOptions) {
|
|
16417
16265
|
super(message, structuredOptions);
|
|
16418
|
-
if (typeof structuredOptions
|
|
16419
|
-
|
|
16266
|
+
if (structuredOptions != null && typeof structuredOptions === 'object') {
|
|
16267
|
+
const {
|
|
16268
|
+
cause,
|
|
16269
|
+
...causelessOptions
|
|
16270
|
+
} = structuredOptions;
|
|
16271
|
+
Object.assign(this, causelessOptions);
|
|
16420
16272
|
}
|
|
16421
16273
|
}
|
|
16422
16274
|
}
|