@storm-software/workspace-tools 1.210.2 → 1.210.3
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 +7 -0
- package/config/nx-cloud.json +5 -0
- package/config/nx-default.json +5 -0
- package/config/nx.json +5 -1
- package/index.js +17350 -21037
- package/meta.json +5227 -4159
- package/package.json +28 -27
- package/src/base/base-executor.js +32 -0
- package/src/base/base-generator.js +32 -0
- package/src/base/index.js +32 -0
- package/src/executors/cargo-build/executor.js +32 -0
- package/src/executors/cargo-check/executor.js +32 -0
- package/src/executors/cargo-clippy/executor.js +32 -0
- package/src/executors/cargo-doc/executor.js +32 -0
- package/src/executors/cargo-format/executor.js +32 -0
- package/src/executors/clean-package/executor.js +32 -0
- package/src/executors/rolldown/executor.js +32 -0
- package/src/executors/rollup/executor.js +95 -0
- package/src/executors/size-limit/executor.js +32 -0
- package/src/executors/tsup/executor.js +32 -0
- package/src/executors/tsup-browser/executor.js +32 -0
- package/src/executors/tsup-neutral/executor.js +32 -0
- package/src/executors/tsup-node/executor.js +32 -0
- package/src/executors/typia/executor.js +16141 -19891
- package/src/executors/unbuild/executor.js +32 -0
- package/src/generators/browser-library/generator.js +32 -0
- package/src/generators/config-schema/generator.js +32 -0
- package/src/generators/neutral-library/generator.js +32 -0
- package/src/generators/node-library/generator.js +32 -0
- package/src/generators/preset/generator.js +32 -0
- package/src/generators/release-version/generator.js +38 -0
- package/src/plugins/typescript/index.js +7625 -7
- package/src/utils/index.js +15949 -19443
|
@@ -30271,6 +30271,11 @@ var init_acorn = __esm({
|
|
|
30271
30271
|
}
|
|
30272
30272
|
}
|
|
30273
30273
|
return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports2);
|
|
30274
|
+
// If the statement does not start with a statement keyword or a
|
|
30275
|
+
// brace, it's an ExpressionStatement or LabeledStatement. We
|
|
30276
|
+
// simply start parsing an expression, and afterwards, if the
|
|
30277
|
+
// next token is a colon and the expression was a simple
|
|
30278
|
+
// Identifier node, we switch to interpreting it as a label.
|
|
30274
30279
|
default:
|
|
30275
30280
|
if (this.isAsyncFunction()) {
|
|
30276
30281
|
if (context) {
|
|
@@ -34315,8 +34320,11 @@ var init_acorn = __esm({
|
|
|
34315
34320
|
};
|
|
34316
34321
|
pp.getTokenFromCode = function(code) {
|
|
34317
34322
|
switch (code) {
|
|
34323
|
+
// The interpretation of a dot depends on whether it is followed
|
|
34324
|
+
// by a digit or another two dots.
|
|
34318
34325
|
case 46:
|
|
34319
34326
|
return this.readToken_dot();
|
|
34327
|
+
// Punctuation tokens.
|
|
34320
34328
|
case 40:
|
|
34321
34329
|
++this.pos;
|
|
34322
34330
|
return this.finishToken(types$1.parenL);
|
|
@@ -34363,6 +34371,8 @@ var init_acorn = __esm({
|
|
|
34363
34371
|
return this.readRadixNumber(2);
|
|
34364
34372
|
}
|
|
34365
34373
|
}
|
|
34374
|
+
// Anything else beginning with a digit is an integer, octal
|
|
34375
|
+
// number, or float.
|
|
34366
34376
|
case 49:
|
|
34367
34377
|
case 50:
|
|
34368
34378
|
case 51:
|
|
@@ -34373,9 +34383,14 @@ var init_acorn = __esm({
|
|
|
34373
34383
|
case 56:
|
|
34374
34384
|
case 57:
|
|
34375
34385
|
return this.readNumber(false);
|
|
34386
|
+
// Quotes produce strings.
|
|
34376
34387
|
case 34:
|
|
34377
34388
|
case 39:
|
|
34378
34389
|
return this.readString(code);
|
|
34390
|
+
// Operators are parsed inline in tiny state machines. '=' (61) is
|
|
34391
|
+
// often referred to. `finishOp` simply skips the amount of
|
|
34392
|
+
// characters it is given as second argument, and returns a token
|
|
34393
|
+
// of the type given by its first argument.
|
|
34379
34394
|
case 47:
|
|
34380
34395
|
return this.readToken_slash();
|
|
34381
34396
|
case 37:
|
|
@@ -34679,12 +34694,14 @@ var init_acorn = __esm({
|
|
|
34679
34694
|
if (this.input[this.pos + 1] !== "{") {
|
|
34680
34695
|
break;
|
|
34681
34696
|
}
|
|
34697
|
+
// fall through
|
|
34682
34698
|
case "`":
|
|
34683
34699
|
return this.finishToken(types$1.invalidTemplate, this.input.slice(this.start, this.pos));
|
|
34684
34700
|
case "\r":
|
|
34685
34701
|
if (this.input[this.pos + 1] === "\n") {
|
|
34686
34702
|
++this.pos;
|
|
34687
34703
|
}
|
|
34704
|
+
// fall through
|
|
34688
34705
|
case "\n":
|
|
34689
34706
|
case "\u2028":
|
|
34690
34707
|
case "\u2029":
|
|
@@ -34701,24 +34718,33 @@ var init_acorn = __esm({
|
|
|
34701
34718
|
switch (ch) {
|
|
34702
34719
|
case 110:
|
|
34703
34720
|
return "\n";
|
|
34721
|
+
// 'n' -> '\n'
|
|
34704
34722
|
case 114:
|
|
34705
34723
|
return "\r";
|
|
34724
|
+
// 'r' -> '\r'
|
|
34706
34725
|
case 120:
|
|
34707
34726
|
return String.fromCharCode(this.readHexChar(2));
|
|
34727
|
+
// 'x'
|
|
34708
34728
|
case 117:
|
|
34709
34729
|
return codePointToString(this.readCodePoint());
|
|
34730
|
+
// 'u'
|
|
34710
34731
|
case 116:
|
|
34711
34732
|
return " ";
|
|
34733
|
+
// 't' -> '\t'
|
|
34712
34734
|
case 98:
|
|
34713
34735
|
return "\b";
|
|
34736
|
+
// 'b' -> '\b'
|
|
34714
34737
|
case 118:
|
|
34715
34738
|
return "\v";
|
|
34739
|
+
// 'v' -> '\u000b'
|
|
34716
34740
|
case 102:
|
|
34717
34741
|
return "\f";
|
|
34742
|
+
// 'f' -> '\f'
|
|
34718
34743
|
case 13:
|
|
34719
34744
|
if (this.input.charCodeAt(this.pos) === 10) {
|
|
34720
34745
|
++this.pos;
|
|
34721
34746
|
}
|
|
34747
|
+
// '\r\n'
|
|
34722
34748
|
case 10:
|
|
34723
34749
|
if (this.options.locations) {
|
|
34724
34750
|
this.lineStart = this.pos;
|
|
@@ -40887,6 +40913,8 @@ var require_read_entry = __commonJS({
|
|
|
40887
40913
|
case "OldExtendedHeader":
|
|
40888
40914
|
this.meta = true;
|
|
40889
40915
|
break;
|
|
40916
|
+
// NOTE: gnutar and bsdtar treat unrecognized types as 'File'
|
|
40917
|
+
// it may be worth doing the same, but with a warning.
|
|
40890
40918
|
default:
|
|
40891
40919
|
this.ignore = true;
|
|
40892
40920
|
}
|
|
@@ -41643,6 +41671,7 @@ var require_write_entry = __commonJS({
|
|
|
41643
41671
|
return this[DIRECTORY]();
|
|
41644
41672
|
case "SymbolicLink":
|
|
41645
41673
|
return this[SYMLINK]();
|
|
41674
|
+
// unsupported types are ignored.
|
|
41646
41675
|
default:
|
|
41647
41676
|
return this.end();
|
|
41648
41677
|
}
|
|
@@ -43358,6 +43387,7 @@ var require_parse = __commonJS({
|
|
|
43358
43387
|
this[EX] = this[EX] || /* @__PURE__ */ Object.create(null);
|
|
43359
43388
|
this[EX].linkpath = this[META].replace(/\0.*/, "");
|
|
43360
43389
|
break;
|
|
43390
|
+
/* istanbul ignore next */
|
|
43361
43391
|
default:
|
|
43362
43392
|
throw new Error("unknown meta: " + entry.type);
|
|
43363
43393
|
}
|
|
@@ -43496,6 +43526,7 @@ var require_parse = __commonJS({
|
|
|
43496
43526
|
case "meta":
|
|
43497
43527
|
position += this[CONSUMEMETA](chunk, position);
|
|
43498
43528
|
break;
|
|
43529
|
+
/* istanbul ignore next */
|
|
43499
43530
|
default:
|
|
43500
43531
|
throw new Error("invalid state: " + this[STATE]);
|
|
43501
43532
|
}
|
|
@@ -44903,6 +44934,7 @@ var require_unpack = __commonJS({
|
|
|
44903
44934
|
if (entry.mode) {
|
|
44904
44935
|
entry.mode = entry.mode | 448;
|
|
44905
44936
|
}
|
|
44937
|
+
// eslint-disable-next-line no-fallthrough
|
|
44906
44938
|
case "File":
|
|
44907
44939
|
case "OldFile":
|
|
44908
44940
|
case "ContiguousFile":
|
|
@@ -11678,19 +11678,27 @@ function is_reference(node, parent) {
|
|
|
11678
11678
|
}
|
|
11679
11679
|
if (node.type !== "Identifier") return false;
|
|
11680
11680
|
switch (parent?.type) {
|
|
11681
|
+
// disregard `bar` in `foo.bar`
|
|
11681
11682
|
case "MemberExpression":
|
|
11682
11683
|
return parent.computed || node === parent.object;
|
|
11684
|
+
// disregard the `foo` in `class {foo(){}}` but keep it in `class {[foo](){}}`
|
|
11683
11685
|
case "MethodDefinition":
|
|
11684
11686
|
return parent.computed;
|
|
11687
|
+
// disregard the `meta` in `import.meta`
|
|
11685
11688
|
case "MetaProperty":
|
|
11686
11689
|
return parent.meta === node;
|
|
11690
|
+
// disregard the `foo` in `class {foo=bar}` but keep it in `class {[foo]=bar}` and `class {bar=foo}`
|
|
11687
11691
|
case "PropertyDefinition":
|
|
11688
11692
|
return parent.computed || node === parent.value;
|
|
11693
|
+
// disregard the `bar` in `{ bar: foo }`, but keep it in `{ [bar]: foo }`
|
|
11689
11694
|
case "Property":
|
|
11690
11695
|
return parent.computed || node === parent.value;
|
|
11696
|
+
// disregard the `bar` in `export { foo as bar }` or
|
|
11697
|
+
// the foo in `import { foo as bar }`
|
|
11691
11698
|
case "ExportSpecifier":
|
|
11692
11699
|
case "ImportSpecifier":
|
|
11693
11700
|
return node === parent.local;
|
|
11701
|
+
// disregard the `foo` in `foo: while (...) { ... break foo; ... continue foo;}`
|
|
11694
11702
|
case "LabeledStatement":
|
|
11695
11703
|
case "BreakStatement":
|
|
11696
11704
|
case "ContinueStatement":
|
|
@@ -20412,6 +20420,8 @@ var init_node_entry = __esm({
|
|
|
20412
20420
|
}
|
|
20413
20421
|
deoptimizeArgumentsOnInteractionAtPath(interaction, path8, recursionTracker) {
|
|
20414
20422
|
switch (interaction.type) {
|
|
20423
|
+
// While there is no point in testing these cases as at the moment, they
|
|
20424
|
+
// are also covered via other means, we keep them for completeness
|
|
20415
20425
|
case INTERACTION_ACCESSED:
|
|
20416
20426
|
case INTERACTION_ASSIGNED: {
|
|
20417
20427
|
if (!getGlobalAtPath([this.name, ...path8].slice(0, -1))) {
|
|
@@ -20755,6 +20765,7 @@ var init_node_entry = __esm({
|
|
|
20755
20765
|
variable = this.scope.addParameterDeclaration(this);
|
|
20756
20766
|
break;
|
|
20757
20767
|
}
|
|
20768
|
+
/* istanbul ignore next */
|
|
20758
20769
|
default: {
|
|
20759
20770
|
throw new Error(`Internal Error: Unexpected identifier kind ${kind}.`);
|
|
20760
20771
|
}
|
|
@@ -28964,6 +28975,7 @@ ${next}` : out;
|
|
|
28964
28975
|
case "cjs": {
|
|
28965
28976
|
usedNames.add("module").add("require").add("__filename").add("__dirname");
|
|
28966
28977
|
}
|
|
28978
|
+
// fallthrough
|
|
28967
28979
|
default: {
|
|
28968
28980
|
usedNames.add("exports");
|
|
28969
28981
|
for (const helper of HELPER_NAMES) {
|
|
@@ -30505,6 +30517,7 @@ ${next}` : out;
|
|
|
30505
30517
|
mode: "preserve"
|
|
30506
30518
|
};
|
|
30507
30519
|
}
|
|
30520
|
+
// case 'classic':
|
|
30508
30521
|
default: {
|
|
30509
30522
|
if (mode && mode !== "classic") {
|
|
30510
30523
|
error(logInvalidOption("jsx.mode", URL_JSX, 'mode must be "automatic", "classic" or "preserve"', mode));
|
|
@@ -61180,6 +61193,11 @@ var init_acorn = __esm({
|
|
|
61180
61193
|
}
|
|
61181
61194
|
}
|
|
61182
61195
|
return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports2);
|
|
61196
|
+
// If the statement does not start with a statement keyword or a
|
|
61197
|
+
// brace, it's an ExpressionStatement or LabeledStatement. We
|
|
61198
|
+
// simply start parsing an expression, and afterwards, if the
|
|
61199
|
+
// next token is a colon and the expression was a simple
|
|
61200
|
+
// Identifier node, we switch to interpreting it as a label.
|
|
61183
61201
|
default:
|
|
61184
61202
|
if (this.isAsyncFunction()) {
|
|
61185
61203
|
if (context) {
|
|
@@ -65224,8 +65242,11 @@ var init_acorn = __esm({
|
|
|
65224
65242
|
};
|
|
65225
65243
|
pp.getTokenFromCode = function(code) {
|
|
65226
65244
|
switch (code) {
|
|
65245
|
+
// The interpretation of a dot depends on whether it is followed
|
|
65246
|
+
// by a digit or another two dots.
|
|
65227
65247
|
case 46:
|
|
65228
65248
|
return this.readToken_dot();
|
|
65249
|
+
// Punctuation tokens.
|
|
65229
65250
|
case 40:
|
|
65230
65251
|
++this.pos;
|
|
65231
65252
|
return this.finishToken(types$1.parenL);
|
|
@@ -65272,6 +65293,8 @@ var init_acorn = __esm({
|
|
|
65272
65293
|
return this.readRadixNumber(2);
|
|
65273
65294
|
}
|
|
65274
65295
|
}
|
|
65296
|
+
// Anything else beginning with a digit is an integer, octal
|
|
65297
|
+
// number, or float.
|
|
65275
65298
|
case 49:
|
|
65276
65299
|
case 50:
|
|
65277
65300
|
case 51:
|
|
@@ -65282,9 +65305,14 @@ var init_acorn = __esm({
|
|
|
65282
65305
|
case 56:
|
|
65283
65306
|
case 57:
|
|
65284
65307
|
return this.readNumber(false);
|
|
65308
|
+
// Quotes produce strings.
|
|
65285
65309
|
case 34:
|
|
65286
65310
|
case 39:
|
|
65287
65311
|
return this.readString(code);
|
|
65312
|
+
// Operators are parsed inline in tiny state machines. '=' (61) is
|
|
65313
|
+
// often referred to. `finishOp` simply skips the amount of
|
|
65314
|
+
// characters it is given as second argument, and returns a token
|
|
65315
|
+
// of the type given by its first argument.
|
|
65288
65316
|
case 47:
|
|
65289
65317
|
return this.readToken_slash();
|
|
65290
65318
|
case 37:
|
|
@@ -65588,12 +65616,14 @@ var init_acorn = __esm({
|
|
|
65588
65616
|
if (this.input[this.pos + 1] !== "{") {
|
|
65589
65617
|
break;
|
|
65590
65618
|
}
|
|
65619
|
+
// fall through
|
|
65591
65620
|
case "`":
|
|
65592
65621
|
return this.finishToken(types$1.invalidTemplate, this.input.slice(this.start, this.pos));
|
|
65593
65622
|
case "\r":
|
|
65594
65623
|
if (this.input[this.pos + 1] === "\n") {
|
|
65595
65624
|
++this.pos;
|
|
65596
65625
|
}
|
|
65626
|
+
// fall through
|
|
65597
65627
|
case "\n":
|
|
65598
65628
|
case "\u2028":
|
|
65599
65629
|
case "\u2029":
|
|
@@ -65610,24 +65640,33 @@ var init_acorn = __esm({
|
|
|
65610
65640
|
switch (ch) {
|
|
65611
65641
|
case 110:
|
|
65612
65642
|
return "\n";
|
|
65643
|
+
// 'n' -> '\n'
|
|
65613
65644
|
case 114:
|
|
65614
65645
|
return "\r";
|
|
65646
|
+
// 'r' -> '\r'
|
|
65615
65647
|
case 120:
|
|
65616
65648
|
return String.fromCharCode(this.readHexChar(2));
|
|
65649
|
+
// 'x'
|
|
65617
65650
|
case 117:
|
|
65618
65651
|
return codePointToString(this.readCodePoint());
|
|
65652
|
+
// 'u'
|
|
65619
65653
|
case 116:
|
|
65620
65654
|
return " ";
|
|
65655
|
+
// 't' -> '\t'
|
|
65621
65656
|
case 98:
|
|
65622
65657
|
return "\b";
|
|
65658
|
+
// 'b' -> '\b'
|
|
65623
65659
|
case 118:
|
|
65624
65660
|
return "\v";
|
|
65661
|
+
// 'v' -> '\u000b'
|
|
65625
65662
|
case 102:
|
|
65626
65663
|
return "\f";
|
|
65664
|
+
// 'f' -> '\f'
|
|
65627
65665
|
case 13:
|
|
65628
65666
|
if (this.input.charCodeAt(this.pos) === 10) {
|
|
65629
65667
|
++this.pos;
|
|
65630
65668
|
}
|
|
65669
|
+
// '\r\n'
|
|
65631
65670
|
case 10:
|
|
65632
65671
|
if (this.options.locations) {
|
|
65633
65672
|
this.lineStart = this.pos;
|
|
@@ -71796,6 +71835,8 @@ var require_read_entry = __commonJS({
|
|
|
71796
71835
|
case "OldExtendedHeader":
|
|
71797
71836
|
this.meta = true;
|
|
71798
71837
|
break;
|
|
71838
|
+
// NOTE: gnutar and bsdtar treat unrecognized types as 'File'
|
|
71839
|
+
// it may be worth doing the same, but with a warning.
|
|
71799
71840
|
default:
|
|
71800
71841
|
this.ignore = true;
|
|
71801
71842
|
}
|
|
@@ -72552,6 +72593,7 @@ var require_write_entry = __commonJS({
|
|
|
72552
72593
|
return this[DIRECTORY]();
|
|
72553
72594
|
case "SymbolicLink":
|
|
72554
72595
|
return this[SYMLINK]();
|
|
72596
|
+
// unsupported types are ignored.
|
|
72555
72597
|
default:
|
|
72556
72598
|
return this.end();
|
|
72557
72599
|
}
|
|
@@ -74267,6 +74309,7 @@ var require_parse = __commonJS({
|
|
|
74267
74309
|
this[EX] = this[EX] || /* @__PURE__ */ Object.create(null);
|
|
74268
74310
|
this[EX].linkpath = this[META].replace(/\0.*/, "");
|
|
74269
74311
|
break;
|
|
74312
|
+
/* istanbul ignore next */
|
|
74270
74313
|
default:
|
|
74271
74314
|
throw new Error("unknown meta: " + entry.type);
|
|
74272
74315
|
}
|
|
@@ -74405,6 +74448,7 @@ var require_parse = __commonJS({
|
|
|
74405
74448
|
case "meta":
|
|
74406
74449
|
position += this[CONSUMEMETA](chunk, position);
|
|
74407
74450
|
break;
|
|
74451
|
+
/* istanbul ignore next */
|
|
74408
74452
|
default:
|
|
74409
74453
|
throw new Error("invalid state: " + this[STATE]);
|
|
74410
74454
|
}
|
|
@@ -75812,6 +75856,7 @@ var require_unpack = __commonJS({
|
|
|
75812
75856
|
if (entry.mode) {
|
|
75813
75857
|
entry.mode = entry.mode | 448;
|
|
75814
75858
|
}
|
|
75859
|
+
// eslint-disable-next-line no-fallthrough
|
|
75815
75860
|
case "File":
|
|
75816
75861
|
case "OldFile":
|
|
75817
75862
|
case "ContiguousFile":
|
|
@@ -134403,15 +134448,19 @@ var require_resolve_uri_umd = __commonJS({
|
|
|
134403
134448
|
switch (inputType) {
|
|
134404
134449
|
case 1:
|
|
134405
134450
|
url.hash = baseUrl.hash;
|
|
134451
|
+
// fall through
|
|
134406
134452
|
case 2:
|
|
134407
134453
|
url.query = baseUrl.query;
|
|
134454
|
+
// fall through
|
|
134408
134455
|
case 3:
|
|
134409
134456
|
case 4:
|
|
134410
134457
|
mergePaths(url, baseUrl);
|
|
134458
|
+
// fall through
|
|
134411
134459
|
case 5:
|
|
134412
134460
|
url.user = baseUrl.user;
|
|
134413
134461
|
url.host = baseUrl.host;
|
|
134414
134462
|
url.port = baseUrl.port;
|
|
134463
|
+
// fall through
|
|
134415
134464
|
case 6:
|
|
134416
134465
|
url.scheme = baseUrl.scheme;
|
|
134417
134466
|
}
|
|
@@ -134421,6 +134470,8 @@ var require_resolve_uri_umd = __commonJS({
|
|
|
134421
134470
|
normalizePath7(url, inputType);
|
|
134422
134471
|
const queryHash = url.query + url.hash;
|
|
134423
134472
|
switch (inputType) {
|
|
134473
|
+
// This is impossible, because of the empty checks at the start of the function.
|
|
134474
|
+
// case UrlType.Empty:
|
|
134424
134475
|
case 2:
|
|
134425
134476
|
case 3:
|
|
134426
134477
|
return queryHash;
|
|
@@ -145042,6 +145093,8 @@ var require_semver = __commonJS({
|
|
|
145042
145093
|
this.inc("patch", identifier3);
|
|
145043
145094
|
this.inc("pre", identifier3);
|
|
145044
145095
|
break;
|
|
145096
|
+
// If the input is a non-prerelease version, this acts the same as
|
|
145097
|
+
// prepatch.
|
|
145045
145098
|
case "prerelease":
|
|
145046
145099
|
if (this.prerelease.length === 0) {
|
|
145047
145100
|
this.inc("patch", identifier3);
|
|
@@ -145069,6 +145122,8 @@ var require_semver = __commonJS({
|
|
|
145069
145122
|
}
|
|
145070
145123
|
this.prerelease = [];
|
|
145071
145124
|
break;
|
|
145125
|
+
// This probably shouldn't be used publicly.
|
|
145126
|
+
// 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction.
|
|
145072
145127
|
case "pre":
|
|
145073
145128
|
if (this.prerelease.length === 0) {
|
|
145074
145129
|
this.prerelease = [0];
|
|
@@ -145733,6 +145788,7 @@ var require_semver = __commonJS({
|
|
|
145733
145788
|
compver.prerelease.push(0);
|
|
145734
145789
|
}
|
|
145735
145790
|
compver.raw = compver.format();
|
|
145791
|
+
/* fallthrough */
|
|
145736
145792
|
case "":
|
|
145737
145793
|
case ">=":
|
|
145738
145794
|
if (!minver || gt(minver, compver)) {
|
|
@@ -145742,6 +145798,7 @@ var require_semver = __commonJS({
|
|
|
145742
145798
|
case "<":
|
|
145743
145799
|
case "<=":
|
|
145744
145800
|
break;
|
|
145801
|
+
/* istanbul ignore next */
|
|
145745
145802
|
default:
|
|
145746
145803
|
throw new Error("Unexpected operation: " + comparator.operator);
|
|
145747
145804
|
}
|
|
@@ -169771,6 +169828,7 @@ var require_minimatch = __commonJS({
|
|
|
169771
169828
|
continue;
|
|
169772
169829
|
}
|
|
169773
169830
|
switch (c) {
|
|
169831
|
+
/* istanbul ignore next */
|
|
169774
169832
|
case "/": {
|
|
169775
169833
|
return false;
|
|
169776
169834
|
}
|
|
@@ -169782,6 +169840,8 @@ var require_minimatch = __commonJS({
|
|
|
169782
169840
|
clearStateChar();
|
|
169783
169841
|
escaping = true;
|
|
169784
169842
|
continue;
|
|
169843
|
+
// the various stateChar values
|
|
169844
|
+
// for the "extglob" stuff.
|
|
169785
169845
|
case "?":
|
|
169786
169846
|
case "*":
|
|
169787
169847
|
case "+":
|
|
@@ -169856,6 +169916,7 @@ var require_minimatch = __commonJS({
|
|
|
169856
169916
|
}
|
|
169857
169917
|
continue;
|
|
169858
169918
|
}
|
|
169919
|
+
// these are mostly the same in regexp and glob
|
|
169859
169920
|
case "[":
|
|
169860
169921
|
clearStateChar();
|
|
169861
169922
|
if (inClass) {
|
|
@@ -170360,6 +170421,7 @@ var require_sync2 = __commonJS({
|
|
|
170360
170421
|
}
|
|
170361
170422
|
var prefix;
|
|
170362
170423
|
switch (n2) {
|
|
170424
|
+
// if not, then this is rather simple
|
|
170363
170425
|
case pattern.length:
|
|
170364
170426
|
this._processSimple(pattern.join("/"), index);
|
|
170365
170427
|
return;
|
|
@@ -170521,6 +170583,7 @@ var require_sync2 = __commonJS({
|
|
|
170521
170583
|
GlobSync.prototype._readdirError = function(f2, er2) {
|
|
170522
170584
|
switch (er2.code) {
|
|
170523
170585
|
case "ENOTSUP":
|
|
170586
|
+
// https://github.com/isaacs/node-glob/issues/205
|
|
170524
170587
|
case "ENOTDIR":
|
|
170525
170588
|
var abs = this._makeAbs(f2);
|
|
170526
170589
|
this.cache[abs] = "FILE";
|
|
@@ -170532,6 +170595,7 @@ var require_sync2 = __commonJS({
|
|
|
170532
170595
|
}
|
|
170533
170596
|
break;
|
|
170534
170597
|
case "ENOENT":
|
|
170598
|
+
// not terribly unusual
|
|
170535
170599
|
case "ELOOP":
|
|
170536
170600
|
case "ENAMETOOLONG":
|
|
170537
170601
|
case "UNKNOWN":
|
|
@@ -170979,6 +171043,7 @@ var require_glob = __commonJS({
|
|
|
170979
171043
|
}
|
|
170980
171044
|
var prefix;
|
|
170981
171045
|
switch (n2) {
|
|
171046
|
+
// if not, then this is rather simple
|
|
170982
171047
|
case pattern.length:
|
|
170983
171048
|
this._processSimple(pattern.join("/"), index, cb);
|
|
170984
171049
|
return;
|
|
@@ -171168,6 +171233,7 @@ var require_glob = __commonJS({
|
|
|
171168
171233
|
return;
|
|
171169
171234
|
switch (er2.code) {
|
|
171170
171235
|
case "ENOTSUP":
|
|
171236
|
+
// https://github.com/isaacs/node-glob/issues/205
|
|
171171
171237
|
case "ENOTDIR":
|
|
171172
171238
|
var abs = this._makeAbs(f2);
|
|
171173
171239
|
this.cache[abs] = "FILE";
|
|
@@ -171180,6 +171246,7 @@ var require_glob = __commonJS({
|
|
|
171180
171246
|
}
|
|
171181
171247
|
break;
|
|
171182
171248
|
case "ENOENT":
|
|
171249
|
+
// not terribly unusual
|
|
171183
171250
|
case "ELOOP":
|
|
171184
171251
|
case "ENAMETOOLONG":
|
|
171185
171252
|
case "UNKNOWN":
|
|
@@ -172545,17 +172612,24 @@ var require_is_reference = __commonJS({
|
|
|
172545
172612
|
if (!parent)
|
|
172546
172613
|
return true;
|
|
172547
172614
|
switch (parent.type) {
|
|
172615
|
+
// disregard `bar` in `foo.bar`
|
|
172548
172616
|
case "MemberExpression":
|
|
172549
172617
|
return parent.computed || node === parent.object;
|
|
172618
|
+
// disregard the `foo` in `class {foo(){}}` but keep it in `class {[foo](){}}`
|
|
172550
172619
|
case "MethodDefinition":
|
|
172551
172620
|
return parent.computed;
|
|
172621
|
+
// disregard the `foo` in `class {foo=bar}` but keep it in `class {[foo]=bar}` and `class {bar=foo}`
|
|
172552
172622
|
case "FieldDefinition":
|
|
172553
172623
|
return parent.computed || node === parent.value;
|
|
172624
|
+
// disregard the `bar` in `{ bar: foo }`, but keep it in `{ [bar]: foo }`
|
|
172554
172625
|
case "Property":
|
|
172555
172626
|
return parent.computed || node === parent.value;
|
|
172627
|
+
// disregard the `bar` in `export { foo as bar }` or
|
|
172628
|
+
// the foo in `import { foo as bar }`
|
|
172556
172629
|
case "ExportSpecifier":
|
|
172557
172630
|
case "ImportSpecifier":
|
|
172558
172631
|
return node === parent.local;
|
|
172632
|
+
// disregard the `foo` in `foo: while (...) { ... break foo; ... continue foo;}`
|
|
172559
172633
|
case "LabeledStatement":
|
|
172560
172634
|
case "BreakStatement":
|
|
172561
172635
|
case "ContinueStatement":
|
|
@@ -172673,6 +172747,7 @@ var require_cjs3 = __commonJS({
|
|
|
172673
172747
|
switch (strictRequires) {
|
|
172674
172748
|
case true:
|
|
172675
172749
|
return { strictRequiresFilter: () => true, detectCyclesAndConditional: false };
|
|
172750
|
+
// eslint-disable-next-line no-undefined
|
|
172676
172751
|
case void 0:
|
|
172677
172752
|
case "auto":
|
|
172678
172753
|
case "debug":
|
|
@@ -174358,6 +174433,7 @@ var require_mini_svg_data_uri = __commonJS({
|
|
|
174358
174433
|
}
|
|
174359
174434
|
function specialHexEncode(match2) {
|
|
174360
174435
|
switch (match2) {
|
|
174436
|
+
// Browsers tolerate these characters, and they're frequent
|
|
174361
174437
|
case "%20":
|
|
174362
174438
|
return " ";
|
|
174363
174439
|
case "%3D":
|
|
@@ -174676,6 +174752,9 @@ var require_mkdirs2 = __commonJS({
|
|
|
174676
174752
|
else mkdirs(p2, opts, callback, made2);
|
|
174677
174753
|
});
|
|
174678
174754
|
break;
|
|
174755
|
+
// In the case of any other error, just see if there's a dir
|
|
174756
|
+
// there already. If so, then hooray! If not, then something
|
|
174757
|
+
// is borked.
|
|
174679
174758
|
default:
|
|
174680
174759
|
xfs.stat(p2, (er22, stat2) => {
|
|
174681
174760
|
if (er22 || !stat2.isDirectory()) callback(er2, made);
|
|
@@ -176926,6 +177005,7 @@ var require_minimatch2 = __commonJS({
|
|
|
176926
177005
|
continue;
|
|
176927
177006
|
}
|
|
176928
177007
|
switch (c) {
|
|
177008
|
+
/* istanbul ignore next */
|
|
176929
177009
|
case "/": {
|
|
176930
177010
|
return false;
|
|
176931
177011
|
}
|
|
@@ -176933,6 +177013,8 @@ var require_minimatch2 = __commonJS({
|
|
|
176933
177013
|
clearStateChar();
|
|
176934
177014
|
escaping = true;
|
|
176935
177015
|
continue;
|
|
177016
|
+
// the various stateChar values
|
|
177017
|
+
// for the "extglob" stuff.
|
|
176936
177018
|
case "?":
|
|
176937
177019
|
case "*":
|
|
176938
177020
|
case "+":
|
|
@@ -176993,6 +177075,7 @@ var require_minimatch2 = __commonJS({
|
|
|
176993
177075
|
clearStateChar();
|
|
176994
177076
|
re3 += "|";
|
|
176995
177077
|
continue;
|
|
177078
|
+
// these are mostly the same in regexp and glob
|
|
176996
177079
|
case "[":
|
|
176997
177080
|
clearStateChar();
|
|
176998
177081
|
if (inClass) {
|
|
@@ -177538,6 +177621,7 @@ var require_sync3 = __commonJS({
|
|
|
177538
177621
|
}
|
|
177539
177622
|
var prefix;
|
|
177540
177623
|
switch (n2) {
|
|
177624
|
+
// if not, then this is rather simple
|
|
177541
177625
|
case pattern.length:
|
|
177542
177626
|
this._processSimple(pattern.join("/"), index);
|
|
177543
177627
|
return;
|
|
@@ -177699,6 +177783,7 @@ var require_sync3 = __commonJS({
|
|
|
177699
177783
|
GlobSync.prototype._readdirError = function(f2, er2) {
|
|
177700
177784
|
switch (er2.code) {
|
|
177701
177785
|
case "ENOTSUP":
|
|
177786
|
+
// https://github.com/isaacs/node-glob/issues/205
|
|
177702
177787
|
case "ENOTDIR":
|
|
177703
177788
|
var abs = this._makeAbs(f2);
|
|
177704
177789
|
this.cache[abs] = "FILE";
|
|
@@ -177710,6 +177795,7 @@ var require_sync3 = __commonJS({
|
|
|
177710
177795
|
}
|
|
177711
177796
|
break;
|
|
177712
177797
|
case "ENOENT":
|
|
177798
|
+
// not terribly unusual
|
|
177713
177799
|
case "ELOOP":
|
|
177714
177800
|
case "ENAMETOOLONG":
|
|
177715
177801
|
case "UNKNOWN":
|
|
@@ -178037,6 +178123,7 @@ var require_glob2 = __commonJS({
|
|
|
178037
178123
|
}
|
|
178038
178124
|
var prefix;
|
|
178039
178125
|
switch (n2) {
|
|
178126
|
+
// if not, then this is rather simple
|
|
178040
178127
|
case pattern.length:
|
|
178041
178128
|
this._processSimple(pattern.join("/"), index, cb);
|
|
178042
178129
|
return;
|
|
@@ -178226,6 +178313,7 @@ var require_glob2 = __commonJS({
|
|
|
178226
178313
|
return;
|
|
178227
178314
|
switch (er2.code) {
|
|
178228
178315
|
case "ENOTSUP":
|
|
178316
|
+
// https://github.com/isaacs/node-glob/issues/205
|
|
178229
178317
|
case "ENOTDIR":
|
|
178230
178318
|
var abs = this._makeAbs(f2);
|
|
178231
178319
|
this.cache[abs] = "FILE";
|
|
@@ -178238,6 +178326,7 @@ var require_glob2 = __commonJS({
|
|
|
178238
178326
|
}
|
|
178239
178327
|
break;
|
|
178240
178328
|
case "ENOENT":
|
|
178329
|
+
// not terribly unusual
|
|
178241
178330
|
case "ELOOP":
|
|
178242
178331
|
case "ENAMETOOLONG":
|
|
178243
178332
|
case "UNKNOWN":
|
|
@@ -185443,6 +185532,8 @@ var require_semver2 = __commonJS({
|
|
|
185443
185532
|
this.inc("patch", identifier3, identifierBase);
|
|
185444
185533
|
this.inc("pre", identifier3, identifierBase);
|
|
185445
185534
|
break;
|
|
185535
|
+
// If the input is a non-prerelease version, this acts the same as
|
|
185536
|
+
// prepatch.
|
|
185446
185537
|
case "prerelease":
|
|
185447
185538
|
if (this.prerelease.length === 0) {
|
|
185448
185539
|
this.inc("patch", identifier3, identifierBase);
|
|
@@ -185470,6 +185561,8 @@ var require_semver2 = __commonJS({
|
|
|
185470
185561
|
}
|
|
185471
185562
|
this.prerelease = [];
|
|
185472
185563
|
break;
|
|
185564
|
+
// This probably shouldn't be used publicly.
|
|
185565
|
+
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
185473
185566
|
case "pre": {
|
|
185474
185567
|
const base2 = Number(identifierBase) ? 1 : 0;
|
|
185475
185568
|
if (!identifier3 && identifierBase === false) {
|
|
@@ -186495,6 +186588,7 @@ var require_min_version = __commonJS({
|
|
|
186495
186588
|
compver.prerelease.push(0);
|
|
186496
186589
|
}
|
|
186497
186590
|
compver.raw = compver.format();
|
|
186591
|
+
/* fallthrough */
|
|
186498
186592
|
case "":
|
|
186499
186593
|
case ">=":
|
|
186500
186594
|
if (!setMin || gt(compver, setMin)) {
|
|
@@ -186504,6 +186598,7 @@ var require_min_version = __commonJS({
|
|
|
186504
186598
|
case "<":
|
|
186505
186599
|
case "<=":
|
|
186506
186600
|
break;
|
|
186601
|
+
/* istanbul ignore next */
|
|
186507
186602
|
default:
|
|
186508
186603
|
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
186509
186604
|
}
|