@procore/hammer-test-jest 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +55 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +22 -4
- package/dist/index.mjs +21 -3
- package/dist/transforms/file.mjs +2 -2
- package/dist/transforms/file.test.js +398 -530
- package/dist/transforms/file.test.mjs +399 -532
- package/dist/transforms/reactSvg.js +1 -76
- package/dist/transforms/reactSvg.mjs +4 -86
- package/dist/transforms/reactSvg.test.js +399 -592
- package/dist/transforms/reactSvg.test.mjs +401 -595
- package/package.json +5 -5
|
@@ -33,16 +33,16 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/tsup/assets/cjs_shims.js
|
|
36
|
+
// ../../node_modules/.store/tsup-virtual-c87351f6b5/package/assets/cjs_shims.js
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/tsup/assets/cjs_shims.js"() {
|
|
38
|
+
"../../node_modules/.store/tsup-virtual-c87351f6b5/package/assets/cjs_shims.js"() {
|
|
39
39
|
"use strict";
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
// ../../node_modules/
|
|
44
|
-
var
|
|
45
|
-
"../../node_modules/
|
|
43
|
+
// ../../node_modules/.store/ansi-styles-npm-5.2.0-72fc7003e3/package/index.js
|
|
44
|
+
var require_package = __commonJS({
|
|
45
|
+
"../../node_modules/.store/ansi-styles-npm-5.2.0-72fc7003e3/package/index.js"(exports2, module2) {
|
|
46
46
|
"use strict";
|
|
47
47
|
init_cjs_shims();
|
|
48
48
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
@@ -179,9 +179,9 @@ var require_ansi_styles = __commonJS({
|
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
// ../../node_modules/pretty-format/build/collections.js
|
|
182
|
+
// ../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/collections.js
|
|
183
183
|
var require_collections = __commonJS({
|
|
184
|
-
"../../node_modules/pretty-format/build/collections.js"(exports2) {
|
|
184
|
+
"../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/collections.js"(exports2) {
|
|
185
185
|
"use strict";
|
|
186
186
|
init_cjs_shims();
|
|
187
187
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -315,9 +315,9 @@ var require_collections = __commonJS({
|
|
|
315
315
|
}
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
// ../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js
|
|
318
|
+
// ../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/AsymmetricMatcher.js
|
|
319
319
|
var require_AsymmetricMatcher = __commonJS({
|
|
320
|
-
"../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(exports2) {
|
|
320
|
+
"../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/AsymmetricMatcher.js"(exports2) {
|
|
321
321
|
"use strict";
|
|
322
322
|
init_cjs_shims();
|
|
323
323
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -381,9 +381,9 @@ var require_AsymmetricMatcher = __commonJS({
|
|
|
381
381
|
}
|
|
382
382
|
});
|
|
383
383
|
|
|
384
|
-
// ../../node_modules/pretty-format/build/plugins/DOMCollection.js
|
|
384
|
+
// ../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/DOMCollection.js
|
|
385
385
|
var require_DOMCollection = __commonJS({
|
|
386
|
-
"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(exports2) {
|
|
386
|
+
"../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/DOMCollection.js"(exports2) {
|
|
387
387
|
"use strict";
|
|
388
388
|
init_cjs_shims();
|
|
389
389
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -434,9 +434,9 @@ var require_DOMCollection = __commonJS({
|
|
|
434
434
|
}
|
|
435
435
|
});
|
|
436
436
|
|
|
437
|
-
// ../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js
|
|
437
|
+
// ../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/lib/escapeHTML.js
|
|
438
438
|
var require_escapeHTML = __commonJS({
|
|
439
|
-
"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports2) {
|
|
439
|
+
"../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/lib/escapeHTML.js"(exports2) {
|
|
440
440
|
"use strict";
|
|
441
441
|
init_cjs_shims();
|
|
442
442
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -449,9 +449,9 @@ var require_escapeHTML = __commonJS({
|
|
|
449
449
|
}
|
|
450
450
|
});
|
|
451
451
|
|
|
452
|
-
// ../../node_modules/pretty-format/build/plugins/lib/markup.js
|
|
452
|
+
// ../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/lib/markup.js
|
|
453
453
|
var require_markup = __commonJS({
|
|
454
|
-
"../../node_modules/pretty-format/build/plugins/lib/markup.js"(exports2) {
|
|
454
|
+
"../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/lib/markup.js"(exports2) {
|
|
455
455
|
"use strict";
|
|
456
456
|
init_cjs_shims();
|
|
457
457
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -505,9 +505,9 @@ var require_markup = __commonJS({
|
|
|
505
505
|
}
|
|
506
506
|
});
|
|
507
507
|
|
|
508
|
-
// ../../node_modules/pretty-format/build/plugins/DOMElement.js
|
|
508
|
+
// ../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/DOMElement.js
|
|
509
509
|
var require_DOMElement = __commonJS({
|
|
510
|
-
"../../node_modules/pretty-format/build/plugins/DOMElement.js"(exports2) {
|
|
510
|
+
"../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/DOMElement.js"(exports2) {
|
|
511
511
|
"use strict";
|
|
512
512
|
init_cjs_shims();
|
|
513
513
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -591,9 +591,9 @@ var require_DOMElement = __commonJS({
|
|
|
591
591
|
}
|
|
592
592
|
});
|
|
593
593
|
|
|
594
|
-
// ../../node_modules/pretty-format/build/plugins/Immutable.js
|
|
594
|
+
// ../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/Immutable.js
|
|
595
595
|
var require_Immutable = __commonJS({
|
|
596
|
-
"../../node_modules/pretty-format/build/plugins/Immutable.js"(exports2) {
|
|
596
|
+
"../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/Immutable.js"(exports2) {
|
|
597
597
|
"use strict";
|
|
598
598
|
init_cjs_shims();
|
|
599
599
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -749,9 +749,9 @@ var require_Immutable = __commonJS({
|
|
|
749
749
|
}
|
|
750
750
|
});
|
|
751
751
|
|
|
752
|
-
// ../../node_modules/react-is/cjs/react-is.production.min.js
|
|
752
|
+
// ../../node_modules/.store/react-is-npm-18.3.1-370a81e1e9/package/cjs/react-is.production.min.js
|
|
753
753
|
var require_react_is_production_min = __commonJS({
|
|
754
|
-
"../../node_modules/react-is/cjs/react-is.production.min.js"(exports2) {
|
|
754
|
+
"../../node_modules/.store/react-is-npm-18.3.1-370a81e1e9/package/cjs/react-is.production.min.js"(exports2) {
|
|
755
755
|
"use strict";
|
|
756
756
|
init_cjs_shims();
|
|
757
757
|
var b2 = Symbol.for("react.element");
|
|
@@ -861,9 +861,9 @@ var require_react_is_production_min = __commonJS({
|
|
|
861
861
|
}
|
|
862
862
|
});
|
|
863
863
|
|
|
864
|
-
// ../../node_modules/react-is/cjs/react-is.development.js
|
|
864
|
+
// ../../node_modules/.store/react-is-npm-18.3.1-370a81e1e9/package/cjs/react-is.development.js
|
|
865
865
|
var require_react_is_development = __commonJS({
|
|
866
|
-
"../../node_modules/react-is/cjs/react-is.development.js"(exports2) {
|
|
866
|
+
"../../node_modules/.store/react-is-npm-18.3.1-370a81e1e9/package/cjs/react-is.development.js"(exports2) {
|
|
867
867
|
"use strict";
|
|
868
868
|
init_cjs_shims();
|
|
869
869
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1044,9 +1044,9 @@ var require_react_is_development = __commonJS({
|
|
|
1044
1044
|
}
|
|
1045
1045
|
});
|
|
1046
1046
|
|
|
1047
|
-
// ../../node_modules/react-is/index.js
|
|
1048
|
-
var
|
|
1049
|
-
"../../node_modules/react-is/index.js"(exports2, module2) {
|
|
1047
|
+
// ../../node_modules/.store/react-is-npm-18.3.1-370a81e1e9/package/index.js
|
|
1048
|
+
var require_package2 = __commonJS({
|
|
1049
|
+
"../../node_modules/.store/react-is-npm-18.3.1-370a81e1e9/package/index.js"(exports2, module2) {
|
|
1050
1050
|
"use strict";
|
|
1051
1051
|
init_cjs_shims();
|
|
1052
1052
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -1057,20 +1057,19 @@ var require_react_is = __commonJS({
|
|
|
1057
1057
|
}
|
|
1058
1058
|
});
|
|
1059
1059
|
|
|
1060
|
-
// ../../node_modules/pretty-format/build/plugins/ReactElement.js
|
|
1060
|
+
// ../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/ReactElement.js
|
|
1061
1061
|
var require_ReactElement = __commonJS({
|
|
1062
|
-
"../../node_modules/pretty-format/build/plugins/ReactElement.js"(exports2) {
|
|
1062
|
+
"../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/ReactElement.js"(exports2) {
|
|
1063
1063
|
"use strict";
|
|
1064
1064
|
init_cjs_shims();
|
|
1065
1065
|
Object.defineProperty(exports2, "__esModule", {
|
|
1066
1066
|
value: true
|
|
1067
1067
|
});
|
|
1068
1068
|
exports2.test = exports2.serialize = exports2.default = void 0;
|
|
1069
|
-
var ReactIs = _interopRequireWildcard(
|
|
1069
|
+
var ReactIs = _interopRequireWildcard(require_package2());
|
|
1070
1070
|
var _markup = require_markup();
|
|
1071
1071
|
function _getRequireWildcardCache(nodeInterop) {
|
|
1072
|
-
if (typeof WeakMap !== "function")
|
|
1073
|
-
return null;
|
|
1072
|
+
if (typeof WeakMap !== "function") return null;
|
|
1074
1073
|
var cacheBabelInterop = /* @__PURE__ */ new WeakMap();
|
|
1075
1074
|
var cacheNodeInterop = /* @__PURE__ */ new WeakMap();
|
|
1076
1075
|
return (_getRequireWildcardCache = function(nodeInterop2) {
|
|
@@ -1189,9 +1188,9 @@ var require_ReactElement = __commonJS({
|
|
|
1189
1188
|
}
|
|
1190
1189
|
});
|
|
1191
1190
|
|
|
1192
|
-
// ../../node_modules/pretty-format/build/plugins/ReactTestComponent.js
|
|
1191
|
+
// ../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/ReactTestComponent.js
|
|
1193
1192
|
var require_ReactTestComponent = __commonJS({
|
|
1194
|
-
"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports2) {
|
|
1193
|
+
"../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/plugins/ReactTestComponent.js"(exports2) {
|
|
1195
1194
|
"use strict";
|
|
1196
1195
|
init_cjs_shims();
|
|
1197
1196
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -1239,9 +1238,9 @@ var require_ReactTestComponent = __commonJS({
|
|
|
1239
1238
|
}
|
|
1240
1239
|
});
|
|
1241
1240
|
|
|
1242
|
-
// ../../node_modules/pretty-format/build/index.js
|
|
1241
|
+
// ../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/index.js
|
|
1243
1242
|
var require_build = __commonJS({
|
|
1244
|
-
"../../node_modules/pretty-format/build/index.js"(exports2) {
|
|
1243
|
+
"../../node_modules/.store/pretty-format-npm-29.7.0-7d330b2ea2/package/build/index.js"(exports2) {
|
|
1245
1244
|
"use strict";
|
|
1246
1245
|
init_cjs_shims();
|
|
1247
1246
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -1250,7 +1249,7 @@ var require_build = __commonJS({
|
|
|
1250
1249
|
exports2.default = exports2.DEFAULT_OPTIONS = void 0;
|
|
1251
1250
|
exports2.format = format5;
|
|
1252
1251
|
exports2.plugins = void 0;
|
|
1253
|
-
var _ansiStyles = _interopRequireDefault(
|
|
1252
|
+
var _ansiStyles = _interopRequireDefault(require_package());
|
|
1254
1253
|
var _collections = require_collections();
|
|
1255
1254
|
var _AsymmetricMatcher = _interopRequireDefault(
|
|
1256
1255
|
require_AsymmetricMatcher()
|
|
@@ -1611,7 +1610,7 @@ ${indentationNext}`);
|
|
|
1611
1610
|
}
|
|
1612
1611
|
});
|
|
1613
1612
|
|
|
1614
|
-
// ../../node_modules/loupe/lib/helpers.js
|
|
1613
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/helpers.js
|
|
1615
1614
|
function colorise(value, styleType) {
|
|
1616
1615
|
const color = ansiColors[styles[styleType]] || ansiColors[styleType];
|
|
1617
1616
|
if (!color) {
|
|
@@ -1664,8 +1663,7 @@ function truncate(string3, length, tail = truncator) {
|
|
|
1664
1663
|
function inspectList(list, options, inspectItem, separator = ", ") {
|
|
1665
1664
|
inspectItem = inspectItem || options.inspect;
|
|
1666
1665
|
const size = list.length;
|
|
1667
|
-
if (size === 0)
|
|
1668
|
-
return "";
|
|
1666
|
+
if (size === 0) return "";
|
|
1669
1667
|
const originalLength = options.truncate;
|
|
1670
1668
|
let output = "";
|
|
1671
1669
|
let peek = "";
|
|
@@ -1717,7 +1715,7 @@ function inspectProperty([key, value], options) {
|
|
|
1717
1715
|
}
|
|
1718
1716
|
var ansiColors, styles, truncator;
|
|
1719
1717
|
var init_helpers = __esm({
|
|
1720
|
-
"../../node_modules/loupe/lib/helpers.js"() {
|
|
1718
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/helpers.js"() {
|
|
1721
1719
|
"use strict";
|
|
1722
1720
|
init_cjs_shims();
|
|
1723
1721
|
ansiColors = {
|
|
@@ -1765,11 +1763,10 @@ var init_helpers = __esm({
|
|
|
1765
1763
|
}
|
|
1766
1764
|
});
|
|
1767
1765
|
|
|
1768
|
-
// ../../node_modules/loupe/lib/array.js
|
|
1766
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/array.js
|
|
1769
1767
|
function inspectArray(array2, options) {
|
|
1770
1768
|
const nonIndexProperties = Object.keys(array2).slice(array2.length);
|
|
1771
|
-
if (!array2.length && !nonIndexProperties.length)
|
|
1772
|
-
return "[]";
|
|
1769
|
+
if (!array2.length && !nonIndexProperties.length) return "[]";
|
|
1773
1770
|
options.truncate -= 4;
|
|
1774
1771
|
const listContents = inspectList(array2, options);
|
|
1775
1772
|
options.truncate -= listContents.length;
|
|
@@ -1784,16 +1781,16 @@ function inspectArray(array2, options) {
|
|
|
1784
1781
|
return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
|
|
1785
1782
|
}
|
|
1786
1783
|
var init_array = __esm({
|
|
1787
|
-
"../../node_modules/loupe/lib/array.js"() {
|
|
1784
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/array.js"() {
|
|
1788
1785
|
"use strict";
|
|
1789
1786
|
init_cjs_shims();
|
|
1790
1787
|
init_helpers();
|
|
1791
1788
|
}
|
|
1792
1789
|
});
|
|
1793
1790
|
|
|
1794
|
-
// ../../node_modules/get-func-name/index.js
|
|
1795
|
-
var
|
|
1796
|
-
"../../node_modules/get-func-name/index.js"(exports2, module2) {
|
|
1791
|
+
// ../../node_modules/.store/get-func-name-npm-2.0.2-409dbe3703/package/index.js
|
|
1792
|
+
var require_package3 = __commonJS({
|
|
1793
|
+
"../../node_modules/.store/get-func-name-npm-2.0.2-409dbe3703/package/index.js"(exports2, module2) {
|
|
1797
1794
|
"use strict";
|
|
1798
1795
|
init_cjs_shims();
|
|
1799
1796
|
var toString3 = Function.prototype.toString;
|
|
@@ -1822,13 +1819,12 @@ var require_get_func_name = __commonJS({
|
|
|
1822
1819
|
}
|
|
1823
1820
|
});
|
|
1824
1821
|
|
|
1825
|
-
// ../../node_modules/loupe/lib/typedarray.js
|
|
1822
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/typedarray.js
|
|
1826
1823
|
function inspectTypedArray(array2, options) {
|
|
1827
1824
|
const name = getArrayName(array2);
|
|
1828
1825
|
options.truncate -= name.length + 4;
|
|
1829
1826
|
const nonIndexProperties = Object.keys(array2).slice(array2.length);
|
|
1830
|
-
if (!array2.length && !nonIndexProperties.length)
|
|
1831
|
-
return `${name}[]`;
|
|
1827
|
+
if (!array2.length && !nonIndexProperties.length) return `${name}[]`;
|
|
1832
1828
|
let output = "";
|
|
1833
1829
|
for (let i2 = 0; i2 < array2.length; i2++) {
|
|
1834
1830
|
const string3 = `${options.stylize(truncate(array2[i2], options.truncate), "number")}${i2 === array2.length - 1 ? "" : ", "}`;
|
|
@@ -1851,10 +1847,10 @@ function inspectTypedArray(array2, options) {
|
|
|
1851
1847
|
}
|
|
1852
1848
|
var import_get_func_name, getArrayName;
|
|
1853
1849
|
var init_typedarray = __esm({
|
|
1854
|
-
"../../node_modules/loupe/lib/typedarray.js"() {
|
|
1850
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/typedarray.js"() {
|
|
1855
1851
|
"use strict";
|
|
1856
1852
|
init_cjs_shims();
|
|
1857
|
-
import_get_func_name = __toESM(
|
|
1853
|
+
import_get_func_name = __toESM(require_package3());
|
|
1858
1854
|
init_helpers();
|
|
1859
1855
|
getArrayName = (array2) => {
|
|
1860
1856
|
if (typeof Buffer === "function" && array2 instanceof Buffer) {
|
|
@@ -1868,7 +1864,7 @@ var init_typedarray = __esm({
|
|
|
1868
1864
|
}
|
|
1869
1865
|
});
|
|
1870
1866
|
|
|
1871
|
-
// ../../node_modules/loupe/lib/date.js
|
|
1867
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/date.js
|
|
1872
1868
|
function inspectDate(dateObject, options) {
|
|
1873
1869
|
const stringRepresentation = dateObject.toJSON();
|
|
1874
1870
|
if (stringRepresentation === null) {
|
|
@@ -1879,14 +1875,14 @@ function inspectDate(dateObject, options) {
|
|
|
1879
1875
|
return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
|
|
1880
1876
|
}
|
|
1881
1877
|
var init_date = __esm({
|
|
1882
|
-
"../../node_modules/loupe/lib/date.js"() {
|
|
1878
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/date.js"() {
|
|
1883
1879
|
"use strict";
|
|
1884
1880
|
init_cjs_shims();
|
|
1885
1881
|
init_helpers();
|
|
1886
1882
|
}
|
|
1887
1883
|
});
|
|
1888
1884
|
|
|
1889
|
-
// ../../node_modules/loupe/lib/function.js
|
|
1885
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/function.js
|
|
1890
1886
|
function inspectFunction(func, options) {
|
|
1891
1887
|
const name = (0, import_get_func_name2.default)(func);
|
|
1892
1888
|
if (!name) {
|
|
@@ -1896,15 +1892,15 @@ function inspectFunction(func, options) {
|
|
|
1896
1892
|
}
|
|
1897
1893
|
var import_get_func_name2;
|
|
1898
1894
|
var init_function = __esm({
|
|
1899
|
-
"../../node_modules/loupe/lib/function.js"() {
|
|
1895
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/function.js"() {
|
|
1900
1896
|
"use strict";
|
|
1901
1897
|
init_cjs_shims();
|
|
1902
|
-
import_get_func_name2 = __toESM(
|
|
1898
|
+
import_get_func_name2 = __toESM(require_package3());
|
|
1903
1899
|
init_helpers();
|
|
1904
1900
|
}
|
|
1905
1901
|
});
|
|
1906
1902
|
|
|
1907
|
-
// ../../node_modules/loupe/lib/map.js
|
|
1903
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/map.js
|
|
1908
1904
|
function inspectMapEntry([key, value], options) {
|
|
1909
1905
|
options.truncate -= 4;
|
|
1910
1906
|
key = options.inspect(key, options);
|
|
@@ -1928,14 +1924,14 @@ function inspectMap(map2, options) {
|
|
|
1928
1924
|
return `Map{ ${inspectList(mapToEntries(map2), options, inspectMapEntry)} }`;
|
|
1929
1925
|
}
|
|
1930
1926
|
var init_map = __esm({
|
|
1931
|
-
"../../node_modules/loupe/lib/map.js"() {
|
|
1927
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/map.js"() {
|
|
1932
1928
|
"use strict";
|
|
1933
1929
|
init_cjs_shims();
|
|
1934
1930
|
init_helpers();
|
|
1935
1931
|
}
|
|
1936
1932
|
});
|
|
1937
1933
|
|
|
1938
|
-
// ../../node_modules/loupe/lib/number.js
|
|
1934
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/number.js
|
|
1939
1935
|
function inspectNumber(number, options) {
|
|
1940
1936
|
if (isNaN2(number)) {
|
|
1941
1937
|
return options.stylize("NaN", "number");
|
|
@@ -1953,7 +1949,7 @@ function inspectNumber(number, options) {
|
|
|
1953
1949
|
}
|
|
1954
1950
|
var isNaN2;
|
|
1955
1951
|
var init_number = __esm({
|
|
1956
|
-
"../../node_modules/loupe/lib/number.js"() {
|
|
1952
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/number.js"() {
|
|
1957
1953
|
"use strict";
|
|
1958
1954
|
init_cjs_shims();
|
|
1959
1955
|
init_helpers();
|
|
@@ -1961,22 +1957,21 @@ var init_number = __esm({
|
|
|
1961
1957
|
}
|
|
1962
1958
|
});
|
|
1963
1959
|
|
|
1964
|
-
// ../../node_modules/loupe/lib/bigint.js
|
|
1960
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/bigint.js
|
|
1965
1961
|
function inspectBigInt(number, options) {
|
|
1966
1962
|
let nums = truncate(number.toString(), options.truncate - 1);
|
|
1967
|
-
if (nums !== truncator)
|
|
1968
|
-
nums += "n";
|
|
1963
|
+
if (nums !== truncator) nums += "n";
|
|
1969
1964
|
return options.stylize(nums, "bigint");
|
|
1970
1965
|
}
|
|
1971
1966
|
var init_bigint = __esm({
|
|
1972
|
-
"../../node_modules/loupe/lib/bigint.js"() {
|
|
1967
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/bigint.js"() {
|
|
1973
1968
|
"use strict";
|
|
1974
1969
|
init_cjs_shims();
|
|
1975
1970
|
init_helpers();
|
|
1976
1971
|
}
|
|
1977
1972
|
});
|
|
1978
1973
|
|
|
1979
|
-
// ../../node_modules/loupe/lib/regexp.js
|
|
1974
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/regexp.js
|
|
1980
1975
|
function inspectRegExp(value, options) {
|
|
1981
1976
|
const flags = value.toString().split("/")[2];
|
|
1982
1977
|
const sourceLength = options.truncate - (2 + flags.length);
|
|
@@ -1984,14 +1979,14 @@ function inspectRegExp(value, options) {
|
|
|
1984
1979
|
return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, "regexp");
|
|
1985
1980
|
}
|
|
1986
1981
|
var init_regexp = __esm({
|
|
1987
|
-
"../../node_modules/loupe/lib/regexp.js"() {
|
|
1982
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/regexp.js"() {
|
|
1988
1983
|
"use strict";
|
|
1989
1984
|
init_cjs_shims();
|
|
1990
1985
|
init_helpers();
|
|
1991
1986
|
}
|
|
1992
1987
|
});
|
|
1993
1988
|
|
|
1994
|
-
// ../../node_modules/loupe/lib/set.js
|
|
1989
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/set.js
|
|
1995
1990
|
function arrayFromSet(set3) {
|
|
1996
1991
|
const values = [];
|
|
1997
1992
|
set3.forEach((value) => {
|
|
@@ -2000,20 +1995,19 @@ function arrayFromSet(set3) {
|
|
|
2000
1995
|
return values;
|
|
2001
1996
|
}
|
|
2002
1997
|
function inspectSet(set3, options) {
|
|
2003
|
-
if (set3.size === 0)
|
|
2004
|
-
return "Set{}";
|
|
1998
|
+
if (set3.size === 0) return "Set{}";
|
|
2005
1999
|
options.truncate -= 7;
|
|
2006
2000
|
return `Set{ ${inspectList(arrayFromSet(set3), options)} }`;
|
|
2007
2001
|
}
|
|
2008
2002
|
var init_set = __esm({
|
|
2009
|
-
"../../node_modules/loupe/lib/set.js"() {
|
|
2003
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/set.js"() {
|
|
2010
2004
|
"use strict";
|
|
2011
2005
|
init_cjs_shims();
|
|
2012
2006
|
init_helpers();
|
|
2013
2007
|
}
|
|
2014
2008
|
});
|
|
2015
2009
|
|
|
2016
|
-
// ../../node_modules/loupe/lib/string.js
|
|
2010
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/string.js
|
|
2017
2011
|
function escape(char) {
|
|
2018
2012
|
return escapeCharacters[char] || `\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-unicodeLength)}`;
|
|
2019
2013
|
}
|
|
@@ -2025,7 +2019,7 @@ function inspectString(string3, options) {
|
|
|
2025
2019
|
}
|
|
2026
2020
|
var stringEscapeChars, escapeCharacters, hex, unicodeLength;
|
|
2027
2021
|
var init_string = __esm({
|
|
2028
|
-
"../../node_modules/loupe/lib/string.js"() {
|
|
2022
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/string.js"() {
|
|
2029
2023
|
"use strict";
|
|
2030
2024
|
init_cjs_shims();
|
|
2031
2025
|
init_helpers();
|
|
@@ -2047,7 +2041,7 @@ var init_string = __esm({
|
|
|
2047
2041
|
}
|
|
2048
2042
|
});
|
|
2049
2043
|
|
|
2050
|
-
// ../../node_modules/loupe/lib/symbol.js
|
|
2044
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/symbol.js
|
|
2051
2045
|
function inspectSymbol(value) {
|
|
2052
2046
|
if ("description" in Symbol.prototype) {
|
|
2053
2047
|
return value.description ? `Symbol(${value.description})` : "Symbol()";
|
|
@@ -2055,16 +2049,16 @@ function inspectSymbol(value) {
|
|
|
2055
2049
|
return value.toString();
|
|
2056
2050
|
}
|
|
2057
2051
|
var init_symbol = __esm({
|
|
2058
|
-
"../../node_modules/loupe/lib/symbol.js"() {
|
|
2052
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/symbol.js"() {
|
|
2059
2053
|
"use strict";
|
|
2060
2054
|
init_cjs_shims();
|
|
2061
2055
|
}
|
|
2062
2056
|
});
|
|
2063
2057
|
|
|
2064
|
-
// ../../node_modules/loupe/lib/promise.js
|
|
2058
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/promise.js
|
|
2065
2059
|
var getPromiseValue, promise_default;
|
|
2066
2060
|
var init_promise = __esm({
|
|
2067
|
-
"../../node_modules/loupe/lib/promise.js"() {
|
|
2061
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/promise.js"() {
|
|
2068
2062
|
"use strict";
|
|
2069
2063
|
init_cjs_shims();
|
|
2070
2064
|
getPromiseValue = () => "Promise{\u2026}";
|
|
@@ -2085,7 +2079,7 @@ var init_promise = __esm({
|
|
|
2085
2079
|
}
|
|
2086
2080
|
});
|
|
2087
2081
|
|
|
2088
|
-
// ../../node_modules/loupe/lib/object.js
|
|
2082
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/object.js
|
|
2089
2083
|
function inspectObject(object2, options) {
|
|
2090
2084
|
const properties = Object.getOwnPropertyNames(object2);
|
|
2091
2085
|
const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object2) : [];
|
|
@@ -2116,14 +2110,14 @@ function inspectObject(object2, options) {
|
|
|
2116
2110
|
return `{ ${propertyContents}${sep2}${symbolContents} }`;
|
|
2117
2111
|
}
|
|
2118
2112
|
var init_object = __esm({
|
|
2119
|
-
"../../node_modules/loupe/lib/object.js"() {
|
|
2113
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/object.js"() {
|
|
2120
2114
|
"use strict";
|
|
2121
2115
|
init_cjs_shims();
|
|
2122
2116
|
init_helpers();
|
|
2123
2117
|
}
|
|
2124
2118
|
});
|
|
2125
2119
|
|
|
2126
|
-
// ../../node_modules/loupe/lib/class.js
|
|
2120
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/class.js
|
|
2127
2121
|
function inspectClass(value, options) {
|
|
2128
2122
|
let name = "";
|
|
2129
2123
|
if (toStringTag && toStringTag in value) {
|
|
@@ -2138,31 +2132,30 @@ function inspectClass(value, options) {
|
|
|
2138
2132
|
}
|
|
2139
2133
|
var import_get_func_name3, toStringTag;
|
|
2140
2134
|
var init_class = __esm({
|
|
2141
|
-
"../../node_modules/loupe/lib/class.js"() {
|
|
2135
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/class.js"() {
|
|
2142
2136
|
"use strict";
|
|
2143
2137
|
init_cjs_shims();
|
|
2144
|
-
import_get_func_name3 = __toESM(
|
|
2138
|
+
import_get_func_name3 = __toESM(require_package3());
|
|
2145
2139
|
init_object();
|
|
2146
2140
|
toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
|
|
2147
2141
|
}
|
|
2148
2142
|
});
|
|
2149
2143
|
|
|
2150
|
-
// ../../node_modules/loupe/lib/arguments.js
|
|
2144
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/arguments.js
|
|
2151
2145
|
function inspectArguments(args, options) {
|
|
2152
|
-
if (args.length === 0)
|
|
2153
|
-
return "Arguments[]";
|
|
2146
|
+
if (args.length === 0) return "Arguments[]";
|
|
2154
2147
|
options.truncate -= 13;
|
|
2155
2148
|
return `Arguments[ ${inspectList(args, options)} ]`;
|
|
2156
2149
|
}
|
|
2157
2150
|
var init_arguments = __esm({
|
|
2158
|
-
"../../node_modules/loupe/lib/arguments.js"() {
|
|
2151
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/arguments.js"() {
|
|
2159
2152
|
"use strict";
|
|
2160
2153
|
init_cjs_shims();
|
|
2161
2154
|
init_helpers();
|
|
2162
2155
|
}
|
|
2163
2156
|
});
|
|
2164
2157
|
|
|
2165
|
-
// ../../node_modules/loupe/lib/error.js
|
|
2158
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/error.js
|
|
2166
2159
|
function inspectObject2(error, options) {
|
|
2167
2160
|
const properties = Object.getOwnPropertyNames(error).filter((key) => errorKeys.indexOf(key) === -1);
|
|
2168
2161
|
const name = error.name;
|
|
@@ -2184,7 +2177,7 @@ function inspectObject2(error, options) {
|
|
|
2184
2177
|
}
|
|
2185
2178
|
var errorKeys;
|
|
2186
2179
|
var init_error = __esm({
|
|
2187
|
-
"../../node_modules/loupe/lib/error.js"() {
|
|
2180
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/error.js"() {
|
|
2188
2181
|
"use strict";
|
|
2189
2182
|
init_cjs_shims();
|
|
2190
2183
|
init_helpers();
|
|
@@ -2203,7 +2196,7 @@ var init_error = __esm({
|
|
|
2203
2196
|
}
|
|
2204
2197
|
});
|
|
2205
2198
|
|
|
2206
|
-
// ../../node_modules/loupe/lib/html.js
|
|
2199
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/html.js
|
|
2207
2200
|
function inspectAttribute([key, value], options) {
|
|
2208
2201
|
options.truncate -= 3;
|
|
2209
2202
|
if (!value) {
|
|
@@ -2240,18 +2233,18 @@ function inspectHTML(element, options) {
|
|
|
2240
2233
|
return `${head}${propertyContents}${headClose}${children}${tail}`;
|
|
2241
2234
|
}
|
|
2242
2235
|
var init_html = __esm({
|
|
2243
|
-
"../../node_modules/loupe/lib/html.js"() {
|
|
2236
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/lib/html.js"() {
|
|
2244
2237
|
"use strict";
|
|
2245
2238
|
init_cjs_shims();
|
|
2246
2239
|
init_helpers();
|
|
2247
2240
|
}
|
|
2248
2241
|
});
|
|
2249
2242
|
|
|
2250
|
-
// ../../node_modules/loupe/index.js
|
|
2251
|
-
var
|
|
2252
|
-
__export(
|
|
2243
|
+
// ../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/index.js
|
|
2244
|
+
var package_exports = {};
|
|
2245
|
+
__export(package_exports, {
|
|
2253
2246
|
custom: () => custom,
|
|
2254
|
-
default: () =>
|
|
2247
|
+
default: () => package_default,
|
|
2255
2248
|
inspect: () => inspect,
|
|
2256
2249
|
registerConstructor: () => registerConstructor,
|
|
2257
2250
|
registerStringTag: () => registerStringTag
|
|
@@ -2273,8 +2266,7 @@ function inspect(value, options) {
|
|
|
2273
2266
|
if (customInspect && value) {
|
|
2274
2267
|
const output = inspectCustom(value, options, type2);
|
|
2275
2268
|
if (output) {
|
|
2276
|
-
if (typeof output === "string")
|
|
2277
|
-
return output;
|
|
2269
|
+
if (typeof output === "string") return output;
|
|
2278
2270
|
return inspect(output, options);
|
|
2279
2271
|
}
|
|
2280
2272
|
}
|
|
@@ -2310,9 +2302,9 @@ function registerStringTag(stringTag, inspector) {
|
|
|
2310
2302
|
stringTagMap[stringTag] = inspector;
|
|
2311
2303
|
return true;
|
|
2312
2304
|
}
|
|
2313
|
-
var symbolsSupported, chaiInspect, nodeInspect, constructorMap, stringTagMap, baseTypesMap, inspectCustom, toString, custom,
|
|
2314
|
-
var
|
|
2315
|
-
"../../node_modules/loupe/index.js"() {
|
|
2305
|
+
var symbolsSupported, chaiInspect, nodeInspect, constructorMap, stringTagMap, baseTypesMap, inspectCustom, toString, custom, package_default;
|
|
2306
|
+
var init_package = __esm({
|
|
2307
|
+
"../../node_modules/.store/loupe-npm-2.3.7-f294c2ef33/package/index.js"() {
|
|
2316
2308
|
"use strict";
|
|
2317
2309
|
init_cjs_shims();
|
|
2318
2310
|
init_array();
|
|
@@ -2426,13 +2418,13 @@ var init_loupe = __esm({
|
|
|
2426
2418
|
};
|
|
2427
2419
|
toString = Object.prototype.toString;
|
|
2428
2420
|
custom = chaiInspect;
|
|
2429
|
-
|
|
2421
|
+
package_default = inspect;
|
|
2430
2422
|
}
|
|
2431
2423
|
});
|
|
2432
2424
|
|
|
2433
|
-
// ../../node_modules/diff-sequences/build/index.js
|
|
2425
|
+
// ../../node_modules/.store/diff-sequences-npm-29.6.3-18ab2c9949/package/build/index.js
|
|
2434
2426
|
var require_build2 = __commonJS({
|
|
2435
|
-
"../../node_modules/diff-sequences/build/index.js"(exports2) {
|
|
2427
|
+
"../../node_modules/.store/diff-sequences-npm-29.6.3-18ab2c9949/package/build/index.js"(exports2) {
|
|
2436
2428
|
"use strict";
|
|
2437
2429
|
init_cjs_shims();
|
|
2438
2430
|
Object.defineProperty(exports2, "__esModule", {
|
|
@@ -2912,17 +2904,16 @@ var require_build2 = __commonJS({
|
|
|
2912
2904
|
}
|
|
2913
2905
|
});
|
|
2914
2906
|
|
|
2915
|
-
// ../../node_modules/assertion-error/index.js
|
|
2916
|
-
var
|
|
2917
|
-
"../../node_modules/assertion-error/index.js"(exports2, module2) {
|
|
2907
|
+
// ../../node_modules/.store/assertion-error-npm-1.1.0-66b893015e/package/index.js
|
|
2908
|
+
var require_package4 = __commonJS({
|
|
2909
|
+
"../../node_modules/.store/assertion-error-npm-1.1.0-66b893015e/package/index.js"(exports2, module2) {
|
|
2918
2910
|
"use strict";
|
|
2919
2911
|
init_cjs_shims();
|
|
2920
2912
|
function exclude() {
|
|
2921
2913
|
var excludes = [].slice.call(arguments);
|
|
2922
2914
|
function excludeProps(res, obj) {
|
|
2923
2915
|
Object.keys(obj).forEach(function(key) {
|
|
2924
|
-
if (!~excludes.indexOf(key))
|
|
2925
|
-
res[key] = obj[key];
|
|
2916
|
+
if (!~excludes.indexOf(key)) res[key] = obj[key];
|
|
2926
2917
|
});
|
|
2927
2918
|
}
|
|
2928
2919
|
return function extendExclude() {
|
|
@@ -2965,9 +2956,9 @@ var require_assertion_error = __commonJS({
|
|
|
2965
2956
|
}
|
|
2966
2957
|
});
|
|
2967
2958
|
|
|
2968
|
-
// ../../node_modules/pathval/index.js
|
|
2969
|
-
var
|
|
2970
|
-
"../../node_modules/pathval/index.js"(exports2, module2) {
|
|
2959
|
+
// ../../node_modules/.store/pathval-npm-1.1.1-ce0311d7e0/package/index.js
|
|
2960
|
+
var require_package5 = __commonJS({
|
|
2961
|
+
"../../node_modules/.store/pathval-npm-1.1.1-ce0311d7e0/package/index.js"(exports2, module2) {
|
|
2971
2962
|
"use strict";
|
|
2972
2963
|
init_cjs_shims();
|
|
2973
2964
|
function hasProperty(obj, name) {
|
|
@@ -3066,9 +3057,9 @@ var require_pathval = __commonJS({
|
|
|
3066
3057
|
}
|
|
3067
3058
|
});
|
|
3068
3059
|
|
|
3069
|
-
// ../../node_modules/chai/lib/chai/utils/flag.js
|
|
3060
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/flag.js
|
|
3070
3061
|
var require_flag = __commonJS({
|
|
3071
|
-
"../../node_modules/chai/lib/chai/utils/flag.js"(exports2, module2) {
|
|
3062
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/flag.js"(exports2, module2) {
|
|
3072
3063
|
"use strict";
|
|
3073
3064
|
init_cjs_shims();
|
|
3074
3065
|
module2.exports = function flag(obj, key, value) {
|
|
@@ -3082,9 +3073,9 @@ var require_flag = __commonJS({
|
|
|
3082
3073
|
}
|
|
3083
3074
|
});
|
|
3084
3075
|
|
|
3085
|
-
// ../../node_modules/chai/lib/chai/utils/test.js
|
|
3076
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/test.js
|
|
3086
3077
|
var require_test = __commonJS({
|
|
3087
|
-
"../../node_modules/chai/lib/chai/utils/test.js"(exports2, module2) {
|
|
3078
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/test.js"(exports2, module2) {
|
|
3088
3079
|
"use strict";
|
|
3089
3080
|
init_cjs_shims();
|
|
3090
3081
|
var flag = require_flag();
|
|
@@ -3095,9 +3086,9 @@ var require_test = __commonJS({
|
|
|
3095
3086
|
}
|
|
3096
3087
|
});
|
|
3097
3088
|
|
|
3098
|
-
// ../../node_modules/type-detect/type-detect.js
|
|
3089
|
+
// ../../node_modules/.store/type-detect-npm-4.0.8-8d8127b901/package/type-detect.js
|
|
3099
3090
|
var require_type_detect = __commonJS({
|
|
3100
|
-
"../../node_modules/type-detect/type-detect.js"(exports2, module2) {
|
|
3091
|
+
"../../node_modules/.store/type-detect-npm-4.0.8-8d8127b901/package/type-detect.js"(exports2, module2) {
|
|
3101
3092
|
"use strict";
|
|
3102
3093
|
init_cjs_shims();
|
|
3103
3094
|
(function(global3, factory) {
|
|
@@ -3216,12 +3207,12 @@ var require_type_detect = __commonJS({
|
|
|
3216
3207
|
}
|
|
3217
3208
|
});
|
|
3218
3209
|
|
|
3219
|
-
// ../../node_modules/chai/lib/chai/utils/expectTypes.js
|
|
3210
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/expectTypes.js
|
|
3220
3211
|
var require_expectTypes = __commonJS({
|
|
3221
|
-
"../../node_modules/chai/lib/chai/utils/expectTypes.js"(exports2, module2) {
|
|
3212
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/expectTypes.js"(exports2, module2) {
|
|
3222
3213
|
"use strict";
|
|
3223
3214
|
init_cjs_shims();
|
|
3224
|
-
var AssertionError2 =
|
|
3215
|
+
var AssertionError2 = require_package4();
|
|
3225
3216
|
var flag = require_flag();
|
|
3226
3217
|
var type2 = require_type_detect();
|
|
3227
3218
|
module2.exports = function expectTypes(obj, types) {
|
|
@@ -3252,9 +3243,9 @@ var require_expectTypes = __commonJS({
|
|
|
3252
3243
|
}
|
|
3253
3244
|
});
|
|
3254
3245
|
|
|
3255
|
-
// ../../node_modules/chai/lib/chai/utils/getActual.js
|
|
3246
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getActual.js
|
|
3256
3247
|
var require_getActual = __commonJS({
|
|
3257
|
-
"../../node_modules/chai/lib/chai/utils/getActual.js"(exports2, module2) {
|
|
3248
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getActual.js"(exports2, module2) {
|
|
3258
3249
|
"use strict";
|
|
3259
3250
|
init_cjs_shims();
|
|
3260
3251
|
module2.exports = function getActual(obj, args) {
|
|
@@ -3263,9 +3254,9 @@ var require_getActual = __commonJS({
|
|
|
3263
3254
|
}
|
|
3264
3255
|
});
|
|
3265
3256
|
|
|
3266
|
-
// ../../node_modules/chai/lib/chai/config.js
|
|
3257
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/config.js
|
|
3267
3258
|
var require_config = __commonJS({
|
|
3268
|
-
"../../node_modules/chai/lib/chai/config.js"(exports2, module2) {
|
|
3259
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/config.js"(exports2, module2) {
|
|
3269
3260
|
"use strict";
|
|
3270
3261
|
init_cjs_shims();
|
|
3271
3262
|
module2.exports = {
|
|
@@ -3378,13 +3369,13 @@ var require_config = __commonJS({
|
|
|
3378
3369
|
}
|
|
3379
3370
|
});
|
|
3380
3371
|
|
|
3381
|
-
// ../../node_modules/chai/lib/chai/utils/inspect.js
|
|
3372
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/inspect.js
|
|
3382
3373
|
var require_inspect = __commonJS({
|
|
3383
|
-
"../../node_modules/chai/lib/chai/utils/inspect.js"(exports2, module2) {
|
|
3374
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/inspect.js"(exports2, module2) {
|
|
3384
3375
|
"use strict";
|
|
3385
3376
|
init_cjs_shims();
|
|
3386
|
-
var getName =
|
|
3387
|
-
var loupe = (
|
|
3377
|
+
var getName = require_package3();
|
|
3378
|
+
var loupe = (init_package(), __toCommonJS(package_exports));
|
|
3388
3379
|
var config2 = require_config();
|
|
3389
3380
|
module2.exports = inspect3;
|
|
3390
3381
|
function inspect3(obj, showHidden, depth, colors) {
|
|
@@ -3399,9 +3390,9 @@ var require_inspect = __commonJS({
|
|
|
3399
3390
|
}
|
|
3400
3391
|
});
|
|
3401
3392
|
|
|
3402
|
-
// ../../node_modules/chai/lib/chai/utils/objDisplay.js
|
|
3393
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/objDisplay.js
|
|
3403
3394
|
var require_objDisplay = __commonJS({
|
|
3404
|
-
"../../node_modules/chai/lib/chai/utils/objDisplay.js"(exports2, module2) {
|
|
3395
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/objDisplay.js"(exports2, module2) {
|
|
3405
3396
|
"use strict";
|
|
3406
3397
|
init_cjs_shims();
|
|
3407
3398
|
var inspect3 = require_inspect();
|
|
@@ -3426,9 +3417,9 @@ var require_objDisplay = __commonJS({
|
|
|
3426
3417
|
}
|
|
3427
3418
|
});
|
|
3428
3419
|
|
|
3429
|
-
// ../../node_modules/chai/lib/chai/utils/getMessage.js
|
|
3420
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getMessage.js
|
|
3430
3421
|
var require_getMessage = __commonJS({
|
|
3431
|
-
"../../node_modules/chai/lib/chai/utils/getMessage.js"(exports2, module2) {
|
|
3422
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getMessage.js"(exports2, module2) {
|
|
3432
3423
|
"use strict";
|
|
3433
3424
|
init_cjs_shims();
|
|
3434
3425
|
var flag = require_flag();
|
|
@@ -3436,8 +3427,7 @@ var require_getMessage = __commonJS({
|
|
|
3436
3427
|
var objDisplay2 = require_objDisplay();
|
|
3437
3428
|
module2.exports = function getMessage(obj, args) {
|
|
3438
3429
|
var negate = flag(obj, "negate"), val = flag(obj, "object"), expected = args[3], actual = getActual(obj, args), msg = negate ? args[2] : args[1], flagMsg = flag(obj, "message");
|
|
3439
|
-
if (typeof msg === "function")
|
|
3440
|
-
msg = msg();
|
|
3430
|
+
if (typeof msg === "function") msg = msg();
|
|
3441
3431
|
msg = msg || "";
|
|
3442
3432
|
msg = msg.replace(/#\{this\}/g, function() {
|
|
3443
3433
|
return objDisplay2(val);
|
|
@@ -3451,9 +3441,9 @@ var require_getMessage = __commonJS({
|
|
|
3451
3441
|
}
|
|
3452
3442
|
});
|
|
3453
3443
|
|
|
3454
|
-
// ../../node_modules/chai/lib/chai/utils/transferFlags.js
|
|
3444
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/transferFlags.js
|
|
3455
3445
|
var require_transferFlags = __commonJS({
|
|
3456
|
-
"../../node_modules/chai/lib/chai/utils/transferFlags.js"(exports2, module2) {
|
|
3446
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/transferFlags.js"(exports2, module2) {
|
|
3457
3447
|
"use strict";
|
|
3458
3448
|
init_cjs_shims();
|
|
3459
3449
|
module2.exports = function transferFlags(assertion, object2, includeAll) {
|
|
@@ -3471,9 +3461,9 @@ var require_transferFlags = __commonJS({
|
|
|
3471
3461
|
}
|
|
3472
3462
|
});
|
|
3473
3463
|
|
|
3474
|
-
// ../../node_modules/deep-eql/index.js
|
|
3475
|
-
var
|
|
3476
|
-
"../../node_modules/deep-eql/index.js"(exports2, module2) {
|
|
3464
|
+
// ../../node_modules/.store/deep-eql-npm-4.1.3-020a64f862/package/index.js
|
|
3465
|
+
var require_package6 = __commonJS({
|
|
3466
|
+
"../../node_modules/.store/deep-eql-npm-4.1.3-020a64f862/package/index.js"(exports2, module2) {
|
|
3477
3467
|
"use strict";
|
|
3478
3468
|
init_cjs_shims();
|
|
3479
3469
|
var type2 = require_type_detect();
|
|
@@ -3764,9 +3754,9 @@ var require_deep_eql = __commonJS({
|
|
|
3764
3754
|
}
|
|
3765
3755
|
});
|
|
3766
3756
|
|
|
3767
|
-
// ../../node_modules/chai/lib/chai/utils/isProxyEnabled.js
|
|
3757
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/isProxyEnabled.js
|
|
3768
3758
|
var require_isProxyEnabled = __commonJS({
|
|
3769
|
-
"../../node_modules/chai/lib/chai/utils/isProxyEnabled.js"(exports2, module2) {
|
|
3759
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/isProxyEnabled.js"(exports2, module2) {
|
|
3770
3760
|
"use strict";
|
|
3771
3761
|
init_cjs_shims();
|
|
3772
3762
|
var config2 = require_config();
|
|
@@ -3776,9 +3766,9 @@ var require_isProxyEnabled = __commonJS({
|
|
|
3776
3766
|
}
|
|
3777
3767
|
});
|
|
3778
3768
|
|
|
3779
|
-
// ../../node_modules/chai/lib/chai/utils/addProperty.js
|
|
3769
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addProperty.js
|
|
3780
3770
|
var require_addProperty = __commonJS({
|
|
3781
|
-
"../../node_modules/chai/lib/chai/utils/addProperty.js"(exports2, module2) {
|
|
3771
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addProperty.js"(exports2, module2) {
|
|
3782
3772
|
"use strict";
|
|
3783
3773
|
init_cjs_shims();
|
|
3784
3774
|
var chai3 = require_chai();
|
|
@@ -3810,16 +3800,15 @@ var require_addProperty = __commonJS({
|
|
|
3810
3800
|
}
|
|
3811
3801
|
});
|
|
3812
3802
|
|
|
3813
|
-
// ../../node_modules/chai/lib/chai/utils/addLengthGuard.js
|
|
3803
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addLengthGuard.js
|
|
3814
3804
|
var require_addLengthGuard = __commonJS({
|
|
3815
|
-
"../../node_modules/chai/lib/chai/utils/addLengthGuard.js"(exports2, module2) {
|
|
3805
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addLengthGuard.js"(exports2, module2) {
|
|
3816
3806
|
"use strict";
|
|
3817
3807
|
init_cjs_shims();
|
|
3818
3808
|
var fnLengthDesc = Object.getOwnPropertyDescriptor(function() {
|
|
3819
3809
|
}, "length");
|
|
3820
3810
|
module2.exports = function addLengthGuard(fn2, assertionName, isChainable) {
|
|
3821
|
-
if (!fnLengthDesc.configurable)
|
|
3822
|
-
return fn2;
|
|
3811
|
+
if (!fnLengthDesc.configurable) return fn2;
|
|
3823
3812
|
Object.defineProperty(fn2, "length", {
|
|
3824
3813
|
get: function() {
|
|
3825
3814
|
if (isChainable) {
|
|
@@ -3833,9 +3822,9 @@ var require_addLengthGuard = __commonJS({
|
|
|
3833
3822
|
}
|
|
3834
3823
|
});
|
|
3835
3824
|
|
|
3836
|
-
// ../../node_modules/chai/lib/chai/utils/getProperties.js
|
|
3825
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getProperties.js
|
|
3837
3826
|
var require_getProperties = __commonJS({
|
|
3838
|
-
"../../node_modules/chai/lib/chai/utils/getProperties.js"(exports2, module2) {
|
|
3827
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getProperties.js"(exports2, module2) {
|
|
3839
3828
|
"use strict";
|
|
3840
3829
|
init_cjs_shims();
|
|
3841
3830
|
module2.exports = function getProperties(object2) {
|
|
@@ -3855,9 +3844,9 @@ var require_getProperties = __commonJS({
|
|
|
3855
3844
|
}
|
|
3856
3845
|
});
|
|
3857
3846
|
|
|
3858
|
-
// ../../node_modules/chai/lib/chai/utils/proxify.js
|
|
3847
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/proxify.js
|
|
3859
3848
|
var require_proxify = __commonJS({
|
|
3860
|
-
"../../node_modules/chai/lib/chai/utils/proxify.js"(exports2, module2) {
|
|
3849
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/proxify.js"(exports2, module2) {
|
|
3861
3850
|
"use strict";
|
|
3862
3851
|
init_cjs_shims();
|
|
3863
3852
|
var config2 = require_config();
|
|
@@ -3866,8 +3855,7 @@ var require_proxify = __commonJS({
|
|
|
3866
3855
|
var isProxyEnabled = require_isProxyEnabled();
|
|
3867
3856
|
var builtins = ["__flags", "__methods", "_obj", "assert"];
|
|
3868
3857
|
module2.exports = function proxify(obj, nonChainableMethodName) {
|
|
3869
|
-
if (!isProxyEnabled())
|
|
3870
|
-
return obj;
|
|
3858
|
+
if (!isProxyEnabled()) return obj;
|
|
3871
3859
|
return new Proxy(obj, {
|
|
3872
3860
|
get: function proxyGetter(target, property) {
|
|
3873
3861
|
if (typeof property === "string" && config2.proxyExcludedKeys.indexOf(property) === -1 && !Reflect.has(target, property)) {
|
|
@@ -3933,9 +3921,9 @@ var require_proxify = __commonJS({
|
|
|
3933
3921
|
}
|
|
3934
3922
|
});
|
|
3935
3923
|
|
|
3936
|
-
// ../../node_modules/chai/lib/chai/utils/addMethod.js
|
|
3924
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addMethod.js
|
|
3937
3925
|
var require_addMethod = __commonJS({
|
|
3938
|
-
"../../node_modules/chai/lib/chai/utils/addMethod.js"(exports2, module2) {
|
|
3926
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addMethod.js"(exports2, module2) {
|
|
3939
3927
|
"use strict";
|
|
3940
3928
|
init_cjs_shims();
|
|
3941
3929
|
var addLengthGuard = require_addLengthGuard();
|
|
@@ -3961,9 +3949,9 @@ var require_addMethod = __commonJS({
|
|
|
3961
3949
|
}
|
|
3962
3950
|
});
|
|
3963
3951
|
|
|
3964
|
-
// ../../node_modules/chai/lib/chai/utils/overwriteProperty.js
|
|
3952
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/overwriteProperty.js
|
|
3965
3953
|
var require_overwriteProperty = __commonJS({
|
|
3966
|
-
"../../node_modules/chai/lib/chai/utils/overwriteProperty.js"(exports2, module2) {
|
|
3954
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/overwriteProperty.js"(exports2, module2) {
|
|
3967
3955
|
"use strict";
|
|
3968
3956
|
init_cjs_shims();
|
|
3969
3957
|
var chai3 = require_chai();
|
|
@@ -4001,9 +3989,9 @@ var require_overwriteProperty = __commonJS({
|
|
|
4001
3989
|
}
|
|
4002
3990
|
});
|
|
4003
3991
|
|
|
4004
|
-
// ../../node_modules/chai/lib/chai/utils/overwriteMethod.js
|
|
3992
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/overwriteMethod.js
|
|
4005
3993
|
var require_overwriteMethod = __commonJS({
|
|
4006
|
-
"../../node_modules/chai/lib/chai/utils/overwriteMethod.js"(exports2, module2) {
|
|
3994
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/overwriteMethod.js"(exports2, module2) {
|
|
4007
3995
|
"use strict";
|
|
4008
3996
|
init_cjs_shims();
|
|
4009
3997
|
var addLengthGuard = require_addLengthGuard();
|
|
@@ -4038,9 +4026,9 @@ var require_overwriteMethod = __commonJS({
|
|
|
4038
4026
|
}
|
|
4039
4027
|
});
|
|
4040
4028
|
|
|
4041
|
-
// ../../node_modules/chai/lib/chai/utils/addChainableMethod.js
|
|
4029
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addChainableMethod.js
|
|
4042
4030
|
var require_addChainableMethod = __commonJS({
|
|
4043
|
-
"../../node_modules/chai/lib/chai/utils/addChainableMethod.js"(exports2, module2) {
|
|
4031
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addChainableMethod.js"(exports2, module2) {
|
|
4044
4032
|
"use strict";
|
|
4045
4033
|
init_cjs_shims();
|
|
4046
4034
|
var addLengthGuard = require_addLengthGuard();
|
|
@@ -4116,9 +4104,9 @@ var require_addChainableMethod = __commonJS({
|
|
|
4116
4104
|
}
|
|
4117
4105
|
});
|
|
4118
4106
|
|
|
4119
|
-
// ../../node_modules/chai/lib/chai/utils/overwriteChainableMethod.js
|
|
4107
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/overwriteChainableMethod.js
|
|
4120
4108
|
var require_overwriteChainableMethod = __commonJS({
|
|
4121
|
-
"../../node_modules/chai/lib/chai/utils/overwriteChainableMethod.js"(exports2, module2) {
|
|
4109
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/overwriteChainableMethod.js"(exports2, module2) {
|
|
4122
4110
|
"use strict";
|
|
4123
4111
|
init_cjs_shims();
|
|
4124
4112
|
var chai3 = require_chai();
|
|
@@ -4149,9 +4137,9 @@ var require_overwriteChainableMethod = __commonJS({
|
|
|
4149
4137
|
}
|
|
4150
4138
|
});
|
|
4151
4139
|
|
|
4152
|
-
// ../../node_modules/chai/lib/chai/utils/compareByInspect.js
|
|
4140
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/compareByInspect.js
|
|
4153
4141
|
var require_compareByInspect = __commonJS({
|
|
4154
|
-
"../../node_modules/chai/lib/chai/utils/compareByInspect.js"(exports2, module2) {
|
|
4142
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/compareByInspect.js"(exports2, module2) {
|
|
4155
4143
|
"use strict";
|
|
4156
4144
|
init_cjs_shims();
|
|
4157
4145
|
var inspect3 = require_inspect();
|
|
@@ -4161,14 +4149,13 @@ var require_compareByInspect = __commonJS({
|
|
|
4161
4149
|
}
|
|
4162
4150
|
});
|
|
4163
4151
|
|
|
4164
|
-
// ../../node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js
|
|
4152
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getOwnEnumerablePropertySymbols.js
|
|
4165
4153
|
var require_getOwnEnumerablePropertySymbols = __commonJS({
|
|
4166
|
-
"../../node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js"(exports2, module2) {
|
|
4154
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getOwnEnumerablePropertySymbols.js"(exports2, module2) {
|
|
4167
4155
|
"use strict";
|
|
4168
4156
|
init_cjs_shims();
|
|
4169
4157
|
module2.exports = function getOwnEnumerablePropertySymbols(obj) {
|
|
4170
|
-
if (typeof Object.getOwnPropertySymbols !== "function")
|
|
4171
|
-
return [];
|
|
4158
|
+
if (typeof Object.getOwnPropertySymbols !== "function") return [];
|
|
4172
4159
|
return Object.getOwnPropertySymbols(obj).filter(function(sym) {
|
|
4173
4160
|
return Object.getOwnPropertyDescriptor(obj, sym).enumerable;
|
|
4174
4161
|
});
|
|
@@ -4176,9 +4163,9 @@ var require_getOwnEnumerablePropertySymbols = __commonJS({
|
|
|
4176
4163
|
}
|
|
4177
4164
|
});
|
|
4178
4165
|
|
|
4179
|
-
// ../../node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js
|
|
4166
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getOwnEnumerableProperties.js
|
|
4180
4167
|
var require_getOwnEnumerableProperties = __commonJS({
|
|
4181
|
-
"../../node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js"(exports2, module2) {
|
|
4168
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getOwnEnumerableProperties.js"(exports2, module2) {
|
|
4182
4169
|
"use strict";
|
|
4183
4170
|
init_cjs_shims();
|
|
4184
4171
|
var getOwnEnumerablePropertySymbols = require_getOwnEnumerablePropertySymbols();
|
|
@@ -4188,12 +4175,12 @@ var require_getOwnEnumerableProperties = __commonJS({
|
|
|
4188
4175
|
}
|
|
4189
4176
|
});
|
|
4190
4177
|
|
|
4191
|
-
// ../../node_modules/check-error/index.js
|
|
4192
|
-
var
|
|
4193
|
-
"../../node_modules/check-error/index.js"(exports2, module2) {
|
|
4178
|
+
// ../../node_modules/.store/check-error-npm-1.0.3-137994eabc/package/index.js
|
|
4179
|
+
var require_package7 = __commonJS({
|
|
4180
|
+
"../../node_modules/.store/check-error-npm-1.0.3-137994eabc/package/index.js"(exports2, module2) {
|
|
4194
4181
|
"use strict";
|
|
4195
4182
|
init_cjs_shims();
|
|
4196
|
-
var getFunctionName2 =
|
|
4183
|
+
var getFunctionName2 = require_package3();
|
|
4197
4184
|
function compatibleInstance(thrown, errorLike) {
|
|
4198
4185
|
return errorLike instanceof Error && thrown === errorLike;
|
|
4199
4186
|
}
|
|
@@ -4246,9 +4233,9 @@ var require_check_error = __commonJS({
|
|
|
4246
4233
|
}
|
|
4247
4234
|
});
|
|
4248
4235
|
|
|
4249
|
-
// ../../node_modules/chai/lib/chai/utils/isNaN.js
|
|
4236
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/isNaN.js
|
|
4250
4237
|
var require_isNaN = __commonJS({
|
|
4251
|
-
"../../node_modules/chai/lib/chai/utils/isNaN.js"(exports2, module2) {
|
|
4238
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/isNaN.js"(exports2, module2) {
|
|
4252
4239
|
"use strict";
|
|
4253
4240
|
init_cjs_shims();
|
|
4254
4241
|
function isNaN3(value) {
|
|
@@ -4258,9 +4245,9 @@ var require_isNaN = __commonJS({
|
|
|
4258
4245
|
}
|
|
4259
4246
|
});
|
|
4260
4247
|
|
|
4261
|
-
// ../../node_modules/chai/lib/chai/utils/getOperator.js
|
|
4248
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getOperator.js
|
|
4262
4249
|
var require_getOperator = __commonJS({
|
|
4263
|
-
"../../node_modules/chai/lib/chai/utils/getOperator.js"(exports2, module2) {
|
|
4250
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getOperator.js"(exports2, module2) {
|
|
4264
4251
|
"use strict";
|
|
4265
4252
|
init_cjs_shims();
|
|
4266
4253
|
var type2 = require_type_detect();
|
|
@@ -4278,8 +4265,7 @@ var require_getOperator = __commonJS({
|
|
|
4278
4265
|
if (operator) {
|
|
4279
4266
|
return operator;
|
|
4280
4267
|
}
|
|
4281
|
-
if (typeof msg === "function")
|
|
4282
|
-
msg = msg();
|
|
4268
|
+
if (typeof msg === "function") msg = msg();
|
|
4283
4269
|
msg = msg || "";
|
|
4284
4270
|
if (!msg) {
|
|
4285
4271
|
return void 0;
|
|
@@ -4296,12 +4282,12 @@ var require_getOperator = __commonJS({
|
|
|
4296
4282
|
}
|
|
4297
4283
|
});
|
|
4298
4284
|
|
|
4299
|
-
// ../../node_modules/chai/lib/chai/utils/index.js
|
|
4285
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/index.js
|
|
4300
4286
|
var require_utils = __commonJS({
|
|
4301
|
-
"../../node_modules/chai/lib/chai/utils/index.js"(exports2) {
|
|
4287
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/index.js"(exports2) {
|
|
4302
4288
|
"use strict";
|
|
4303
4289
|
init_cjs_shims();
|
|
4304
|
-
var pathval =
|
|
4290
|
+
var pathval = require_package5();
|
|
4305
4291
|
exports2.test = require_test();
|
|
4306
4292
|
exports2.type = require_type_detect();
|
|
4307
4293
|
exports2.expectTypes = require_expectTypes();
|
|
@@ -4311,10 +4297,10 @@ var require_utils = __commonJS({
|
|
|
4311
4297
|
exports2.objDisplay = require_objDisplay();
|
|
4312
4298
|
exports2.flag = require_flag();
|
|
4313
4299
|
exports2.transferFlags = require_transferFlags();
|
|
4314
|
-
exports2.eql =
|
|
4300
|
+
exports2.eql = require_package6();
|
|
4315
4301
|
exports2.getPathInfo = pathval.getPathInfo;
|
|
4316
4302
|
exports2.hasProperty = pathval.hasProperty;
|
|
4317
|
-
exports2.getName =
|
|
4303
|
+
exports2.getName = require_package3();
|
|
4318
4304
|
exports2.addProperty = require_addProperty();
|
|
4319
4305
|
exports2.addMethod = require_addMethod();
|
|
4320
4306
|
exports2.overwriteProperty = require_overwriteProperty();
|
|
@@ -4324,7 +4310,7 @@ var require_utils = __commonJS({
|
|
|
4324
4310
|
exports2.compareByInspect = require_compareByInspect();
|
|
4325
4311
|
exports2.getOwnEnumerablePropertySymbols = require_getOwnEnumerablePropertySymbols();
|
|
4326
4312
|
exports2.getOwnEnumerableProperties = require_getOwnEnumerableProperties();
|
|
4327
|
-
exports2.checkError =
|
|
4313
|
+
exports2.checkError = require_package7();
|
|
4328
4314
|
exports2.proxify = require_proxify();
|
|
4329
4315
|
exports2.addLengthGuard = require_addLengthGuard();
|
|
4330
4316
|
exports2.isProxyEnabled = require_isProxyEnabled();
|
|
@@ -4333,9 +4319,9 @@ var require_utils = __commonJS({
|
|
|
4333
4319
|
}
|
|
4334
4320
|
});
|
|
4335
4321
|
|
|
4336
|
-
// ../../node_modules/chai/lib/chai/assertion.js
|
|
4322
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/assertion.js
|
|
4337
4323
|
var require_assertion = __commonJS({
|
|
4338
|
-
"../../node_modules/chai/lib/chai/assertion.js"(exports2, module2) {
|
|
4324
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/assertion.js"(exports2, module2) {
|
|
4339
4325
|
"use strict";
|
|
4340
4326
|
init_cjs_shims();
|
|
4341
4327
|
var config2 = require_config();
|
|
@@ -4390,12 +4376,9 @@ var require_assertion = __commonJS({
|
|
|
4390
4376
|
};
|
|
4391
4377
|
Assertion2.prototype.assert = function(expr, msg, negateMsg, expected, _actual, showDiff) {
|
|
4392
4378
|
var ok = util2.test(this, arguments);
|
|
4393
|
-
if (false !== showDiff)
|
|
4394
|
-
|
|
4395
|
-
if (
|
|
4396
|
-
showDiff = false;
|
|
4397
|
-
if (true !== config2.showDiff)
|
|
4398
|
-
showDiff = false;
|
|
4379
|
+
if (false !== showDiff) showDiff = true;
|
|
4380
|
+
if (void 0 === expected && void 0 === _actual) showDiff = false;
|
|
4381
|
+
if (true !== config2.showDiff) showDiff = false;
|
|
4399
4382
|
if (!ok) {
|
|
4400
4383
|
msg = util2.getMessage(this, arguments);
|
|
4401
4384
|
var actual = util2.getActual(this, arguments);
|
|
@@ -4431,9 +4414,9 @@ var require_assertion = __commonJS({
|
|
|
4431
4414
|
}
|
|
4432
4415
|
});
|
|
4433
4416
|
|
|
4434
|
-
// ../../node_modules/chai/lib/chai/core/assertions.js
|
|
4417
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/core/assertions.js
|
|
4435
4418
|
var require_assertions = __commonJS({
|
|
4436
|
-
"../../node_modules/chai/lib/chai/core/assertions.js"(exports2, module2) {
|
|
4419
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/core/assertions.js"(exports2, module2) {
|
|
4437
4420
|
"use strict";
|
|
4438
4421
|
init_cjs_shims();
|
|
4439
4422
|
module2.exports = function(chai3, _) {
|
|
@@ -4483,8 +4466,7 @@ var require_assertions = __commonJS({
|
|
|
4483
4466
|
flag(this, "any", false);
|
|
4484
4467
|
});
|
|
4485
4468
|
function an(type2, msg) {
|
|
4486
|
-
if (msg)
|
|
4487
|
-
flag(this, "message", msg);
|
|
4469
|
+
if (msg) flag(this, "message", msg);
|
|
4488
4470
|
type2 = type2.toLowerCase();
|
|
4489
4471
|
var obj = flag(this, "object"), article = ~["a", "e", "i", "o", "u"].indexOf(type2.charAt(0)) ? "an " : "a ";
|
|
4490
4472
|
this.assert(
|
|
@@ -4502,8 +4484,7 @@ var require_assertions = __commonJS({
|
|
|
4502
4484
|
flag(this, "contains", true);
|
|
4503
4485
|
}
|
|
4504
4486
|
function include(val, msg) {
|
|
4505
|
-
if (msg)
|
|
4506
|
-
flag(this, "message", msg);
|
|
4487
|
+
if (msg) flag(this, "message", msg);
|
|
4507
4488
|
var obj = flag(this, "object"), objType = _.type(obj).toLowerCase(), flagMsg = flag(this, "message"), negate = flag(this, "negate"), ssfi = flag(this, "ssfi"), isDeep = flag(this, "deep"), descriptor = isDeep ? "deep " : "", isEql = isDeep ? flag(this, "eql") : SameValueZero;
|
|
4508
4489
|
flagMsg = flagMsg ? flagMsg + ": " : "";
|
|
4509
4490
|
var included = false;
|
|
@@ -4567,8 +4548,7 @@ var require_assertions = __commonJS({
|
|
|
4567
4548
|
if (!_.checkError.compatibleConstructor(err, AssertionError2)) {
|
|
4568
4549
|
throw err;
|
|
4569
4550
|
}
|
|
4570
|
-
if (firstErr === null)
|
|
4571
|
-
firstErr = err;
|
|
4551
|
+
if (firstErr === null) firstErr = err;
|
|
4572
4552
|
numErrs++;
|
|
4573
4553
|
}
|
|
4574
4554
|
}, this);
|
|
@@ -4690,8 +4670,7 @@ var require_assertions = __commonJS({
|
|
|
4690
4670
|
Assertion2.addProperty("arguments", checkArguments);
|
|
4691
4671
|
Assertion2.addProperty("Arguments", checkArguments);
|
|
4692
4672
|
function assertEqual(val, msg) {
|
|
4693
|
-
if (msg)
|
|
4694
|
-
flag(this, "message", msg);
|
|
4673
|
+
if (msg) flag(this, "message", msg);
|
|
4695
4674
|
var obj = flag(this, "object");
|
|
4696
4675
|
if (flag(this, "deep")) {
|
|
4697
4676
|
var prevLockSsfi = flag(this, "lockSsfi");
|
|
@@ -4713,8 +4692,7 @@ var require_assertions = __commonJS({
|
|
|
4713
4692
|
Assertion2.addMethod("equals", assertEqual);
|
|
4714
4693
|
Assertion2.addMethod("eq", assertEqual);
|
|
4715
4694
|
function assertEql(obj, msg) {
|
|
4716
|
-
if (msg)
|
|
4717
|
-
flag(this, "message", msg);
|
|
4695
|
+
if (msg) flag(this, "message", msg);
|
|
4718
4696
|
var eql = flag(this, "eql");
|
|
4719
4697
|
this.assert(
|
|
4720
4698
|
eql(obj, flag(this, "object")),
|
|
@@ -4728,8 +4706,7 @@ var require_assertions = __commonJS({
|
|
|
4728
4706
|
Assertion2.addMethod("eql", assertEql);
|
|
4729
4707
|
Assertion2.addMethod("eqls", assertEql);
|
|
4730
4708
|
function assertAbove(n2, msg) {
|
|
4731
|
-
if (msg)
|
|
4732
|
-
flag(this, "message", msg);
|
|
4709
|
+
if (msg) flag(this, "message", msg);
|
|
4733
4710
|
var obj = flag(this, "object"), doLength = flag(this, "doLength"), flagMsg = flag(this, "message"), msgPrefix = flagMsg ? flagMsg + ": " : "", ssfi = flag(this, "ssfi"), objType = _.type(obj).toLowerCase(), nType = _.type(n2).toLowerCase(), errorMessage, shouldThrow = true;
|
|
4734
4711
|
if (doLength && objType !== "map" && objType !== "set") {
|
|
4735
4712
|
new Assertion2(obj, flagMsg, ssfi, true).to.have.property("length");
|
|
@@ -4775,8 +4752,7 @@ var require_assertions = __commonJS({
|
|
|
4775
4752
|
Assertion2.addMethod("gt", assertAbove);
|
|
4776
4753
|
Assertion2.addMethod("greaterThan", assertAbove);
|
|
4777
4754
|
function assertLeast(n2, msg) {
|
|
4778
|
-
if (msg)
|
|
4779
|
-
flag(this, "message", msg);
|
|
4755
|
+
if (msg) flag(this, "message", msg);
|
|
4780
4756
|
var obj = flag(this, "object"), doLength = flag(this, "doLength"), flagMsg = flag(this, "message"), msgPrefix = flagMsg ? flagMsg + ": " : "", ssfi = flag(this, "ssfi"), objType = _.type(obj).toLowerCase(), nType = _.type(n2).toLowerCase(), errorMessage, shouldThrow = true;
|
|
4781
4757
|
if (doLength && objType !== "map" && objType !== "set") {
|
|
4782
4758
|
new Assertion2(obj, flagMsg, ssfi, true).to.have.property("length");
|
|
@@ -4822,8 +4798,7 @@ var require_assertions = __commonJS({
|
|
|
4822
4798
|
Assertion2.addMethod("gte", assertLeast);
|
|
4823
4799
|
Assertion2.addMethod("greaterThanOrEqual", assertLeast);
|
|
4824
4800
|
function assertBelow(n2, msg) {
|
|
4825
|
-
if (msg)
|
|
4826
|
-
flag(this, "message", msg);
|
|
4801
|
+
if (msg) flag(this, "message", msg);
|
|
4827
4802
|
var obj = flag(this, "object"), doLength = flag(this, "doLength"), flagMsg = flag(this, "message"), msgPrefix = flagMsg ? flagMsg + ": " : "", ssfi = flag(this, "ssfi"), objType = _.type(obj).toLowerCase(), nType = _.type(n2).toLowerCase(), errorMessage, shouldThrow = true;
|
|
4828
4803
|
if (doLength && objType !== "map" && objType !== "set") {
|
|
4829
4804
|
new Assertion2(obj, flagMsg, ssfi, true).to.have.property("length");
|
|
@@ -4869,8 +4844,7 @@ var require_assertions = __commonJS({
|
|
|
4869
4844
|
Assertion2.addMethod("lt", assertBelow);
|
|
4870
4845
|
Assertion2.addMethod("lessThan", assertBelow);
|
|
4871
4846
|
function assertMost(n2, msg) {
|
|
4872
|
-
if (msg)
|
|
4873
|
-
flag(this, "message", msg);
|
|
4847
|
+
if (msg) flag(this, "message", msg);
|
|
4874
4848
|
var obj = flag(this, "object"), doLength = flag(this, "doLength"), flagMsg = flag(this, "message"), msgPrefix = flagMsg ? flagMsg + ": " : "", ssfi = flag(this, "ssfi"), objType = _.type(obj).toLowerCase(), nType = _.type(n2).toLowerCase(), errorMessage, shouldThrow = true;
|
|
4875
4849
|
if (doLength && objType !== "map" && objType !== "set") {
|
|
4876
4850
|
new Assertion2(obj, flagMsg, ssfi, true).to.have.property("length");
|
|
@@ -4916,8 +4890,7 @@ var require_assertions = __commonJS({
|
|
|
4916
4890
|
Assertion2.addMethod("lte", assertMost);
|
|
4917
4891
|
Assertion2.addMethod("lessThanOrEqual", assertMost);
|
|
4918
4892
|
Assertion2.addMethod("within", function(start, finish, msg) {
|
|
4919
|
-
if (msg)
|
|
4920
|
-
flag(this, "message", msg);
|
|
4893
|
+
if (msg) flag(this, "message", msg);
|
|
4921
4894
|
var obj = flag(this, "object"), doLength = flag(this, "doLength"), flagMsg = flag(this, "message"), msgPrefix = flagMsg ? flagMsg + ": " : "", ssfi = flag(this, "ssfi"), objType = _.type(obj).toLowerCase(), startType = _.type(start).toLowerCase(), finishType = _.type(finish).toLowerCase(), errorMessage, shouldThrow = true, range = startType === "date" && finishType === "date" ? start.toISOString() + ".." + finish.toISOString() : start + ".." + finish;
|
|
4922
4895
|
if (doLength && objType !== "map" && objType !== "set") {
|
|
4923
4896
|
new Assertion2(obj, flagMsg, ssfi, true).to.have.property("length");
|
|
@@ -4957,8 +4930,7 @@ var require_assertions = __commonJS({
|
|
|
4957
4930
|
}
|
|
4958
4931
|
});
|
|
4959
4932
|
function assertInstanceOf(constructor, msg) {
|
|
4960
|
-
if (msg)
|
|
4961
|
-
flag(this, "message", msg);
|
|
4933
|
+
if (msg) flag(this, "message", msg);
|
|
4962
4934
|
var target = flag(this, "object");
|
|
4963
4935
|
var ssfi = flag(this, "ssfi");
|
|
4964
4936
|
var flagMsg = flag(this, "message");
|
|
@@ -4989,8 +4961,7 @@ var require_assertions = __commonJS({
|
|
|
4989
4961
|
Assertion2.addMethod("instanceof", assertInstanceOf);
|
|
4990
4962
|
Assertion2.addMethod("instanceOf", assertInstanceOf);
|
|
4991
4963
|
function assertProperty(name, val, msg) {
|
|
4992
|
-
if (msg)
|
|
4993
|
-
flag(this, "message", msg);
|
|
4964
|
+
if (msg) flag(this, "message", msg);
|
|
4994
4965
|
var isNested = flag(this, "nested"), isOwn = flag(this, "own"), flagMsg = flag(this, "message"), obj = flag(this, "object"), ssfi = flag(this, "ssfi"), nameType = typeof name;
|
|
4995
4966
|
flagMsg = flagMsg ? flagMsg + ": " : "";
|
|
4996
4967
|
if (isNested) {
|
|
@@ -5027,20 +4998,14 @@ var require_assertions = __commonJS({
|
|
|
5027
4998
|
var isDeep = flag(this, "deep"), negate = flag(this, "negate"), pathInfo = isNested ? _.getPathInfo(obj, name) : null, value = isNested ? pathInfo.value : obj[name], isEql = isDeep ? flag(this, "eql") : (val1, val2) => val1 === val2;
|
|
5028
4999
|
;
|
|
5029
5000
|
var descriptor = "";
|
|
5030
|
-
if (isDeep)
|
|
5031
|
-
|
|
5032
|
-
if (
|
|
5033
|
-
descriptor += "own ";
|
|
5034
|
-
if (isNested)
|
|
5035
|
-
descriptor += "nested ";
|
|
5001
|
+
if (isDeep) descriptor += "deep ";
|
|
5002
|
+
if (isOwn) descriptor += "own ";
|
|
5003
|
+
if (isNested) descriptor += "nested ";
|
|
5036
5004
|
descriptor += "property ";
|
|
5037
5005
|
var hasProperty;
|
|
5038
|
-
if (isOwn)
|
|
5039
|
-
|
|
5040
|
-
else
|
|
5041
|
-
hasProperty = pathInfo.exists;
|
|
5042
|
-
else
|
|
5043
|
-
hasProperty = _.hasProperty(obj, name);
|
|
5006
|
+
if (isOwn) hasProperty = Object.prototype.hasOwnProperty.call(obj, name);
|
|
5007
|
+
else if (isNested) hasProperty = pathInfo.exists;
|
|
5008
|
+
else hasProperty = _.hasProperty(obj, name);
|
|
5044
5009
|
if (!negate || arguments.length === 1) {
|
|
5045
5010
|
this.assert(
|
|
5046
5011
|
hasProperty,
|
|
@@ -5071,8 +5036,7 @@ var require_assertions = __commonJS({
|
|
|
5071
5036
|
msg = descriptor;
|
|
5072
5037
|
descriptor = null;
|
|
5073
5038
|
}
|
|
5074
|
-
if (msg)
|
|
5075
|
-
flag(this, "message", msg);
|
|
5039
|
+
if (msg) flag(this, "message", msg);
|
|
5076
5040
|
var obj = flag(this, "object");
|
|
5077
5041
|
var actualDescriptor = Object.getOwnPropertyDescriptor(Object(obj), name);
|
|
5078
5042
|
var eql = flag(this, "eql");
|
|
@@ -5100,8 +5064,7 @@ var require_assertions = __commonJS({
|
|
|
5100
5064
|
flag(this, "doLength", true);
|
|
5101
5065
|
}
|
|
5102
5066
|
function assertLength(n2, msg) {
|
|
5103
|
-
if (msg)
|
|
5104
|
-
flag(this, "message", msg);
|
|
5067
|
+
if (msg) flag(this, "message", msg);
|
|
5105
5068
|
var obj = flag(this, "object"), objType = _.type(obj).toLowerCase(), flagMsg = flag(this, "message"), ssfi = flag(this, "ssfi"), descriptor = "length", itemsCount;
|
|
5106
5069
|
switch (objType) {
|
|
5107
5070
|
case "map":
|
|
@@ -5124,8 +5087,7 @@ var require_assertions = __commonJS({
|
|
|
5124
5087
|
Assertion2.addChainableMethod("length", assertLength, assertLengthChain);
|
|
5125
5088
|
Assertion2.addChainableMethod("lengthOf", assertLength, assertLengthChain);
|
|
5126
5089
|
function assertMatch(re, msg) {
|
|
5127
|
-
if (msg)
|
|
5128
|
-
flag(this, "message", msg);
|
|
5090
|
+
if (msg) flag(this, "message", msg);
|
|
5129
5091
|
var obj = flag(this, "object");
|
|
5130
5092
|
this.assert(
|
|
5131
5093
|
re.exec(obj),
|
|
@@ -5136,8 +5098,7 @@ var require_assertions = __commonJS({
|
|
|
5136
5098
|
Assertion2.addMethod("match", assertMatch);
|
|
5137
5099
|
Assertion2.addMethod("matches", assertMatch);
|
|
5138
5100
|
Assertion2.addMethod("string", function(str, msg) {
|
|
5139
|
-
if (msg)
|
|
5140
|
-
flag(this, "message", msg);
|
|
5101
|
+
if (msg) flag(this, "message", msg);
|
|
5141
5102
|
var obj = flag(this, "object"), flagMsg = flag(this, "message"), ssfi = flag(this, "ssfi");
|
|
5142
5103
|
new Assertion2(obj, flagMsg, ssfi, true).is.a("string");
|
|
5143
5104
|
this.assert(
|
|
@@ -5232,8 +5193,7 @@ var require_assertions = __commonJS({
|
|
|
5232
5193
|
Assertion2.addMethod("keys", assertKeys);
|
|
5233
5194
|
Assertion2.addMethod("key", assertKeys);
|
|
5234
5195
|
function assertThrows(errorLike, errMsgMatcher, msg) {
|
|
5235
|
-
if (msg)
|
|
5236
|
-
flag(this, "message", msg);
|
|
5196
|
+
if (msg) flag(this, "message", msg);
|
|
5237
5197
|
var obj = flag(this, "object"), ssfi = flag(this, "ssfi"), flagMsg = flag(this, "message"), negate = flag(this, "negate") || false;
|
|
5238
5198
|
new Assertion2(obj, flagMsg, ssfi, true).is.a("function");
|
|
5239
5199
|
if (errorLike instanceof RegExp || typeof errorLike === "string") {
|
|
@@ -5333,8 +5293,7 @@ var require_assertions = __commonJS({
|
|
|
5333
5293
|
Assertion2.addMethod("throws", assertThrows);
|
|
5334
5294
|
Assertion2.addMethod("Throw", assertThrows);
|
|
5335
5295
|
function respondTo(method, msg) {
|
|
5336
|
-
if (msg)
|
|
5337
|
-
flag(this, "message", msg);
|
|
5296
|
+
if (msg) flag(this, "message", msg);
|
|
5338
5297
|
var obj = flag(this, "object"), itself = flag(this, "itself"), context = "function" === typeof obj && !itself ? obj.prototype[method] : obj[method];
|
|
5339
5298
|
this.assert(
|
|
5340
5299
|
"function" === typeof context,
|
|
@@ -5348,8 +5307,7 @@ var require_assertions = __commonJS({
|
|
|
5348
5307
|
flag(this, "itself", true);
|
|
5349
5308
|
});
|
|
5350
5309
|
function satisfy(matcher, msg) {
|
|
5351
|
-
if (msg)
|
|
5352
|
-
flag(this, "message", msg);
|
|
5310
|
+
if (msg) flag(this, "message", msg);
|
|
5353
5311
|
var obj = flag(this, "object");
|
|
5354
5312
|
var result = matcher(obj);
|
|
5355
5313
|
this.assert(
|
|
@@ -5363,8 +5321,7 @@ var require_assertions = __commonJS({
|
|
|
5363
5321
|
Assertion2.addMethod("satisfy", satisfy);
|
|
5364
5322
|
Assertion2.addMethod("satisfies", satisfy);
|
|
5365
5323
|
function closeTo(expected, delta, msg) {
|
|
5366
|
-
if (msg)
|
|
5367
|
-
flag(this, "message", msg);
|
|
5324
|
+
if (msg) flag(this, "message", msg);
|
|
5368
5325
|
var obj = flag(this, "object"), flagMsg = flag(this, "message"), ssfi = flag(this, "ssfi");
|
|
5369
5326
|
new Assertion2(obj, flagMsg, ssfi, true).is.a("number");
|
|
5370
5327
|
if (typeof expected !== "number" || typeof delta !== "number") {
|
|
@@ -5386,33 +5343,26 @@ var require_assertions = __commonJS({
|
|
|
5386
5343
|
Assertion2.addMethod("approximately", closeTo);
|
|
5387
5344
|
function isSubsetOf(subset, superset, cmp, contains, ordered) {
|
|
5388
5345
|
if (!contains) {
|
|
5389
|
-
if (subset.length !== superset.length)
|
|
5390
|
-
return false;
|
|
5346
|
+
if (subset.length !== superset.length) return false;
|
|
5391
5347
|
superset = superset.slice();
|
|
5392
5348
|
}
|
|
5393
5349
|
return subset.every(function(elem, idx) {
|
|
5394
|
-
if (ordered)
|
|
5395
|
-
return cmp ? cmp(elem, superset[idx]) : elem === superset[idx];
|
|
5350
|
+
if (ordered) return cmp ? cmp(elem, superset[idx]) : elem === superset[idx];
|
|
5396
5351
|
if (!cmp) {
|
|
5397
5352
|
var matchIdx = superset.indexOf(elem);
|
|
5398
|
-
if (matchIdx === -1)
|
|
5399
|
-
|
|
5400
|
-
if (!contains)
|
|
5401
|
-
superset.splice(matchIdx, 1);
|
|
5353
|
+
if (matchIdx === -1) return false;
|
|
5354
|
+
if (!contains) superset.splice(matchIdx, 1);
|
|
5402
5355
|
return true;
|
|
5403
5356
|
}
|
|
5404
5357
|
return superset.some(function(elem2, matchIdx2) {
|
|
5405
|
-
if (!cmp(elem, elem2))
|
|
5406
|
-
|
|
5407
|
-
if (!contains)
|
|
5408
|
-
superset.splice(matchIdx2, 1);
|
|
5358
|
+
if (!cmp(elem, elem2)) return false;
|
|
5359
|
+
if (!contains) superset.splice(matchIdx2, 1);
|
|
5409
5360
|
return true;
|
|
5410
5361
|
});
|
|
5411
5362
|
});
|
|
5412
5363
|
}
|
|
5413
5364
|
Assertion2.addMethod("members", function(subset, msg) {
|
|
5414
|
-
if (msg)
|
|
5415
|
-
flag(this, "message", msg);
|
|
5365
|
+
if (msg) flag(this, "message", msg);
|
|
5416
5366
|
var obj = flag(this, "object"), flagMsg = flag(this, "message"), ssfi = flag(this, "ssfi");
|
|
5417
5367
|
new Assertion2(obj, flagMsg, ssfi, true).to.be.an("array");
|
|
5418
5368
|
new Assertion2(subset, flagMsg, ssfi, true).to.be.an("array");
|
|
@@ -5439,8 +5389,7 @@ var require_assertions = __commonJS({
|
|
|
5439
5389
|
);
|
|
5440
5390
|
});
|
|
5441
5391
|
function oneOf(list, msg) {
|
|
5442
|
-
if (msg)
|
|
5443
|
-
flag(this, "message", msg);
|
|
5392
|
+
if (msg) flag(this, "message", msg);
|
|
5444
5393
|
var expected = flag(this, "object"), flagMsg = flag(this, "message"), ssfi = flag(this, "ssfi"), contains = flag(this, "contains"), isDeep = flag(this, "deep"), eql = flag(this, "eql");
|
|
5445
5394
|
new Assertion2(list, flagMsg, ssfi, true).to.be.an("array");
|
|
5446
5395
|
if (contains) {
|
|
@@ -5477,8 +5426,7 @@ var require_assertions = __commonJS({
|
|
|
5477
5426
|
}
|
|
5478
5427
|
Assertion2.addMethod("oneOf", oneOf);
|
|
5479
5428
|
function assertChanges(subject, prop, msg) {
|
|
5480
|
-
if (msg)
|
|
5481
|
-
flag(this, "message", msg);
|
|
5429
|
+
if (msg) flag(this, "message", msg);
|
|
5482
5430
|
var fn2 = flag(this, "object"), flagMsg = flag(this, "message"), ssfi = flag(this, "ssfi");
|
|
5483
5431
|
new Assertion2(fn2, flagMsg, ssfi, true).is.a("function");
|
|
5484
5432
|
var initial;
|
|
@@ -5506,8 +5454,7 @@ var require_assertions = __commonJS({
|
|
|
5506
5454
|
Assertion2.addMethod("change", assertChanges);
|
|
5507
5455
|
Assertion2.addMethod("changes", assertChanges);
|
|
5508
5456
|
function assertIncreases(subject, prop, msg) {
|
|
5509
|
-
if (msg)
|
|
5510
|
-
flag(this, "message", msg);
|
|
5457
|
+
if (msg) flag(this, "message", msg);
|
|
5511
5458
|
var fn2 = flag(this, "object"), flagMsg = flag(this, "message"), ssfi = flag(this, "ssfi");
|
|
5512
5459
|
new Assertion2(fn2, flagMsg, ssfi, true).is.a("function");
|
|
5513
5460
|
var initial;
|
|
@@ -5536,8 +5483,7 @@ var require_assertions = __commonJS({
|
|
|
5536
5483
|
Assertion2.addMethod("increase", assertIncreases);
|
|
5537
5484
|
Assertion2.addMethod("increases", assertIncreases);
|
|
5538
5485
|
function assertDecreases(subject, prop, msg) {
|
|
5539
|
-
if (msg)
|
|
5540
|
-
flag(this, "message", msg);
|
|
5486
|
+
if (msg) flag(this, "message", msg);
|
|
5541
5487
|
var fn2 = flag(this, "object"), flagMsg = flag(this, "message"), ssfi = flag(this, "ssfi");
|
|
5542
5488
|
new Assertion2(fn2, flagMsg, ssfi, true).is.a("function");
|
|
5543
5489
|
var initial;
|
|
@@ -5566,8 +5512,7 @@ var require_assertions = __commonJS({
|
|
|
5566
5512
|
Assertion2.addMethod("decrease", assertDecreases);
|
|
5567
5513
|
Assertion2.addMethod("decreases", assertDecreases);
|
|
5568
5514
|
function assertDelta(delta, msg) {
|
|
5569
|
-
if (msg)
|
|
5570
|
-
flag(this, "message", msg);
|
|
5515
|
+
if (msg) flag(this, "message", msg);
|
|
5571
5516
|
var msgObj = flag(this, "deltaMsgObj");
|
|
5572
5517
|
var initial = flag(this, "initialDeltaValue");
|
|
5573
5518
|
var final = flag(this, "finalDeltaValue");
|
|
@@ -5625,9 +5570,9 @@ var require_assertions = __commonJS({
|
|
|
5625
5570
|
}
|
|
5626
5571
|
});
|
|
5627
5572
|
|
|
5628
|
-
// ../../node_modules/chai/lib/chai/interface/expect.js
|
|
5573
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/interface/expect.js
|
|
5629
5574
|
var require_expect = __commonJS({
|
|
5630
|
-
"../../node_modules/chai/lib/chai/interface/expect.js"(exports2, module2) {
|
|
5575
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/interface/expect.js"(exports2, module2) {
|
|
5631
5576
|
"use strict";
|
|
5632
5577
|
init_cjs_shims();
|
|
5633
5578
|
module2.exports = function(chai3, util2) {
|
|
@@ -5650,9 +5595,9 @@ var require_expect = __commonJS({
|
|
|
5650
5595
|
}
|
|
5651
5596
|
});
|
|
5652
5597
|
|
|
5653
|
-
// ../../node_modules/chai/lib/chai/interface/should.js
|
|
5598
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/interface/should.js
|
|
5654
5599
|
var require_should = __commonJS({
|
|
5655
|
-
"../../node_modules/chai/lib/chai/interface/should.js"(exports2, module2) {
|
|
5600
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/interface/should.js"(exports2, module2) {
|
|
5656
5601
|
"use strict";
|
|
5657
5602
|
init_cjs_shims();
|
|
5658
5603
|
module2.exports = function(chai3, util2) {
|
|
@@ -5720,9 +5665,9 @@ var require_should = __commonJS({
|
|
|
5720
5665
|
}
|
|
5721
5666
|
});
|
|
5722
5667
|
|
|
5723
|
-
// ../../node_modules/chai/lib/chai/interface/assert.js
|
|
5668
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/interface/assert.js
|
|
5724
5669
|
var require_assert = __commonJS({
|
|
5725
|
-
"../../node_modules/chai/lib/chai/interface/assert.js"(exports2, module2) {
|
|
5670
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/interface/assert.js"(exports2, module2) {
|
|
5726
5671
|
"use strict";
|
|
5727
5672
|
init_cjs_shims();
|
|
5728
5673
|
module2.exports = function(chai3, util2) {
|
|
@@ -6285,14 +6230,14 @@ var require_assert = __commonJS({
|
|
|
6285
6230
|
}
|
|
6286
6231
|
});
|
|
6287
6232
|
|
|
6288
|
-
// ../../node_modules/chai/lib/chai.js
|
|
6233
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai.js
|
|
6289
6234
|
var require_chai = __commonJS({
|
|
6290
|
-
"../../node_modules/chai/lib/chai.js"(exports2) {
|
|
6235
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai.js"(exports2) {
|
|
6291
6236
|
"use strict";
|
|
6292
6237
|
init_cjs_shims();
|
|
6293
6238
|
var used = [];
|
|
6294
6239
|
exports2.version = "4.3.8";
|
|
6295
|
-
exports2.AssertionError =
|
|
6240
|
+
exports2.AssertionError = require_package4();
|
|
6296
6241
|
var util2 = require_utils();
|
|
6297
6242
|
exports2.use = function(fn2) {
|
|
6298
6243
|
if (!~used.indexOf(fn2)) {
|
|
@@ -6317,16 +6262,16 @@ var require_chai = __commonJS({
|
|
|
6317
6262
|
}
|
|
6318
6263
|
});
|
|
6319
6264
|
|
|
6320
|
-
// ../../node_modules/chai/index.js
|
|
6321
|
-
var
|
|
6322
|
-
"../../node_modules/chai/index.js"(exports2, module2) {
|
|
6265
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/index.js
|
|
6266
|
+
var require_package8 = __commonJS({
|
|
6267
|
+
"../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/index.js"(exports2, module2) {
|
|
6323
6268
|
"use strict";
|
|
6324
6269
|
init_cjs_shims();
|
|
6325
6270
|
module2.exports = require_chai();
|
|
6326
6271
|
}
|
|
6327
6272
|
});
|
|
6328
6273
|
|
|
6329
|
-
// ../../node_modules/@jridgewell
|
|
6274
|
+
// ../../node_modules/.store/@jridgewell-sourcemap-codec-npm-1.4.15-a055fb62cf/package/dist/sourcemap-codec.mjs
|
|
6330
6275
|
function encode(decoded) {
|
|
6331
6276
|
const state = new Int32Array(5);
|
|
6332
6277
|
const bufLength = 1024 * 16;
|
|
@@ -6385,7 +6330,7 @@ function encodeInteger(buf, pos, state, segment, j) {
|
|
|
6385
6330
|
}
|
|
6386
6331
|
var comma2, semicolon, chars2, intToChar2, charToInt2, td;
|
|
6387
6332
|
var init_sourcemap_codec = __esm({
|
|
6388
|
-
"../../node_modules/@jridgewell
|
|
6333
|
+
"../../node_modules/.store/@jridgewell-sourcemap-codec-npm-1.4.15-a055fb62cf/package/dist/sourcemap-codec.mjs"() {
|
|
6389
6334
|
"use strict";
|
|
6390
6335
|
init_cjs_shims();
|
|
6391
6336
|
comma2 = ",".charCodeAt(0);
|
|
@@ -6415,7 +6360,7 @@ var init_sourcemap_codec = __esm({
|
|
|
6415
6360
|
}
|
|
6416
6361
|
});
|
|
6417
6362
|
|
|
6418
|
-
// ../../node_modules/magic-string/dist/magic-string.es.mjs
|
|
6363
|
+
// ../../node_modules/.store/magic-string-npm-0.30.10-f4e92e6784/package/dist/magic-string.es.mjs
|
|
6419
6364
|
var magic_string_es_exports = {};
|
|
6420
6365
|
__export(magic_string_es_exports, {
|
|
6421
6366
|
Bundle: () => Bundle,
|
|
@@ -6459,8 +6404,7 @@ function getRelativePath(from, to) {
|
|
|
6459
6404
|
}
|
|
6460
6405
|
if (fromParts.length) {
|
|
6461
6406
|
let i2 = fromParts.length;
|
|
6462
|
-
while (i2--)
|
|
6463
|
-
fromParts[i2] = "..";
|
|
6407
|
+
while (i2--) fromParts[i2] = "..";
|
|
6464
6408
|
}
|
|
6465
6409
|
return fromParts.concat(toParts).join("/");
|
|
6466
6410
|
}
|
|
@@ -6492,7 +6436,7 @@ function getLocator(source) {
|
|
|
6492
6436
|
}
|
|
6493
6437
|
var BitSet, Chunk, btoa, SourceMap, toString2, wordRegex, Mappings, n, warned, MagicString, hasOwnProp, Bundle;
|
|
6494
6438
|
var init_magic_string_es = __esm({
|
|
6495
|
-
"../../node_modules/magic-string/dist/magic-string.es.mjs"() {
|
|
6439
|
+
"../../node_modules/.store/magic-string-npm-0.30.10-f4e92e6784/package/dist/magic-string.es.mjs"() {
|
|
6496
6440
|
"use strict";
|
|
6497
6441
|
init_cjs_shims();
|
|
6498
6442
|
init_sourcemap_codec();
|
|
@@ -6595,8 +6539,7 @@ var init_magic_string_es = __esm({
|
|
|
6595
6539
|
this.content = originalBefore;
|
|
6596
6540
|
}
|
|
6597
6541
|
newChunk.next = this.next;
|
|
6598
|
-
if (newChunk.next)
|
|
6599
|
-
newChunk.next.previous = newChunk;
|
|
6542
|
+
if (newChunk.next) newChunk.next.previous = newChunk;
|
|
6600
6543
|
newChunk.previous = this;
|
|
6601
6544
|
this.next = newChunk;
|
|
6602
6545
|
return newChunk;
|
|
@@ -6606,8 +6549,7 @@ var init_magic_string_es = __esm({
|
|
|
6606
6549
|
}
|
|
6607
6550
|
trimEnd(rx) {
|
|
6608
6551
|
this.outro = this.outro.replace(rx, "");
|
|
6609
|
-
if (this.outro.length)
|
|
6610
|
-
return true;
|
|
6552
|
+
if (this.outro.length) return true;
|
|
6611
6553
|
const trimmed = this.content.replace(rx, "");
|
|
6612
6554
|
if (trimmed.length) {
|
|
6613
6555
|
if (trimmed !== this.content) {
|
|
@@ -6620,14 +6562,12 @@ var init_magic_string_es = __esm({
|
|
|
6620
6562
|
} else {
|
|
6621
6563
|
this.edit("", void 0, true);
|
|
6622
6564
|
this.intro = this.intro.replace(rx, "");
|
|
6623
|
-
if (this.intro.length)
|
|
6624
|
-
return true;
|
|
6565
|
+
if (this.intro.length) return true;
|
|
6625
6566
|
}
|
|
6626
6567
|
}
|
|
6627
6568
|
trimStart(rx) {
|
|
6628
6569
|
this.intro = this.intro.replace(rx, "");
|
|
6629
|
-
if (this.intro.length)
|
|
6630
|
-
return true;
|
|
6570
|
+
if (this.intro.length) return true;
|
|
6631
6571
|
const trimmed = this.content.replace(rx, "");
|
|
6632
6572
|
if (trimmed.length) {
|
|
6633
6573
|
if (trimmed !== this.content) {
|
|
@@ -6641,8 +6581,7 @@ var init_magic_string_es = __esm({
|
|
|
6641
6581
|
} else {
|
|
6642
6582
|
this.edit("", void 0, true);
|
|
6643
6583
|
this.outro = this.outro.replace(rx, "");
|
|
6644
|
-
if (this.outro.length)
|
|
6645
|
-
return true;
|
|
6584
|
+
if (this.outro.length) return true;
|
|
6646
6585
|
}
|
|
6647
6586
|
}
|
|
6648
6587
|
};
|
|
@@ -6744,8 +6683,7 @@ var init_magic_string_es = __esm({
|
|
|
6744
6683
|
this.pending = null;
|
|
6745
6684
|
}
|
|
6746
6685
|
advance(str) {
|
|
6747
|
-
if (!str)
|
|
6748
|
-
return;
|
|
6686
|
+
if (!str) return;
|
|
6749
6687
|
const lines = str.split("\n");
|
|
6750
6688
|
if (lines.length > 1) {
|
|
6751
6689
|
for (let i2 = 0; i2 < lines.length - 1; i2++) {
|
|
@@ -6789,14 +6727,12 @@ var init_magic_string_es = __esm({
|
|
|
6789
6727
|
this.sourcemapLocations.add(char);
|
|
6790
6728
|
}
|
|
6791
6729
|
append(content) {
|
|
6792
|
-
if (typeof content !== "string")
|
|
6793
|
-
throw new TypeError("outro content must be a string");
|
|
6730
|
+
if (typeof content !== "string") throw new TypeError("outro content must be a string");
|
|
6794
6731
|
this.outro += content;
|
|
6795
6732
|
return this;
|
|
6796
6733
|
}
|
|
6797
6734
|
appendLeft(index, content) {
|
|
6798
|
-
if (typeof content !== "string")
|
|
6799
|
-
throw new TypeError("inserted content must be a string");
|
|
6735
|
+
if (typeof content !== "string") throw new TypeError("inserted content must be a string");
|
|
6800
6736
|
this._split(index);
|
|
6801
6737
|
const chunk = this.byEnd[index];
|
|
6802
6738
|
if (chunk) {
|
|
@@ -6807,8 +6743,7 @@ var init_magic_string_es = __esm({
|
|
|
6807
6743
|
return this;
|
|
6808
6744
|
}
|
|
6809
6745
|
appendRight(index, content) {
|
|
6810
|
-
if (typeof content !== "string")
|
|
6811
|
-
throw new TypeError("inserted content must be a string");
|
|
6746
|
+
if (typeof content !== "string") throw new TypeError("inserted content must be a string");
|
|
6812
6747
|
this._split(index);
|
|
6813
6748
|
const chunk = this.byStart[index];
|
|
6814
6749
|
if (chunk) {
|
|
@@ -6854,8 +6789,7 @@ var init_magic_string_es = __esm({
|
|
|
6854
6789
|
}
|
|
6855
6790
|
this.firstChunk.eachNext((chunk) => {
|
|
6856
6791
|
const loc = locate(chunk.start);
|
|
6857
|
-
if (chunk.intro.length)
|
|
6858
|
-
mappings.advance(chunk.intro);
|
|
6792
|
+
if (chunk.intro.length) mappings.advance(chunk.intro);
|
|
6859
6793
|
if (chunk.edited) {
|
|
6860
6794
|
mappings.addEdit(
|
|
6861
6795
|
sourceIndex,
|
|
@@ -6866,8 +6800,7 @@ var init_magic_string_es = __esm({
|
|
|
6866
6800
|
} else {
|
|
6867
6801
|
mappings.addUneditedChunk(sourceIndex, chunk, this.original, loc, this.sourcemapLocations);
|
|
6868
6802
|
}
|
|
6869
|
-
if (chunk.outro.length)
|
|
6870
|
-
mappings.advance(chunk.outro);
|
|
6803
|
+
if (chunk.outro.length) mappings.advance(chunk.outro);
|
|
6871
6804
|
});
|
|
6872
6805
|
return {
|
|
6873
6806
|
file: options.file ? options.file.split(/[/\\]/).pop() : void 0,
|
|
@@ -6906,8 +6839,7 @@ var init_magic_string_es = __esm({
|
|
|
6906
6839
|
this._ensureindentStr();
|
|
6907
6840
|
indentStr = this.indentStr || " ";
|
|
6908
6841
|
}
|
|
6909
|
-
if (indentStr === "")
|
|
6910
|
-
return this;
|
|
6842
|
+
if (indentStr === "") return this;
|
|
6911
6843
|
options = options || {};
|
|
6912
6844
|
const isExcluded = {};
|
|
6913
6845
|
if (options.exclude) {
|
|
@@ -6920,8 +6852,7 @@ var init_magic_string_es = __esm({
|
|
|
6920
6852
|
}
|
|
6921
6853
|
let shouldIndentNextCharacter = options.indentStart !== false;
|
|
6922
6854
|
const replacer = (match) => {
|
|
6923
|
-
if (shouldIndentNextCharacter)
|
|
6924
|
-
return `${indentStr}${match}`;
|
|
6855
|
+
if (shouldIndentNextCharacter) return `${indentStr}${match}`;
|
|
6925
6856
|
shouldIndentNextCharacter = true;
|
|
6926
6857
|
return match;
|
|
6927
6858
|
};
|
|
@@ -6988,8 +6919,7 @@ var init_magic_string_es = __esm({
|
|
|
6988
6919
|
return this.prependRight(index, content);
|
|
6989
6920
|
}
|
|
6990
6921
|
move(start, end, index) {
|
|
6991
|
-
if (index >= start && index <= end)
|
|
6992
|
-
throw new Error("Cannot move a selection inside itself");
|
|
6922
|
+
if (index >= start && index <= end) throw new Error("Cannot move a selection inside itself");
|
|
6993
6923
|
this._split(start);
|
|
6994
6924
|
this._split(end);
|
|
6995
6925
|
this._split(index);
|
|
@@ -6998,29 +6928,21 @@ var init_magic_string_es = __esm({
|
|
|
6998
6928
|
const oldLeft = first.previous;
|
|
6999
6929
|
const oldRight = last.next;
|
|
7000
6930
|
const newRight = this.byStart[index];
|
|
7001
|
-
if (!newRight && last === this.lastChunk)
|
|
7002
|
-
return this;
|
|
6931
|
+
if (!newRight && last === this.lastChunk) return this;
|
|
7003
6932
|
const newLeft = newRight ? newRight.previous : this.lastChunk;
|
|
7004
|
-
if (oldLeft)
|
|
7005
|
-
|
|
7006
|
-
if (
|
|
7007
|
-
|
|
7008
|
-
if (
|
|
7009
|
-
newLeft.next = first;
|
|
7010
|
-
if (newRight)
|
|
7011
|
-
newRight.previous = last;
|
|
7012
|
-
if (!first.previous)
|
|
7013
|
-
this.firstChunk = last.next;
|
|
6933
|
+
if (oldLeft) oldLeft.next = oldRight;
|
|
6934
|
+
if (oldRight) oldRight.previous = oldLeft;
|
|
6935
|
+
if (newLeft) newLeft.next = first;
|
|
6936
|
+
if (newRight) newRight.previous = last;
|
|
6937
|
+
if (!first.previous) this.firstChunk = last.next;
|
|
7014
6938
|
if (!last.next) {
|
|
7015
6939
|
this.lastChunk = first.previous;
|
|
7016
6940
|
this.lastChunk.next = null;
|
|
7017
6941
|
}
|
|
7018
6942
|
first.previous = newLeft;
|
|
7019
6943
|
last.next = newRight || null;
|
|
7020
|
-
if (!newLeft)
|
|
7021
|
-
|
|
7022
|
-
if (!newRight)
|
|
7023
|
-
this.lastChunk = last;
|
|
6944
|
+
if (!newLeft) this.firstChunk = first;
|
|
6945
|
+
if (!newRight) this.lastChunk = last;
|
|
7024
6946
|
return this;
|
|
7025
6947
|
}
|
|
7026
6948
|
overwrite(start, end, content, options) {
|
|
@@ -7028,14 +6950,10 @@ var init_magic_string_es = __esm({
|
|
|
7028
6950
|
return this.update(start, end, content, { ...options, overwrite: !options.contentOnly });
|
|
7029
6951
|
}
|
|
7030
6952
|
update(start, end, content, options) {
|
|
7031
|
-
if (typeof content !== "string")
|
|
7032
|
-
|
|
7033
|
-
while (
|
|
7034
|
-
|
|
7035
|
-
while (end < 0)
|
|
7036
|
-
end += this.original.length;
|
|
7037
|
-
if (end > this.original.length)
|
|
7038
|
-
throw new Error("end is out of bounds");
|
|
6953
|
+
if (typeof content !== "string") throw new TypeError("replacement content must be a string");
|
|
6954
|
+
while (start < 0) start += this.original.length;
|
|
6955
|
+
while (end < 0) end += this.original.length;
|
|
6956
|
+
if (end > this.original.length) throw new Error("end is out of bounds");
|
|
7039
6957
|
if (start === end)
|
|
7040
6958
|
throw new Error(
|
|
7041
6959
|
"Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead"
|
|
@@ -7081,14 +6999,12 @@ var init_magic_string_es = __esm({
|
|
|
7081
6999
|
return this;
|
|
7082
7000
|
}
|
|
7083
7001
|
prepend(content) {
|
|
7084
|
-
if (typeof content !== "string")
|
|
7085
|
-
throw new TypeError("outro content must be a string");
|
|
7002
|
+
if (typeof content !== "string") throw new TypeError("outro content must be a string");
|
|
7086
7003
|
this.intro = content + this.intro;
|
|
7087
7004
|
return this;
|
|
7088
7005
|
}
|
|
7089
7006
|
prependLeft(index, content) {
|
|
7090
|
-
if (typeof content !== "string")
|
|
7091
|
-
throw new TypeError("inserted content must be a string");
|
|
7007
|
+
if (typeof content !== "string") throw new TypeError("inserted content must be a string");
|
|
7092
7008
|
this._split(index);
|
|
7093
7009
|
const chunk = this.byEnd[index];
|
|
7094
7010
|
if (chunk) {
|
|
@@ -7099,8 +7015,7 @@ var init_magic_string_es = __esm({
|
|
|
7099
7015
|
return this;
|
|
7100
7016
|
}
|
|
7101
7017
|
prependRight(index, content) {
|
|
7102
|
-
if (typeof content !== "string")
|
|
7103
|
-
throw new TypeError("inserted content must be a string");
|
|
7018
|
+
if (typeof content !== "string") throw new TypeError("inserted content must be a string");
|
|
7104
7019
|
this._split(index);
|
|
7105
7020
|
const chunk = this.byStart[index];
|
|
7106
7021
|
if (chunk) {
|
|
@@ -7111,16 +7026,11 @@ var init_magic_string_es = __esm({
|
|
|
7111
7026
|
return this;
|
|
7112
7027
|
}
|
|
7113
7028
|
remove(start, end) {
|
|
7114
|
-
while (start < 0)
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
if (start
|
|
7119
|
-
return this;
|
|
7120
|
-
if (start < 0 || end > this.original.length)
|
|
7121
|
-
throw new Error("Character is out of bounds");
|
|
7122
|
-
if (start > end)
|
|
7123
|
-
throw new Error("end must be greater than start");
|
|
7029
|
+
while (start < 0) start += this.original.length;
|
|
7030
|
+
while (end < 0) end += this.original.length;
|
|
7031
|
+
if (start === end) return this;
|
|
7032
|
+
if (start < 0 || end > this.original.length) throw new Error("Character is out of bounds");
|
|
7033
|
+
if (start > end) throw new Error("end must be greater than start");
|
|
7124
7034
|
this._split(start);
|
|
7125
7035
|
this._split(end);
|
|
7126
7036
|
let chunk = this.byStart[start];
|
|
@@ -7133,16 +7043,11 @@ var init_magic_string_es = __esm({
|
|
|
7133
7043
|
return this;
|
|
7134
7044
|
}
|
|
7135
7045
|
reset(start, end) {
|
|
7136
|
-
while (start < 0)
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
if (start
|
|
7141
|
-
return this;
|
|
7142
|
-
if (start < 0 || end > this.original.length)
|
|
7143
|
-
throw new Error("Character is out of bounds");
|
|
7144
|
-
if (start > end)
|
|
7145
|
-
throw new Error("end must be greater than start");
|
|
7046
|
+
while (start < 0) start += this.original.length;
|
|
7047
|
+
while (end < 0) end += this.original.length;
|
|
7048
|
+
if (start === end) return this;
|
|
7049
|
+
if (start < 0 || end > this.original.length) throw new Error("Character is out of bounds");
|
|
7050
|
+
if (start > end) throw new Error("end must be greater than start");
|
|
7146
7051
|
this._split(start);
|
|
7147
7052
|
this._split(end);
|
|
7148
7053
|
let chunk = this.byStart[start];
|
|
@@ -7153,57 +7058,45 @@ var init_magic_string_es = __esm({
|
|
|
7153
7058
|
return this;
|
|
7154
7059
|
}
|
|
7155
7060
|
lastChar() {
|
|
7156
|
-
if (this.outro.length)
|
|
7157
|
-
return this.outro[this.outro.length - 1];
|
|
7061
|
+
if (this.outro.length) return this.outro[this.outro.length - 1];
|
|
7158
7062
|
let chunk = this.lastChunk;
|
|
7159
7063
|
do {
|
|
7160
|
-
if (chunk.outro.length)
|
|
7161
|
-
|
|
7162
|
-
if (chunk.
|
|
7163
|
-
return chunk.content[chunk.content.length - 1];
|
|
7164
|
-
if (chunk.intro.length)
|
|
7165
|
-
return chunk.intro[chunk.intro.length - 1];
|
|
7064
|
+
if (chunk.outro.length) return chunk.outro[chunk.outro.length - 1];
|
|
7065
|
+
if (chunk.content.length) return chunk.content[chunk.content.length - 1];
|
|
7066
|
+
if (chunk.intro.length) return chunk.intro[chunk.intro.length - 1];
|
|
7166
7067
|
} while (chunk = chunk.previous);
|
|
7167
|
-
if (this.intro.length)
|
|
7168
|
-
return this.intro[this.intro.length - 1];
|
|
7068
|
+
if (this.intro.length) return this.intro[this.intro.length - 1];
|
|
7169
7069
|
return "";
|
|
7170
7070
|
}
|
|
7171
7071
|
lastLine() {
|
|
7172
7072
|
let lineIndex = this.outro.lastIndexOf(n);
|
|
7173
|
-
if (lineIndex !== -1)
|
|
7174
|
-
return this.outro.substr(lineIndex + 1);
|
|
7073
|
+
if (lineIndex !== -1) return this.outro.substr(lineIndex + 1);
|
|
7175
7074
|
let lineStr = this.outro;
|
|
7176
7075
|
let chunk = this.lastChunk;
|
|
7177
7076
|
do {
|
|
7178
7077
|
if (chunk.outro.length > 0) {
|
|
7179
7078
|
lineIndex = chunk.outro.lastIndexOf(n);
|
|
7180
|
-
if (lineIndex !== -1)
|
|
7181
|
-
return chunk.outro.substr(lineIndex + 1) + lineStr;
|
|
7079
|
+
if (lineIndex !== -1) return chunk.outro.substr(lineIndex + 1) + lineStr;
|
|
7182
7080
|
lineStr = chunk.outro + lineStr;
|
|
7183
7081
|
}
|
|
7184
7082
|
if (chunk.content.length > 0) {
|
|
7185
7083
|
lineIndex = chunk.content.lastIndexOf(n);
|
|
7186
|
-
if (lineIndex !== -1)
|
|
7187
|
-
return chunk.content.substr(lineIndex + 1) + lineStr;
|
|
7084
|
+
if (lineIndex !== -1) return chunk.content.substr(lineIndex + 1) + lineStr;
|
|
7188
7085
|
lineStr = chunk.content + lineStr;
|
|
7189
7086
|
}
|
|
7190
7087
|
if (chunk.intro.length > 0) {
|
|
7191
7088
|
lineIndex = chunk.intro.lastIndexOf(n);
|
|
7192
|
-
if (lineIndex !== -1)
|
|
7193
|
-
return chunk.intro.substr(lineIndex + 1) + lineStr;
|
|
7089
|
+
if (lineIndex !== -1) return chunk.intro.substr(lineIndex + 1) + lineStr;
|
|
7194
7090
|
lineStr = chunk.intro + lineStr;
|
|
7195
7091
|
}
|
|
7196
7092
|
} while (chunk = chunk.previous);
|
|
7197
7093
|
lineIndex = this.intro.lastIndexOf(n);
|
|
7198
|
-
if (lineIndex !== -1)
|
|
7199
|
-
return this.intro.substr(lineIndex + 1) + lineStr;
|
|
7094
|
+
if (lineIndex !== -1) return this.intro.substr(lineIndex + 1) + lineStr;
|
|
7200
7095
|
return this.intro + lineStr;
|
|
7201
7096
|
}
|
|
7202
7097
|
slice(start = 0, end = this.original.length) {
|
|
7203
|
-
while (start < 0)
|
|
7204
|
-
|
|
7205
|
-
while (end < 0)
|
|
7206
|
-
end += this.original.length;
|
|
7098
|
+
while (start < 0) start += this.original.length;
|
|
7099
|
+
while (end < 0) end += this.original.length;
|
|
7207
7100
|
let result = "";
|
|
7208
7101
|
let chunk = this.firstChunk;
|
|
7209
7102
|
while (chunk && (chunk.start > start || chunk.end <= start)) {
|
|
@@ -7243,13 +7136,11 @@ var init_magic_string_es = __esm({
|
|
|
7243
7136
|
return clone2;
|
|
7244
7137
|
}
|
|
7245
7138
|
_split(index) {
|
|
7246
|
-
if (this.byStart[index] || this.byEnd[index])
|
|
7247
|
-
return;
|
|
7139
|
+
if (this.byStart[index] || this.byEnd[index]) return;
|
|
7248
7140
|
let chunk = this.lastSearchedChunk;
|
|
7249
7141
|
const searchForward = index > chunk.end;
|
|
7250
7142
|
while (chunk) {
|
|
7251
|
-
if (chunk.contains(index))
|
|
7252
|
-
return this._splitChunk(chunk, index);
|
|
7143
|
+
if (chunk.contains(index)) return this._splitChunk(chunk, index);
|
|
7253
7144
|
chunk = searchForward ? this.byStart[chunk.end] : this.byEnd[chunk.start];
|
|
7254
7145
|
}
|
|
7255
7146
|
}
|
|
@@ -7264,8 +7155,7 @@ var init_magic_string_es = __esm({
|
|
|
7264
7155
|
this.byEnd[index] = chunk;
|
|
7265
7156
|
this.byStart[index] = newChunk;
|
|
7266
7157
|
this.byEnd[newChunk.end] = newChunk;
|
|
7267
|
-
if (chunk === this.lastChunk)
|
|
7268
|
-
this.lastChunk = newChunk;
|
|
7158
|
+
if (chunk === this.lastChunk) this.lastChunk = newChunk;
|
|
7269
7159
|
this.lastSearchedChunk = chunk;
|
|
7270
7160
|
return true;
|
|
7271
7161
|
}
|
|
@@ -7303,8 +7193,7 @@ var init_magic_string_es = __esm({
|
|
|
7303
7193
|
trimEndAborted(charType) {
|
|
7304
7194
|
const rx = new RegExp((charType || "\\s") + "+$");
|
|
7305
7195
|
this.outro = this.outro.replace(rx, "");
|
|
7306
|
-
if (this.outro.length)
|
|
7307
|
-
return true;
|
|
7196
|
+
if (this.outro.length) return true;
|
|
7308
7197
|
let chunk = this.lastChunk;
|
|
7309
7198
|
do {
|
|
7310
7199
|
const end = chunk.end;
|
|
@@ -7317,8 +7206,7 @@ var init_magic_string_es = __esm({
|
|
|
7317
7206
|
this.byStart[chunk.next.start] = chunk.next;
|
|
7318
7207
|
this.byEnd[chunk.next.end] = chunk.next;
|
|
7319
7208
|
}
|
|
7320
|
-
if (aborted)
|
|
7321
|
-
return true;
|
|
7209
|
+
if (aborted) return true;
|
|
7322
7210
|
chunk = chunk.previous;
|
|
7323
7211
|
} while (chunk);
|
|
7324
7212
|
return false;
|
|
@@ -7330,21 +7218,18 @@ var init_magic_string_es = __esm({
|
|
|
7330
7218
|
trimStartAborted(charType) {
|
|
7331
7219
|
const rx = new RegExp("^" + (charType || "\\s") + "+");
|
|
7332
7220
|
this.intro = this.intro.replace(rx, "");
|
|
7333
|
-
if (this.intro.length)
|
|
7334
|
-
return true;
|
|
7221
|
+
if (this.intro.length) return true;
|
|
7335
7222
|
let chunk = this.firstChunk;
|
|
7336
7223
|
do {
|
|
7337
7224
|
const end = chunk.end;
|
|
7338
7225
|
const aborted = chunk.trimStart(rx);
|
|
7339
7226
|
if (chunk.end !== end) {
|
|
7340
|
-
if (chunk === this.lastChunk)
|
|
7341
|
-
this.lastChunk = chunk.next;
|
|
7227
|
+
if (chunk === this.lastChunk) this.lastChunk = chunk.next;
|
|
7342
7228
|
this.byEnd[chunk.end] = chunk;
|
|
7343
7229
|
this.byStart[chunk.next.start] = chunk.next;
|
|
7344
7230
|
this.byEnd[chunk.next.end] = chunk.next;
|
|
7345
7231
|
}
|
|
7346
|
-
if (aborted)
|
|
7347
|
-
return true;
|
|
7232
|
+
if (aborted) return true;
|
|
7348
7233
|
chunk = chunk.next;
|
|
7349
7234
|
} while (chunk);
|
|
7350
7235
|
return false;
|
|
@@ -7360,13 +7245,10 @@ var init_magic_string_es = __esm({
|
|
|
7360
7245
|
function getReplacement(match, str) {
|
|
7361
7246
|
if (typeof replacement === "string") {
|
|
7362
7247
|
return replacement.replace(/\$(\$|&|\d+)/g, (_, i2) => {
|
|
7363
|
-
if (i2 === "$")
|
|
7364
|
-
|
|
7365
|
-
if (i2 === "&")
|
|
7366
|
-
return match[0];
|
|
7248
|
+
if (i2 === "$") return "$";
|
|
7249
|
+
if (i2 === "&") return match[0];
|
|
7367
7250
|
const num = +i2;
|
|
7368
|
-
if (num < match.length)
|
|
7369
|
-
return match[+i2];
|
|
7251
|
+
if (num < match.length) return match[+i2];
|
|
7370
7252
|
return `$${i2}`;
|
|
7371
7253
|
});
|
|
7372
7254
|
} else {
|
|
@@ -7469,8 +7351,7 @@ var init_magic_string_es = __esm({
|
|
|
7469
7351
|
);
|
|
7470
7352
|
}
|
|
7471
7353
|
["filename", "ignoreList", "indentExclusionRanges", "separator"].forEach((option) => {
|
|
7472
|
-
if (!hasOwnProp.call(source, option))
|
|
7473
|
-
source[option] = source.content[option];
|
|
7354
|
+
if (!hasOwnProp.call(source, option)) source[option] = source.content[option];
|
|
7474
7355
|
});
|
|
7475
7356
|
if (source.separator === void 0) {
|
|
7476
7357
|
source.separator = this.separator;
|
|
@@ -7515,8 +7396,7 @@ var init_magic_string_es = __esm({
|
|
|
7515
7396
|
let x_google_ignoreList = void 0;
|
|
7516
7397
|
this.sources.forEach((source) => {
|
|
7517
7398
|
Object.keys(source.content.storedNames).forEach((name) => {
|
|
7518
|
-
if (!~names.indexOf(name))
|
|
7519
|
-
names.push(name);
|
|
7399
|
+
if (!~names.indexOf(name)) names.push(name);
|
|
7520
7400
|
});
|
|
7521
7401
|
});
|
|
7522
7402
|
const mappings = new Mappings(options.hires);
|
|
@@ -7535,8 +7415,7 @@ var init_magic_string_es = __esm({
|
|
|
7535
7415
|
}
|
|
7536
7416
|
magicString.firstChunk.eachNext((chunk) => {
|
|
7537
7417
|
const loc = locate(chunk.start);
|
|
7538
|
-
if (chunk.intro.length)
|
|
7539
|
-
mappings.advance(chunk.intro);
|
|
7418
|
+
if (chunk.intro.length) mappings.advance(chunk.intro);
|
|
7540
7419
|
if (source.filename) {
|
|
7541
7420
|
if (chunk.edited) {
|
|
7542
7421
|
mappings.addEdit(
|
|
@@ -7557,8 +7436,7 @@ var init_magic_string_es = __esm({
|
|
|
7557
7436
|
} else {
|
|
7558
7437
|
mappings.advance(chunk.content);
|
|
7559
7438
|
}
|
|
7560
|
-
if (chunk.outro.length)
|
|
7561
|
-
mappings.advance(chunk.outro);
|
|
7439
|
+
if (chunk.outro.length) mappings.advance(chunk.outro);
|
|
7562
7440
|
});
|
|
7563
7441
|
if (magicString.outro) {
|
|
7564
7442
|
mappings.advance(magicString.outro);
|
|
@@ -7590,10 +7468,8 @@ var init_magic_string_es = __esm({
|
|
|
7590
7468
|
const indentStringCounts = {};
|
|
7591
7469
|
this.sources.forEach((source) => {
|
|
7592
7470
|
const indentStr = source.content._getRawIndentString();
|
|
7593
|
-
if (indentStr === null)
|
|
7594
|
-
|
|
7595
|
-
if (!indentStringCounts[indentStr])
|
|
7596
|
-
indentStringCounts[indentStr] = 0;
|
|
7471
|
+
if (indentStr === null) return;
|
|
7472
|
+
if (!indentStringCounts[indentStr]) indentStringCounts[indentStr] = 0;
|
|
7597
7473
|
indentStringCounts[indentStr] += 1;
|
|
7598
7474
|
});
|
|
7599
7475
|
return Object.keys(indentStringCounts).sort((a, b2) => {
|
|
@@ -7604,8 +7480,7 @@ var init_magic_string_es = __esm({
|
|
|
7604
7480
|
if (!arguments.length) {
|
|
7605
7481
|
indentStr = this.getIndentString();
|
|
7606
7482
|
}
|
|
7607
|
-
if (indentStr === "")
|
|
7608
|
-
return this;
|
|
7483
|
+
if (indentStr === "") return this;
|
|
7609
7484
|
let trailingNewline = !this.intro || this.intro.slice(-1) === "\n";
|
|
7610
7485
|
this.sources.forEach((source, i2) => {
|
|
7611
7486
|
const separator = source.separator !== void 0 ? source.separator : this.separator;
|
|
@@ -7637,10 +7512,8 @@ var init_magic_string_es = __esm({
|
|
|
7637
7512
|
return this.intro + body;
|
|
7638
7513
|
}
|
|
7639
7514
|
isEmpty() {
|
|
7640
|
-
if (this.intro.length && this.intro.trim())
|
|
7641
|
-
|
|
7642
|
-
if (this.sources.some((source) => !source.content.isEmpty()))
|
|
7643
|
-
return false;
|
|
7515
|
+
if (this.intro.length && this.intro.trim()) return false;
|
|
7516
|
+
if (this.sources.some((source) => !source.content.isEmpty())) return false;
|
|
7644
7517
|
return true;
|
|
7645
7518
|
}
|
|
7646
7519
|
length() {
|
|
@@ -7687,74 +7560,13 @@ var init_magic_string_es = __esm({
|
|
|
7687
7560
|
}
|
|
7688
7561
|
});
|
|
7689
7562
|
|
|
7690
|
-
// ../../node_modules/camelcase/index.js
|
|
7691
|
-
var require_camelcase = __commonJS({
|
|
7692
|
-
"../../node_modules/camelcase/index.js"(exports2, module2) {
|
|
7693
|
-
"use strict";
|
|
7694
|
-
init_cjs_shims();
|
|
7695
|
-
var preserveCamelCase = (string3) => {
|
|
7696
|
-
let isLastCharLower = false;
|
|
7697
|
-
let isLastCharUpper = false;
|
|
7698
|
-
let isLastLastCharUpper = false;
|
|
7699
|
-
for (let i2 = 0; i2 < string3.length; i2++) {
|
|
7700
|
-
const character = string3[i2];
|
|
7701
|
-
if (isLastCharLower && /[a-zA-Z]/.test(character) && character.toUpperCase() === character) {
|
|
7702
|
-
string3 = string3.slice(0, i2) + "-" + string3.slice(i2);
|
|
7703
|
-
isLastCharLower = false;
|
|
7704
|
-
isLastLastCharUpper = isLastCharUpper;
|
|
7705
|
-
isLastCharUpper = true;
|
|
7706
|
-
i2++;
|
|
7707
|
-
} else if (isLastCharUpper && isLastLastCharUpper && /[a-zA-Z]/.test(character) && character.toLowerCase() === character) {
|
|
7708
|
-
string3 = string3.slice(0, i2 - 1) + "-" + string3.slice(i2 - 1);
|
|
7709
|
-
isLastLastCharUpper = isLastCharUpper;
|
|
7710
|
-
isLastCharUpper = false;
|
|
7711
|
-
isLastCharLower = true;
|
|
7712
|
-
} else {
|
|
7713
|
-
isLastCharLower = character.toLowerCase() === character && character.toUpperCase() !== character;
|
|
7714
|
-
isLastLastCharUpper = isLastCharUpper;
|
|
7715
|
-
isLastCharUpper = character.toUpperCase() === character && character.toLowerCase() !== character;
|
|
7716
|
-
}
|
|
7717
|
-
}
|
|
7718
|
-
return string3;
|
|
7719
|
-
};
|
|
7720
|
-
var camelCase = (input, options) => {
|
|
7721
|
-
if (!(typeof input === "string" || Array.isArray(input))) {
|
|
7722
|
-
throw new TypeError("Expected the input to be `string | string[]`");
|
|
7723
|
-
}
|
|
7724
|
-
options = Object.assign({
|
|
7725
|
-
pascalCase: false
|
|
7726
|
-
}, options);
|
|
7727
|
-
const postProcess = (x) => options.pascalCase ? x.charAt(0).toUpperCase() + x.slice(1) : x;
|
|
7728
|
-
if (Array.isArray(input)) {
|
|
7729
|
-
input = input.map((x) => x.trim()).filter((x) => x.length).join("-");
|
|
7730
|
-
} else {
|
|
7731
|
-
input = input.trim();
|
|
7732
|
-
}
|
|
7733
|
-
if (input.length === 0) {
|
|
7734
|
-
return "";
|
|
7735
|
-
}
|
|
7736
|
-
if (input.length === 1) {
|
|
7737
|
-
return options.pascalCase ? input.toUpperCase() : input.toLowerCase();
|
|
7738
|
-
}
|
|
7739
|
-
const hasUpperCase = input !== input.toLowerCase();
|
|
7740
|
-
if (hasUpperCase) {
|
|
7741
|
-
input = preserveCamelCase(input);
|
|
7742
|
-
}
|
|
7743
|
-
input = input.replace(/^[_.\- ]+/, "").toLowerCase().replace(/[_.\- ]+(\w|$)/g, (_, p1) => p1.toUpperCase()).replace(/\d+(\w|$)/g, (m) => m.toUpperCase());
|
|
7744
|
-
return postProcess(input);
|
|
7745
|
-
};
|
|
7746
|
-
module2.exports = camelCase;
|
|
7747
|
-
module2.exports.default = camelCase;
|
|
7748
|
-
}
|
|
7749
|
-
});
|
|
7750
|
-
|
|
7751
7563
|
// src/transforms/reactSvg.ts
|
|
7752
7564
|
var require_reactSvg = __commonJS({
|
|
7753
7565
|
"src/transforms/reactSvg.ts"(exports2, module2) {
|
|
7754
7566
|
"use strict";
|
|
7755
7567
|
init_cjs_shims();
|
|
7756
7568
|
var import_path = __toESM(require("path"));
|
|
7757
|
-
var import_camelcase = __toESM(
|
|
7569
|
+
var import_camelcase = __toESM(require("camelcase"));
|
|
7758
7570
|
module2.exports = {
|
|
7759
7571
|
process(_src, filename) {
|
|
7760
7572
|
const assetFilename = JSON.stringify(import_path.default.basename(filename));
|
|
@@ -7788,22 +7600,22 @@ var require_reactSvg = __commonJS({
|
|
|
7788
7600
|
// src/transforms/reactSvg.test.ts
|
|
7789
7601
|
init_cjs_shims();
|
|
7790
7602
|
|
|
7791
|
-
// ../../node_modules/vitest/dist/index.js
|
|
7603
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/index.js
|
|
7792
7604
|
init_cjs_shims();
|
|
7793
7605
|
|
|
7794
|
-
// ../../node_modules/@vitest
|
|
7606
|
+
// ../../node_modules/.store/@vitest-runner-npm-1.6.0-347d69d63d/package/dist/index.js
|
|
7795
7607
|
init_cjs_shims();
|
|
7796
7608
|
|
|
7797
|
-
// ../../node_modules
|
|
7609
|
+
// ../../node_modules/.store/p-limit-npm-5.0.0-cc102b17d7/package/index.js
|
|
7798
7610
|
init_cjs_shims();
|
|
7799
7611
|
|
|
7800
|
-
// ../../node_modules
|
|
7612
|
+
// ../../node_modules/.store/yocto-queue-npm-1.0.0-7b502f1987/package/index.js
|
|
7801
7613
|
init_cjs_shims();
|
|
7802
7614
|
|
|
7803
|
-
// ../../node_modules/@vitest
|
|
7615
|
+
// ../../node_modules/.store/@vitest-utils-npm-1.6.0-a0cbbfa622/package/dist/index.js
|
|
7804
7616
|
init_cjs_shims();
|
|
7805
7617
|
|
|
7806
|
-
// ../../node_modules/@vitest
|
|
7618
|
+
// ../../node_modules/.store/@vitest-utils-npm-1.6.0-a0cbbfa622/package/dist/helpers.js
|
|
7807
7619
|
init_cjs_shims();
|
|
7808
7620
|
function assertTypes(value, name, types) {
|
|
7809
7621
|
const receivedType = typeof value;
|
|
@@ -7906,10 +7718,10 @@ function createDefer() {
|
|
|
7906
7718
|
return p;
|
|
7907
7719
|
}
|
|
7908
7720
|
|
|
7909
|
-
// ../../node_modules/@vitest
|
|
7721
|
+
// ../../node_modules/.store/@vitest-utils-npm-1.6.0-a0cbbfa622/package/dist/chunk-display.js
|
|
7910
7722
|
init_cjs_shims();
|
|
7911
7723
|
var import_pretty_format = __toESM(require_build(), 1);
|
|
7912
|
-
|
|
7724
|
+
init_package();
|
|
7913
7725
|
var {
|
|
7914
7726
|
AsymmetricMatcher,
|
|
7915
7727
|
DOMCollection,
|
|
@@ -8049,7 +7861,7 @@ function objDisplay(obj, options = {}) {
|
|
|
8049
7861
|
return str;
|
|
8050
7862
|
}
|
|
8051
7863
|
|
|
8052
|
-
// ../../node_modules/@vitest
|
|
7864
|
+
// ../../node_modules/.store/@vitest-utils-npm-1.6.0-a0cbbfa622/package/dist/chunk-colors.js
|
|
8053
7865
|
init_cjs_shims();
|
|
8054
7866
|
var SAFE_TIMERS_SYMBOL = Symbol("vitest:SAFE_TIMERS");
|
|
8055
7867
|
var SAFE_COLORS_SYMBOL = Symbol("vitest:SAFE_COLORS");
|
|
@@ -8093,9 +7905,9 @@ function getColors() {
|
|
|
8093
7905
|
return globalThis[SAFE_COLORS_SYMBOL] || defaultColors;
|
|
8094
7906
|
}
|
|
8095
7907
|
|
|
8096
|
-
// ../../node_modules/@vitest
|
|
7908
|
+
// ../../node_modules/.store/@vitest-utils-npm-1.6.0-a0cbbfa622/package/dist/index.js
|
|
8097
7909
|
var import_pretty_format2 = __toESM(require_build(), 1);
|
|
8098
|
-
|
|
7910
|
+
init_package();
|
|
8099
7911
|
function getSafeTimers() {
|
|
8100
7912
|
const {
|
|
8101
7913
|
setTimeout: safeSetTimeout,
|
|
@@ -8221,10 +8033,10 @@ var reservedWords = {
|
|
|
8221
8033
|
var keywords = new Set(reservedWords.keyword);
|
|
8222
8034
|
var reservedWordsStrictSet = new Set(reservedWords.strict);
|
|
8223
8035
|
|
|
8224
|
-
// ../../node_modules/@vitest
|
|
8036
|
+
// ../../node_modules/.store/@vitest-utils-npm-1.6.0-a0cbbfa622/package/dist/error.js
|
|
8225
8037
|
init_cjs_shims();
|
|
8226
8038
|
|
|
8227
|
-
// ../../node_modules/@vitest
|
|
8039
|
+
// ../../node_modules/.store/@vitest-utils-npm-1.6.0-a0cbbfa622/package/dist/diff.js
|
|
8228
8040
|
init_cjs_shims();
|
|
8229
8041
|
var import_pretty_format3 = __toESM(require_build(), 1);
|
|
8230
8042
|
var diff$1 = __toESM(require_build2(), 1);
|
|
@@ -8777,10 +8589,10 @@ function getObjectsDifference(a, b2, formatOptions, options) {
|
|
|
8777
8589
|
}
|
|
8778
8590
|
}
|
|
8779
8591
|
|
|
8780
|
-
// ../../node_modules/@vitest
|
|
8592
|
+
// ../../node_modules/.store/@vitest-utils-npm-1.6.0-a0cbbfa622/package/dist/error.js
|
|
8781
8593
|
var import_pretty_format4 = __toESM(require_build(), 1);
|
|
8782
8594
|
var import_diff_sequences = __toESM(require_build2(), 1);
|
|
8783
|
-
|
|
8595
|
+
init_package();
|
|
8784
8596
|
var IS_RECORD_SYMBOL = "@@__IMMUTABLE_RECORD__@@";
|
|
8785
8597
|
var IS_COLLECTION_SYMBOL = "@@__IMMUTABLE_ITERABLE__@@";
|
|
8786
8598
|
function isImmutable(v) {
|
|
@@ -8922,7 +8734,7 @@ function replaceAsymmetricMatcher(actual, expected, actualReplaced = /* @__PURE_
|
|
|
8922
8734
|
};
|
|
8923
8735
|
}
|
|
8924
8736
|
|
|
8925
|
-
// ../../node_modules/@vitest
|
|
8737
|
+
// ../../node_modules/.store/@vitest-runner-npm-1.6.0-347d69d63d/package/dist/chunk-tasks.js
|
|
8926
8738
|
init_cjs_shims();
|
|
8927
8739
|
function createChainable(keys2, fn2) {
|
|
8928
8740
|
function create(context) {
|
|
@@ -8961,10 +8773,10 @@ function getNames(task) {
|
|
|
8961
8773
|
return names;
|
|
8962
8774
|
}
|
|
8963
8775
|
|
|
8964
|
-
// ../../node_modules/pathe/dist/index.mjs
|
|
8776
|
+
// ../../node_modules/.store/pathe-npm-1.1.2-b80d94db55/package/dist/index.mjs
|
|
8965
8777
|
init_cjs_shims();
|
|
8966
8778
|
|
|
8967
|
-
// ../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
8779
|
+
// ../../node_modules/.store/pathe-npm-1.1.2-b80d94db55/package/dist/shared/pathe.ff20891b.mjs
|
|
8968
8780
|
init_cjs_shims();
|
|
8969
8781
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
8970
8782
|
function normalizeWindowsPath(input = "") {
|
|
@@ -9013,8 +8825,7 @@ function normalizeString(path2, allowAboveRoot) {
|
|
|
9013
8825
|
char = "/";
|
|
9014
8826
|
}
|
|
9015
8827
|
if (char === "/") {
|
|
9016
|
-
if (lastSlash === index - 1 || dots === 1)
|
|
9017
|
-
;
|
|
8828
|
+
if (lastSlash === index - 1 || dots === 1) ;
|
|
9018
8829
|
else if (dots === 2) {
|
|
9019
8830
|
if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
|
|
9020
8831
|
if (res.length > 2) {
|
|
@@ -9063,7 +8874,7 @@ var isAbsolute = function(p) {
|
|
|
9063
8874
|
return _IS_ABSOLUTE_RE.test(p);
|
|
9064
8875
|
};
|
|
9065
8876
|
|
|
9066
|
-
// ../../node_modules/@vitest
|
|
8877
|
+
// ../../node_modules/.store/@vitest-utils-npm-1.6.0-a0cbbfa622/package/dist/source-map.js
|
|
9067
8878
|
init_cjs_shims();
|
|
9068
8879
|
function normalizeWindowsPath2(input = "") {
|
|
9069
8880
|
if (!input || !input.includes("\\")) {
|
|
@@ -9111,8 +8922,7 @@ function normalizeString2(path2, allowAboveRoot) {
|
|
|
9111
8922
|
char = "/";
|
|
9112
8923
|
}
|
|
9113
8924
|
if (char === "/") {
|
|
9114
|
-
if (lastSlash === index - 1 || dots === 1)
|
|
9115
|
-
;
|
|
8925
|
+
if (lastSlash === index - 1 || dots === 1) ;
|
|
9116
8926
|
else if (dots === 2) {
|
|
9117
8927
|
if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
|
|
9118
8928
|
if (res.length > 2) {
|
|
@@ -9512,7 +9322,7 @@ function parseSingleV8Stack(raw) {
|
|
|
9512
9322
|
};
|
|
9513
9323
|
}
|
|
9514
9324
|
|
|
9515
|
-
// ../../node_modules/@vitest
|
|
9325
|
+
// ../../node_modules/.store/@vitest-runner-npm-1.6.0-347d69d63d/package/dist/index.js
|
|
9516
9326
|
var fnMap = /* @__PURE__ */ new WeakMap();
|
|
9517
9327
|
var fixtureMap = /* @__PURE__ */ new WeakMap();
|
|
9518
9328
|
var hooksMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -10100,16 +9910,16 @@ function createTestHook(name, handler) {
|
|
|
10100
9910
|
};
|
|
10101
9911
|
}
|
|
10102
9912
|
|
|
10103
|
-
// ../../node_modules/vitest/dist/vendor/benchmark.yGkUTKnC.js
|
|
9913
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/benchmark.yGkUTKnC.js
|
|
10104
9914
|
init_cjs_shims();
|
|
10105
9915
|
|
|
10106
|
-
// ../../node_modules/@vitest
|
|
9916
|
+
// ../../node_modules/.store/@vitest-runner-npm-1.6.0-347d69d63d/package/dist/utils.js
|
|
10107
9917
|
init_cjs_shims();
|
|
10108
9918
|
|
|
10109
|
-
// ../../node_modules/vitest/dist/vendor/index.SMVOaj7F.js
|
|
9919
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/index.SMVOaj7F.js
|
|
10110
9920
|
init_cjs_shims();
|
|
10111
9921
|
|
|
10112
|
-
// ../../node_modules/vitest/dist/vendor/global.CkGT_TMy.js
|
|
9922
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/global.CkGT_TMy.js
|
|
10113
9923
|
init_cjs_shims();
|
|
10114
9924
|
function getWorkerState() {
|
|
10115
9925
|
const workerState = globalThis.__vitest_worker__;
|
|
@@ -10124,7 +9934,7 @@ function getCurrentEnvironment() {
|
|
|
10124
9934
|
return state == null ? void 0 : state.environment.name;
|
|
10125
9935
|
}
|
|
10126
9936
|
|
|
10127
|
-
// ../../node_modules/vitest/dist/vendor/index.SMVOaj7F.js
|
|
9937
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/index.SMVOaj7F.js
|
|
10128
9938
|
function getRunMode() {
|
|
10129
9939
|
return getWorkerState().config.mode;
|
|
10130
9940
|
}
|
|
@@ -10132,7 +9942,7 @@ function isRunningInBenchmark() {
|
|
|
10132
9942
|
return getRunMode() === "benchmark";
|
|
10133
9943
|
}
|
|
10134
9944
|
|
|
10135
|
-
// ../../node_modules/vitest/dist/vendor/benchmark.yGkUTKnC.js
|
|
9945
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/benchmark.yGkUTKnC.js
|
|
10136
9946
|
var benchFns = /* @__PURE__ */ new WeakMap();
|
|
10137
9947
|
var benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
10138
9948
|
var bench = createBenchmark(
|
|
@@ -10162,7 +9972,7 @@ function formatName2(name) {
|
|
|
10162
9972
|
return typeof name === "string" ? name : name instanceof Function ? name.name || "<anonymous>" : String(name);
|
|
10163
9973
|
}
|
|
10164
9974
|
|
|
10165
|
-
// ../../node_modules/vitest/dist/vendor/run-once.Olz_Zkd8.js
|
|
9975
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/run-once.Olz_Zkd8.js
|
|
10166
9976
|
init_cjs_shims();
|
|
10167
9977
|
var filesCount = /* @__PURE__ */ new Map();
|
|
10168
9978
|
var cache = /* @__PURE__ */ new Map();
|
|
@@ -10185,18 +9995,18 @@ function isFirstRun() {
|
|
|
10185
9995
|
return firstRun;
|
|
10186
9996
|
}
|
|
10187
9997
|
|
|
10188
|
-
// ../../node_modules/vitest/dist/vendor/vi.YFlodzP_.js
|
|
9998
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/vi.YFlodzP_.js
|
|
10189
9999
|
init_cjs_shims();
|
|
10190
10000
|
|
|
10191
|
-
// ../../node_modules/chai/index.mjs
|
|
10192
|
-
var
|
|
10193
|
-
__export(
|
|
10001
|
+
// ../../node_modules/.store/chai-npm-4.4.1-ffd006b4b1/package/index.mjs
|
|
10002
|
+
var package_exports2 = {};
|
|
10003
|
+
__export(package_exports2, {
|
|
10194
10004
|
Assertion: () => Assertion,
|
|
10195
10005
|
AssertionError: () => AssertionError,
|
|
10196
10006
|
assert: () => assert,
|
|
10197
10007
|
config: () => config,
|
|
10198
10008
|
core: () => core,
|
|
10199
|
-
default: () =>
|
|
10009
|
+
default: () => package_default2,
|
|
10200
10010
|
expect: () => expect,
|
|
10201
10011
|
should: () => should,
|
|
10202
10012
|
use: () => use,
|
|
@@ -10204,7 +10014,7 @@ __export(chai_exports, {
|
|
|
10204
10014
|
version: () => version
|
|
10205
10015
|
});
|
|
10206
10016
|
init_cjs_shims();
|
|
10207
|
-
var import_index = __toESM(
|
|
10017
|
+
var import_index = __toESM(require_package8(), 1);
|
|
10208
10018
|
var expect = import_index.default.expect;
|
|
10209
10019
|
var version = import_index.default.version;
|
|
10210
10020
|
var Assertion = import_index.default.Assertion;
|
|
@@ -10215,22 +10025,22 @@ var use = import_index.default.use;
|
|
|
10215
10025
|
var should = import_index.default.should;
|
|
10216
10026
|
var assert = import_index.default.assert;
|
|
10217
10027
|
var core = import_index.default.core;
|
|
10218
|
-
var
|
|
10028
|
+
var package_default2 = import_index.default;
|
|
10219
10029
|
|
|
10220
|
-
// ../../node_modules/vitest/dist/vendor/_commonjsHelpers.jjO7Zipk.js
|
|
10030
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/_commonjsHelpers.jjO7Zipk.js
|
|
10221
10031
|
init_cjs_shims();
|
|
10222
10032
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
10223
10033
|
function getDefaultExportFromCjs(x) {
|
|
10224
10034
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
10225
10035
|
}
|
|
10226
10036
|
|
|
10227
|
-
// ../../node_modules/@vitest
|
|
10037
|
+
// ../../node_modules/.store/@vitest-expect-npm-1.6.0-0e382f8212/package/dist/index.js
|
|
10228
10038
|
init_cjs_shims();
|
|
10229
10039
|
|
|
10230
|
-
// ../../node_modules/@vitest
|
|
10040
|
+
// ../../node_modules/.store/@vitest-spy-npm-1.6.0-7b9c4e57ee/package/dist/index.js
|
|
10231
10041
|
init_cjs_shims();
|
|
10232
10042
|
|
|
10233
|
-
// ../../node_modules/tinyspy/dist/index.js
|
|
10043
|
+
// ../../node_modules/.store/tinyspy-npm-2.2.1-1079b8de54/package/dist/index.js
|
|
10234
10044
|
init_cjs_shims();
|
|
10235
10045
|
function R(e, t) {
|
|
10236
10046
|
if (!e)
|
|
@@ -10322,7 +10132,7 @@ function E(e, t, n2) {
|
|
|
10322
10132
|
return i(T, "restore", K), i(T, "getOriginal", () => l ? o() : o), i(T, "willCall", (h) => (T.impl = h, y)), O(l ? () => (P(y, n2), y) : y), g.add(y), y;
|
|
10323
10133
|
}
|
|
10324
10134
|
|
|
10325
|
-
// ../../node_modules/@vitest
|
|
10135
|
+
// ../../node_modules/.store/@vitest-spy-npm-1.6.0-7b9c4e57ee/package/dist/index.js
|
|
10326
10136
|
var mocks = /* @__PURE__ */ new Set();
|
|
10327
10137
|
function isMockFunction(fn2) {
|
|
10328
10138
|
return typeof fn2 === "function" && "_isMockFunction" in fn2 && fn2._isMockFunction;
|
|
@@ -10450,7 +10260,7 @@ function fn(implementation) {
|
|
|
10450
10260
|
return enhancedSpy;
|
|
10451
10261
|
}
|
|
10452
10262
|
|
|
10453
|
-
// ../../node_modules/@vitest
|
|
10263
|
+
// ../../node_modules/.store/@vitest-expect-npm-1.6.0-0e382f8212/package/dist/index.js
|
|
10454
10264
|
var MATCHERS_OBJECT = Symbol.for("matchers-object");
|
|
10455
10265
|
var JEST_MATCHERS_OBJECT = Symbol.for("$$jest-matchers-object");
|
|
10456
10266
|
var GLOBAL_EXPECT = Symbol.for("expect-global");
|
|
@@ -12041,7 +11851,7 @@ var JestExtend = (chai3, utils) => {
|
|
|
12041
11851
|
});
|
|
12042
11852
|
};
|
|
12043
11853
|
|
|
12044
|
-
// ../../node_modules/@vitest
|
|
11854
|
+
// ../../node_modules/.store/@vitest-snapshot-npm-1.6.0-b7ed094dc8/package/dist/index.js
|
|
12045
11855
|
init_cjs_shims();
|
|
12046
11856
|
var import_pretty_format5 = __toESM(require_build(), 1);
|
|
12047
11857
|
function getDefaultExportFromCjs2(x) {
|
|
@@ -12052,25 +11862,22 @@ var naturalCompare = function(a, b2) {
|
|
|
12052
11862
|
var i2, codeA, codeB = 1, posA = 0, posB = 0, alphabet = String.alphabet;
|
|
12053
11863
|
function getCode(str, pos, code) {
|
|
12054
11864
|
if (code) {
|
|
12055
|
-
for (i2 = pos; code = getCode(str, i2), code < 76 && code > 65; )
|
|
12056
|
-
++i2;
|
|
11865
|
+
for (i2 = pos; code = getCode(str, i2), code < 76 && code > 65; ) ++i2;
|
|
12057
11866
|
return +str.slice(pos - 1, i2);
|
|
12058
11867
|
}
|
|
12059
11868
|
code = alphabet && alphabet.indexOf(str.charAt(pos));
|
|
12060
11869
|
return code > -1 ? code + 76 : (code = str.charCodeAt(pos) || 0, code < 45 || code > 127) ? code : code < 46 ? 65 : code < 48 ? code - 1 : code < 58 ? code + 18 : code < 65 ? code - 11 : code < 91 ? code + 11 : code < 97 ? code - 37 : code < 123 ? code + 5 : code - 63;
|
|
12061
11870
|
}
|
|
12062
|
-
if ((a += "") != (b2 += ""))
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
posB = i2;
|
|
12070
|
-
}
|
|
12071
|
-
if (codeA != codeB)
|
|
12072
|
-
return codeA < codeB ? -1 : 1;
|
|
11871
|
+
if ((a += "") != (b2 += "")) for (; codeB; ) {
|
|
11872
|
+
codeA = getCode(a, posA++);
|
|
11873
|
+
codeB = getCode(b2, posB++);
|
|
11874
|
+
if (codeA < 76 && codeB < 76 && codeA > 66 && codeB > 66) {
|
|
11875
|
+
codeA = getCode(a, posA, posA);
|
|
11876
|
+
codeB = getCode(b2, posB, posA = i2);
|
|
11877
|
+
posB = i2;
|
|
12073
11878
|
}
|
|
11879
|
+
if (codeA != codeB) return codeA < codeB ? -1 : 1;
|
|
11880
|
+
}
|
|
12074
11881
|
return 0;
|
|
12075
11882
|
};
|
|
12076
11883
|
try {
|
|
@@ -13417,19 +13224,19 @@ var SnapshotClient = class {
|
|
|
13417
13224
|
}
|
|
13418
13225
|
};
|
|
13419
13226
|
|
|
13420
|
-
// ../../node_modules/vitest/dist/vendor/tasks.IknbGB2n.js
|
|
13227
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/tasks.IknbGB2n.js
|
|
13421
13228
|
init_cjs_shims();
|
|
13422
13229
|
function getFullName(task, separator = " > ") {
|
|
13423
13230
|
return getNames(task).join(separator);
|
|
13424
13231
|
}
|
|
13425
13232
|
|
|
13426
|
-
// ../../node_modules/vitest/dist/vendor/base.5NT-gWu5.js
|
|
13233
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/base.5NT-gWu5.js
|
|
13427
13234
|
init_cjs_shims();
|
|
13428
13235
|
function isChildProcess() {
|
|
13429
13236
|
return typeof process !== "undefined" && !!process.send;
|
|
13430
13237
|
}
|
|
13431
13238
|
|
|
13432
|
-
// ../../node_modules/vitest/dist/vendor/date.Ns1pGd_X.js
|
|
13239
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/date.Ns1pGd_X.js
|
|
13433
13240
|
init_cjs_shims();
|
|
13434
13241
|
var RealDate = Date;
|
|
13435
13242
|
var now2 = null;
|
|
@@ -13481,7 +13288,7 @@ function resetDate() {
|
|
|
13481
13288
|
globalThis.Date = RealDate;
|
|
13482
13289
|
}
|
|
13483
13290
|
|
|
13484
|
-
// ../../node_modules/vitest/dist/vendor/vi.YFlodzP_.js
|
|
13291
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/vi.YFlodzP_.js
|
|
13485
13292
|
function resetModules(modules, resetMocks = false) {
|
|
13486
13293
|
const skipPaths = [
|
|
13487
13294
|
// Vitest
|
|
@@ -15824,7 +15631,7 @@ function createVitest() {
|
|
|
15824
15631
|
var vitest = createVitest();
|
|
15825
15632
|
var vi = vitest;
|
|
15826
15633
|
|
|
15827
|
-
// ../../node_modules/vitest/dist/vendor/index.dI9lHwVn.js
|
|
15634
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/vendor/index.dI9lHwVn.js
|
|
15828
15635
|
init_cjs_shims();
|
|
15829
15636
|
function getRunningMode() {
|
|
15830
15637
|
return process.env.VITEST_MODE === "WATCH" ? "watch" : "run";
|
|
@@ -15899,7 +15706,7 @@ var VitestIndex = /* @__PURE__ */ Object.freeze({
|
|
|
15899
15706
|
beforeAll,
|
|
15900
15707
|
beforeEach,
|
|
15901
15708
|
bench,
|
|
15902
|
-
chai:
|
|
15709
|
+
chai: package_exports2,
|
|
15903
15710
|
createExpect,
|
|
15904
15711
|
describe,
|
|
15905
15712
|
expect: globalExpect,
|
|
@@ -15919,7 +15726,7 @@ var VitestIndex = /* @__PURE__ */ Object.freeze({
|
|
|
15919
15726
|
vitest
|
|
15920
15727
|
});
|
|
15921
15728
|
|
|
15922
|
-
// ../../node_modules/vitest/dist/index.js
|
|
15729
|
+
// ../../node_modules/.store/vitest-virtual-2ad0a60f94/package/dist/index.js
|
|
15923
15730
|
var expectTypeOf = dist.expectTypeOf;
|
|
15924
15731
|
|
|
15925
15732
|
// src/transforms/reactSvg.test.ts
|
|
@@ -15950,7 +15757,7 @@ describe("reactSvg transform", () => {
|
|
|
15950
15757
|
});
|
|
15951
15758
|
/*! Bundled license information:
|
|
15952
15759
|
|
|
15953
|
-
react-is/cjs/react-is.production.min.js:
|
|
15760
|
+
.store/react-is-npm-18.3.1-370a81e1e9/package/cjs/react-is.production.min.js:
|
|
15954
15761
|
(**
|
|
15955
15762
|
* @license React
|
|
15956
15763
|
* react-is.production.min.js
|
|
@@ -15961,7 +15768,7 @@ react-is/cjs/react-is.production.min.js:
|
|
|
15961
15768
|
* LICENSE file in the root directory of this source tree.
|
|
15962
15769
|
*)
|
|
15963
15770
|
|
|
15964
|
-
react-is/cjs/react-is.development.js:
|
|
15771
|
+
.store/react-is-npm-18.3.1-370a81e1e9/package/cjs/react-is.development.js:
|
|
15965
15772
|
(**
|
|
15966
15773
|
* @license React
|
|
15967
15774
|
* react-is.development.js
|
|
@@ -15972,7 +15779,7 @@ react-is/cjs/react-is.development.js:
|
|
|
15972
15779
|
* LICENSE file in the root directory of this source tree.
|
|
15973
15780
|
*)
|
|
15974
15781
|
|
|
15975
|
-
assertion-error/index.js:
|
|
15782
|
+
.store/assertion-error-npm-1.1.0-66b893015e/package/index.js:
|
|
15976
15783
|
(*!
|
|
15977
15784
|
* assertion-error
|
|
15978
15785
|
* Copyright(c) 2013 Jake Luer <jake@qualiancy.com>
|
|
@@ -15999,14 +15806,14 @@ assertion-error/index.js:
|
|
|
15999
15806
|
* Ensure correct constructor
|
|
16000
15807
|
*)
|
|
16001
15808
|
|
|
16002
|
-
chai/lib/chai/utils/flag.js:
|
|
15809
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/flag.js:
|
|
16003
15810
|
(*!
|
|
16004
15811
|
* Chai - flag utility
|
|
16005
15812
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16006
15813
|
* MIT Licensed
|
|
16007
15814
|
*)
|
|
16008
15815
|
|
|
16009
|
-
chai/lib/chai/utils/test.js:
|
|
15816
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/test.js:
|
|
16010
15817
|
(*!
|
|
16011
15818
|
* Chai - test utility
|
|
16012
15819
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
@@ -16016,21 +15823,21 @@ chai/lib/chai/utils/test.js:
|
|
|
16016
15823
|
* Module dependencies
|
|
16017
15824
|
*)
|
|
16018
15825
|
|
|
16019
|
-
chai/lib/chai/utils/expectTypes.js:
|
|
15826
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/expectTypes.js:
|
|
16020
15827
|
(*!
|
|
16021
15828
|
* Chai - expectTypes utility
|
|
16022
15829
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16023
15830
|
* MIT Licensed
|
|
16024
15831
|
*)
|
|
16025
15832
|
|
|
16026
|
-
chai/lib/chai/utils/getActual.js:
|
|
15833
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getActual.js:
|
|
16027
15834
|
(*!
|
|
16028
15835
|
* Chai - getActual utility
|
|
16029
15836
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16030
15837
|
* MIT Licensed
|
|
16031
15838
|
*)
|
|
16032
15839
|
|
|
16033
|
-
chai/lib/chai/utils/objDisplay.js:
|
|
15840
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/objDisplay.js:
|
|
16034
15841
|
(*!
|
|
16035
15842
|
* Chai - flag utility
|
|
16036
15843
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
@@ -16040,7 +15847,7 @@ chai/lib/chai/utils/objDisplay.js:
|
|
|
16040
15847
|
* Module dependencies
|
|
16041
15848
|
*)
|
|
16042
15849
|
|
|
16043
|
-
chai/lib/chai/utils/getMessage.js:
|
|
15850
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getMessage.js:
|
|
16044
15851
|
(*!
|
|
16045
15852
|
* Chai - message composition utility
|
|
16046
15853
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
@@ -16050,14 +15857,14 @@ chai/lib/chai/utils/getMessage.js:
|
|
|
16050
15857
|
* Module dependencies
|
|
16051
15858
|
*)
|
|
16052
15859
|
|
|
16053
|
-
chai/lib/chai/utils/transferFlags.js:
|
|
15860
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/transferFlags.js:
|
|
16054
15861
|
(*!
|
|
16055
15862
|
* Chai - transferFlags utility
|
|
16056
15863
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16057
15864
|
* MIT Licensed
|
|
16058
15865
|
*)
|
|
16059
15866
|
|
|
16060
|
-
deep-eql/index.js:
|
|
15867
|
+
.store/deep-eql-npm-4.1.3-020a64f862/package/index.js:
|
|
16061
15868
|
(*!
|
|
16062
15869
|
* deep-eql
|
|
16063
15870
|
* Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>
|
|
@@ -16179,63 +15986,63 @@ deep-eql/index.js:
|
|
|
16179
15986
|
* @return {Boolean} result
|
|
16180
15987
|
*)
|
|
16181
15988
|
|
|
16182
|
-
chai/lib/chai/utils/isProxyEnabled.js:
|
|
15989
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/isProxyEnabled.js:
|
|
16183
15990
|
(*!
|
|
16184
15991
|
* Chai - isProxyEnabled helper
|
|
16185
15992
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16186
15993
|
* MIT Licensed
|
|
16187
15994
|
*)
|
|
16188
15995
|
|
|
16189
|
-
chai/lib/chai/utils/addProperty.js:
|
|
15996
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addProperty.js:
|
|
16190
15997
|
(*!
|
|
16191
15998
|
* Chai - addProperty utility
|
|
16192
15999
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16193
16000
|
* MIT Licensed
|
|
16194
16001
|
*)
|
|
16195
16002
|
|
|
16196
|
-
chai/lib/chai/utils/addLengthGuard.js:
|
|
16003
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addLengthGuard.js:
|
|
16197
16004
|
(*!
|
|
16198
16005
|
* Chai - addLengthGuard utility
|
|
16199
16006
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16200
16007
|
* MIT Licensed
|
|
16201
16008
|
*)
|
|
16202
16009
|
|
|
16203
|
-
chai/lib/chai/utils/getProperties.js:
|
|
16010
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getProperties.js:
|
|
16204
16011
|
(*!
|
|
16205
16012
|
* Chai - getProperties utility
|
|
16206
16013
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16207
16014
|
* MIT Licensed
|
|
16208
16015
|
*)
|
|
16209
16016
|
|
|
16210
|
-
chai/lib/chai/utils/proxify.js:
|
|
16017
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/proxify.js:
|
|
16211
16018
|
(*!
|
|
16212
16019
|
* Chai - proxify utility
|
|
16213
16020
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16214
16021
|
* MIT Licensed
|
|
16215
16022
|
*)
|
|
16216
16023
|
|
|
16217
|
-
chai/lib/chai/utils/addMethod.js:
|
|
16024
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addMethod.js:
|
|
16218
16025
|
(*!
|
|
16219
16026
|
* Chai - addMethod utility
|
|
16220
16027
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16221
16028
|
* MIT Licensed
|
|
16222
16029
|
*)
|
|
16223
16030
|
|
|
16224
|
-
chai/lib/chai/utils/overwriteProperty.js:
|
|
16031
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/overwriteProperty.js:
|
|
16225
16032
|
(*!
|
|
16226
16033
|
* Chai - overwriteProperty utility
|
|
16227
16034
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16228
16035
|
* MIT Licensed
|
|
16229
16036
|
*)
|
|
16230
16037
|
|
|
16231
|
-
chai/lib/chai/utils/overwriteMethod.js:
|
|
16038
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/overwriteMethod.js:
|
|
16232
16039
|
(*!
|
|
16233
16040
|
* Chai - overwriteMethod utility
|
|
16234
16041
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16235
16042
|
* MIT Licensed
|
|
16236
16043
|
*)
|
|
16237
16044
|
|
|
16238
|
-
chai/lib/chai/utils/addChainableMethod.js:
|
|
16045
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/addChainableMethod.js:
|
|
16239
16046
|
(*!
|
|
16240
16047
|
* Chai - addChainingMethod utility
|
|
16241
16048
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
@@ -16248,14 +16055,14 @@ chai/lib/chai/utils/addChainableMethod.js:
|
|
|
16248
16055
|
* Module variables
|
|
16249
16056
|
*)
|
|
16250
16057
|
|
|
16251
|
-
chai/lib/chai/utils/overwriteChainableMethod.js:
|
|
16058
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/overwriteChainableMethod.js:
|
|
16252
16059
|
(*!
|
|
16253
16060
|
* Chai - overwriteChainableMethod utility
|
|
16254
16061
|
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16255
16062
|
* MIT Licensed
|
|
16256
16063
|
*)
|
|
16257
16064
|
|
|
16258
|
-
chai/lib/chai/utils/compareByInspect.js:
|
|
16065
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/compareByInspect.js:
|
|
16259
16066
|
(*!
|
|
16260
16067
|
* Chai - compareByInspect utility
|
|
16261
16068
|
* Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
|
|
@@ -16265,14 +16072,14 @@ chai/lib/chai/utils/compareByInspect.js:
|
|
|
16265
16072
|
* Module dependencies
|
|
16266
16073
|
*)
|
|
16267
16074
|
|
|
16268
|
-
chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js:
|
|
16075
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getOwnEnumerablePropertySymbols.js:
|
|
16269
16076
|
(*!
|
|
16270
16077
|
* Chai - getOwnEnumerablePropertySymbols utility
|
|
16271
16078
|
* Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
|
|
16272
16079
|
* MIT Licensed
|
|
16273
16080
|
*)
|
|
16274
16081
|
|
|
16275
|
-
chai/lib/chai/utils/getOwnEnumerableProperties.js:
|
|
16082
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/getOwnEnumerableProperties.js:
|
|
16276
16083
|
(*!
|
|
16277
16084
|
* Chai - getOwnEnumerableProperties utility
|
|
16278
16085
|
* Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
|
|
@@ -16282,14 +16089,14 @@ chai/lib/chai/utils/getOwnEnumerableProperties.js:
|
|
|
16282
16089
|
* Module dependencies
|
|
16283
16090
|
*)
|
|
16284
16091
|
|
|
16285
|
-
chai/lib/chai/utils/isNaN.js:
|
|
16092
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/isNaN.js:
|
|
16286
16093
|
(*!
|
|
16287
16094
|
* Chai - isNaN utility
|
|
16288
16095
|
* Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
|
|
16289
16096
|
* MIT Licensed
|
|
16290
16097
|
*)
|
|
16291
16098
|
|
|
16292
|
-
chai/lib/chai/utils/index.js:
|
|
16099
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/utils/index.js:
|
|
16293
16100
|
(*!
|
|
16294
16101
|
* chai
|
|
16295
16102
|
* Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com>
|
|
@@ -16383,7 +16190,7 @@ chai/lib/chai/utils/index.js:
|
|
|
16383
16190
|
* getOperator method
|
|
16384
16191
|
*)
|
|
16385
16192
|
|
|
16386
|
-
chai/lib/chai/assertion.js:
|
|
16193
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/assertion.js:
|
|
16387
16194
|
(*!
|
|
16388
16195
|
* chai
|
|
16389
16196
|
* http://chaijs.com
|
|
@@ -16443,7 +16250,7 @@ chai/lib/chai/assertion.js:
|
|
|
16443
16250
|
* @api private
|
|
16444
16251
|
*)
|
|
16445
16252
|
|
|
16446
|
-
chai/lib/chai/core/assertions.js:
|
|
16253
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/core/assertions.js:
|
|
16447
16254
|
(*!
|
|
16448
16255
|
* chai
|
|
16449
16256
|
* http://chaijs.com
|
|
@@ -16451,21 +16258,21 @@ chai/lib/chai/core/assertions.js:
|
|
|
16451
16258
|
* MIT Licensed
|
|
16452
16259
|
*)
|
|
16453
16260
|
|
|
16454
|
-
chai/lib/chai/interface/expect.js:
|
|
16261
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/interface/expect.js:
|
|
16455
16262
|
(*!
|
|
16456
16263
|
* chai
|
|
16457
16264
|
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16458
16265
|
* MIT Licensed
|
|
16459
16266
|
*)
|
|
16460
16267
|
|
|
16461
|
-
chai/lib/chai/interface/should.js:
|
|
16268
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/interface/should.js:
|
|
16462
16269
|
(*!
|
|
16463
16270
|
* chai
|
|
16464
16271
|
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
|
|
16465
16272
|
* MIT Licensed
|
|
16466
16273
|
*)
|
|
16467
16274
|
|
|
16468
|
-
chai/lib/chai/interface/assert.js:
|
|
16275
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai/interface/assert.js:
|
|
16469
16276
|
(*!
|
|
16470
16277
|
* chai
|
|
16471
16278
|
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
|
|
@@ -16496,7 +16303,7 @@ chai/lib/chai/interface/assert.js:
|
|
|
16496
16303
|
* Aliases.
|
|
16497
16304
|
*)
|
|
16498
16305
|
|
|
16499
|
-
chai/lib/chai.js:
|
|
16306
|
+
.store/chai-npm-4.4.1-ffd006b4b1/package/lib/chai.js:
|
|
16500
16307
|
(*!
|
|
16501
16308
|
* chai
|
|
16502
16309
|
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
|
|
@@ -16533,7 +16340,7 @@ chai/lib/chai.js:
|
|
|
16533
16340
|
* Assert interface
|
|
16534
16341
|
*)
|
|
16535
16342
|
|
|
16536
|
-
|
|
16343
|
+
.store/@vitest-snapshot-npm-1.6.0-b7ed094dc8/package/dist/index.js:
|
|
16537
16344
|
(*
|
|
16538
16345
|
* @version 1.4.0
|
|
16539
16346
|
* @date 2015-10-26
|