standard-log 12.1.0 → 12.1.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/cjs/{standard_log.mocks.d.ts → standard_log.testing.d.ts} +10 -2
- package/cjs/standard_log.testing.d.ts.map +1 -0
- package/cjs/{standard_log.mocks.js → standard_log.testing.js} +7 -1
- package/cjs/standard_log.testing.js.map +1 -0
- package/cjs/testing/index.d.ts +1 -1
- package/cjs/testing/index.d.ts.map +1 -1
- package/cjs/testing/index.js +2 -2
- package/cjs/testing/index.js.map +1 -1
- package/dist/standard-log.es5.js +640 -661
- package/dist/standard-log.es5.js.gz +0 -0
- package/dist/standard-log.es5.js.map +1 -1
- package/dist/standard-log.es5.js.map.gz +0 -0
- package/dist/standard-log.esm.js +72 -89
- package/dist/standard-log.esm.js.gz +0 -0
- package/dist/standard-log.esm.js.map +1 -1
- package/dist/standard-log.esm.js.map.gz +0 -0
- package/esm/{standard_log.mocks.d.ts → standard_log.testing.d.ts} +10 -2
- package/esm/standard_log.testing.d.ts.map +1 -0
- package/esm/{standard_log.mocks.js → standard_log.testing.js} +7 -1
- package/esm/standard_log.testing.js.map +1 -0
- package/esm/testing/index.d.ts +1 -1
- package/esm/testing/index.d.ts.map +1 -1
- package/esm/testing/index.js +1 -1
- package/esm/testing/index.js.map +1 -1
- package/package.json +4 -3
- package/ts/{standard_log.mocks.ts → standard_log.testing.ts} +18 -1
- package/ts/testing/index.ts +5 -1
- package/cjs/standard_log.mocks.d.ts.map +0 -1
- package/cjs/standard_log.mocks.js.map +0 -1
- package/esm/standard_log.mocks.d.ts.map +0 -1
- package/esm/standard_log.mocks.js.map +0 -1
package/dist/standard-log.es5.js
CHANGED
|
@@ -5822,7 +5822,7 @@ function plural(ms, msAbs, n, name) {
|
|
|
5822
5822
|
|
|
5823
5823
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5824
5824
|
exports.createConsoleLogReporter = exports.toConsoleMethod = void 0;
|
|
5825
|
-
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@
|
|
5825
|
+
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/index.js");
|
|
5826
5826
|
var formatter_js_1 = __webpack_require__(/*! ./formatter.js */ "./ts/formatter.ts");
|
|
5827
5827
|
var log_levels_js_1 = __webpack_require__(/*! ./log_levels.js */ "./ts/log_levels.ts");
|
|
5828
5828
|
var platform_js_1 = __webpack_require__(/*! ./platform.js */ "./ts/platform.browser.ts");
|
|
@@ -5930,7 +5930,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
5930
5930
|
})();
|
|
5931
5931
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5932
5932
|
exports.InvalidId = exports.StandardLogError = void 0;
|
|
5933
|
-
var iso_error_1 = __webpack_require__(/*! iso-error */ "../../node_modules/.pnpm/iso-error@6.0.
|
|
5933
|
+
var iso_error_1 = __webpack_require__(/*! iso-error */ "../../node_modules/.pnpm/iso-error@6.0.0/node_modules/iso-error/cjs/index.js");
|
|
5934
5934
|
/**
|
|
5935
5935
|
* @deprecated No longer used since 11.2.0
|
|
5936
5936
|
*/
|
|
@@ -6211,7 +6211,7 @@ exports.DEFAULT_LOG_METHOD_NAMES = [
|
|
|
6211
6211
|
|
|
6212
6212
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6213
6213
|
exports.logLevelStore = exports.createLogStore = void 0;
|
|
6214
|
-
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@
|
|
6214
|
+
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/index.js");
|
|
6215
6215
|
var console_js_1 = __webpack_require__(/*! ./console.js */ "./ts/console.ts");
|
|
6216
6216
|
var log_levels_js_1 = __webpack_require__(/*! ./log_levels.js */ "./ts/log_levels.ts");
|
|
6217
6217
|
function createLogStore(options) {
|
|
@@ -6374,7 +6374,7 @@ function shouldLog(store, targetLevel, loggerLevel) {
|
|
|
6374
6374
|
|
|
6375
6375
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6376
6376
|
exports.createMemoryWithConsoleLogReporter = exports.createMemoryLogReporter = exports.toMessageWithLevel = void 0;
|
|
6377
|
-
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@
|
|
6377
|
+
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/index.js");
|
|
6378
6378
|
var platform_js_1 = __webpack_require__(/*! ./platform.js */ "./ts/platform.browser.ts");
|
|
6379
6379
|
var formatter_js_1 = __webpack_require__(/*! ./formatter.js */ "./ts/formatter.ts");
|
|
6380
6380
|
var console_js_1 = __webpack_require__(/*! ./console.js */ "./ts/console.ts");
|
|
@@ -6458,7 +6458,7 @@ exports.createMemoryWithConsoleLogReporter = createMemoryWithConsoleLogReporter;
|
|
|
6458
6458
|
|
|
6459
6459
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6460
6460
|
exports.polyfill = exports.toInspectLogEntry = void 0;
|
|
6461
|
-
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@
|
|
6461
|
+
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/index.js");
|
|
6462
6462
|
var toInspectLogEntry = function (e) { return e; };
|
|
6463
6463
|
exports.toInspectLogEntry = toInspectLogEntry;
|
|
6464
6464
|
exports.polyfill = (0, type_plus_1.record)();
|
|
@@ -6476,7 +6476,7 @@ exports.polyfill = (0, type_plus_1.record)();
|
|
|
6476
6476
|
|
|
6477
6477
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6478
6478
|
exports.ctx = void 0;
|
|
6479
|
-
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@
|
|
6479
|
+
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/index.js");
|
|
6480
6480
|
exports.ctx = (0, type_plus_1.record)();
|
|
6481
6481
|
|
|
6482
6482
|
|
|
@@ -6503,7 +6503,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
6503
6503
|
};
|
|
6504
6504
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6505
6505
|
exports.configGlobal = exports.getLogger = exports.suppressLogs = exports.createStandardLogClosure = exports.createStandardLog = void 0;
|
|
6506
|
-
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@
|
|
6506
|
+
var type_plus_1 = __webpack_require__(/*! type-plus */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/index.js");
|
|
6507
6507
|
var log_levels_js_1 = __webpack_require__(/*! ./log_levels.js */ "./ts/log_levels.ts");
|
|
6508
6508
|
var log_store_js_1 = __webpack_require__(/*! ./log_store.js */ "./ts/log_store.ts");
|
|
6509
6509
|
var logger_js_1 = __webpack_require__(/*! ./logger.js */ "./ts/logger.ts");
|
|
@@ -6678,14 +6678,15 @@ exports.upperCase = upperCase;
|
|
|
6678
6678
|
|
|
6679
6679
|
/***/ }),
|
|
6680
6680
|
|
|
6681
|
-
/***/ "../../node_modules/.pnpm/iso-error@6.0.
|
|
6681
|
+
/***/ "../../node_modules/.pnpm/iso-error@6.0.0/node_modules/iso-error/cjs/index.js":
|
|
6682
6682
|
/*!************************************************************************************!*\
|
|
6683
|
-
!*** ../../node_modules/.pnpm/iso-error@6.0.
|
|
6683
|
+
!*** ../../node_modules/.pnpm/iso-error@6.0.0/node_modules/iso-error/cjs/index.js ***!
|
|
6684
6684
|
\************************************************************************************/
|
|
6685
6685
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6686
6686
|
|
|
6687
6687
|
"use strict";
|
|
6688
6688
|
|
|
6689
|
+
/* eslint-disable @typescript-eslint/unbound-method */
|
|
6689
6690
|
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
6690
6691
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
6691
6692
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
@@ -6702,7 +6703,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
6702
6703
|
}
|
|
6703
6704
|
return t;
|
|
6704
6705
|
};
|
|
6705
|
-
var _a, _IsoError_hasCause, _IsoError_toIsoError;
|
|
6706
|
+
var _SerializableConverter_instances, _SerializableConverter_plugins, _SerializableConverter_fromSerializable, _SerializableConverter_deserializeError, _SerializableConverter_toSerializable, _a, _IsoError_hasCause, _IsoError_toIsoError;
|
|
6706
6707
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6707
6708
|
exports.isAggregateError = exports.ModuleError = exports.IsoError = exports.SerializableConverter = void 0;
|
|
6708
6709
|
//#region captureStackTrace polyfill
|
|
@@ -6717,9 +6718,7 @@ if (!Error.captureStackTrace) {
|
|
|
6717
6718
|
defineStack(this, container.stack);
|
|
6718
6719
|
return container.stack;
|
|
6719
6720
|
},
|
|
6720
|
-
set: function (stack) {
|
|
6721
|
-
defineStack(error, stack);
|
|
6722
|
-
}
|
|
6721
|
+
set: function (stack) { defineStack(error, stack); },
|
|
6723
6722
|
});
|
|
6724
6723
|
};
|
|
6725
6724
|
}
|
|
@@ -6728,77 +6727,71 @@ function defineStack(target, value) {
|
|
|
6728
6727
|
Object.defineProperty(target, 'stack', {
|
|
6729
6728
|
configurable: true,
|
|
6730
6729
|
value,
|
|
6731
|
-
writable: true
|
|
6730
|
+
writable: true,
|
|
6732
6731
|
});
|
|
6733
6732
|
}
|
|
6734
6733
|
class SerializableConverter {
|
|
6735
6734
|
constructor() {
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
configurable: true,
|
|
6739
|
-
writable: true,
|
|
6740
|
-
value: []
|
|
6741
|
-
});
|
|
6735
|
+
_SerializableConverter_instances.add(this);
|
|
6736
|
+
_SerializableConverter_plugins.set(this, []);
|
|
6742
6737
|
}
|
|
6743
6738
|
addPlugin(plugin) {
|
|
6744
|
-
this.
|
|
6739
|
+
__classPrivateFieldGet(this, _SerializableConverter_plugins, "f").unshift(plugin);
|
|
6745
6740
|
}
|
|
6746
6741
|
/**
|
|
6747
6742
|
* Deserialize an `Error` from `Serializable`
|
|
6748
6743
|
*/
|
|
6749
6744
|
fromSerializable(json, options) {
|
|
6750
|
-
const err = this.
|
|
6745
|
+
const err = __classPrivateFieldGet(this, _SerializableConverter_instances, "m", _SerializableConverter_deserializeError).call(this, json);
|
|
6751
6746
|
Error.captureStackTrace(err, options === null || options === void 0 ? void 0 : options.ssf);
|
|
6752
6747
|
return err;
|
|
6753
6748
|
}
|
|
6754
|
-
fromSerializableImpl(json) {
|
|
6755
|
-
if (json.name === 'AggregateError') {
|
|
6756
|
-
const _b = json, { message, errors } = _b, rest = __rest(_b, ["message", "errors"]);
|
|
6757
|
-
// @ts-ignore
|
|
6758
|
-
// istanbul ignore next
|
|
6759
|
-
if (__webpack_require__.g.AggregateError) {
|
|
6760
|
-
return Object.assign(new AggregateError(errors, message), rest);
|
|
6761
|
-
}
|
|
6762
|
-
else {
|
|
6763
|
-
return Object.assign(new Error(message), Object.assign(Object.assign({}, rest), { errors }));
|
|
6764
|
-
}
|
|
6765
|
-
}
|
|
6766
|
-
const { message, cause } = json, rest = __rest(json, ["message", "cause"]);
|
|
6767
|
-
const causeError = cause ? this.deserializeError(cause) : undefined;
|
|
6768
|
-
if (json.name === 'Error') {
|
|
6769
|
-
return Object.assign(new Error(message), causeError ? Object.assign(Object.assign({}, rest), { cause: causeError }) : rest);
|
|
6770
|
-
}
|
|
6771
|
-
// @ts-ignore
|
|
6772
|
-
return Object.assign(new IsoError(message, causeError ? { cause: causeError } : undefined), rest);
|
|
6773
|
-
}
|
|
6774
|
-
deserializeError(json) {
|
|
6775
|
-
let err = undefined;
|
|
6776
|
-
for (const { fromSerializable } of this.plugins) {
|
|
6777
|
-
err = fromSerializable(json);
|
|
6778
|
-
if (err)
|
|
6779
|
-
break;
|
|
6780
|
-
}
|
|
6781
|
-
return err || this.fromSerializableImpl(json);
|
|
6782
|
-
}
|
|
6783
6749
|
/**
|
|
6784
6750
|
* Serialize `Error` to `Serializable`
|
|
6785
6751
|
*/
|
|
6786
6752
|
toSerializable(err) {
|
|
6787
|
-
return (this.
|
|
6753
|
+
return __classPrivateFieldGet(this, _SerializableConverter_plugins, "f").reduce((p, s) => p || s.toSerializable(err), undefined) || __classPrivateFieldGet(this, _SerializableConverter_instances, "m", _SerializableConverter_toSerializable).call(this, err);
|
|
6788
6754
|
}
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
|
|
6755
|
+
}
|
|
6756
|
+
exports.SerializableConverter = SerializableConverter;
|
|
6757
|
+
_SerializableConverter_plugins = new WeakMap(), _SerializableConverter_instances = new WeakSet(), _SerializableConverter_fromSerializable = function _SerializableConverter_fromSerializable(json) {
|
|
6758
|
+
if (json.name === 'AggregateError') {
|
|
6759
|
+
const _b = json, { message, errors } = _b, rest = __rest(_b, ["message", "errors"]);
|
|
6760
|
+
// @ts-ignore
|
|
6761
|
+
// istanbul ignore next
|
|
6762
|
+
if (__webpack_require__.g.AggregateError) {
|
|
6763
|
+
return Object.assign(new AggregateError(errors, message), rest);
|
|
6792
6764
|
}
|
|
6793
|
-
|
|
6794
|
-
|
|
6795
|
-
return cause
|
|
6796
|
-
? Object.assign(Object.assign({}, err), { name: err.constructor.name, message, cause: this.toSerializableImpl(cause) }) : Object.assign(Object.assign({}, err), { name: err.constructor.name, message });
|
|
6765
|
+
else {
|
|
6766
|
+
return Object.assign(new Error(message), Object.assign(Object.assign({}, rest), { errors }));
|
|
6797
6767
|
}
|
|
6798
|
-
return err;
|
|
6799
6768
|
}
|
|
6800
|
-
}
|
|
6801
|
-
|
|
6769
|
+
const { message, cause } = json, rest = __rest(json, ["message", "cause"]);
|
|
6770
|
+
const causeError = cause ? __classPrivateFieldGet(this, _SerializableConverter_instances, "m", _SerializableConverter_deserializeError).call(this, cause) : undefined;
|
|
6771
|
+
if (json.name === 'Error') {
|
|
6772
|
+
return Object.assign(new Error(message), causeError ? Object.assign(Object.assign({}, rest), { cause: causeError }) : rest);
|
|
6773
|
+
}
|
|
6774
|
+
// @ts-ignore
|
|
6775
|
+
return Object.assign(new IsoError(message, causeError ? { cause: causeError } : undefined), rest);
|
|
6776
|
+
}, _SerializableConverter_deserializeError = function _SerializableConverter_deserializeError(json) {
|
|
6777
|
+
let err = undefined;
|
|
6778
|
+
for (const { fromSerializable } of __classPrivateFieldGet(this, _SerializableConverter_plugins, "f")) {
|
|
6779
|
+
err = fromSerializable(json);
|
|
6780
|
+
if (err)
|
|
6781
|
+
break;
|
|
6782
|
+
}
|
|
6783
|
+
return err || __classPrivateFieldGet(this, _SerializableConverter_instances, "m", _SerializableConverter_fromSerializable).call(this, json);
|
|
6784
|
+
}, _SerializableConverter_toSerializable = function _SerializableConverter_toSerializable(err) {
|
|
6785
|
+
if (isAggregateError(err)) {
|
|
6786
|
+
return Object.assign(Object.assign({}, err), { name: err.constructor.name, message: err.message, errors: err.errors.map(__classPrivateFieldGet(this, _SerializableConverter_instances, "m", _SerializableConverter_toSerializable)) });
|
|
6787
|
+
}
|
|
6788
|
+
if (err instanceof Error) {
|
|
6789
|
+
const { message, cause } = err;
|
|
6790
|
+
return cause
|
|
6791
|
+
? Object.assign(Object.assign({}, err), { name: err.constructor.name, message, cause: __classPrivateFieldGet(this, _SerializableConverter_instances, "m", _SerializableConverter_toSerializable).call(this, cause) }) : Object.assign(Object.assign({}, err), { name: err.constructor.name, message });
|
|
6792
|
+
}
|
|
6793
|
+
return err;
|
|
6794
|
+
};
|
|
6802
6795
|
const getCircularReplacer = () => {
|
|
6803
6796
|
const seen = new WeakSet();
|
|
6804
6797
|
return (_, value) => {
|
|
@@ -6864,15 +6857,11 @@ class IsoError extends Error {
|
|
|
6864
6857
|
messages.push(`${err.name}: ${err.message}`);
|
|
6865
6858
|
}
|
|
6866
6859
|
if (isAggregateError(err)) {
|
|
6867
|
-
err.errors.forEach(e => messages.push(...this.trace(e)
|
|
6868
|
-
.split('\n')
|
|
6869
|
-
.map(s => ' ' + s)));
|
|
6860
|
+
err.errors.forEach(e => messages.push(...this.trace(e).split('\n').map(s => ' ' + s)));
|
|
6870
6861
|
}
|
|
6871
6862
|
if (err instanceof Error) {
|
|
6872
6863
|
if (__classPrivateFieldGet(this, _a, "m", _IsoError_hasCause).call(this, err))
|
|
6873
|
-
messages.push(...this.trace(err.cause)
|
|
6874
|
-
.split('\n')
|
|
6875
|
-
.map(s => ' ' + s));
|
|
6864
|
+
messages.push(...this.trace(err.cause).split('\n').map(s => ' ' + s));
|
|
6876
6865
|
}
|
|
6877
6866
|
else {
|
|
6878
6867
|
messages.push(typeof err === 'string' ? err : JSON.stringify(err));
|
|
@@ -6916,14 +6905,12 @@ class IsoError extends Error {
|
|
|
6916
6905
|
if (options === null || options === void 0 ? void 0 : options.ssf)
|
|
6917
6906
|
Error.captureStackTrace(this, options.ssf);
|
|
6918
6907
|
}
|
|
6919
|
-
toString() {
|
|
6920
|
-
|
|
6921
|
-
}
|
|
6922
|
-
trace() {
|
|
6923
|
-
return IsoError.trace(this);
|
|
6924
|
-
}
|
|
6908
|
+
toString() { return IsoError.serialize(this); }
|
|
6909
|
+
trace() { return IsoError.trace(this); }
|
|
6925
6910
|
}
|
|
6911
|
+
exports.IsoError = IsoError;
|
|
6926
6912
|
_a = IsoError, _IsoError_hasCause = function _IsoError_hasCause(x) {
|
|
6913
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
6927
6914
|
return !!x.cause;
|
|
6928
6915
|
}, _IsoError_toIsoError = function _IsoError_toIsoError(err) {
|
|
6929
6916
|
var _b;
|
|
@@ -6938,7 +6925,6 @@ Object.defineProperty(IsoError, "converter", {
|
|
|
6938
6925
|
writable: true,
|
|
6939
6926
|
value: new SerializableConverter()
|
|
6940
6927
|
});
|
|
6941
|
-
exports.IsoError = IsoError;
|
|
6942
6928
|
/**
|
|
6943
6929
|
* An IsoError with a module property.
|
|
6944
6930
|
*/
|
|
@@ -6965,9 +6951,9 @@ exports.isAggregateError = isAggregateError;
|
|
|
6965
6951
|
|
|
6966
6952
|
/***/ }),
|
|
6967
6953
|
|
|
6968
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
6954
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/constants.js":
|
|
6969
6955
|
/*!*************************************************************************************!*\
|
|
6970
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
6956
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/constants.js ***!
|
|
6971
6957
|
\*************************************************************************************/
|
|
6972
6958
|
/***/ (function(__unused_webpack_module, exports) {
|
|
6973
6959
|
|
|
@@ -6981,9 +6967,9 @@ exports.defaultOptions = { maxLength: 120, references: [] };
|
|
|
6981
6967
|
|
|
6982
6968
|
/***/ }),
|
|
6983
6969
|
|
|
6984
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
6970
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/hasTersifyFn.js":
|
|
6985
6971
|
/*!****************************************************************************************!*\
|
|
6986
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
6972
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/hasTersifyFn.js ***!
|
|
6987
6973
|
\****************************************************************************************/
|
|
6988
6974
|
/***/ (function(__unused_webpack_module, exports) {
|
|
6989
6975
|
|
|
@@ -6999,9 +6985,9 @@ exports.hasTersifyFn = hasTersifyFn;
|
|
|
6999
6985
|
|
|
7000
6986
|
/***/ }),
|
|
7001
6987
|
|
|
7002
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
6988
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/index.js":
|
|
7003
6989
|
/*!*********************************************************************************!*\
|
|
7004
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
6990
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/index.js ***!
|
|
7005
6991
|
\*********************************************************************************/
|
|
7006
6992
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7007
6993
|
|
|
@@ -7023,17 +7009,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7023
7009
|
};
|
|
7024
7010
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7025
7011
|
exports.tersify = void 0;
|
|
7026
|
-
__exportStar(__webpack_require__(/*! ./tersible.js */ "../../node_modules/.pnpm/tersify@3.
|
|
7027
|
-
var tersify_js_1 = __webpack_require__(/*! ./tersify.js */ "../../node_modules/.pnpm/tersify@3.
|
|
7012
|
+
__exportStar(__webpack_require__(/*! ./tersible.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersible.js"), exports);
|
|
7013
|
+
var tersify_js_1 = __webpack_require__(/*! ./tersify.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersify.js");
|
|
7028
7014
|
Object.defineProperty(exports, "tersify", ({ enumerable: true, get: function () { return tersify_js_1.tersify; } }));
|
|
7029
|
-
__exportStar(__webpack_require__(/*! ./types.js */ "../../node_modules/.pnpm/tersify@3.
|
|
7015
|
+
__exportStar(__webpack_require__(/*! ./types.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/types.js"), exports);
|
|
7030
7016
|
//# sourceMappingURL=index.js.map
|
|
7031
7017
|
|
|
7032
7018
|
/***/ }),
|
|
7033
7019
|
|
|
7034
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
7020
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersible.js":
|
|
7035
7021
|
/*!************************************************************************************!*\
|
|
7036
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
7022
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersible.js ***!
|
|
7037
7023
|
\************************************************************************************/
|
|
7038
7024
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7039
7025
|
|
|
@@ -7056,7 +7042,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
7056
7042
|
})();
|
|
7057
7043
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7058
7044
|
exports.tersible = exports.Tersiblized = void 0;
|
|
7059
|
-
var tersify_js_1 = __webpack_require__(/*! ./tersify.js */ "../../node_modules/.pnpm/tersify@3.
|
|
7045
|
+
var tersify_js_1 = __webpack_require__(/*! ./tersify.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersify.js");
|
|
7060
7046
|
/**
|
|
7061
7047
|
* Create a Tersible mixin class
|
|
7062
7048
|
* NOTE: `this` in `tersify` is not typed.
|
|
@@ -7097,13 +7083,11 @@ exports.Tersiblized = Tersiblized;
|
|
|
7097
7083
|
* How can I "clone" a function or class?
|
|
7098
7084
|
*/
|
|
7099
7085
|
function tersible(subject, tersify) {
|
|
7100
|
-
var tersifyFn = tersify === undefined
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
}
|
|
7106
|
-
: tersify;
|
|
7086
|
+
var tersifyFn = tersify === undefined ?
|
|
7087
|
+
tersify_js_1.defaultTersify :
|
|
7088
|
+
typeof tersify === 'string' ?
|
|
7089
|
+
function () { return tersify; } :
|
|
7090
|
+
tersify;
|
|
7107
7091
|
Object.defineProperty(subject, 'tersify', {
|
|
7108
7092
|
value: tersifyFn,
|
|
7109
7093
|
enumerable: false,
|
|
@@ -7116,9 +7100,9 @@ exports.tersible = tersible;
|
|
|
7116
7100
|
|
|
7117
7101
|
/***/ }),
|
|
7118
7102
|
|
|
7119
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
7103
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersify.js":
|
|
7120
7104
|
/*!***********************************************************************************!*\
|
|
7121
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
7105
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersify.js ***!
|
|
7122
7106
|
\***********************************************************************************/
|
|
7123
7107
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7124
7108
|
|
|
@@ -7151,10 +7135,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
7151
7135
|
exports.tersify = exports.defaultTersify = void 0;
|
|
7152
7136
|
var is_buffer_1 = __importDefault(__webpack_require__(/*! is-buffer */ "../../node_modules/.pnpm/is-buffer@2.0.5/node_modules/is-buffer/index.js"));
|
|
7153
7137
|
var unpartial_1 = __webpack_require__(/*! unpartial */ "../../node_modules/.pnpm/unpartial@1.0.4/node_modules/unpartial/cjs/index.js");
|
|
7154
|
-
var constants_js_1 = __webpack_require__(/*! ./constants.js */ "../../node_modules/.pnpm/tersify@3.
|
|
7155
|
-
var hasTersifyFn_js_1 = __webpack_require__(/*! ./hasTersifyFn.js */ "../../node_modules/.pnpm/tersify@3.
|
|
7156
|
-
var tersifyFunction_js_1 = __webpack_require__(/*! ./tersifyFunction.js */ "../../node_modules/.pnpm/tersify@3.
|
|
7157
|
-
var trim_js_1 = __webpack_require__(/*! ./trim.js */ "../../node_modules/.pnpm/tersify@3.
|
|
7138
|
+
var constants_js_1 = __webpack_require__(/*! ./constants.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/constants.js");
|
|
7139
|
+
var hasTersifyFn_js_1 = __webpack_require__(/*! ./hasTersifyFn.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/hasTersifyFn.js");
|
|
7140
|
+
var tersifyFunction_js_1 = __webpack_require__(/*! ./tersifyFunction.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyFunction.js");
|
|
7141
|
+
var trim_js_1 = __webpack_require__(/*! ./trim.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/trim.js");
|
|
7158
7142
|
function defaultTersify(options) {
|
|
7159
7143
|
return tersify(this, options);
|
|
7160
7144
|
}
|
|
@@ -7191,21 +7175,21 @@ function getType(value) {
|
|
|
7191
7175
|
return type;
|
|
7192
7176
|
}
|
|
7193
7177
|
var tersifyFactory = {
|
|
7194
|
-
undefined: tersifyLiteral,
|
|
7195
|
-
null: tersifyLiteral,
|
|
7196
|
-
boolean: tersifyLiteral,
|
|
7197
|
-
number: tersifyLiteral,
|
|
7198
|
-
bigint: tersifyBigint,
|
|
7199
|
-
instance: tersifyInstance,
|
|
7200
|
-
string: tersifyString,
|
|
7201
|
-
symbol: tersifySymbol,
|
|
7202
|
-
function: tersifyFunction_js_1.tersifyFunction,
|
|
7203
|
-
object: tersifyObject,
|
|
7204
|
-
Buffer: tersifyBuffer,
|
|
7205
|
-
Date: tersifyDate,
|
|
7206
|
-
RegExp: tersifyRegExp,
|
|
7207
|
-
Array: tersifyArray,
|
|
7208
|
-
Error: tersifyError
|
|
7178
|
+
'undefined': tersifyLiteral,
|
|
7179
|
+
'null': tersifyLiteral,
|
|
7180
|
+
'boolean': tersifyLiteral,
|
|
7181
|
+
'number': tersifyLiteral,
|
|
7182
|
+
'bigint': tersifyBigint,
|
|
7183
|
+
'instance': tersifyInstance,
|
|
7184
|
+
'string': tersifyString,
|
|
7185
|
+
'symbol': tersifySymbol,
|
|
7186
|
+
'function': tersifyFunction_js_1.tersifyFunction,
|
|
7187
|
+
'object': tersifyObject,
|
|
7188
|
+
'Buffer': tersifyBuffer,
|
|
7189
|
+
'Date': tersifyDate,
|
|
7190
|
+
'RegExp': tersifyRegExp,
|
|
7191
|
+
'Array': tersifyArray,
|
|
7192
|
+
'Error': tersifyError
|
|
7209
7193
|
};
|
|
7210
7194
|
function tersifyLiteral(context, node, length) {
|
|
7211
7195
|
return (0, trim_js_1.trim)(context, String(node), length);
|
|
@@ -7292,11 +7276,10 @@ function tersifyObject(context, value, length) {
|
|
|
7292
7276
|
var hasSkippedProps = keys.length > props.length;
|
|
7293
7277
|
var content = hasSkippedProps ? props.join(', ') + ' ' : props.join(', ');
|
|
7294
7278
|
var trimmedContent = (0, trim_js_1.trim)(context, content, length - bracketLen);
|
|
7295
|
-
return keys.length === 0
|
|
7296
|
-
?
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
: "{ ".concat(trimmedContent, " }");
|
|
7279
|
+
return keys.length === 0 ? '{}' :
|
|
7280
|
+
trimmedContent.length === 0 ?
|
|
7281
|
+
(0, trim_js_1.trim)(context, "{ }", length) :
|
|
7282
|
+
"{ ".concat(trimmedContent, " }");
|
|
7300
7283
|
}
|
|
7301
7284
|
function tersifyInstance(context, value, length) {
|
|
7302
7285
|
var _a, _b;
|
|
@@ -7310,24 +7293,19 @@ function tersifyInstance(context, value, length) {
|
|
|
7310
7293
|
}
|
|
7311
7294
|
if (length <= 4)
|
|
7312
7295
|
switch (length) {
|
|
7313
|
-
case 4:
|
|
7314
|
-
|
|
7315
|
-
case
|
|
7316
|
-
|
|
7317
|
-
case
|
|
7318
|
-
return '..';
|
|
7319
|
-
case 1:
|
|
7320
|
-
return '.';
|
|
7321
|
-
case 0:
|
|
7322
|
-
return '';
|
|
7296
|
+
case 4: return '. {}';
|
|
7297
|
+
case 3: return '...';
|
|
7298
|
+
case 2: return '..';
|
|
7299
|
+
case 1: return '.';
|
|
7300
|
+
case 0: return '';
|
|
7323
7301
|
}
|
|
7324
7302
|
var proto = Object.getPrototypeOf(value);
|
|
7325
7303
|
var name = (_b = (_a = proto === null || proto === void 0 ? void 0 : proto.constructor) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : '';
|
|
7326
7304
|
var bracketLen = 2; // `{}`
|
|
7327
7305
|
var spaceLen = 1; // ' '
|
|
7328
|
-
var _c = length < name.length + spaceLen + bracketLen
|
|
7329
|
-
|
|
7330
|
-
|
|
7306
|
+
var _c = length < (name.length + spaceLen + bracketLen) ?
|
|
7307
|
+
[length - spaceLen - bracketLen, bracketLen] :
|
|
7308
|
+
[name.length, length - name.length - spaceLen], nameLength = _c[0], valueLength = _c[1];
|
|
7331
7309
|
var nameStr = nameLength ? "".concat((0, trim_js_1.trim)(context, name, nameLength), " ") : '';
|
|
7332
7310
|
var remaining = valueLength;
|
|
7333
7311
|
var keys = Object.keys(value);
|
|
@@ -7343,11 +7321,10 @@ function tersifyInstance(context, value, length) {
|
|
|
7343
7321
|
var hasSkippedProps = keys.length > props.length;
|
|
7344
7322
|
var content = hasSkippedProps ? props.join(', ') + ' ' : props.join(', ');
|
|
7345
7323
|
var trimmedContent = (0, trim_js_1.trim)(context, content, valueLength - bracketLen - 2);
|
|
7346
|
-
return keys.length === 0
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
: "".concat(nameStr, "{ ").concat(trimmedContent, " }");
|
|
7324
|
+
return keys.length === 0 ? "".concat(nameStr, "{}") :
|
|
7325
|
+
trimmedContent.length === 0 ?
|
|
7326
|
+
(0, trim_js_1.trim)(context, "".concat(nameStr, "{ }"), length) :
|
|
7327
|
+
"".concat(nameStr, "{ ").concat(trimmedContent, " }");
|
|
7351
7328
|
}
|
|
7352
7329
|
function getPropStr(context, bag, key, length, isLastKey) {
|
|
7353
7330
|
var commaAndSpaceLen = isLastKey ? 0 : 2;
|
|
@@ -7365,7 +7342,7 @@ function getPropStr(context, bag, key, length, isLastKey) {
|
|
|
7365
7342
|
var value = bag[key];
|
|
7366
7343
|
if (typeof value === 'function') {
|
|
7367
7344
|
var fnLen = 2;
|
|
7368
|
-
if (/^(.*)\s?=>\s?/.test(value.toString())) {
|
|
7345
|
+
if ((/^(.*)\s?=>\s?/.test(value.toString()))) {
|
|
7369
7346
|
var propValue = tersifyValue(__assign(__assign({}, context), { path: path }), value, length - key.length - commaAndSpaceLen - colonAndSpaceLen);
|
|
7370
7347
|
return "".concat(getPropKey(key), ": ").concat(propValue);
|
|
7371
7348
|
}
|
|
@@ -7389,9 +7366,9 @@ function getPropKey(key) {
|
|
|
7389
7366
|
|
|
7390
7367
|
/***/ }),
|
|
7391
7368
|
|
|
7392
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
7369
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyAcorn/index.js":
|
|
7393
7370
|
/*!**********************************************************************************************!*\
|
|
7394
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
7371
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyAcorn/index.js ***!
|
|
7395
7372
|
\**********************************************************************************************/
|
|
7396
7373
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7397
7374
|
|
|
@@ -7412,14 +7389,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7412
7389
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7413
7390
|
};
|
|
7414
7391
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7415
|
-
__exportStar(__webpack_require__(/*! ./tersifyAcorn.js */ "../../node_modules/.pnpm/tersify@3.
|
|
7392
|
+
__exportStar(__webpack_require__(/*! ./tersifyAcorn.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyAcorn/tersifyAcorn.js"), exports);
|
|
7416
7393
|
//# sourceMappingURL=index.js.map
|
|
7417
7394
|
|
|
7418
7395
|
/***/ }),
|
|
7419
7396
|
|
|
7420
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
7397
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyAcorn/isHigherBinaryOperatorOrder.js":
|
|
7421
7398
|
/*!********************************************************************************************************************!*\
|
|
7422
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
7399
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyAcorn/isHigherBinaryOperatorOrder.js ***!
|
|
7423
7400
|
\********************************************************************************************************************/
|
|
7424
7401
|
/***/ (function(__unused_webpack_module, exports) {
|
|
7425
7402
|
|
|
@@ -7461,25 +7438,14 @@ exports.isHigherOperatorOrder = isHigherOperatorOrder;
|
|
|
7461
7438
|
|
|
7462
7439
|
/***/ }),
|
|
7463
7440
|
|
|
7464
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
7441
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyAcorn/tersifyAcorn.js":
|
|
7465
7442
|
/*!*****************************************************************************************************!*\
|
|
7466
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
7443
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyAcorn/tersifyAcorn.js ***!
|
|
7467
7444
|
\*****************************************************************************************************/
|
|
7468
7445
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7469
7446
|
|
|
7470
7447
|
"use strict";
|
|
7471
7448
|
|
|
7472
|
-
var __assign = (this && this.__assign) || function () {
|
|
7473
|
-
__assign = Object.assign || function(t) {
|
|
7474
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
7475
|
-
s = arguments[i];
|
|
7476
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7477
|
-
t[p] = s[p];
|
|
7478
|
-
}
|
|
7479
|
-
return t;
|
|
7480
|
-
};
|
|
7481
|
-
return __assign.apply(this, arguments);
|
|
7482
|
-
};
|
|
7483
7449
|
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
7484
7450
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
7485
7451
|
if (ar || !(i in from)) {
|
|
@@ -7492,12 +7458,12 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
7492
7458
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7493
7459
|
exports.tersifyAcorn = void 0;
|
|
7494
7460
|
var acorn_1 = __webpack_require__(/*! acorn */ "../../node_modules/.pnpm/acorn@8.8.2/node_modules/acorn/dist/acorn.js");
|
|
7495
|
-
var trim_js_1 = __webpack_require__(/*! ../trim.js */ "../../node_modules/.pnpm/tersify@3.
|
|
7496
|
-
var isHigherBinaryOperatorOrder_js_1 = __webpack_require__(/*! ./isHigherBinaryOperatorOrder.js */ "../../node_modules/.pnpm/tersify@3.
|
|
7461
|
+
var trim_js_1 = __webpack_require__(/*! ../trim.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/trim.js");
|
|
7462
|
+
var isHigherBinaryOperatorOrder_js_1 = __webpack_require__(/*! ./isHigherBinaryOperatorOrder.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyAcorn/isHigherBinaryOperatorOrder.js");
|
|
7497
7463
|
function tersifyAcorn(context, value, length) {
|
|
7498
|
-
var
|
|
7499
|
-
var node = (0, acorn_1.parseExpressionAt)("(".concat(
|
|
7500
|
-
var result = tersifyAcornNode(
|
|
7464
|
+
var fnStr = getFunctionString(value);
|
|
7465
|
+
var node = (0, acorn_1.parseExpressionAt)("(".concat(fnStr, ")"), 0, { ecmaVersion: 2020 });
|
|
7466
|
+
var result = tersifyAcornNode(context, node, length);
|
|
7501
7467
|
return result;
|
|
7502
7468
|
}
|
|
7503
7469
|
exports.tersifyAcorn = tersifyAcorn;
|
|
@@ -7506,9 +7472,9 @@ function getFunctionString(value) {
|
|
|
7506
7472
|
var isAsync = fnStr.startsWith('async ');
|
|
7507
7473
|
var subject = isAsync ? fnStr.slice('async '.length) : fnStr;
|
|
7508
7474
|
var matches = /^([^\s\\)]+)\s?\(/.exec(subject);
|
|
7509
|
-
return matches && matches[1] !== 'function' && matches[1] !== 'function*'
|
|
7510
|
-
|
|
7511
|
-
|
|
7475
|
+
return matches && (matches[1] !== 'function' && matches[1] !== 'function*') ?
|
|
7476
|
+
"".concat(isAsync ? 'async ' : '', "function ").concat(fnStr) :
|
|
7477
|
+
fnStr;
|
|
7512
7478
|
}
|
|
7513
7479
|
function tersifyAcornNode(context, node, length) {
|
|
7514
7480
|
if (!node)
|
|
@@ -7612,17 +7578,15 @@ function tersifyAcornNode(context, node, length) {
|
|
|
7612
7578
|
return tersifyChainExpression(context, node, length);
|
|
7613
7579
|
case 'MetaProperty':
|
|
7614
7580
|
return tersifyMetaProperty(context, node, length);
|
|
7615
|
-
case 'Super':
|
|
7616
|
-
return tersifySuperNode(context, node, length);
|
|
7617
7581
|
// istanbul ignore next
|
|
7618
7582
|
default:
|
|
7619
|
-
return tersifyUnknown(node
|
|
7583
|
+
return tersifyUnknown(node);
|
|
7620
7584
|
}
|
|
7621
7585
|
}
|
|
7622
7586
|
// istanbul ignore next
|
|
7623
|
-
function tersifyUnknown(node
|
|
7587
|
+
function tersifyUnknown(node) {
|
|
7624
7588
|
var nodeType = node.type;
|
|
7625
|
-
console.warn("tersify received unsupported type: ".concat(nodeType, ". Please open an issue at https://github.com/unional/tersify/issues\nnode detail:\n").concat(JSON.stringify(node, undefined, 2)
|
|
7589
|
+
console.warn("tersify received unsupported type: ".concat(nodeType, ". Please open an issue at https://github.com/unional/tersify/issues\nnode detail:\n").concat(JSON.stringify(node, undefined, 2)));
|
|
7626
7590
|
return "<unsupported: ".concat(nodeType, ">");
|
|
7627
7591
|
}
|
|
7628
7592
|
function tersifyCatchClauseNode(context, node, length) {
|
|
@@ -7748,14 +7712,14 @@ function tersifyDoWhileStatementNode(context, node, length) {
|
|
|
7748
7712
|
function tersifyUnaryExpressionNode(context, node, length) {
|
|
7749
7713
|
if (['void', 'typeof'].indexOf(node.operator) !== -1)
|
|
7750
7714
|
return "".concat(node.operator, " ").concat(tersifyAcornNode(context, node.argument, length));
|
|
7751
|
-
return node.prefix
|
|
7752
|
-
|
|
7753
|
-
|
|
7715
|
+
return node.prefix ?
|
|
7716
|
+
"".concat(node.operator).concat(tersifyAcornNode(context, node.argument, length)) :
|
|
7717
|
+
"".concat(tersifyAcornNode(context, node.argument, length)).concat(node.operator);
|
|
7754
7718
|
}
|
|
7755
7719
|
function tersifyUpdateExpressionNode(context, node, length) {
|
|
7756
|
-
return node.prefix
|
|
7757
|
-
|
|
7758
|
-
|
|
7720
|
+
return node.prefix ?
|
|
7721
|
+
"".concat(node.operator).concat(tersifyAcornNode(context, node.argument, length)) :
|
|
7722
|
+
"".concat(tersifyAcornNode(context, node.argument, length)).concat(node.operator);
|
|
7759
7723
|
}
|
|
7760
7724
|
function tersifyConditionalExpressionNode(context, node, length) {
|
|
7761
7725
|
var test = tersifyAcornNode(context, node.test, length);
|
|
@@ -7779,23 +7743,20 @@ function tersifyIfStatementNode(context, node, length) {
|
|
|
7779
7743
|
return "if (".concat(test, ") ").concat(consequent);
|
|
7780
7744
|
}
|
|
7781
7745
|
function tersifyBinaryExpressionNode(context, node, length) {
|
|
7782
|
-
if ((node.left.type === 'BinaryExpression' || node.left.type === 'LogicalExpression') &&
|
|
7783
|
-
(0, isHigherBinaryOperatorOrder_js_1.isHigherOperatorOrder)(node.operator, node.left.operator)) {
|
|
7746
|
+
if ((node.left.type === 'BinaryExpression' || node.left.type === 'LogicalExpression') && (0, isHigherBinaryOperatorOrder_js_1.isHigherOperatorOrder)(node.operator, node.left.operator)) {
|
|
7784
7747
|
node.left.needParen = true;
|
|
7785
7748
|
}
|
|
7786
7749
|
var left = tersifyAcornNode(context, node.left, length);
|
|
7787
|
-
if ((node.right.type === 'BinaryExpression' || node.right.type === 'LogicalExpression') &&
|
|
7788
|
-
(0, isHigherBinaryOperatorOrder_js_1.isHigherOperatorOrder)(node.operator, node.right.operator)) {
|
|
7750
|
+
if ((node.right.type === 'BinaryExpression' || node.right.type === 'LogicalExpression') && (0, isHigherBinaryOperatorOrder_js_1.isHigherOperatorOrder)(node.operator, node.right.operator)) {
|
|
7789
7751
|
node.right.needParen = true;
|
|
7790
7752
|
}
|
|
7791
7753
|
var right = tersifyAcornNode(context, node.right, length);
|
|
7792
|
-
return node.needParen ?
|
|
7754
|
+
return node.needParen ?
|
|
7755
|
+
"(".concat(left, " ").concat(node.operator, " ").concat(right, ")") :
|
|
7756
|
+
"".concat(left, " ").concat(node.operator, " ").concat(right);
|
|
7793
7757
|
}
|
|
7794
7758
|
function tersifyNewExpressionNode(context, node, length) {
|
|
7795
|
-
return
|
|
7796
|
-
"new ".concat(tersifyAcornNode(context, node.callee, length), "(").concat(node.arguments
|
|
7797
|
-
.map(function (a) { return tersifyAcornNode(context, a, length); })
|
|
7798
|
-
.join(', '), ")"));
|
|
7759
|
+
return tersifyNewDate(node) || "new ".concat(tersifyAcornNode(context, node.callee, length), "(").concat(node.arguments.map(function (a) { return tersifyAcornNode(context, a, length); }).join(', '), ")");
|
|
7799
7760
|
}
|
|
7800
7761
|
function tersifyNewDate(node) {
|
|
7801
7762
|
if (node.callee.type === 'Identifier' && node.callee.name === 'Date') {
|
|
@@ -7846,9 +7807,9 @@ function tersifyArrowExpressionNode(context, node, length) {
|
|
|
7846
7807
|
var paramsBody = tersifyParamsBody(context, node.params);
|
|
7847
7808
|
var params = skipParamParen ? paramsBody : "(".concat(paramsBody, ")");
|
|
7848
7809
|
var singleBodyNode = getSingleStatementBodyNode(context, node.body);
|
|
7849
|
-
var body = singleBodyNode
|
|
7850
|
-
|
|
7851
|
-
|
|
7810
|
+
var body = singleBodyNode ?
|
|
7811
|
+
tersifyArrowBodyAsSingleStatement(context, singleBodyNode) :
|
|
7812
|
+
tersifyFunctionBody(context, node.body);
|
|
7852
7813
|
var isSingleBodyObjectExpression = singleBodyNode && singleBodyNode.type === 'ObjectExpression';
|
|
7853
7814
|
if (isSingleBodyObjectExpression) {
|
|
7854
7815
|
body = "(".concat(body, ")");
|
|
@@ -7858,21 +7819,23 @@ function tersifyArrowExpressionNode(context, node, length) {
|
|
|
7858
7819
|
}
|
|
7859
7820
|
else {
|
|
7860
7821
|
var lenAvailForParams = Math.max(skipParamParen ? 1 : 3, length - (async.length + generator.length + arrow.length + body.length));
|
|
7861
|
-
var trimmedParams = skipParamParen
|
|
7862
|
-
|
|
7863
|
-
|
|
7822
|
+
var trimmedParams = skipParamParen ?
|
|
7823
|
+
(0, trim_js_1.trim)(context, paramsBody, lenAvailForParams) :
|
|
7824
|
+
"(".concat((0, trim_js_1.trim)(context, paramsBody, lenAvailForParams - 2), ")");
|
|
7864
7825
|
if (async.length + generator.length + lenAvailForParams + arrow.length + body.length <= length) {
|
|
7865
7826
|
return "".concat(async).concat(generator).concat(trimmedParams).concat(arrow).concat(body);
|
|
7866
7827
|
}
|
|
7867
7828
|
else {
|
|
7868
7829
|
var minBodyLen = 3;
|
|
7869
|
-
var wrapLen = isSingleBodyObjectExpression ?
|
|
7830
|
+
var wrapLen = isSingleBodyObjectExpression ?
|
|
7831
|
+
"({ })".length :
|
|
7832
|
+
singleBodyNode ? 0 : "{ }".length;
|
|
7870
7833
|
var lenAvailForBody = Math.max(minBodyLen, length - (async.length + generator.length + trimmedParams.length + arrow.length + wrapLen));
|
|
7871
|
-
var trimmedBody = isSingleBodyObjectExpression
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7834
|
+
var trimmedBody = isSingleBodyObjectExpression ?
|
|
7835
|
+
"({ ".concat((0, trim_js_1.trim)(context, body.slice(2, body.length - 2), lenAvailForBody - 4), " })") :
|
|
7836
|
+
singleBodyNode ?
|
|
7837
|
+
(0, trim_js_1.trim)(context, body, lenAvailForBody) :
|
|
7838
|
+
"{ ".concat((0, trim_js_1.trim)(context, body.slice(2, body.length - 1), lenAvailForBody), " }");
|
|
7876
7839
|
return (0, trim_js_1.trim)(context, "".concat(async).concat(generator).concat(trimmedParams).concat(arrow).concat(trimmedBody), length);
|
|
7877
7840
|
}
|
|
7878
7841
|
}
|
|
@@ -7917,25 +7880,23 @@ function tersifyCallExpressionNode(context, node, length) {
|
|
|
7917
7880
|
return "".concat(callee).concat(node.optional ? '?.' : '').concat(params);
|
|
7918
7881
|
}
|
|
7919
7882
|
function isSymbolForNode(node) {
|
|
7920
|
-
return
|
|
7883
|
+
return node.callee.type === 'MemberExpression' &&
|
|
7921
7884
|
node.callee.object.type === 'Identifier' &&
|
|
7922
7885
|
node.callee.object.name === 'Symbol' &&
|
|
7923
7886
|
node.callee.property.type === 'Identifier' &&
|
|
7924
|
-
node.callee.property.name === 'for'
|
|
7887
|
+
node.callee.property.name === 'for';
|
|
7925
7888
|
}
|
|
7926
7889
|
function isDefineThisProperty(node) {
|
|
7927
|
-
return
|
|
7890
|
+
return node.callee.type === 'Identifier' &&
|
|
7928
7891
|
node.callee.name === '_defineProperty' &&
|
|
7929
7892
|
node.arguments.length === 3 &&
|
|
7930
|
-
node.arguments[0].type === 'ThisExpression'
|
|
7893
|
+
node.arguments[0].type === 'ThisExpression';
|
|
7931
7894
|
}
|
|
7932
7895
|
function tersifyParamsBody(context, params) {
|
|
7933
|
-
return params
|
|
7934
|
-
.reduce(function (p, v) {
|
|
7896
|
+
return params.reduce(function (p, v) {
|
|
7935
7897
|
p.push(tersifyAcornNode(context, v, Infinity));
|
|
7936
7898
|
return p;
|
|
7937
|
-
}, [])
|
|
7938
|
-
.join(', ');
|
|
7899
|
+
}, []).join(', ');
|
|
7939
7900
|
}
|
|
7940
7901
|
function tersifyFunctionExpressionNode(context, node, length) {
|
|
7941
7902
|
var token = context.raw ? "function" : 'fn';
|
|
@@ -7957,7 +7918,9 @@ function tersifyFunctionExpressionNode(context, node, length) {
|
|
|
7957
7918
|
}
|
|
7958
7919
|
else {
|
|
7959
7920
|
var bodyContent = body.slice(2, body.length - 2);
|
|
7960
|
-
var result = "".concat(async).concat(token).concat(generator).concat(id).concat(minParam).concat(space).concat(bodyContent.length === 0 ?
|
|
7921
|
+
var result = "".concat(async).concat(token).concat(generator).concat(id).concat(minParam).concat(space).concat(bodyContent.length === 0 ?
|
|
7922
|
+
'{}' :
|
|
7923
|
+
"{ ".concat((0, trim_js_1.trim)(context, bodyContent, length - minPrebodyLen - 4), " }"));
|
|
7961
7924
|
return result.length > length ? (0, trim_js_1.trim)(context, result, length) : result;
|
|
7962
7925
|
}
|
|
7963
7926
|
}
|
|
@@ -8009,9 +7972,7 @@ function tersifyClassExpression(context, node, length) {
|
|
|
8009
7972
|
var classStr = (0, trim_js_1.trim)(context, "class".concat(node.id ? " ".concat(node.id.name) : ' ', "{}"), length);
|
|
8010
7973
|
var prefix = classStr.slice(0, Math.max(3, classStr.length - 2));
|
|
8011
7974
|
var body = tersifyAcornNode(context, node.body, length - prefix.length);
|
|
8012
|
-
return "".concat(prefix).concat(length >= prefix.length + body.length || body.length > 3
|
|
8013
|
-
? body
|
|
8014
|
-
: (0, trim_js_1.trim)(context, '...', length - prefix.length));
|
|
7975
|
+
return "".concat(prefix).concat(length >= prefix.length + body.length || body.length > 3 ? body : (0, trim_js_1.trim)(context, '...', length - prefix.length));
|
|
8015
7976
|
}
|
|
8016
7977
|
function tersifyMethodDefinition(context, node, length) {
|
|
8017
7978
|
var _a;
|
|
@@ -8035,7 +7996,9 @@ function tersifyMethodDefinition(context, node, length) {
|
|
|
8035
7996
|
}
|
|
8036
7997
|
else {
|
|
8037
7998
|
var bodyContent = body.slice(2, body.length - 2);
|
|
8038
|
-
var result = "".concat(staticStr).concat(async).concat(generator).concat(id).concat(minParam).concat(space).concat(bodyContent.length === 0 ?
|
|
7999
|
+
var result = "".concat(staticStr).concat(async).concat(generator).concat(id).concat(minParam).concat(space).concat(bodyContent.length === 0 ?
|
|
8000
|
+
'{}' :
|
|
8001
|
+
"{ ".concat((0, trim_js_1.trim)(context, bodyContent, length - minPrebodyLen - 4), " }"));
|
|
8039
8002
|
return result.length > length ? (0, trim_js_1.trim)(context, result, length) : result;
|
|
8040
8003
|
}
|
|
8041
8004
|
}
|
|
@@ -8057,22 +8020,20 @@ function tersifySequenceExpression(context, node, length) {
|
|
|
8057
8020
|
}
|
|
8058
8021
|
function tersifyTemplateLiteral(context, node, length) {
|
|
8059
8022
|
var elements = node.expressions.concat(node.quasis).sort(function (a, b) { return a.start - b.start; });
|
|
8060
|
-
return
|
|
8061
|
-
|
|
8062
|
-
if (length <= 0)
|
|
8063
|
-
return p;
|
|
8064
|
-
if (e.type === 'TemplateElement') {
|
|
8065
|
-
length -= e.value.raw.length;
|
|
8066
|
-
p += e.value.raw;
|
|
8067
|
-
}
|
|
8068
|
-
else {
|
|
8069
|
-
var result = tersifyAcornNode(context, e, length);
|
|
8070
|
-
length -= result.length;
|
|
8071
|
-
p += '${' + result + '}';
|
|
8072
|
-
}
|
|
8023
|
+
return '`' + elements.reduce(function (p, e) {
|
|
8024
|
+
if (length <= 0)
|
|
8073
8025
|
return p;
|
|
8074
|
-
|
|
8075
|
-
|
|
8026
|
+
if (e.type === 'TemplateElement') {
|
|
8027
|
+
length -= e.value.raw.length;
|
|
8028
|
+
p += e.value.raw;
|
|
8029
|
+
}
|
|
8030
|
+
else {
|
|
8031
|
+
var result = tersifyAcornNode(context, e, length);
|
|
8032
|
+
length -= result.length;
|
|
8033
|
+
p += '${' + result + '}';
|
|
8034
|
+
}
|
|
8035
|
+
return p;
|
|
8036
|
+
}, '') + '`';
|
|
8076
8037
|
}
|
|
8077
8038
|
function tersifyTaggedTemplateExpression(context, node, length) {
|
|
8078
8039
|
var name = node.tag.name;
|
|
@@ -8088,19 +8049,16 @@ function tersifyChainExpression(context, node, length) {
|
|
|
8088
8049
|
}
|
|
8089
8050
|
// istanbul ignore next
|
|
8090
8051
|
default:
|
|
8091
|
-
return tersifyUnknown(node
|
|
8052
|
+
return tersifyUnknown(node);
|
|
8092
8053
|
}
|
|
8093
8054
|
}
|
|
8094
|
-
function tersifySuperNode(context, node, length) {
|
|
8095
|
-
return 'Super';
|
|
8096
|
-
}
|
|
8097
8055
|
//# sourceMappingURL=tersifyAcorn.js.map
|
|
8098
8056
|
|
|
8099
8057
|
/***/ }),
|
|
8100
8058
|
|
|
8101
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
8059
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyFunction.js":
|
|
8102
8060
|
/*!*******************************************************************************************!*\
|
|
8103
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
8061
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyFunction.js ***!
|
|
8104
8062
|
\*******************************************************************************************/
|
|
8105
8063
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8106
8064
|
|
|
@@ -8108,10 +8066,10 @@ function tersifySuperNode(context, node, length) {
|
|
|
8108
8066
|
|
|
8109
8067
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8110
8068
|
exports.tersifyFunction = void 0;
|
|
8111
|
-
var hasTersifyFn_js_1 = __webpack_require__(/*! ./hasTersifyFn.js */ "../../node_modules/.pnpm/tersify@3.
|
|
8112
|
-
var tersify_js_1 = __webpack_require__(/*! ./tersify.js */ "../../node_modules/.pnpm/tersify@3.
|
|
8113
|
-
var index_js_1 = __webpack_require__(/*! ./tersifyAcorn/index.js */ "../../node_modules/.pnpm/tersify@3.
|
|
8114
|
-
var tersifyFunctionByString_js_1 = __webpack_require__(/*! ./tersifyFunctionByString.js */ "../../node_modules/.pnpm/tersify@3.
|
|
8069
|
+
var hasTersifyFn_js_1 = __webpack_require__(/*! ./hasTersifyFn.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/hasTersifyFn.js");
|
|
8070
|
+
var tersify_js_1 = __webpack_require__(/*! ./tersify.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersify.js");
|
|
8071
|
+
var index_js_1 = __webpack_require__(/*! ./tersifyAcorn/index.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyAcorn/index.js");
|
|
8072
|
+
var tersifyFunctionByString_js_1 = __webpack_require__(/*! ./tersifyFunctionByString.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyFunctionByString.js");
|
|
8115
8073
|
function tersifyFunction(context, fn, _length) {
|
|
8116
8074
|
if (!context.raw && (0, hasTersifyFn_js_1.hasTersifyFn)(fn) && fn.tersify !== tersify_js_1.defaultTersify) {
|
|
8117
8075
|
return fn.tersify({ maxLength: context.maxLength, raw: context.raw });
|
|
@@ -8132,9 +8090,9 @@ exports.tersifyFunction = tersifyFunction;
|
|
|
8132
8090
|
|
|
8133
8091
|
/***/ }),
|
|
8134
8092
|
|
|
8135
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
8093
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyFunctionByString.js":
|
|
8136
8094
|
/*!***************************************************************************************************!*\
|
|
8137
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
8095
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/tersifyFunctionByString.js ***!
|
|
8138
8096
|
\***************************************************************************************************/
|
|
8139
8097
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8140
8098
|
|
|
@@ -8142,17 +8100,15 @@ exports.tersifyFunction = tersifyFunction;
|
|
|
8142
8100
|
|
|
8143
8101
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8144
8102
|
exports.parseFn = exports.tersifyFunctionByString = void 0;
|
|
8145
|
-
var trim_js_1 = __webpack_require__(/*! ./trim.js */ "../../node_modules/.pnpm/tersify@3.
|
|
8103
|
+
var trim_js_1 = __webpack_require__(/*! ./trim.js */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/trim.js");
|
|
8146
8104
|
function tersifyFunctionByString(fn, options) {
|
|
8147
8105
|
var str = fn.toString();
|
|
8148
8106
|
if (options.raw)
|
|
8149
8107
|
return str;
|
|
8150
8108
|
var struct = parseFn(str);
|
|
8151
8109
|
switch (struct.type) {
|
|
8152
|
-
case 'function':
|
|
8153
|
-
|
|
8154
|
-
case 'arrow':
|
|
8155
|
-
return formatArrow2(struct, options.maxLength);
|
|
8110
|
+
case 'function': return formatFn2(struct, options.maxLength);
|
|
8111
|
+
case 'arrow': return formatArrow2(struct, options.maxLength);
|
|
8156
8112
|
case 'unknown':
|
|
8157
8113
|
default:
|
|
8158
8114
|
// istanbul ignore next
|
|
@@ -8233,22 +8189,16 @@ function parseFn(input) {
|
|
|
8233
8189
|
exports.parseFn = parseFn;
|
|
8234
8190
|
function formatFn2(struct, maxLength) {
|
|
8235
8191
|
var template = "".concat(struct.async ? 'async ' : '', "fn").concat(struct.generator ? '*' : '').concat(struct.name ? ' ' + struct.name : '', "(").concat(struct.params ? '%1' : '', ") {").concat(struct.body ? ' %2 ' : '', "}");
|
|
8236
|
-
var baseLength = struct.params && struct.body
|
|
8237
|
-
? template.length -
|
|
8238
|
-
: struct.params || struct.body
|
|
8239
|
-
? template.length - 2
|
|
8240
|
-
: template.length;
|
|
8192
|
+
var baseLength = struct.params && struct.body ? template.length - 4 :
|
|
8193
|
+
struct.params || struct.body ? template.length - 2 : template.length;
|
|
8241
8194
|
struct.params = (0, trim_js_1.trim)({ raw: false, noTrim: false }, struct.params, Math.max(3, maxLength - baseLength - struct.body.length));
|
|
8242
8195
|
struct.body = (0, trim_js_1.trim)({ raw: false, noTrim: false }, struct.body, Math.max(3, maxLength - baseLength - struct.params.length));
|
|
8243
8196
|
return (0, trim_js_1.trim)({ raw: false, noTrim: false }, applyTemplate(template, struct), maxLength);
|
|
8244
8197
|
}
|
|
8245
8198
|
function formatArrow2(struct, maxLength) {
|
|
8246
8199
|
var template = "".concat(struct.async ? 'async ' : '').concat(struct.singleParam ? '%1' : "(".concat(struct.params ? '%1' : '', ")"), " => ").concat(struct.singleLineBody ? '%2' : "{".concat(struct.body ? ' %2 ' : '', "}"));
|
|
8247
|
-
var baseLength = struct.params && struct.body
|
|
8248
|
-
? template.length -
|
|
8249
|
-
: struct.params || struct.body
|
|
8250
|
-
? template.length - 2
|
|
8251
|
-
: template.length;
|
|
8200
|
+
var baseLength = struct.params && struct.body ? template.length - 4 :
|
|
8201
|
+
struct.params || struct.body ? template.length - 2 : template.length;
|
|
8252
8202
|
struct.params = (0, trim_js_1.trim)({ raw: false, noTrim: false }, struct.params, Math.max(3, maxLength - baseLength - struct.body.length));
|
|
8253
8203
|
struct.body = (0, trim_js_1.trim)({ raw: false, noTrim: false }, struct.body, Math.max(3, maxLength - baseLength - struct.params.length));
|
|
8254
8204
|
return (0, trim_js_1.trim)({ raw: false, noTrim: false }, applyTemplate(template, struct), maxLength);
|
|
@@ -8263,18 +8213,14 @@ function isSingleLineBody(str) {
|
|
|
8263
8213
|
function getSingleLineBody(str, maxLength) {
|
|
8264
8214
|
var struct = parseFn(str);
|
|
8265
8215
|
switch (struct.type) {
|
|
8266
|
-
case 'function':
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
.replace(/([\s([{])Symbol\.for\('([\w_]*)'\)/g, '$1Sym($2)')
|
|
8275
|
-
.replace(/([\s([{])Symbol\.for\("([\w_]*)"\)/g, '$1Sym($2)')
|
|
8276
|
-
.replace(/([\s([{])Symbol\.for\(`([\w_]*)`\)/g, '$1Sym($2)')
|
|
8277
|
-
.replace(/{\s+}/g, '{}');
|
|
8216
|
+
case 'function': return formatFn2(struct, maxLength);
|
|
8217
|
+
case 'arrow': return formatArrow2(struct, maxLength);
|
|
8218
|
+
default: return str.replace(/return;/g, '')
|
|
8219
|
+
.replace(/([\s([{])Symbol\(\)/g, '$1Sym()')
|
|
8220
|
+
.replace(/([\s([{])Symbol\.for\('([\w_]*)'\)/g, '$1Sym($2)')
|
|
8221
|
+
.replace(/([\s([{])Symbol\.for\("([\w_]*)"\)/g, '$1Sym($2)')
|
|
8222
|
+
.replace(/([\s([{])Symbol\.for\(`([\w_]*)`\)/g, '$1Sym($2)')
|
|
8223
|
+
.replace(/{\s+}/g, '{}');
|
|
8278
8224
|
}
|
|
8279
8225
|
}
|
|
8280
8226
|
function getEnclosedBody(str) {
|
|
@@ -8287,8 +8233,7 @@ function getEnclosedBody(str) {
|
|
|
8287
8233
|
count++;
|
|
8288
8234
|
if (count === 0) {
|
|
8289
8235
|
var body = removeLineBreaks(str.slice(0, i));
|
|
8290
|
-
str = body
|
|
8291
|
-
.replace(/return;/g, '')
|
|
8236
|
+
str = body.replace(/return;/g, '')
|
|
8292
8237
|
.replace(/([\s([{])Symbol\(\)/g, '$1Sym()')
|
|
8293
8238
|
.replace(/([\s([{])Symbol\.for\('([\w_]*)'\)/g, '$1Sym($2)')
|
|
8294
8239
|
.replace(/([\s([{])Symbol\.for\("([\w_]*)"\)/g, '$1Sym($2)')
|
|
@@ -8300,14 +8245,12 @@ function getEnclosedBody(str) {
|
|
|
8300
8245
|
return str;
|
|
8301
8246
|
}
|
|
8302
8247
|
function removeLineBreaks(value) {
|
|
8303
|
-
return value
|
|
8304
|
-
.split('\n')
|
|
8248
|
+
return value.split('\n')
|
|
8305
8249
|
.map(function (x) { return x.trim(); })
|
|
8306
8250
|
.filter(function (x) { return !!x; })
|
|
8307
|
-
.map(function (x, i, a) {
|
|
8308
|
-
|
|
8309
|
-
|
|
8310
|
-
.join(' ');
|
|
8251
|
+
.map(function (x, i, a) { return i < a.length - 1
|
|
8252
|
+
&& /[^({}):;(do|else)]$/.test(x)
|
|
8253
|
+
&& /[^)}]/.test(a[i + 1]) ? x + ';' : x; }).join(' ');
|
|
8311
8254
|
}
|
|
8312
8255
|
function applyTemplate(template, struct) {
|
|
8313
8256
|
if (struct.params) {
|
|
@@ -8322,9 +8265,9 @@ function applyTemplate(template, struct) {
|
|
|
8322
8265
|
|
|
8323
8266
|
/***/ }),
|
|
8324
8267
|
|
|
8325
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
8268
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/trim.js":
|
|
8326
8269
|
/*!********************************************************************************!*\
|
|
8327
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
8270
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/trim.js ***!
|
|
8328
8271
|
\********************************************************************************/
|
|
8329
8272
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8330
8273
|
|
|
@@ -8337,7 +8280,9 @@ function trim(_a, value, length) {
|
|
|
8337
8280
|
if (noTrim || raw || value.length <= length)
|
|
8338
8281
|
return value;
|
|
8339
8282
|
var trimmed = value.slice(0, Math.max(length, 0));
|
|
8340
|
-
var dots = trimmed.length === 0 ? '' :
|
|
8283
|
+
var dots = trimmed.length === 0 ? '' :
|
|
8284
|
+
trimmed.length <= 3 ? '.' :
|
|
8285
|
+
trimmed.length === 4 ? '..' : '...';
|
|
8341
8286
|
return trimmed.slice(0, trimmed.length - dots.length) + dots;
|
|
8342
8287
|
}
|
|
8343
8288
|
exports.trim = trim;
|
|
@@ -8345,9 +8290,9 @@ exports.trim = trim;
|
|
|
8345
8290
|
|
|
8346
8291
|
/***/ }),
|
|
8347
8292
|
|
|
8348
|
-
/***/ "../../node_modules/.pnpm/tersify@3.
|
|
8293
|
+
/***/ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/types.js":
|
|
8349
8294
|
/*!*********************************************************************************!*\
|
|
8350
|
-
!*** ../../node_modules/.pnpm/tersify@3.
|
|
8295
|
+
!*** ../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/types.js ***!
|
|
8351
8296
|
\*********************************************************************************/
|
|
8352
8297
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8353
8298
|
|
|
@@ -8358,108 +8303,108 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8358
8303
|
|
|
8359
8304
|
/***/ }),
|
|
8360
8305
|
|
|
8361
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8306
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array.find.js":
|
|
8362
8307
|
/*!***********************************************************************************************!*\
|
|
8363
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8308
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array.find.js ***!
|
|
8364
8309
|
\***********************************************************************************************/
|
|
8365
8310
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8366
8311
|
|
|
8367
8312
|
"use strict";
|
|
8368
8313
|
|
|
8369
8314
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8370
|
-
//# sourceMappingURL=
|
|
8315
|
+
//# sourceMappingURL=array.find.js.map
|
|
8371
8316
|
|
|
8372
8317
|
/***/ }),
|
|
8373
8318
|
|
|
8374
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8375
|
-
|
|
8376
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8377
|
-
|
|
8319
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array.find_last.js":
|
|
8320
|
+
/*!****************************************************************************************************!*\
|
|
8321
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array.find_last.js ***!
|
|
8322
|
+
\****************************************************************************************************/
|
|
8378
8323
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8379
8324
|
|
|
8380
8325
|
"use strict";
|
|
8381
8326
|
|
|
8382
8327
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8383
|
-
//# sourceMappingURL=
|
|
8328
|
+
//# sourceMappingURL=array.find_last.js.map
|
|
8384
8329
|
|
|
8385
8330
|
/***/ }),
|
|
8386
8331
|
|
|
8387
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8388
|
-
|
|
8389
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8390
|
-
|
|
8332
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array.some.js":
|
|
8333
|
+
/*!***********************************************************************************************!*\
|
|
8334
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array.some.js ***!
|
|
8335
|
+
\***********************************************************************************************/
|
|
8391
8336
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8392
8337
|
|
|
8393
8338
|
"use strict";
|
|
8394
8339
|
|
|
8395
8340
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8396
|
-
//# sourceMappingURL=
|
|
8341
|
+
//# sourceMappingURL=array.some.js.map
|
|
8397
8342
|
|
|
8398
8343
|
/***/ }),
|
|
8399
8344
|
|
|
8400
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8401
|
-
|
|
8402
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8403
|
-
|
|
8345
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array_plus.js":
|
|
8346
|
+
/*!***********************************************************************************************!*\
|
|
8347
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array_plus.js ***!
|
|
8348
|
+
\***********************************************************************************************/
|
|
8404
8349
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8405
8350
|
|
|
8406
8351
|
"use strict";
|
|
8407
8352
|
|
|
8408
8353
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8409
|
-
|
|
8410
|
-
/**
|
|
8411
|
-
* drop a particular value from an array
|
|
8412
|
-
*/
|
|
8413
|
-
function drop(array, value) {
|
|
8414
|
-
return array.filter(v => v !== value);
|
|
8415
|
-
}
|
|
8416
|
-
exports.drop = drop;
|
|
8417
|
-
//# sourceMappingURL=drop.js.map
|
|
8354
|
+
//# sourceMappingURL=array_plus.js.map
|
|
8418
8355
|
|
|
8419
8356
|
/***/ }),
|
|
8420
8357
|
|
|
8421
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8422
|
-
|
|
8423
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8424
|
-
|
|
8358
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/common_prop_keys.js":
|
|
8359
|
+
/*!*****************************************************************************************************!*\
|
|
8360
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/common_prop_keys.js ***!
|
|
8361
|
+
\*****************************************************************************************************/
|
|
8425
8362
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8426
8363
|
|
|
8427
8364
|
"use strict";
|
|
8428
8365
|
|
|
8429
8366
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8430
|
-
//# sourceMappingURL=
|
|
8367
|
+
//# sourceMappingURL=common_prop_keys.js.map
|
|
8431
8368
|
|
|
8432
8369
|
/***/ }),
|
|
8433
8370
|
|
|
8434
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8435
|
-
|
|
8436
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8437
|
-
|
|
8371
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/drop.js":
|
|
8372
|
+
/*!*****************************************************************************************!*\
|
|
8373
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/drop.js ***!
|
|
8374
|
+
\*****************************************************************************************/
|
|
8438
8375
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8439
8376
|
|
|
8440
8377
|
"use strict";
|
|
8441
8378
|
|
|
8442
8379
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8443
|
-
|
|
8380
|
+
exports.drop = void 0;
|
|
8381
|
+
/**
|
|
8382
|
+
* drop a particular value from an array
|
|
8383
|
+
*/
|
|
8384
|
+
function drop(array, value) {
|
|
8385
|
+
return array.filter(v => v !== value);
|
|
8386
|
+
}
|
|
8387
|
+
exports.drop = drop;
|
|
8388
|
+
//# sourceMappingURL=drop.js.map
|
|
8444
8389
|
|
|
8445
8390
|
/***/ }),
|
|
8446
8391
|
|
|
8447
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8448
|
-
|
|
8449
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8450
|
-
|
|
8392
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/filter.js":
|
|
8393
|
+
/*!*******************************************************************************************!*\
|
|
8394
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/filter.js ***!
|
|
8395
|
+
\*******************************************************************************************/
|
|
8451
8396
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8452
8397
|
|
|
8453
8398
|
"use strict";
|
|
8454
8399
|
|
|
8455
8400
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8456
|
-
//# sourceMappingURL=
|
|
8401
|
+
//# sourceMappingURL=filter.js.map
|
|
8457
8402
|
|
|
8458
8403
|
/***/ }),
|
|
8459
8404
|
|
|
8460
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8405
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/head.js":
|
|
8461
8406
|
/*!*****************************************************************************************!*\
|
|
8462
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8407
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/head.js ***!
|
|
8463
8408
|
\*****************************************************************************************/
|
|
8464
8409
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8465
8410
|
|
|
@@ -8470,9 +8415,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8470
8415
|
|
|
8471
8416
|
/***/ }),
|
|
8472
8417
|
|
|
8473
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8418
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/index.js":
|
|
8474
8419
|
/*!******************************************************************************************!*\
|
|
8475
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8420
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/index.js ***!
|
|
8476
8421
|
\******************************************************************************************/
|
|
8477
8422
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8478
8423
|
|
|
@@ -8493,30 +8438,29 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
8493
8438
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
8494
8439
|
};
|
|
8495
8440
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8496
|
-
__exportStar(__webpack_require__(/*! ./common_prop_keys.js */ "../../node_modules/.pnpm/type-plus@
|
|
8497
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8498
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8499
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8500
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8501
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8502
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8503
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8504
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8505
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8506
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8507
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8508
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8509
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8510
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8511
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8512
|
-
__exportStar(__webpack_require__(/*! ./union_of_values.js */ "../../node_modules/.pnpm/type-plus@6.6.0/node_modules/type-plus/cjs/array/union_of_values.js"), exports);
|
|
8441
|
+
__exportStar(__webpack_require__(/*! ./common_prop_keys.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/common_prop_keys.js"), exports);
|
|
8442
|
+
__exportStar(__webpack_require__(/*! ./drop.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/drop.js"), exports);
|
|
8443
|
+
__exportStar(__webpack_require__(/*! ./filter.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/filter.js"), exports);
|
|
8444
|
+
__exportStar(__webpack_require__(/*! ./array.find.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array.find.js"), exports);
|
|
8445
|
+
__exportStar(__webpack_require__(/*! ./array.find_last.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array.find_last.js"), exports);
|
|
8446
|
+
__exportStar(__webpack_require__(/*! ./head.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/head.js"), exports);
|
|
8447
|
+
__exportStar(__webpack_require__(/*! ./intersect_of_props.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/intersect_of_props.js"), exports);
|
|
8448
|
+
__exportStar(__webpack_require__(/*! ./last.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/last.js"), exports);
|
|
8449
|
+
__exportStar(__webpack_require__(/*! ./literal_array.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/literal_array.js"), exports);
|
|
8450
|
+
__exportStar(__webpack_require__(/*! ./pad_start.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/pad_start.js"), exports);
|
|
8451
|
+
__exportStar(__webpack_require__(/*! ./reduce_while.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/reduce_while.js"), exports);
|
|
8452
|
+
__exportStar(__webpack_require__(/*! ./reverse.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/reverse.js"), exports);
|
|
8453
|
+
__exportStar(__webpack_require__(/*! ./array.some.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array.some.js"), exports);
|
|
8454
|
+
__exportStar(__webpack_require__(/*! ./tail.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/tail.js"), exports);
|
|
8455
|
+
__exportStar(__webpack_require__(/*! ./union_of_props.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/union_of_props.js"), exports);
|
|
8456
|
+
__exportStar(__webpack_require__(/*! ./union_of_values.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/union_of_values.js"), exports);
|
|
8513
8457
|
//# sourceMappingURL=index.js.map
|
|
8514
8458
|
|
|
8515
8459
|
/***/ }),
|
|
8516
8460
|
|
|
8517
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8461
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/intersect_of_props.js":
|
|
8518
8462
|
/*!*******************************************************************************************************!*\
|
|
8519
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8463
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/intersect_of_props.js ***!
|
|
8520
8464
|
\*******************************************************************************************************/
|
|
8521
8465
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8522
8466
|
|
|
@@ -8527,9 +8471,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8527
8471
|
|
|
8528
8472
|
/***/ }),
|
|
8529
8473
|
|
|
8530
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8474
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/last.js":
|
|
8531
8475
|
/*!*****************************************************************************************!*\
|
|
8532
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8476
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/last.js ***!
|
|
8533
8477
|
\*****************************************************************************************/
|
|
8534
8478
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8535
8479
|
|
|
@@ -8540,9 +8484,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8540
8484
|
|
|
8541
8485
|
/***/ }),
|
|
8542
8486
|
|
|
8543
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8487
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/literal_array.js":
|
|
8544
8488
|
/*!**************************************************************************************************!*\
|
|
8545
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8489
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/literal_array.js ***!
|
|
8546
8490
|
\**************************************************************************************************/
|
|
8547
8491
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8548
8492
|
|
|
@@ -8558,22 +8502,22 @@ exports.literalArray = literalArray;
|
|
|
8558
8502
|
|
|
8559
8503
|
/***/ }),
|
|
8560
8504
|
|
|
8561
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8562
|
-
|
|
8563
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8564
|
-
|
|
8505
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/pad_start.js":
|
|
8506
|
+
/*!**********************************************************************************************!*\
|
|
8507
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/pad_start.js ***!
|
|
8508
|
+
\**********************************************************************************************/
|
|
8565
8509
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8566
8510
|
|
|
8567
8511
|
"use strict";
|
|
8568
8512
|
|
|
8569
8513
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8570
|
-
//# sourceMappingURL=
|
|
8514
|
+
//# sourceMappingURL=pad_start.js.map
|
|
8571
8515
|
|
|
8572
8516
|
/***/ }),
|
|
8573
8517
|
|
|
8574
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8518
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/reduce_while.js":
|
|
8575
8519
|
/*!*************************************************************************************************!*\
|
|
8576
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8520
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/reduce_while.js ***!
|
|
8577
8521
|
\*************************************************************************************************/
|
|
8578
8522
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8579
8523
|
|
|
@@ -8596,9 +8540,9 @@ exports.reduceWhile = reduceWhile;
|
|
|
8596
8540
|
|
|
8597
8541
|
/***/ }),
|
|
8598
8542
|
|
|
8599
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8543
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/reverse.js":
|
|
8600
8544
|
/*!********************************************************************************************!*\
|
|
8601
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8545
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/reverse.js ***!
|
|
8602
8546
|
\********************************************************************************************/
|
|
8603
8547
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8604
8548
|
|
|
@@ -8609,22 +8553,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8609
8553
|
|
|
8610
8554
|
/***/ }),
|
|
8611
8555
|
|
|
8612
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8556
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/tail.js":
|
|
8613
8557
|
/*!*****************************************************************************************!*\
|
|
8614
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8615
|
-
\*****************************************************************************************/
|
|
8616
|
-
/***/ (function(__unused_webpack_module, exports) {
|
|
8617
|
-
|
|
8618
|
-
"use strict";
|
|
8619
|
-
|
|
8620
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8621
|
-
//# sourceMappingURL=some.js.map
|
|
8622
|
-
|
|
8623
|
-
/***/ }),
|
|
8624
|
-
|
|
8625
|
-
/***/ "../../node_modules/.pnpm/type-plus@6.6.0/node_modules/type-plus/cjs/array/tail.js":
|
|
8626
|
-
/*!*****************************************************************************************!*\
|
|
8627
|
-
!*** ../../node_modules/.pnpm/type-plus@6.6.0/node_modules/type-plus/cjs/array/tail.js ***!
|
|
8558
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/tail.js ***!
|
|
8628
8559
|
\*****************************************************************************************/
|
|
8629
8560
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8630
8561
|
|
|
@@ -8635,9 +8566,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8635
8566
|
|
|
8636
8567
|
/***/ }),
|
|
8637
8568
|
|
|
8638
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8569
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/union_of_props.js":
|
|
8639
8570
|
/*!***************************************************************************************************!*\
|
|
8640
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8571
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/union_of_props.js ***!
|
|
8641
8572
|
\***************************************************************************************************/
|
|
8642
8573
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8643
8574
|
|
|
@@ -8648,9 +8579,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8648
8579
|
|
|
8649
8580
|
/***/ }),
|
|
8650
8581
|
|
|
8651
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8582
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/union_of_values.js":
|
|
8652
8583
|
/*!****************************************************************************************************!*\
|
|
8653
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8584
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/union_of_values.js ***!
|
|
8654
8585
|
\****************************************************************************************************/
|
|
8655
8586
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8656
8587
|
|
|
@@ -8661,9 +8592,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8661
8592
|
|
|
8662
8593
|
/***/ }),
|
|
8663
8594
|
|
|
8664
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8595
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/assertion/assert_type.js":
|
|
8665
8596
|
/*!****************************************************************************************************!*\
|
|
8666
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8597
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/assertion/assert_type.js ***!
|
|
8667
8598
|
\****************************************************************************************************/
|
|
8668
8599
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8669
8600
|
|
|
@@ -8671,8 +8602,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8671
8602
|
|
|
8672
8603
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8673
8604
|
exports.assertType = void 0;
|
|
8674
|
-
const tersify_1 = __webpack_require__(/*! tersify */ "../../node_modules/.pnpm/tersify@3.
|
|
8675
|
-
const index_js_1 = __webpack_require__(/*! ../class/index.js */ "../../node_modules/.pnpm/type-plus@
|
|
8605
|
+
const tersify_1 = __webpack_require__(/*! tersify */ "../../node_modules/.pnpm/tersify@3.11.1/node_modules/tersify/cjs/index.js");
|
|
8606
|
+
const index_js_1 = __webpack_require__(/*! ../class/index.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/class/index.js");
|
|
8676
8607
|
function assertType(subject, validator) {
|
|
8677
8608
|
if (validator) {
|
|
8678
8609
|
if (((0, index_js_1.isConstructor)(validator) && !(subject instanceof validator)) || !validator(subject))
|
|
@@ -8747,6 +8678,9 @@ assertType.noFunction = function (subject) {
|
|
|
8747
8678
|
if (typeof subject === 'function')
|
|
8748
8679
|
throw TypeError(`subject is function`);
|
|
8749
8680
|
};
|
|
8681
|
+
/**
|
|
8682
|
+
* @deprecated
|
|
8683
|
+
*/
|
|
8750
8684
|
assertType.isConstructor = function (subject) {
|
|
8751
8685
|
if (!(0, index_js_1.isConstructor)(subject))
|
|
8752
8686
|
throw TypeError(`subject is not a constructor`);
|
|
@@ -8778,9 +8712,9 @@ assertType.as = function (subject) { };
|
|
|
8778
8712
|
|
|
8779
8713
|
/***/ }),
|
|
8780
8714
|
|
|
8781
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8715
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/class/index.js":
|
|
8782
8716
|
/*!******************************************************************************************!*\
|
|
8783
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8717
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/class/index.js ***!
|
|
8784
8718
|
\******************************************************************************************/
|
|
8785
8719
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8786
8720
|
|
|
@@ -8801,14 +8735,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
8801
8735
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
8802
8736
|
};
|
|
8803
8737
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8804
|
-
__exportStar(__webpack_require__(/*! ./isConstructor.js */ "../../node_modules/.pnpm/type-plus@
|
|
8738
|
+
__exportStar(__webpack_require__(/*! ./isConstructor.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/class/isConstructor.js"), exports);
|
|
8805
8739
|
//# sourceMappingURL=index.js.map
|
|
8806
8740
|
|
|
8807
8741
|
/***/ }),
|
|
8808
8742
|
|
|
8809
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8743
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/class/isConstructor.js":
|
|
8810
8744
|
/*!**************************************************************************************************!*\
|
|
8811
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8745
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/class/isConstructor.js ***!
|
|
8812
8746
|
\**************************************************************************************************/
|
|
8813
8747
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8814
8748
|
|
|
@@ -8851,9 +8785,9 @@ exports.isInstanceof = isInstanceof;
|
|
|
8851
8785
|
|
|
8852
8786
|
/***/ }),
|
|
8853
8787
|
|
|
8854
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8788
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/function/extract_function.js":
|
|
8855
8789
|
/*!********************************************************************************************************!*\
|
|
8856
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8790
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/function/extract_function.js ***!
|
|
8857
8791
|
\********************************************************************************************************/
|
|
8858
8792
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8859
8793
|
|
|
@@ -8874,9 +8808,9 @@ exports.extractFunction = extractFunction;
|
|
|
8874
8808
|
|
|
8875
8809
|
/***/ }),
|
|
8876
8810
|
|
|
8877
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8811
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/functional/compose.js":
|
|
8878
8812
|
/*!*************************************************************************************************!*\
|
|
8879
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8813
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/functional/compose.js ***!
|
|
8880
8814
|
\*************************************************************************************************/
|
|
8881
8815
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8882
8816
|
|
|
@@ -8900,9 +8834,9 @@ exports.compose = compose;
|
|
|
8900
8834
|
|
|
8901
8835
|
/***/ }),
|
|
8902
8836
|
|
|
8903
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8837
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/functional/context.js":
|
|
8904
8838
|
/*!*************************************************************************************************!*\
|
|
8905
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8839
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/functional/context.js ***!
|
|
8906
8840
|
\*************************************************************************************************/
|
|
8907
8841
|
/***/ (function(__unused_webpack_module, exports) {
|
|
8908
8842
|
|
|
@@ -8942,9 +8876,9 @@ function contextBuilder(init, extenders) {
|
|
|
8942
8876
|
|
|
8943
8877
|
/***/ }),
|
|
8944
8878
|
|
|
8945
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8879
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/functional/index.js":
|
|
8946
8880
|
/*!***********************************************************************************************!*\
|
|
8947
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8881
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/functional/index.js ***!
|
|
8948
8882
|
\***********************************************************************************************/
|
|
8949
8883
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8950
8884
|
|
|
@@ -8965,15 +8899,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
8965
8899
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
8966
8900
|
};
|
|
8967
8901
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8968
|
-
__exportStar(__webpack_require__(/*! ./compose.js */ "../../node_modules/.pnpm/type-plus@
|
|
8969
|
-
__exportStar(__webpack_require__(/*! ./context.js */ "../../node_modules/.pnpm/type-plus@
|
|
8902
|
+
__exportStar(__webpack_require__(/*! ./compose.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/functional/compose.js"), exports);
|
|
8903
|
+
__exportStar(__webpack_require__(/*! ./context.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/functional/context.js"), exports);
|
|
8970
8904
|
//# sourceMappingURL=index.js.map
|
|
8971
8905
|
|
|
8972
8906
|
/***/ }),
|
|
8973
8907
|
|
|
8974
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8908
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/index.js":
|
|
8975
8909
|
/*!************************************************************************************!*\
|
|
8976
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8910
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/index.js ***!
|
|
8977
8911
|
\************************************************************************************/
|
|
8978
8912
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8979
8913
|
|
|
@@ -9006,33 +8940,51 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
9006
8940
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
9007
8941
|
};
|
|
9008
8942
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9009
|
-
exports.NumberPlus = exports.ArrayPlus = exports.unpartial = exports.requiredDeep = exports.required = void 0;
|
|
8943
|
+
exports.TuplePlus = exports.NumericPlus = exports.NumberPlus = exports.MathPlus = exports.ArrayPlus = exports.unpartial = exports.requiredDeep = exports.required = void 0;
|
|
9010
8944
|
var unpartial_1 = __webpack_require__(/*! unpartial */ "../../node_modules/.pnpm/unpartial@1.0.4/node_modules/unpartial/cjs/index.js");
|
|
9011
8945
|
Object.defineProperty(exports, "required", ({ enumerable: true, get: function () { return unpartial_1.required; } }));
|
|
9012
8946
|
Object.defineProperty(exports, "requiredDeep", ({ enumerable: true, get: function () { return unpartial_1.requiredDeep; } }));
|
|
9013
8947
|
Object.defineProperty(exports, "unpartial", ({ enumerable: true, get: function () { return unpartial_1.unpartial; } }));
|
|
9014
|
-
exports.ArrayPlus = __importStar(__webpack_require__(/*! ./array/array_plus.js */ "../../node_modules/.pnpm/type-plus@
|
|
9015
|
-
__exportStar(__webpack_require__(/*! ./array/index.js */ "../../node_modules/.pnpm/type-plus@
|
|
9016
|
-
__exportStar(__webpack_require__(/*! ./assertion/assert_type.js */ "../../node_modules/.pnpm/type-plus@
|
|
9017
|
-
__exportStar(__webpack_require__(/*! ./class/index.js */ "../../node_modules/.pnpm/type-plus@
|
|
9018
|
-
__exportStar(__webpack_require__(/*! ./function/extract_function.js */ "../../node_modules/.pnpm/type-plus@
|
|
9019
|
-
__exportStar(__webpack_require__(/*! ./functional/index.js */ "../../node_modules/.pnpm/type-plus@
|
|
9020
|
-
|
|
9021
|
-
__exportStar(__webpack_require__(/*! ./
|
|
9022
|
-
|
|
9023
|
-
|
|
9024
|
-
|
|
9025
|
-
__exportStar(__webpack_require__(/*! ./
|
|
9026
|
-
__exportStar(__webpack_require__(/*! ./
|
|
9027
|
-
__exportStar(__webpack_require__(/*! ./
|
|
9028
|
-
__exportStar(__webpack_require__(/*! ./
|
|
8948
|
+
exports.ArrayPlus = __importStar(__webpack_require__(/*! ./array/array_plus.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/array_plus.js"));
|
|
8949
|
+
__exportStar(__webpack_require__(/*! ./array/index.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/array/index.js"), exports);
|
|
8950
|
+
__exportStar(__webpack_require__(/*! ./assertion/assert_type.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/assertion/assert_type.js"), exports);
|
|
8951
|
+
__exportStar(__webpack_require__(/*! ./class/index.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/class/index.js"), exports);
|
|
8952
|
+
__exportStar(__webpack_require__(/*! ./function/extract_function.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/function/extract_function.js"), exports);
|
|
8953
|
+
__exportStar(__webpack_require__(/*! ./functional/index.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/functional/index.js"), exports);
|
|
8954
|
+
exports.MathPlus = __importStar(__webpack_require__(/*! ./math/math_plus.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/math/math_plus.js"));
|
|
8955
|
+
__exportStar(__webpack_require__(/*! ./nodejs/index.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nodejs/index.js"), exports);
|
|
8956
|
+
__exportStar(__webpack_require__(/*! ./nominal/index.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/index.js"), exports);
|
|
8957
|
+
exports.NumberPlus = __importStar(__webpack_require__(/*! ./number/number_plus.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/number/number_plus.js"));
|
|
8958
|
+
exports.NumericPlus = __importStar(__webpack_require__(/*! ./numeric/numeric_plus.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/numeric/numeric_plus.js"));
|
|
8959
|
+
__exportStar(__webpack_require__(/*! ./object/index.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/index.js"), exports);
|
|
8960
|
+
__exportStar(__webpack_require__(/*! ./predicates/index.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/predicates/index.js"), exports);
|
|
8961
|
+
__exportStar(__webpack_require__(/*! ./promise/index.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/index.js"), exports);
|
|
8962
|
+
__exportStar(__webpack_require__(/*! ./testing/stub.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/testing/stub.js"), exports);
|
|
8963
|
+
__exportStar(__webpack_require__(/*! ./testing/test_type.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/testing/test_type.js"), exports);
|
|
8964
|
+
__exportStar(__webpack_require__(/*! ./tuple/create_tuple.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/tuple/create_tuple.js"), exports);
|
|
8965
|
+
exports.TuplePlus = __importStar(__webpack_require__(/*! ./tuple/tuple_plus.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/tuple/tuple_plus.js"));
|
|
8966
|
+
__exportStar(__webpack_require__(/*! ./type-guard/is_type.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/type-guard/is_type.js"), exports);
|
|
8967
|
+
__exportStar(__webpack_require__(/*! ./utils/index.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/utils/index.js"), exports);
|
|
9029
8968
|
//# sourceMappingURL=index.js.map
|
|
9030
8969
|
|
|
9031
8970
|
/***/ }),
|
|
9032
8971
|
|
|
9033
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
8972
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/math/math_plus.js":
|
|
8973
|
+
/*!*********************************************************************************************!*\
|
|
8974
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/math/math_plus.js ***!
|
|
8975
|
+
\*********************************************************************************************/
|
|
8976
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
8977
|
+
|
|
8978
|
+
"use strict";
|
|
8979
|
+
|
|
8980
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8981
|
+
//# sourceMappingURL=math_plus.js.map
|
|
8982
|
+
|
|
8983
|
+
/***/ }),
|
|
8984
|
+
|
|
8985
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nodejs/index.js":
|
|
9034
8986
|
/*!*******************************************************************************************!*\
|
|
9035
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
8987
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nodejs/index.js ***!
|
|
9036
8988
|
\*******************************************************************************************/
|
|
9037
8989
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9038
8990
|
|
|
@@ -9053,14 +9005,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
9053
9005
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
9054
9006
|
};
|
|
9055
9007
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9056
|
-
__exportStar(__webpack_require__(/*! ./isNodeError.js */ "../../node_modules/.pnpm/type-plus@
|
|
9008
|
+
__exportStar(__webpack_require__(/*! ./isNodeError.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nodejs/isNodeError.js"), exports);
|
|
9057
9009
|
//# sourceMappingURL=index.js.map
|
|
9058
9010
|
|
|
9059
9011
|
/***/ }),
|
|
9060
9012
|
|
|
9061
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9013
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nodejs/isNodeError.js":
|
|
9062
9014
|
/*!*************************************************************************************************!*\
|
|
9063
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9015
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nodejs/isNodeError.js ***!
|
|
9064
9016
|
\*************************************************************************************************/
|
|
9065
9017
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9066
9018
|
|
|
@@ -9081,9 +9033,9 @@ exports.isSystemError = isSystemError;
|
|
|
9081
9033
|
|
|
9082
9034
|
/***/ }),
|
|
9083
9035
|
|
|
9084
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9036
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/brand.js":
|
|
9085
9037
|
/*!********************************************************************************************!*\
|
|
9086
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9038
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/brand.js ***!
|
|
9087
9039
|
\********************************************************************************************/
|
|
9088
9040
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9089
9041
|
|
|
@@ -9093,14 +9045,14 @@ exports.isSystemError = isSystemError;
|
|
|
9093
9045
|
// <https://gist.github.com/dcolthorp/aa21cf87d847ae9942106435bf47565d>
|
|
9094
9046
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9095
9047
|
exports.brand = void 0;
|
|
9096
|
-
const
|
|
9097
|
-
const constants_js_1 = __webpack_require__(/*! ./constants.js */ "../../node_modules/.pnpm/type-plus@
|
|
9048
|
+
const is_type_js_1 = __webpack_require__(/*! ../type-guard/is_type.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/type-guard/is_type.js");
|
|
9049
|
+
const constants_js_1 = __webpack_require__(/*! ./constants.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/constants.js");
|
|
9098
9050
|
function brand(typeInput, subject) {
|
|
9099
9051
|
if (subject === undefined)
|
|
9100
9052
|
return function (subject) {
|
|
9101
9053
|
return brand(typeInput, subject);
|
|
9102
9054
|
};
|
|
9103
|
-
if ((0,
|
|
9055
|
+
if ((0, is_type_js_1.isType)(subject, s => typeof s === 'object' && s !== null)) {
|
|
9104
9056
|
// if subject is not an object, the branding will exist only in type-level.
|
|
9105
9057
|
subject[constants_js_1.typeSym] = typeInput;
|
|
9106
9058
|
}
|
|
@@ -9111,9 +9063,9 @@ exports.brand = brand;
|
|
|
9111
9063
|
|
|
9112
9064
|
/***/ }),
|
|
9113
9065
|
|
|
9114
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9066
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/constants.js":
|
|
9115
9067
|
/*!************************************************************************************************!*\
|
|
9116
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9068
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/constants.js ***!
|
|
9117
9069
|
\************************************************************************************************/
|
|
9118
9070
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9119
9071
|
|
|
@@ -9127,9 +9079,9 @@ exports.valueSym = Symbol('value');
|
|
|
9127
9079
|
|
|
9128
9080
|
/***/ }),
|
|
9129
9081
|
|
|
9130
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9082
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/flavor.js":
|
|
9131
9083
|
/*!*********************************************************************************************!*\
|
|
9132
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9084
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/flavor.js ***!
|
|
9133
9085
|
\*********************************************************************************************/
|
|
9134
9086
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9135
9087
|
|
|
@@ -9139,14 +9091,14 @@ exports.valueSym = Symbol('value');
|
|
|
9139
9091
|
// <https://gist.github.com/dcolthorp/aa21cf87d847ae9942106435bf47565d>
|
|
9140
9092
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9141
9093
|
exports.flavor = void 0;
|
|
9142
|
-
const
|
|
9143
|
-
const constants_js_1 = __webpack_require__(/*! ./constants.js */ "../../node_modules/.pnpm/type-plus@
|
|
9094
|
+
const is_type_js_1 = __webpack_require__(/*! ../type-guard/is_type.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/type-guard/is_type.js");
|
|
9095
|
+
const constants_js_1 = __webpack_require__(/*! ./constants.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/constants.js");
|
|
9144
9096
|
function flavor(type, subject) {
|
|
9145
9097
|
if (subject === undefined)
|
|
9146
9098
|
return function (subject) {
|
|
9147
9099
|
return flavor(type, subject);
|
|
9148
9100
|
};
|
|
9149
|
-
if ((0,
|
|
9101
|
+
if ((0, is_type_js_1.isType)(subject, s => typeof s === 'object' && s !== null)) {
|
|
9150
9102
|
// if subject is not an object, the branding will exist only in type-level.
|
|
9151
9103
|
subject[constants_js_1.typeSym] = type;
|
|
9152
9104
|
}
|
|
@@ -9157,9 +9109,9 @@ exports.flavor = flavor;
|
|
|
9157
9109
|
|
|
9158
9110
|
/***/ }),
|
|
9159
9111
|
|
|
9160
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9112
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/index.js":
|
|
9161
9113
|
/*!********************************************************************************************!*\
|
|
9162
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9114
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/index.js ***!
|
|
9163
9115
|
\********************************************************************************************/
|
|
9164
9116
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9165
9117
|
|
|
@@ -9180,16 +9132,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
9180
9132
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
9181
9133
|
};
|
|
9182
9134
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9183
|
-
__exportStar(__webpack_require__(/*! ./brand.js */ "../../node_modules/.pnpm/type-plus@
|
|
9184
|
-
__exportStar(__webpack_require__(/*! ./flavor.js */ "../../node_modules/.pnpm/type-plus@
|
|
9185
|
-
__exportStar(__webpack_require__(/*! ./nominal_match.js */ "../../node_modules/.pnpm/type-plus@
|
|
9135
|
+
__exportStar(__webpack_require__(/*! ./brand.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/brand.js"), exports);
|
|
9136
|
+
__exportStar(__webpack_require__(/*! ./flavor.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/flavor.js"), exports);
|
|
9137
|
+
__exportStar(__webpack_require__(/*! ./nominal_match.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/nominal_match.js"), exports);
|
|
9186
9138
|
//# sourceMappingURL=index.js.map
|
|
9187
9139
|
|
|
9188
9140
|
/***/ }),
|
|
9189
9141
|
|
|
9190
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9142
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/nominal_match.js":
|
|
9191
9143
|
/*!****************************************************************************************************!*\
|
|
9192
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9144
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/nominal_match.js ***!
|
|
9193
9145
|
\****************************************************************************************************/
|
|
9194
9146
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9195
9147
|
|
|
@@ -9197,7 +9149,7 @@ __exportStar(__webpack_require__(/*! ./nominal_match.js */ "../../node_modules/.
|
|
|
9197
9149
|
|
|
9198
9150
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9199
9151
|
exports.nominalMatch = void 0;
|
|
9200
|
-
const constants_js_1 = __webpack_require__(/*! ./constants.js */ "../../node_modules/.pnpm/type-plus@
|
|
9152
|
+
const constants_js_1 = __webpack_require__(/*! ./constants.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/nominal/constants.js");
|
|
9201
9153
|
function nominalMatch(a, b) {
|
|
9202
9154
|
if (typeof a === 'object' && a !== null && typeof b === 'object' && b !== null)
|
|
9203
9155
|
return a[constants_js_1.typeSym] === b[constants_js_1.typeSym];
|
|
@@ -9210,9 +9162,9 @@ exports.nominalMatch = nominalMatch;
|
|
|
9210
9162
|
|
|
9211
9163
|
/***/ }),
|
|
9212
9164
|
|
|
9213
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9165
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/number/number_plus.js":
|
|
9214
9166
|
/*!*************************************************************************************************!*\
|
|
9215
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9167
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/number/number_plus.js ***!
|
|
9216
9168
|
\*************************************************************************************************/
|
|
9217
9169
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9218
9170
|
|
|
@@ -9223,9 +9175,22 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
9223
9175
|
|
|
9224
9176
|
/***/ }),
|
|
9225
9177
|
|
|
9226
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9178
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/numeric/numeric_plus.js":
|
|
9179
|
+
/*!***************************************************************************************************!*\
|
|
9180
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/numeric/numeric_plus.js ***!
|
|
9181
|
+
\***************************************************************************************************/
|
|
9182
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
9183
|
+
|
|
9184
|
+
"use strict";
|
|
9185
|
+
|
|
9186
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9187
|
+
//# sourceMappingURL=numeric_plus.js.map
|
|
9188
|
+
|
|
9189
|
+
/***/ }),
|
|
9190
|
+
|
|
9191
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/everyKey.js":
|
|
9227
9192
|
/*!**********************************************************************************************!*\
|
|
9228
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9193
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/everyKey.js ***!
|
|
9229
9194
|
\**********************************************************************************************/
|
|
9230
9195
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9231
9196
|
|
|
@@ -9241,9 +9206,9 @@ exports.everyKey = everyKey;
|
|
|
9241
9206
|
|
|
9242
9207
|
/***/ }),
|
|
9243
9208
|
|
|
9244
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9209
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/facade.js":
|
|
9245
9210
|
/*!********************************************************************************************!*\
|
|
9246
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9211
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/facade.js ***!
|
|
9247
9212
|
\********************************************************************************************/
|
|
9248
9213
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9249
9214
|
|
|
@@ -9278,9 +9243,9 @@ exports.facade = facade;
|
|
|
9278
9243
|
|
|
9279
9244
|
/***/ }),
|
|
9280
9245
|
|
|
9281
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9246
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/filterKey.js":
|
|
9282
9247
|
/*!***********************************************************************************************!*\
|
|
9283
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9248
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/filterKey.js ***!
|
|
9284
9249
|
\***********************************************************************************************/
|
|
9285
9250
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9286
9251
|
|
|
@@ -9298,9 +9263,9 @@ exports.filterKey = filterKey;
|
|
|
9298
9263
|
|
|
9299
9264
|
/***/ }),
|
|
9300
9265
|
|
|
9301
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9266
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/findKey.js":
|
|
9302
9267
|
/*!*********************************************************************************************!*\
|
|
9303
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9268
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/findKey.js ***!
|
|
9304
9269
|
\*********************************************************************************************/
|
|
9305
9270
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9306
9271
|
|
|
@@ -9318,9 +9283,9 @@ exports.findKey = findKey;
|
|
|
9318
9283
|
|
|
9319
9284
|
/***/ }),
|
|
9320
9285
|
|
|
9321
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9286
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/forEachKey.js":
|
|
9322
9287
|
/*!************************************************************************************************!*\
|
|
9323
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9288
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/forEachKey.js ***!
|
|
9324
9289
|
\************************************************************************************************/
|
|
9325
9290
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9326
9291
|
|
|
@@ -9336,9 +9301,9 @@ exports.forEachKey = forEachKey;
|
|
|
9336
9301
|
|
|
9337
9302
|
/***/ }),
|
|
9338
9303
|
|
|
9339
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9304
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/getField.js":
|
|
9340
9305
|
/*!**********************************************************************************************!*\
|
|
9341
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9306
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/getField.js ***!
|
|
9342
9307
|
\**********************************************************************************************/
|
|
9343
9308
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9344
9309
|
|
|
@@ -9354,9 +9319,9 @@ exports.getField = getField;
|
|
|
9354
9319
|
|
|
9355
9320
|
/***/ }),
|
|
9356
9321
|
|
|
9357
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9322
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/hasKey.js":
|
|
9358
9323
|
/*!********************************************************************************************!*\
|
|
9359
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9324
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/hasKey.js ***!
|
|
9360
9325
|
\********************************************************************************************/
|
|
9361
9326
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9362
9327
|
|
|
@@ -9372,9 +9337,9 @@ exports.hasKey = hasKey;
|
|
|
9372
9337
|
|
|
9373
9338
|
/***/ }),
|
|
9374
9339
|
|
|
9375
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9340
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/hasProperty.js":
|
|
9376
9341
|
/*!*************************************************************************************************!*\
|
|
9377
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9342
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/hasProperty.js ***!
|
|
9378
9343
|
\*************************************************************************************************/
|
|
9379
9344
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9380
9345
|
|
|
@@ -9390,9 +9355,9 @@ exports.hasProperty = hasProperty;
|
|
|
9390
9355
|
|
|
9391
9356
|
/***/ }),
|
|
9392
9357
|
|
|
9393
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9358
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/index.js":
|
|
9394
9359
|
/*!*******************************************************************************************!*\
|
|
9395
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9360
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/index.js ***!
|
|
9396
9361
|
\*******************************************************************************************/
|
|
9397
9362
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9398
9363
|
|
|
@@ -9413,31 +9378,31 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
9413
9378
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
9414
9379
|
};
|
|
9415
9380
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9416
|
-
__exportStar(__webpack_require__(/*! ./everyKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9417
|
-
__exportStar(__webpack_require__(/*! ./facade.js */ "../../node_modules/.pnpm/type-plus@
|
|
9418
|
-
__exportStar(__webpack_require__(/*! ./filterKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9419
|
-
__exportStar(__webpack_require__(/*! ./findKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9420
|
-
__exportStar(__webpack_require__(/*! ./forEachKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9421
|
-
__exportStar(__webpack_require__(/*! ./getField.js */ "../../node_modules/.pnpm/type-plus@
|
|
9422
|
-
__exportStar(__webpack_require__(/*! ./hasKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9423
|
-
__exportStar(__webpack_require__(/*! ./hasProperty.js */ "../../node_modules/.pnpm/type-plus@
|
|
9424
|
-
__exportStar(__webpack_require__(/*! ./mapKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9425
|
-
__exportStar(__webpack_require__(/*! ./mapProperties.js */ "../../node_modules/.pnpm/type-plus@
|
|
9426
|
-
__exportStar(__webpack_require__(/*! ./omit.js */ "../../node_modules/.pnpm/type-plus@
|
|
9427
|
-
__exportStar(__webpack_require__(/*! ./pick.js */ "../../node_modules/.pnpm/type-plus@
|
|
9428
|
-
__exportStar(__webpack_require__(/*! ./record.js */ "../../node_modules/.pnpm/type-plus@
|
|
9429
|
-
__exportStar(__webpack_require__(/*! ./reduceKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9430
|
-
__exportStar(__webpack_require__(/*! ./replaceProperty.js */ "../../node_modules/.pnpm/type-plus@
|
|
9431
|
-
__exportStar(__webpack_require__(/*! ./someKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9432
|
-
__exportStar(__webpack_require__(/*! ./split.js */ "../../node_modules/.pnpm/type-plus@
|
|
9433
|
-
__exportStar(__webpack_require__(/*! ./typeOverrideIncompatible.js */ "../../node_modules/.pnpm/type-plus@
|
|
9381
|
+
__exportStar(__webpack_require__(/*! ./everyKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/everyKey.js"), exports);
|
|
9382
|
+
__exportStar(__webpack_require__(/*! ./facade.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/facade.js"), exports);
|
|
9383
|
+
__exportStar(__webpack_require__(/*! ./filterKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/filterKey.js"), exports);
|
|
9384
|
+
__exportStar(__webpack_require__(/*! ./findKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/findKey.js"), exports);
|
|
9385
|
+
__exportStar(__webpack_require__(/*! ./forEachKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/forEachKey.js"), exports);
|
|
9386
|
+
__exportStar(__webpack_require__(/*! ./getField.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/getField.js"), exports);
|
|
9387
|
+
__exportStar(__webpack_require__(/*! ./hasKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/hasKey.js"), exports);
|
|
9388
|
+
__exportStar(__webpack_require__(/*! ./hasProperty.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/hasProperty.js"), exports);
|
|
9389
|
+
__exportStar(__webpack_require__(/*! ./mapKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/mapKey.js"), exports);
|
|
9390
|
+
__exportStar(__webpack_require__(/*! ./mapProperties.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/mapProperties.js"), exports);
|
|
9391
|
+
__exportStar(__webpack_require__(/*! ./omit.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/omit.js"), exports);
|
|
9392
|
+
__exportStar(__webpack_require__(/*! ./pick.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/pick.js"), exports);
|
|
9393
|
+
__exportStar(__webpack_require__(/*! ./record.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/record.js"), exports);
|
|
9394
|
+
__exportStar(__webpack_require__(/*! ./reduceKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/reduceKey.js"), exports);
|
|
9395
|
+
__exportStar(__webpack_require__(/*! ./replaceProperty.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/replaceProperty.js"), exports);
|
|
9396
|
+
__exportStar(__webpack_require__(/*! ./someKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/someKey.js"), exports);
|
|
9397
|
+
__exportStar(__webpack_require__(/*! ./split.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/split.js"), exports);
|
|
9398
|
+
__exportStar(__webpack_require__(/*! ./typeOverrideIncompatible.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/typeOverrideIncompatible.js"), exports);
|
|
9434
9399
|
//# sourceMappingURL=index.js.map
|
|
9435
9400
|
|
|
9436
9401
|
/***/ }),
|
|
9437
9402
|
|
|
9438
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9403
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/mapKey.js":
|
|
9439
9404
|
/*!********************************************************************************************!*\
|
|
9440
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9405
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/mapKey.js ***!
|
|
9441
9406
|
\********************************************************************************************/
|
|
9442
9407
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9443
9408
|
|
|
@@ -9455,9 +9420,9 @@ exports.mapKey = mapKey;
|
|
|
9455
9420
|
|
|
9456
9421
|
/***/ }),
|
|
9457
9422
|
|
|
9458
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9423
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/mapProperties.js":
|
|
9459
9424
|
/*!***************************************************************************************************!*\
|
|
9460
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9425
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/mapProperties.js ***!
|
|
9461
9426
|
\***************************************************************************************************/
|
|
9462
9427
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9463
9428
|
|
|
@@ -9465,7 +9430,7 @@ exports.mapKey = mapKey;
|
|
|
9465
9430
|
|
|
9466
9431
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9467
9432
|
exports.mapProperties = void 0;
|
|
9468
|
-
const reduceKey_js_1 = __webpack_require__(/*! ./reduceKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9433
|
+
const reduceKey_js_1 = __webpack_require__(/*! ./reduceKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/reduceKey.js");
|
|
9469
9434
|
/**
|
|
9470
9435
|
* An Object-specific version of `map`.
|
|
9471
9436
|
* Original source:
|
|
@@ -9482,9 +9447,9 @@ exports.mapProperties = mapProperties;
|
|
|
9482
9447
|
|
|
9483
9448
|
/***/ }),
|
|
9484
9449
|
|
|
9485
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9450
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/omit.js":
|
|
9486
9451
|
/*!******************************************************************************************!*\
|
|
9487
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9452
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/omit.js ***!
|
|
9488
9453
|
\******************************************************************************************/
|
|
9489
9454
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9490
9455
|
|
|
@@ -9492,8 +9457,8 @@ exports.mapProperties = mapProperties;
|
|
|
9492
9457
|
|
|
9493
9458
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9494
9459
|
exports.omit = void 0;
|
|
9495
|
-
const record_js_1 = __webpack_require__(/*! ./record.js */ "../../node_modules/.pnpm/type-plus@
|
|
9496
|
-
const reduceKey_js_1 = __webpack_require__(/*! ./reduceKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9460
|
+
const record_js_1 = __webpack_require__(/*! ./record.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/record.js");
|
|
9461
|
+
const reduceKey_js_1 = __webpack_require__(/*! ./reduceKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/reduceKey.js");
|
|
9497
9462
|
function omit(subject, ...props) {
|
|
9498
9463
|
return (0, reduceKey_js_1.reduceByKey)(subject, (p, k) => {
|
|
9499
9464
|
if (props.indexOf(k) === -1)
|
|
@@ -9506,9 +9471,9 @@ exports.omit = omit;
|
|
|
9506
9471
|
|
|
9507
9472
|
/***/ }),
|
|
9508
9473
|
|
|
9509
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9474
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/pick.js":
|
|
9510
9475
|
/*!******************************************************************************************!*\
|
|
9511
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9476
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/pick.js ***!
|
|
9512
9477
|
\******************************************************************************************/
|
|
9513
9478
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9514
9479
|
|
|
@@ -9516,8 +9481,8 @@ exports.omit = omit;
|
|
|
9516
9481
|
|
|
9517
9482
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9518
9483
|
exports.pick = void 0;
|
|
9519
|
-
const record_js_1 = __webpack_require__(/*! ./record.js */ "../../node_modules/.pnpm/type-plus@
|
|
9520
|
-
const reduceKey_js_1 = __webpack_require__(/*! ./reduceKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9484
|
+
const record_js_1 = __webpack_require__(/*! ./record.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/record.js");
|
|
9485
|
+
const reduceKey_js_1 = __webpack_require__(/*! ./reduceKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/reduceKey.js");
|
|
9521
9486
|
function pick(subject, ...props) {
|
|
9522
9487
|
return (0, reduceKey_js_1.reduceByKey)(subject, (p, k) => {
|
|
9523
9488
|
if (props.indexOf(k) >= 0)
|
|
@@ -9530,9 +9495,9 @@ exports.pick = pick;
|
|
|
9530
9495
|
|
|
9531
9496
|
/***/ }),
|
|
9532
9497
|
|
|
9533
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9498
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/record.js":
|
|
9534
9499
|
/*!********************************************************************************************!*\
|
|
9535
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9500
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/record.js ***!
|
|
9536
9501
|
\********************************************************************************************/
|
|
9537
9502
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9538
9503
|
|
|
@@ -9549,9 +9514,9 @@ exports.record = record;
|
|
|
9549
9514
|
|
|
9550
9515
|
/***/ }),
|
|
9551
9516
|
|
|
9552
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9517
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/reduceKey.js":
|
|
9553
9518
|
/*!***********************************************************************************************!*\
|
|
9554
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9519
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/reduceKey.js ***!
|
|
9555
9520
|
\***********************************************************************************************/
|
|
9556
9521
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9557
9522
|
|
|
@@ -9571,9 +9536,9 @@ exports.reduceKey = reduceByKey;
|
|
|
9571
9536
|
|
|
9572
9537
|
/***/ }),
|
|
9573
9538
|
|
|
9574
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9539
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/replaceProperty.js":
|
|
9575
9540
|
/*!*****************************************************************************************************!*\
|
|
9576
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9541
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/replaceProperty.js ***!
|
|
9577
9542
|
\*****************************************************************************************************/
|
|
9578
9543
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9579
9544
|
|
|
@@ -9589,9 +9554,9 @@ exports.replaceProperty = replaceProperty;
|
|
|
9589
9554
|
|
|
9590
9555
|
/***/ }),
|
|
9591
9556
|
|
|
9592
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9557
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/someKey.js":
|
|
9593
9558
|
/*!*********************************************************************************************!*\
|
|
9594
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9559
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/someKey.js ***!
|
|
9595
9560
|
\*********************************************************************************************/
|
|
9596
9561
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9597
9562
|
|
|
@@ -9609,9 +9574,9 @@ exports.someKey = someKey;
|
|
|
9609
9574
|
|
|
9610
9575
|
/***/ }),
|
|
9611
9576
|
|
|
9612
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9577
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/split.js":
|
|
9613
9578
|
/*!*******************************************************************************************!*\
|
|
9614
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9579
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/split.js ***!
|
|
9615
9580
|
\*******************************************************************************************/
|
|
9616
9581
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9617
9582
|
|
|
@@ -9619,7 +9584,7 @@ exports.someKey = someKey;
|
|
|
9619
9584
|
|
|
9620
9585
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9621
9586
|
exports.split = void 0;
|
|
9622
|
-
const reduceKey_js_1 = __webpack_require__(/*! ./reduceKey.js */ "../../node_modules/.pnpm/type-plus@
|
|
9587
|
+
const reduceKey_js_1 = __webpack_require__(/*! ./reduceKey.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/reduceKey.js");
|
|
9623
9588
|
function split(target, ...splitters) {
|
|
9624
9589
|
const keyMap = {};
|
|
9625
9590
|
const s = splitters.map(s => (0, reduceKey_js_1.reduceByKey)(s, (p, k) => ((keyMap[k] = true), (p[k] = target[k] ?? s[k]), p), {}));
|
|
@@ -9631,9 +9596,9 @@ exports.split = split;
|
|
|
9631
9596
|
|
|
9632
9597
|
/***/ }),
|
|
9633
9598
|
|
|
9634
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9599
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/typeOverrideIncompatible.js":
|
|
9635
9600
|
/*!**************************************************************************************************************!*\
|
|
9636
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9601
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/object/typeOverrideIncompatible.js ***!
|
|
9637
9602
|
\**************************************************************************************************************/
|
|
9638
9603
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9639
9604
|
|
|
@@ -9654,9 +9619,9 @@ exports.typeOverrideIncompatible = typeOverrideIncompatible;
|
|
|
9654
9619
|
|
|
9655
9620
|
/***/ }),
|
|
9656
9621
|
|
|
9657
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9622
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/predicates/CanAssign.js":
|
|
9658
9623
|
/*!***************************************************************************************************!*\
|
|
9659
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9624
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/predicates/CanAssign.js ***!
|
|
9660
9625
|
\***************************************************************************************************/
|
|
9661
9626
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9662
9627
|
|
|
@@ -9672,9 +9637,9 @@ exports.canAssign = canAssign;
|
|
|
9672
9637
|
|
|
9673
9638
|
/***/ }),
|
|
9674
9639
|
|
|
9675
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9640
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/predicates/index.js":
|
|
9676
9641
|
/*!***********************************************************************************************!*\
|
|
9677
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9642
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/predicates/index.js ***!
|
|
9678
9643
|
\***********************************************************************************************/
|
|
9679
9644
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9680
9645
|
|
|
@@ -9695,51 +9660,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
9695
9660
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
9696
9661
|
};
|
|
9697
9662
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9698
|
-
__exportStar(__webpack_require__(/*! ./CanAssign.js */ "../../node_modules/.pnpm/type-plus@
|
|
9699
|
-
__exportStar(__webpack_require__(/*! ./isType.js */ "../../node_modules/.pnpm/type-plus@6.6.0/node_modules/type-plus/cjs/predicates/isType.js"), exports);
|
|
9663
|
+
__exportStar(__webpack_require__(/*! ./CanAssign.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/predicates/CanAssign.js"), exports);
|
|
9700
9664
|
//# sourceMappingURL=index.js.map
|
|
9701
9665
|
|
|
9702
9666
|
/***/ }),
|
|
9703
9667
|
|
|
9704
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9705
|
-
/*!************************************************************************************************!*\
|
|
9706
|
-
!*** ../../node_modules/.pnpm/type-plus@6.6.0/node_modules/type-plus/cjs/predicates/isType.js ***!
|
|
9707
|
-
\************************************************************************************************/
|
|
9708
|
-
/***/ (function(__unused_webpack_module, exports) {
|
|
9709
|
-
|
|
9710
|
-
"use strict";
|
|
9711
|
-
|
|
9712
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9713
|
-
exports.isType = void 0;
|
|
9714
|
-
function isType(subject, validator) {
|
|
9715
|
-
return validator ? !!validator(subject) : true;
|
|
9716
|
-
}
|
|
9717
|
-
exports.isType = isType;
|
|
9718
|
-
isType.t = function (subject) {
|
|
9719
|
-
return subject === undefined || subject === true;
|
|
9720
|
-
};
|
|
9721
|
-
isType.f = function (subject) {
|
|
9722
|
-
return subject === undefined || subject === false;
|
|
9723
|
-
};
|
|
9724
|
-
function isNever(subject) {
|
|
9725
|
-
return true;
|
|
9726
|
-
}
|
|
9727
|
-
isType.never = isNever;
|
|
9728
|
-
/**
|
|
9729
|
-
* Are types A and B equals/not equals.
|
|
9730
|
-
* Easier to use than `isType.t<>()` and `isType.f<>()`,
|
|
9731
|
-
* when doing type level only equality comparison as you don't have to import `Equal<>`.
|
|
9732
|
-
*
|
|
9733
|
-
* @deprecated use `type.equal()` instead
|
|
9734
|
-
*/
|
|
9735
|
-
isType.equal = function () { };
|
|
9736
|
-
//# sourceMappingURL=isType.js.map
|
|
9737
|
-
|
|
9738
|
-
/***/ }),
|
|
9739
|
-
|
|
9740
|
-
/***/ "../../node_modules/.pnpm/type-plus@6.6.0/node_modules/type-plus/cjs/promise/MaybePromise.js":
|
|
9668
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/MaybePromise.js":
|
|
9741
9669
|
/*!***************************************************************************************************!*\
|
|
9742
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9670
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/MaybePromise.js ***!
|
|
9743
9671
|
\***************************************************************************************************/
|
|
9744
9672
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9745
9673
|
|
|
@@ -9747,7 +9675,7 @@ isType.equal = function () { };
|
|
|
9747
9675
|
|
|
9748
9676
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9749
9677
|
exports.MaybePromise = exports.transformMaybePromise = void 0;
|
|
9750
|
-
const isPromise_js_1 = __webpack_require__(/*! ./isPromise.js */ "../../node_modules/.pnpm/type-plus@
|
|
9678
|
+
const isPromise_js_1 = __webpack_require__(/*! ./isPromise.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/isPromise.js");
|
|
9751
9679
|
function transformMaybePromise(value, transformer) {
|
|
9752
9680
|
return (0, isPromise_js_1.isPromise)(value) ? value.then(transformer) : transformer(value);
|
|
9753
9681
|
}
|
|
@@ -9759,9 +9687,9 @@ exports.MaybePromise = {
|
|
|
9759
9687
|
|
|
9760
9688
|
/***/ }),
|
|
9761
9689
|
|
|
9762
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9690
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/index.js":
|
|
9763
9691
|
/*!********************************************************************************************!*\
|
|
9764
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9692
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/index.js ***!
|
|
9765
9693
|
\********************************************************************************************/
|
|
9766
9694
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9767
9695
|
|
|
@@ -9782,16 +9710,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
9782
9710
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
9783
9711
|
};
|
|
9784
9712
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9785
|
-
__exportStar(__webpack_require__(/*! ./isPromise.js */ "../../node_modules/.pnpm/type-plus@
|
|
9786
|
-
__exportStar(__webpack_require__(/*! ./mapSeries.js */ "../../node_modules/.pnpm/type-plus@
|
|
9787
|
-
__exportStar(__webpack_require__(/*! ./MaybePromise.js */ "../../node_modules/.pnpm/type-plus@
|
|
9713
|
+
__exportStar(__webpack_require__(/*! ./isPromise.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/isPromise.js"), exports);
|
|
9714
|
+
__exportStar(__webpack_require__(/*! ./mapSeries.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/mapSeries.js"), exports);
|
|
9715
|
+
__exportStar(__webpack_require__(/*! ./MaybePromise.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/MaybePromise.js"), exports);
|
|
9788
9716
|
//# sourceMappingURL=index.js.map
|
|
9789
9717
|
|
|
9790
9718
|
/***/ }),
|
|
9791
9719
|
|
|
9792
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9720
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/isPromise.js":
|
|
9793
9721
|
/*!************************************************************************************************!*\
|
|
9794
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9722
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/isPromise.js ***!
|
|
9795
9723
|
\************************************************************************************************/
|
|
9796
9724
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9797
9725
|
|
|
@@ -9808,9 +9736,9 @@ exports.isPromise = isPromise;
|
|
|
9808
9736
|
|
|
9809
9737
|
/***/ }),
|
|
9810
9738
|
|
|
9811
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9739
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/mapSeries.js":
|
|
9812
9740
|
/*!************************************************************************************************!*\
|
|
9813
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9741
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/promise/mapSeries.js ***!
|
|
9814
9742
|
\************************************************************************************************/
|
|
9815
9743
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9816
9744
|
|
|
@@ -9826,9 +9754,9 @@ exports.mapSeries = mapSeries;
|
|
|
9826
9754
|
|
|
9827
9755
|
/***/ }),
|
|
9828
9756
|
|
|
9829
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9757
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/testing/stub.js":
|
|
9830
9758
|
/*!*******************************************************************************************!*\
|
|
9831
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9759
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/testing/stub.js ***!
|
|
9832
9760
|
\*******************************************************************************************/
|
|
9833
9761
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9834
9762
|
|
|
@@ -9842,19 +9770,63 @@ function stub(stub) {
|
|
|
9842
9770
|
}
|
|
9843
9771
|
exports.stub = stub;
|
|
9844
9772
|
function build(init) {
|
|
9845
|
-
return
|
|
9846
|
-
|
|
9847
|
-
|
|
9773
|
+
return builder(init).create();
|
|
9774
|
+
}
|
|
9775
|
+
/**
|
|
9776
|
+
* Create a builder for a stub function of type T.
|
|
9777
|
+
*
|
|
9778
|
+
* The builder contains two methods:
|
|
9779
|
+
*
|
|
9780
|
+
* `.with()`: adds additional handler or partial stub.
|
|
9781
|
+
* `.create()`: creates the final stub function.
|
|
9782
|
+
*
|
|
9783
|
+
* @example
|
|
9784
|
+
* ```ts
|
|
9785
|
+
* const b = stub.builder<{ a: number; b: string }>({ a: 1 }).with({ b: 'b' }).create()
|
|
9786
|
+
* b({ a: 2 }) // { a: 2, b: 'b' }
|
|
9787
|
+
* ```
|
|
9788
|
+
*/
|
|
9789
|
+
function builder(init) {
|
|
9790
|
+
return builderInternal([init]);
|
|
9791
|
+
}
|
|
9792
|
+
function builderInternal(initializers) {
|
|
9793
|
+
const builder = {
|
|
9794
|
+
/**
|
|
9795
|
+
* Adds an init object or handler to the builder.
|
|
9796
|
+
*
|
|
9797
|
+
* If `init` is an object, it will be merged with the stub object.
|
|
9798
|
+
* If `init` is a function, it will be called with the stub object.
|
|
9799
|
+
*
|
|
9800
|
+
* @return {Builder<T>} The builder instance.
|
|
9801
|
+
*/
|
|
9802
|
+
with(init) {
|
|
9803
|
+
return builderInternal([...initializers, init]);
|
|
9804
|
+
},
|
|
9805
|
+
/**
|
|
9806
|
+
* Creates the resulting stub function.
|
|
9807
|
+
*/
|
|
9808
|
+
create() {
|
|
9809
|
+
return (stub) => {
|
|
9810
|
+
return initializers.reduce((acc, init) => {
|
|
9811
|
+
if (typeof init === 'function') {
|
|
9812
|
+
return init(acc);
|
|
9813
|
+
}
|
|
9814
|
+
return (0, unpartial_1.requiredDeep)(init, acc);
|
|
9815
|
+
}, stub);
|
|
9816
|
+
};
|
|
9817
|
+
}
|
|
9848
9818
|
};
|
|
9819
|
+
return builder;
|
|
9849
9820
|
}
|
|
9850
9821
|
stub.build = build;
|
|
9822
|
+
stub.builder = builder;
|
|
9851
9823
|
//# sourceMappingURL=stub.js.map
|
|
9852
9824
|
|
|
9853
9825
|
/***/ }),
|
|
9854
9826
|
|
|
9855
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9827
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/testing/test_type.js":
|
|
9856
9828
|
/*!************************************************************************************************!*\
|
|
9857
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9829
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/testing/test_type.js ***!
|
|
9858
9830
|
\************************************************************************************************/
|
|
9859
9831
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9860
9832
|
|
|
@@ -9862,9 +9834,6 @@ stub.build = build;
|
|
|
9862
9834
|
|
|
9863
9835
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9864
9836
|
exports.testType = void 0;
|
|
9865
|
-
function equal(expected) {
|
|
9866
|
-
return expected;
|
|
9867
|
-
}
|
|
9868
9837
|
/**
|
|
9869
9838
|
* Test utilities for types.
|
|
9870
9839
|
*
|
|
@@ -9872,104 +9841,114 @@ function equal(expected) {
|
|
|
9872
9841
|
* The return value is the input `expected` parameter asserted as the first type parameter,
|
|
9873
9842
|
* so that the type can be further inspected.
|
|
9874
9843
|
*/
|
|
9875
|
-
exports.testType = {
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
*
|
|
9879
|
-
* @return `expected` as `T` for type inspection.
|
|
9880
|
-
*/
|
|
9881
|
-
any(expected) {
|
|
9882
|
-
return expected;
|
|
9883
|
-
},
|
|
9884
|
-
/**
|
|
9885
|
-
* Check if type `T` is exactly `unknown`.
|
|
9886
|
-
*
|
|
9887
|
-
* @return `expected` as `T` for type inspection.
|
|
9888
|
-
*/
|
|
9889
|
-
unknown(expected) {
|
|
9890
|
-
return expected;
|
|
9891
|
-
},
|
|
9892
|
-
/**
|
|
9893
|
-
* Check if type `T` is exactly `never`.
|
|
9894
|
-
*
|
|
9895
|
-
* @return `expected` as `T` for type inspection.
|
|
9896
|
-
*/
|
|
9897
|
-
never(expected) {
|
|
9898
|
-
return expected;
|
|
9899
|
-
},
|
|
9900
|
-
/**
|
|
9901
|
-
* Check if type `T` is exactly `void`.
|
|
9902
|
-
*
|
|
9903
|
-
* @return `expected` as `T` for type inspection.
|
|
9904
|
-
*/
|
|
9905
|
-
void(expected) {
|
|
9906
|
-
return expected;
|
|
9907
|
-
},
|
|
9908
|
-
equal,
|
|
9909
|
-
/**
|
|
9910
|
-
* Check if `A` can assign to `B`.
|
|
9911
|
-
*
|
|
9912
|
-
* @return `expected` as `A` for type inspection.
|
|
9913
|
-
*/
|
|
9914
|
-
canAssign(expected) {
|
|
9915
|
-
return expected;
|
|
9916
|
-
},
|
|
9917
|
-
/**
|
|
9918
|
-
* Check if type `T` is exactly `boolean`.
|
|
9919
|
-
*
|
|
9920
|
-
* @return `expected` as `T` for type inspection.
|
|
9921
|
-
*/
|
|
9922
|
-
strictBoolean(expected) {
|
|
9923
|
-
return expected;
|
|
9924
|
-
},
|
|
9925
|
-
/**
|
|
9926
|
-
* Check if type `T` is `boolean` and boolean literals.
|
|
9927
|
-
*
|
|
9928
|
-
* @return `expected` as `T` for type inspection.
|
|
9929
|
-
*/
|
|
9930
|
-
boolean(expected) {
|
|
9931
|
-
return expected;
|
|
9932
|
-
},
|
|
9933
|
-
/**
|
|
9934
|
-
* Check if type `T` is exactly `true`.
|
|
9935
|
-
*
|
|
9936
|
-
* @return `expected` as `T` for type inspection.
|
|
9937
|
-
*/
|
|
9938
|
-
true(expected) {
|
|
9939
|
-
return expected;
|
|
9940
|
-
},
|
|
9941
|
-
/**
|
|
9942
|
-
* Check if type `T` is exactly `false`.
|
|
9943
|
-
*
|
|
9944
|
-
* @return `expected` as `T` for type inspection.
|
|
9945
|
-
*/
|
|
9946
|
-
false(expected) {
|
|
9947
|
-
return expected;
|
|
9948
|
-
},
|
|
9949
|
-
/**
|
|
9950
|
-
* Check if type `T` is exactly `number`.
|
|
9951
|
-
*
|
|
9952
|
-
* @return `expected` as `T` for type inspection.
|
|
9953
|
-
*/
|
|
9954
|
-
strictNumber(expected) {
|
|
9955
|
-
return expected;
|
|
9956
|
-
},
|
|
9957
|
-
/**
|
|
9958
|
-
* Check if type `T` is `number` or number literals.
|
|
9959
|
-
*
|
|
9960
|
-
* @return `expected` as `T` for type inspection.
|
|
9961
|
-
*/
|
|
9962
|
-
number(expected) {
|
|
9963
|
-
return expected;
|
|
9844
|
+
exports.testType = new Proxy({}, {
|
|
9845
|
+
get(_target, _prop, _receiver) {
|
|
9846
|
+
return (expected) => expected;
|
|
9964
9847
|
}
|
|
9965
|
-
};
|
|
9848
|
+
});
|
|
9966
9849
|
//# sourceMappingURL=test_type.js.map
|
|
9967
9850
|
|
|
9968
9851
|
/***/ }),
|
|
9969
9852
|
|
|
9970
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9853
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/tuple/create_tuple.js":
|
|
9854
|
+
/*!*************************************************************************************************!*\
|
|
9855
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/tuple/create_tuple.js ***!
|
|
9856
|
+
\*************************************************************************************************/
|
|
9857
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
9858
|
+
|
|
9859
|
+
"use strict";
|
|
9860
|
+
|
|
9861
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9862
|
+
//# sourceMappingURL=create_tuple.js.map
|
|
9863
|
+
|
|
9864
|
+
/***/ }),
|
|
9865
|
+
|
|
9866
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/tuple/tuple_plus.js":
|
|
9867
|
+
/*!***********************************************************************************************!*\
|
|
9868
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/tuple/tuple_plus.js ***!
|
|
9869
|
+
\***********************************************************************************************/
|
|
9870
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
9871
|
+
|
|
9872
|
+
"use strict";
|
|
9873
|
+
|
|
9874
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9875
|
+
if (k2 === undefined) k2 = k;
|
|
9876
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9877
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9878
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9879
|
+
}
|
|
9880
|
+
Object.defineProperty(o, k2, desc);
|
|
9881
|
+
}) : (function(o, m, k, k2) {
|
|
9882
|
+
if (k2 === undefined) k2 = k;
|
|
9883
|
+
o[k2] = m[k];
|
|
9884
|
+
}));
|
|
9885
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
9886
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
9887
|
+
};
|
|
9888
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9889
|
+
__exportStar(__webpack_require__(/*! ./tuple_plus.pad_start.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/tuple/tuple_plus.pad_start.js"), exports);
|
|
9890
|
+
//# sourceMappingURL=tuple_plus.js.map
|
|
9891
|
+
|
|
9892
|
+
/***/ }),
|
|
9893
|
+
|
|
9894
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/tuple/tuple_plus.pad_start.js":
|
|
9895
|
+
/*!*********************************************************************************************************!*\
|
|
9896
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/tuple/tuple_plus.pad_start.js ***!
|
|
9897
|
+
\*********************************************************************************************************/
|
|
9898
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
9899
|
+
|
|
9900
|
+
"use strict";
|
|
9901
|
+
|
|
9902
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9903
|
+
//# sourceMappingURL=tuple_plus.pad_start.js.map
|
|
9904
|
+
|
|
9905
|
+
/***/ }),
|
|
9906
|
+
|
|
9907
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/type-guard/is_type.js":
|
|
9908
|
+
/*!*************************************************************************************************!*\
|
|
9909
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/type-guard/is_type.js ***!
|
|
9910
|
+
\*************************************************************************************************/
|
|
9911
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
9912
|
+
|
|
9913
|
+
"use strict";
|
|
9914
|
+
|
|
9915
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
9916
|
+
exports.isType = void 0;
|
|
9917
|
+
function isType(subject, validator) {
|
|
9918
|
+
return validator ? !!validator(subject) : true;
|
|
9919
|
+
}
|
|
9920
|
+
exports.isType = isType;
|
|
9921
|
+
/**
|
|
9922
|
+
* @deprecated use `isType<T>()` or `testType.true<T>()` instead
|
|
9923
|
+
*/
|
|
9924
|
+
isType.t = function (subject) {
|
|
9925
|
+
return subject === undefined || subject === true;
|
|
9926
|
+
};
|
|
9927
|
+
/**
|
|
9928
|
+
* @deprecated use `isType<T>()` or `testType.false<T>()` instead
|
|
9929
|
+
*/
|
|
9930
|
+
isType.f = function (subject) {
|
|
9931
|
+
return subject === undefined || subject === false;
|
|
9932
|
+
};
|
|
9933
|
+
function isNever(subject) {
|
|
9934
|
+
return true;
|
|
9935
|
+
}
|
|
9936
|
+
isType.never = isNever;
|
|
9937
|
+
/**
|
|
9938
|
+
* Are types A and B equals/not equals.
|
|
9939
|
+
* Easier to use than `isType.t<>()` and `isType.f<>()`,
|
|
9940
|
+
* when doing type level only equality comparison as you don't have to import `Equal<>`.
|
|
9941
|
+
*
|
|
9942
|
+
* @deprecated use `testType.equal()` instead
|
|
9943
|
+
*/
|
|
9944
|
+
isType.equal = function () { };
|
|
9945
|
+
//# sourceMappingURL=is_type.js.map
|
|
9946
|
+
|
|
9947
|
+
/***/ }),
|
|
9948
|
+
|
|
9949
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/utils/as.js":
|
|
9971
9950
|
/*!***************************************************************************************!*\
|
|
9972
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9951
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/utils/as.js ***!
|
|
9973
9952
|
\***************************************************************************************/
|
|
9974
9953
|
/***/ (function(__unused_webpack_module, exports) {
|
|
9975
9954
|
|
|
@@ -10003,9 +9982,9 @@ exports.amend = amend;
|
|
|
10003
9982
|
|
|
10004
9983
|
/***/ }),
|
|
10005
9984
|
|
|
10006
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
9985
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/utils/index.js":
|
|
10007
9986
|
/*!******************************************************************************************!*\
|
|
10008
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
9987
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/utils/index.js ***!
|
|
10009
9988
|
\******************************************************************************************/
|
|
10010
9989
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
10011
9990
|
|
|
@@ -10026,15 +10005,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10026
10005
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
10027
10006
|
};
|
|
10028
10007
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
10029
|
-
__exportStar(__webpack_require__(/*! ./as.js */ "../../node_modules/.pnpm/type-plus@
|
|
10030
|
-
__exportStar(__webpack_require__(/*! ./inspect.js */ "../../node_modules/.pnpm/type-plus@
|
|
10008
|
+
__exportStar(__webpack_require__(/*! ./as.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/utils/as.js"), exports);
|
|
10009
|
+
__exportStar(__webpack_require__(/*! ./inspect.js */ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/utils/inspect.js"), exports);
|
|
10031
10010
|
//# sourceMappingURL=index.js.map
|
|
10032
10011
|
|
|
10033
10012
|
/***/ }),
|
|
10034
10013
|
|
|
10035
|
-
/***/ "../../node_modules/.pnpm/type-plus@
|
|
10014
|
+
/***/ "../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/utils/inspect.js":
|
|
10036
10015
|
/*!********************************************************************************************!*\
|
|
10037
|
-
!*** ../../node_modules/.pnpm/type-plus@
|
|
10016
|
+
!*** ../../node_modules/.pnpm/type-plus@7.0.0/node_modules/type-plus/cjs/utils/inspect.js ***!
|
|
10038
10017
|
\********************************************************************************************/
|
|
10039
10018
|
/***/ (function(__unused_webpack_module, exports) {
|
|
10040
10019
|
|