@oclif/plugin-test-esbuild 0.4.20 → 0.4.21
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/README.md +1 -1
- package/dist/index.js +1 -1
- package/dist/{npa-MG6WRKUV.js → npa-FUCICWXG.js} +99 -2200
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
|
@@ -1750,9 +1750,9 @@ var require_lib = __commonJS({
|
|
|
1750
1750
|
}
|
|
1751
1751
|
});
|
|
1752
1752
|
|
|
1753
|
-
// node_modules
|
|
1753
|
+
// node_modules/semver/internal/constants.js
|
|
1754
1754
|
var require_constants = __commonJS({
|
|
1755
|
-
"node_modules
|
|
1755
|
+
"node_modules/semver/internal/constants.js"(exports, module) {
|
|
1756
1756
|
init_cjs_shims();
|
|
1757
1757
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
1758
1758
|
var MAX_LENGTH = 256;
|
|
@@ -1782,9 +1782,9 @@ var require_constants = __commonJS({
|
|
|
1782
1782
|
}
|
|
1783
1783
|
});
|
|
1784
1784
|
|
|
1785
|
-
// node_modules
|
|
1785
|
+
// node_modules/semver/internal/debug.js
|
|
1786
1786
|
var require_debug = __commonJS({
|
|
1787
|
-
"node_modules
|
|
1787
|
+
"node_modules/semver/internal/debug.js"(exports, module) {
|
|
1788
1788
|
init_cjs_shims();
|
|
1789
1789
|
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
1790
1790
|
};
|
|
@@ -1792,9 +1792,9 @@ var require_debug = __commonJS({
|
|
|
1792
1792
|
}
|
|
1793
1793
|
});
|
|
1794
1794
|
|
|
1795
|
-
// node_modules
|
|
1795
|
+
// node_modules/semver/internal/re.js
|
|
1796
1796
|
var require_re = __commonJS({
|
|
1797
|
-
"node_modules
|
|
1797
|
+
"node_modules/semver/internal/re.js"(exports, module) {
|
|
1798
1798
|
init_cjs_shims();
|
|
1799
1799
|
var {
|
|
1800
1800
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
@@ -1878,9 +1878,9 @@ var require_re = __commonJS({
|
|
|
1878
1878
|
}
|
|
1879
1879
|
});
|
|
1880
1880
|
|
|
1881
|
-
// node_modules
|
|
1881
|
+
// node_modules/semver/internal/parse-options.js
|
|
1882
1882
|
var require_parse_options = __commonJS({
|
|
1883
|
-
"node_modules
|
|
1883
|
+
"node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
1884
1884
|
init_cjs_shims();
|
|
1885
1885
|
var looseOption = Object.freeze({ loose: true });
|
|
1886
1886
|
var emptyOpts = Object.freeze({});
|
|
@@ -1897,9 +1897,9 @@ var require_parse_options = __commonJS({
|
|
|
1897
1897
|
}
|
|
1898
1898
|
});
|
|
1899
1899
|
|
|
1900
|
-
// node_modules
|
|
1900
|
+
// node_modules/semver/internal/identifiers.js
|
|
1901
1901
|
var require_identifiers = __commonJS({
|
|
1902
|
-
"node_modules
|
|
1902
|
+
"node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
1903
1903
|
init_cjs_shims();
|
|
1904
1904
|
var numeric = /^[0-9]+$/;
|
|
1905
1905
|
var compareIdentifiers = (a, b) => {
|
|
@@ -1919,9 +1919,9 @@ var require_identifiers = __commonJS({
|
|
|
1919
1919
|
}
|
|
1920
1920
|
});
|
|
1921
1921
|
|
|
1922
|
-
// node_modules
|
|
1922
|
+
// node_modules/semver/classes/semver.js
|
|
1923
1923
|
var require_semver = __commonJS({
|
|
1924
|
-
"node_modules
|
|
1924
|
+
"node_modules/semver/classes/semver.js"(exports, module) {
|
|
1925
1925
|
init_cjs_shims();
|
|
1926
1926
|
var debug = require_debug();
|
|
1927
1927
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
@@ -2162,9 +2162,9 @@ var require_semver = __commonJS({
|
|
|
2162
2162
|
}
|
|
2163
2163
|
});
|
|
2164
2164
|
|
|
2165
|
-
// node_modules
|
|
2165
|
+
// node_modules/semver/functions/parse.js
|
|
2166
2166
|
var require_parse = __commonJS({
|
|
2167
|
-
"node_modules
|
|
2167
|
+
"node_modules/semver/functions/parse.js"(exports, module) {
|
|
2168
2168
|
init_cjs_shims();
|
|
2169
2169
|
var SemVer = require_semver();
|
|
2170
2170
|
var parse = (version, options, throwErrors = false) => {
|
|
@@ -2184,9 +2184,9 @@ var require_parse = __commonJS({
|
|
|
2184
2184
|
}
|
|
2185
2185
|
});
|
|
2186
2186
|
|
|
2187
|
-
// node_modules
|
|
2187
|
+
// node_modules/semver/functions/valid.js
|
|
2188
2188
|
var require_valid = __commonJS({
|
|
2189
|
-
"node_modules
|
|
2189
|
+
"node_modules/semver/functions/valid.js"(exports, module) {
|
|
2190
2190
|
init_cjs_shims();
|
|
2191
2191
|
var parse = require_parse();
|
|
2192
2192
|
var valid = (version, options) => {
|
|
@@ -2197,9 +2197,9 @@ var require_valid = __commonJS({
|
|
|
2197
2197
|
}
|
|
2198
2198
|
});
|
|
2199
2199
|
|
|
2200
|
-
// node_modules
|
|
2200
|
+
// node_modules/semver/functions/clean.js
|
|
2201
2201
|
var require_clean = __commonJS({
|
|
2202
|
-
"node_modules
|
|
2202
|
+
"node_modules/semver/functions/clean.js"(exports, module) {
|
|
2203
2203
|
init_cjs_shims();
|
|
2204
2204
|
var parse = require_parse();
|
|
2205
2205
|
var clean = (version, options) => {
|
|
@@ -2210,9 +2210,9 @@ var require_clean = __commonJS({
|
|
|
2210
2210
|
}
|
|
2211
2211
|
});
|
|
2212
2212
|
|
|
2213
|
-
// node_modules
|
|
2213
|
+
// node_modules/semver/functions/inc.js
|
|
2214
2214
|
var require_inc = __commonJS({
|
|
2215
|
-
"node_modules
|
|
2215
|
+
"node_modules/semver/functions/inc.js"(exports, module) {
|
|
2216
2216
|
init_cjs_shims();
|
|
2217
2217
|
var SemVer = require_semver();
|
|
2218
2218
|
var inc = (version, release, options, identifier, identifierBase) => {
|
|
@@ -2234,9 +2234,9 @@ var require_inc = __commonJS({
|
|
|
2234
2234
|
}
|
|
2235
2235
|
});
|
|
2236
2236
|
|
|
2237
|
-
// node_modules
|
|
2237
|
+
// node_modules/semver/functions/diff.js
|
|
2238
2238
|
var require_diff = __commonJS({
|
|
2239
|
-
"node_modules
|
|
2239
|
+
"node_modules/semver/functions/diff.js"(exports, module) {
|
|
2240
2240
|
init_cjs_shims();
|
|
2241
2241
|
var parse = require_parse();
|
|
2242
2242
|
var diff = (version1, version2) => {
|
|
@@ -2279,9 +2279,9 @@ var require_diff = __commonJS({
|
|
|
2279
2279
|
}
|
|
2280
2280
|
});
|
|
2281
2281
|
|
|
2282
|
-
// node_modules
|
|
2282
|
+
// node_modules/semver/functions/major.js
|
|
2283
2283
|
var require_major = __commonJS({
|
|
2284
|
-
"node_modules
|
|
2284
|
+
"node_modules/semver/functions/major.js"(exports, module) {
|
|
2285
2285
|
init_cjs_shims();
|
|
2286
2286
|
var SemVer = require_semver();
|
|
2287
2287
|
var major = (a, loose) => new SemVer(a, loose).major;
|
|
@@ -2289,9 +2289,9 @@ var require_major = __commonJS({
|
|
|
2289
2289
|
}
|
|
2290
2290
|
});
|
|
2291
2291
|
|
|
2292
|
-
// node_modules
|
|
2292
|
+
// node_modules/semver/functions/minor.js
|
|
2293
2293
|
var require_minor = __commonJS({
|
|
2294
|
-
"node_modules
|
|
2294
|
+
"node_modules/semver/functions/minor.js"(exports, module) {
|
|
2295
2295
|
init_cjs_shims();
|
|
2296
2296
|
var SemVer = require_semver();
|
|
2297
2297
|
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
@@ -2299,9 +2299,9 @@ var require_minor = __commonJS({
|
|
|
2299
2299
|
}
|
|
2300
2300
|
});
|
|
2301
2301
|
|
|
2302
|
-
// node_modules
|
|
2302
|
+
// node_modules/semver/functions/patch.js
|
|
2303
2303
|
var require_patch = __commonJS({
|
|
2304
|
-
"node_modules
|
|
2304
|
+
"node_modules/semver/functions/patch.js"(exports, module) {
|
|
2305
2305
|
init_cjs_shims();
|
|
2306
2306
|
var SemVer = require_semver();
|
|
2307
2307
|
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
@@ -2309,9 +2309,9 @@ var require_patch = __commonJS({
|
|
|
2309
2309
|
}
|
|
2310
2310
|
});
|
|
2311
2311
|
|
|
2312
|
-
// node_modules
|
|
2312
|
+
// node_modules/semver/functions/prerelease.js
|
|
2313
2313
|
var require_prerelease = __commonJS({
|
|
2314
|
-
"node_modules
|
|
2314
|
+
"node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
2315
2315
|
init_cjs_shims();
|
|
2316
2316
|
var parse = require_parse();
|
|
2317
2317
|
var prerelease = (version, options) => {
|
|
@@ -2322,9 +2322,9 @@ var require_prerelease = __commonJS({
|
|
|
2322
2322
|
}
|
|
2323
2323
|
});
|
|
2324
2324
|
|
|
2325
|
-
// node_modules
|
|
2325
|
+
// node_modules/semver/functions/compare.js
|
|
2326
2326
|
var require_compare = __commonJS({
|
|
2327
|
-
"node_modules
|
|
2327
|
+
"node_modules/semver/functions/compare.js"(exports, module) {
|
|
2328
2328
|
init_cjs_shims();
|
|
2329
2329
|
var SemVer = require_semver();
|
|
2330
2330
|
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
@@ -2332,9 +2332,9 @@ var require_compare = __commonJS({
|
|
|
2332
2332
|
}
|
|
2333
2333
|
});
|
|
2334
2334
|
|
|
2335
|
-
// node_modules
|
|
2335
|
+
// node_modules/semver/functions/rcompare.js
|
|
2336
2336
|
var require_rcompare = __commonJS({
|
|
2337
|
-
"node_modules
|
|
2337
|
+
"node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
2338
2338
|
init_cjs_shims();
|
|
2339
2339
|
var compare = require_compare();
|
|
2340
2340
|
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
@@ -2342,9 +2342,9 @@ var require_rcompare = __commonJS({
|
|
|
2342
2342
|
}
|
|
2343
2343
|
});
|
|
2344
2344
|
|
|
2345
|
-
// node_modules
|
|
2345
|
+
// node_modules/semver/functions/compare-loose.js
|
|
2346
2346
|
var require_compare_loose = __commonJS({
|
|
2347
|
-
"node_modules
|
|
2347
|
+
"node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
2348
2348
|
init_cjs_shims();
|
|
2349
2349
|
var compare = require_compare();
|
|
2350
2350
|
var compareLoose = (a, b) => compare(a, b, true);
|
|
@@ -2352,9 +2352,9 @@ var require_compare_loose = __commonJS({
|
|
|
2352
2352
|
}
|
|
2353
2353
|
});
|
|
2354
2354
|
|
|
2355
|
-
// node_modules
|
|
2355
|
+
// node_modules/semver/functions/compare-build.js
|
|
2356
2356
|
var require_compare_build = __commonJS({
|
|
2357
|
-
"node_modules
|
|
2357
|
+
"node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
2358
2358
|
init_cjs_shims();
|
|
2359
2359
|
var SemVer = require_semver();
|
|
2360
2360
|
var compareBuild = (a, b, loose) => {
|
|
@@ -2366,9 +2366,9 @@ var require_compare_build = __commonJS({
|
|
|
2366
2366
|
}
|
|
2367
2367
|
});
|
|
2368
2368
|
|
|
2369
|
-
// node_modules
|
|
2369
|
+
// node_modules/semver/functions/sort.js
|
|
2370
2370
|
var require_sort = __commonJS({
|
|
2371
|
-
"node_modules
|
|
2371
|
+
"node_modules/semver/functions/sort.js"(exports, module) {
|
|
2372
2372
|
init_cjs_shims();
|
|
2373
2373
|
var compareBuild = require_compare_build();
|
|
2374
2374
|
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
@@ -2376,9 +2376,9 @@ var require_sort = __commonJS({
|
|
|
2376
2376
|
}
|
|
2377
2377
|
});
|
|
2378
2378
|
|
|
2379
|
-
// node_modules
|
|
2379
|
+
// node_modules/semver/functions/rsort.js
|
|
2380
2380
|
var require_rsort = __commonJS({
|
|
2381
|
-
"node_modules
|
|
2381
|
+
"node_modules/semver/functions/rsort.js"(exports, module) {
|
|
2382
2382
|
init_cjs_shims();
|
|
2383
2383
|
var compareBuild = require_compare_build();
|
|
2384
2384
|
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
@@ -2386,9 +2386,9 @@ var require_rsort = __commonJS({
|
|
|
2386
2386
|
}
|
|
2387
2387
|
});
|
|
2388
2388
|
|
|
2389
|
-
// node_modules
|
|
2389
|
+
// node_modules/semver/functions/gt.js
|
|
2390
2390
|
var require_gt = __commonJS({
|
|
2391
|
-
"node_modules
|
|
2391
|
+
"node_modules/semver/functions/gt.js"(exports, module) {
|
|
2392
2392
|
init_cjs_shims();
|
|
2393
2393
|
var compare = require_compare();
|
|
2394
2394
|
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
@@ -2396,9 +2396,9 @@ var require_gt = __commonJS({
|
|
|
2396
2396
|
}
|
|
2397
2397
|
});
|
|
2398
2398
|
|
|
2399
|
-
// node_modules
|
|
2399
|
+
// node_modules/semver/functions/lt.js
|
|
2400
2400
|
var require_lt = __commonJS({
|
|
2401
|
-
"node_modules
|
|
2401
|
+
"node_modules/semver/functions/lt.js"(exports, module) {
|
|
2402
2402
|
init_cjs_shims();
|
|
2403
2403
|
var compare = require_compare();
|
|
2404
2404
|
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
@@ -2406,9 +2406,9 @@ var require_lt = __commonJS({
|
|
|
2406
2406
|
}
|
|
2407
2407
|
});
|
|
2408
2408
|
|
|
2409
|
-
// node_modules
|
|
2409
|
+
// node_modules/semver/functions/eq.js
|
|
2410
2410
|
var require_eq = __commonJS({
|
|
2411
|
-
"node_modules
|
|
2411
|
+
"node_modules/semver/functions/eq.js"(exports, module) {
|
|
2412
2412
|
init_cjs_shims();
|
|
2413
2413
|
var compare = require_compare();
|
|
2414
2414
|
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
@@ -2416,9 +2416,9 @@ var require_eq = __commonJS({
|
|
|
2416
2416
|
}
|
|
2417
2417
|
});
|
|
2418
2418
|
|
|
2419
|
-
// node_modules
|
|
2419
|
+
// node_modules/semver/functions/neq.js
|
|
2420
2420
|
var require_neq = __commonJS({
|
|
2421
|
-
"node_modules
|
|
2421
|
+
"node_modules/semver/functions/neq.js"(exports, module) {
|
|
2422
2422
|
init_cjs_shims();
|
|
2423
2423
|
var compare = require_compare();
|
|
2424
2424
|
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
@@ -2426,9 +2426,9 @@ var require_neq = __commonJS({
|
|
|
2426
2426
|
}
|
|
2427
2427
|
});
|
|
2428
2428
|
|
|
2429
|
-
// node_modules
|
|
2429
|
+
// node_modules/semver/functions/gte.js
|
|
2430
2430
|
var require_gte = __commonJS({
|
|
2431
|
-
"node_modules
|
|
2431
|
+
"node_modules/semver/functions/gte.js"(exports, module) {
|
|
2432
2432
|
init_cjs_shims();
|
|
2433
2433
|
var compare = require_compare();
|
|
2434
2434
|
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
@@ -2436,9 +2436,9 @@ var require_gte = __commonJS({
|
|
|
2436
2436
|
}
|
|
2437
2437
|
});
|
|
2438
2438
|
|
|
2439
|
-
// node_modules
|
|
2439
|
+
// node_modules/semver/functions/lte.js
|
|
2440
2440
|
var require_lte = __commonJS({
|
|
2441
|
-
"node_modules
|
|
2441
|
+
"node_modules/semver/functions/lte.js"(exports, module) {
|
|
2442
2442
|
init_cjs_shims();
|
|
2443
2443
|
var compare = require_compare();
|
|
2444
2444
|
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
@@ -2446,9 +2446,9 @@ var require_lte = __commonJS({
|
|
|
2446
2446
|
}
|
|
2447
2447
|
});
|
|
2448
2448
|
|
|
2449
|
-
// node_modules
|
|
2449
|
+
// node_modules/semver/functions/cmp.js
|
|
2450
2450
|
var require_cmp = __commonJS({
|
|
2451
|
-
"node_modules
|
|
2451
|
+
"node_modules/semver/functions/cmp.js"(exports, module) {
|
|
2452
2452
|
init_cjs_shims();
|
|
2453
2453
|
var eq = require_eq();
|
|
2454
2454
|
var neq = require_neq();
|
|
@@ -2496,9 +2496,9 @@ var require_cmp = __commonJS({
|
|
|
2496
2496
|
}
|
|
2497
2497
|
});
|
|
2498
2498
|
|
|
2499
|
-
// node_modules
|
|
2499
|
+
// node_modules/semver/functions/coerce.js
|
|
2500
2500
|
var require_coerce = __commonJS({
|
|
2501
|
-
"node_modules
|
|
2501
|
+
"node_modules/semver/functions/coerce.js"(exports, module) {
|
|
2502
2502
|
init_cjs_shims();
|
|
2503
2503
|
var SemVer = require_semver();
|
|
2504
2504
|
var parse = require_parse();
|
|
@@ -2927,9 +2927,9 @@ var require_yallist = __commonJS({
|
|
|
2927
2927
|
}
|
|
2928
2928
|
});
|
|
2929
2929
|
|
|
2930
|
-
// node_modules
|
|
2930
|
+
// node_modules/semver/node_modules/lru-cache/index.js
|
|
2931
2931
|
var require_lru_cache = __commonJS({
|
|
2932
|
-
"node_modules
|
|
2932
|
+
"node_modules/semver/node_modules/lru-cache/index.js"(exports, module) {
|
|
2933
2933
|
"use strict";
|
|
2934
2934
|
init_cjs_shims();
|
|
2935
2935
|
var Yallist = require_yallist();
|
|
@@ -3197,9 +3197,9 @@ var require_lru_cache = __commonJS({
|
|
|
3197
3197
|
}
|
|
3198
3198
|
});
|
|
3199
3199
|
|
|
3200
|
-
// node_modules
|
|
3200
|
+
// node_modules/semver/classes/range.js
|
|
3201
3201
|
var require_range = __commonJS({
|
|
3202
|
-
"node_modules
|
|
3202
|
+
"node_modules/semver/classes/range.js"(exports, module) {
|
|
3203
3203
|
init_cjs_shims();
|
|
3204
3204
|
var Range = class _Range {
|
|
3205
3205
|
constructor(range, options) {
|
|
@@ -3555,9 +3555,9 @@ var require_range = __commonJS({
|
|
|
3555
3555
|
}
|
|
3556
3556
|
});
|
|
3557
3557
|
|
|
3558
|
-
// node_modules
|
|
3558
|
+
// node_modules/semver/classes/comparator.js
|
|
3559
3559
|
var require_comparator = __commonJS({
|
|
3560
|
-
"node_modules
|
|
3560
|
+
"node_modules/semver/classes/comparator.js"(exports, module) {
|
|
3561
3561
|
init_cjs_shims();
|
|
3562
3562
|
var ANY = Symbol("SemVer ANY");
|
|
3563
3563
|
var Comparator = class _Comparator {
|
|
@@ -3668,9 +3668,9 @@ var require_comparator = __commonJS({
|
|
|
3668
3668
|
}
|
|
3669
3669
|
});
|
|
3670
3670
|
|
|
3671
|
-
// node_modules
|
|
3671
|
+
// node_modules/semver/functions/satisfies.js
|
|
3672
3672
|
var require_satisfies = __commonJS({
|
|
3673
|
-
"node_modules
|
|
3673
|
+
"node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
3674
3674
|
init_cjs_shims();
|
|
3675
3675
|
var Range = require_range();
|
|
3676
3676
|
var satisfies = (version, range, options) => {
|
|
@@ -3685,9 +3685,9 @@ var require_satisfies = __commonJS({
|
|
|
3685
3685
|
}
|
|
3686
3686
|
});
|
|
3687
3687
|
|
|
3688
|
-
// node_modules
|
|
3688
|
+
// node_modules/semver/ranges/to-comparators.js
|
|
3689
3689
|
var require_to_comparators = __commonJS({
|
|
3690
|
-
"node_modules
|
|
3690
|
+
"node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
3691
3691
|
init_cjs_shims();
|
|
3692
3692
|
var Range = require_range();
|
|
3693
3693
|
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
@@ -3695,9 +3695,9 @@ var require_to_comparators = __commonJS({
|
|
|
3695
3695
|
}
|
|
3696
3696
|
});
|
|
3697
3697
|
|
|
3698
|
-
// node_modules
|
|
3698
|
+
// node_modules/semver/ranges/max-satisfying.js
|
|
3699
3699
|
var require_max_satisfying = __commonJS({
|
|
3700
|
-
"node_modules
|
|
3700
|
+
"node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
3701
3701
|
init_cjs_shims();
|
|
3702
3702
|
var SemVer = require_semver();
|
|
3703
3703
|
var Range = require_range();
|
|
@@ -3724,9 +3724,9 @@ var require_max_satisfying = __commonJS({
|
|
|
3724
3724
|
}
|
|
3725
3725
|
});
|
|
3726
3726
|
|
|
3727
|
-
// node_modules
|
|
3727
|
+
// node_modules/semver/ranges/min-satisfying.js
|
|
3728
3728
|
var require_min_satisfying = __commonJS({
|
|
3729
|
-
"node_modules
|
|
3729
|
+
"node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
3730
3730
|
init_cjs_shims();
|
|
3731
3731
|
var SemVer = require_semver();
|
|
3732
3732
|
var Range = require_range();
|
|
@@ -3753,9 +3753,9 @@ var require_min_satisfying = __commonJS({
|
|
|
3753
3753
|
}
|
|
3754
3754
|
});
|
|
3755
3755
|
|
|
3756
|
-
// node_modules
|
|
3756
|
+
// node_modules/semver/ranges/min-version.js
|
|
3757
3757
|
var require_min_version = __commonJS({
|
|
3758
|
-
"node_modules
|
|
3758
|
+
"node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
3759
3759
|
init_cjs_shims();
|
|
3760
3760
|
var SemVer = require_semver();
|
|
3761
3761
|
var Range = require_range();
|
|
@@ -3810,9 +3810,9 @@ var require_min_version = __commonJS({
|
|
|
3810
3810
|
}
|
|
3811
3811
|
});
|
|
3812
3812
|
|
|
3813
|
-
// node_modules
|
|
3813
|
+
// node_modules/semver/ranges/valid.js
|
|
3814
3814
|
var require_valid2 = __commonJS({
|
|
3815
|
-
"node_modules
|
|
3815
|
+
"node_modules/semver/ranges/valid.js"(exports, module) {
|
|
3816
3816
|
init_cjs_shims();
|
|
3817
3817
|
var Range = require_range();
|
|
3818
3818
|
var validRange = (range, options) => {
|
|
@@ -3826,9 +3826,9 @@ var require_valid2 = __commonJS({
|
|
|
3826
3826
|
}
|
|
3827
3827
|
});
|
|
3828
3828
|
|
|
3829
|
-
// node_modules
|
|
3829
|
+
// node_modules/semver/ranges/outside.js
|
|
3830
3830
|
var require_outside = __commonJS({
|
|
3831
|
-
"node_modules
|
|
3831
|
+
"node_modules/semver/ranges/outside.js"(exports, module) {
|
|
3832
3832
|
init_cjs_shims();
|
|
3833
3833
|
var SemVer = require_semver();
|
|
3834
3834
|
var Comparator = require_comparator();
|
|
@@ -3895,9 +3895,9 @@ var require_outside = __commonJS({
|
|
|
3895
3895
|
}
|
|
3896
3896
|
});
|
|
3897
3897
|
|
|
3898
|
-
// node_modules
|
|
3898
|
+
// node_modules/semver/ranges/gtr.js
|
|
3899
3899
|
var require_gtr = __commonJS({
|
|
3900
|
-
"node_modules
|
|
3900
|
+
"node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
3901
3901
|
init_cjs_shims();
|
|
3902
3902
|
var outside = require_outside();
|
|
3903
3903
|
var gtr = (version, range, options) => outside(version, range, ">", options);
|
|
@@ -3905,9 +3905,9 @@ var require_gtr = __commonJS({
|
|
|
3905
3905
|
}
|
|
3906
3906
|
});
|
|
3907
3907
|
|
|
3908
|
-
// node_modules
|
|
3908
|
+
// node_modules/semver/ranges/ltr.js
|
|
3909
3909
|
var require_ltr = __commonJS({
|
|
3910
|
-
"node_modules
|
|
3910
|
+
"node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
3911
3911
|
init_cjs_shims();
|
|
3912
3912
|
var outside = require_outside();
|
|
3913
3913
|
var ltr = (version, range, options) => outside(version, range, "<", options);
|
|
@@ -3915,9 +3915,9 @@ var require_ltr = __commonJS({
|
|
|
3915
3915
|
}
|
|
3916
3916
|
});
|
|
3917
3917
|
|
|
3918
|
-
// node_modules
|
|
3918
|
+
// node_modules/semver/ranges/intersects.js
|
|
3919
3919
|
var require_intersects = __commonJS({
|
|
3920
|
-
"node_modules
|
|
3920
|
+
"node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
3921
3921
|
init_cjs_shims();
|
|
3922
3922
|
var Range = require_range();
|
|
3923
3923
|
var intersects = (r1, r2, options) => {
|
|
@@ -3929,9 +3929,9 @@ var require_intersects = __commonJS({
|
|
|
3929
3929
|
}
|
|
3930
3930
|
});
|
|
3931
3931
|
|
|
3932
|
-
// node_modules
|
|
3932
|
+
// node_modules/semver/ranges/simplify.js
|
|
3933
3933
|
var require_simplify = __commonJS({
|
|
3934
|
-
"node_modules
|
|
3934
|
+
"node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
3935
3935
|
init_cjs_shims();
|
|
3936
3936
|
var satisfies = require_satisfies();
|
|
3937
3937
|
var compare = require_compare();
|
|
@@ -3979,9 +3979,9 @@ var require_simplify = __commonJS({
|
|
|
3979
3979
|
}
|
|
3980
3980
|
});
|
|
3981
3981
|
|
|
3982
|
-
// node_modules
|
|
3982
|
+
// node_modules/semver/ranges/subset.js
|
|
3983
3983
|
var require_subset = __commonJS({
|
|
3984
|
-
"node_modules
|
|
3984
|
+
"node_modules/semver/ranges/subset.js"(exports, module) {
|
|
3985
3985
|
init_cjs_shims();
|
|
3986
3986
|
var Range = require_range();
|
|
3987
3987
|
var Comparator = require_comparator();
|
|
@@ -4141,9 +4141,9 @@ var require_subset = __commonJS({
|
|
|
4141
4141
|
}
|
|
4142
4142
|
});
|
|
4143
4143
|
|
|
4144
|
-
// node_modules
|
|
4144
|
+
// node_modules/semver/index.js
|
|
4145
4145
|
var require_semver2 = __commonJS({
|
|
4146
|
-
"node_modules
|
|
4146
|
+
"node_modules/semver/index.js"(exports, module) {
|
|
4147
4147
|
init_cjs_shims();
|
|
4148
4148
|
var internalRe = require_re();
|
|
4149
4149
|
var constants = require_constants();
|
|
@@ -4236,2113 +4236,12 @@ var require_semver2 = __commonJS({
|
|
|
4236
4236
|
}
|
|
4237
4237
|
});
|
|
4238
4238
|
|
|
4239
|
-
// node_modules/
|
|
4240
|
-
var
|
|
4241
|
-
"node_modules/
|
|
4242
|
-
|
|
4243
|
-
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
4244
|
-
var MAX_LENGTH = 256;
|
|
4245
|
-
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
4246
|
-
9007199254740991;
|
|
4247
|
-
var MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
4248
|
-
var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
|
|
4249
|
-
var RELEASE_TYPES = [
|
|
4250
|
-
"major",
|
|
4251
|
-
"premajor",
|
|
4252
|
-
"minor",
|
|
4253
|
-
"preminor",
|
|
4254
|
-
"patch",
|
|
4255
|
-
"prepatch",
|
|
4256
|
-
"prerelease"
|
|
4257
|
-
];
|
|
4258
|
-
module.exports = {
|
|
4259
|
-
MAX_LENGTH,
|
|
4260
|
-
MAX_SAFE_COMPONENT_LENGTH,
|
|
4261
|
-
MAX_SAFE_BUILD_LENGTH,
|
|
4262
|
-
MAX_SAFE_INTEGER,
|
|
4263
|
-
RELEASE_TYPES,
|
|
4264
|
-
SEMVER_SPEC_VERSION,
|
|
4265
|
-
FLAG_INCLUDE_PRERELEASE: 1,
|
|
4266
|
-
FLAG_LOOSE: 2
|
|
4267
|
-
};
|
|
4268
|
-
}
|
|
4269
|
-
});
|
|
4270
|
-
|
|
4271
|
-
// node_modules/semver/internal/debug.js
|
|
4272
|
-
var require_debug2 = __commonJS({
|
|
4273
|
-
"node_modules/semver/internal/debug.js"(exports, module) {
|
|
4274
|
-
init_cjs_shims();
|
|
4275
|
-
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
4276
|
-
};
|
|
4277
|
-
module.exports = debug;
|
|
4278
|
-
}
|
|
4279
|
-
});
|
|
4280
|
-
|
|
4281
|
-
// node_modules/semver/internal/re.js
|
|
4282
|
-
var require_re2 = __commonJS({
|
|
4283
|
-
"node_modules/semver/internal/re.js"(exports, module) {
|
|
4284
|
-
init_cjs_shims();
|
|
4285
|
-
var {
|
|
4286
|
-
MAX_SAFE_COMPONENT_LENGTH,
|
|
4287
|
-
MAX_SAFE_BUILD_LENGTH,
|
|
4288
|
-
MAX_LENGTH
|
|
4289
|
-
} = require_constants2();
|
|
4290
|
-
var debug = require_debug2();
|
|
4291
|
-
exports = module.exports = {};
|
|
4292
|
-
var re = exports.re = [];
|
|
4293
|
-
var safeRe = exports.safeRe = [];
|
|
4294
|
-
var src = exports.src = [];
|
|
4295
|
-
var t = exports.t = {};
|
|
4296
|
-
var R = 0;
|
|
4297
|
-
var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
|
|
4298
|
-
var safeRegexReplacements = [
|
|
4299
|
-
["\\s", 1],
|
|
4300
|
-
["\\d", MAX_LENGTH],
|
|
4301
|
-
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
|
|
4302
|
-
];
|
|
4303
|
-
var makeSafeRegex = (value) => {
|
|
4304
|
-
for (const [token, max] of safeRegexReplacements) {
|
|
4305
|
-
value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
|
|
4306
|
-
}
|
|
4307
|
-
return value;
|
|
4308
|
-
};
|
|
4309
|
-
var createToken = (name, value, isGlobal) => {
|
|
4310
|
-
const safe = makeSafeRegex(value);
|
|
4311
|
-
const index = R++;
|
|
4312
|
-
debug(name, index, value);
|
|
4313
|
-
t[name] = index;
|
|
4314
|
-
src[index] = value;
|
|
4315
|
-
re[index] = new RegExp(value, isGlobal ? "g" : void 0);
|
|
4316
|
-
safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
|
|
4317
|
-
};
|
|
4318
|
-
createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
|
|
4319
|
-
createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
|
|
4320
|
-
createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
4321
|
-
createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
4322
|
-
createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
4323
|
-
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
4324
|
-
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
4325
|
-
createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
4326
|
-
createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
4327
|
-
createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
|
|
4328
|
-
createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
4329
|
-
createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
4330
|
-
createToken("FULL", `^${src[t.FULLPLAIN]}$`);
|
|
4331
|
-
createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
4332
|
-
createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
|
|
4333
|
-
createToken("GTLT", "((?:<|>)?=?)");
|
|
4334
|
-
createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
4335
|
-
createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
4336
|
-
createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
|
|
4337
|
-
createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
|
|
4338
|
-
createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
4339
|
-
createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
4340
|
-
createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
|
4341
|
-
createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
|
4342
|
-
createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
|
|
4343
|
-
createToken("COERCERTL", src[t.COERCE], true);
|
|
4344
|
-
createToken("COERCERTLFULL", src[t.COERCEFULL], true);
|
|
4345
|
-
createToken("LONETILDE", "(?:~>?)");
|
|
4346
|
-
createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
|
|
4347
|
-
exports.tildeTrimReplace = "$1~";
|
|
4348
|
-
createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
4349
|
-
createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
4350
|
-
createToken("LONECARET", "(?:\\^)");
|
|
4351
|
-
createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
|
|
4352
|
-
exports.caretTrimReplace = "$1^";
|
|
4353
|
-
createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
4354
|
-
createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
4355
|
-
createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
4356
|
-
createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
4357
|
-
createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
|
|
4358
|
-
exports.comparatorTrimReplace = "$1$2$3";
|
|
4359
|
-
createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
|
|
4360
|
-
createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
|
|
4361
|
-
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
4362
|
-
createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
4363
|
-
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
4364
|
-
}
|
|
4365
|
-
});
|
|
4366
|
-
|
|
4367
|
-
// node_modules/semver/internal/parse-options.js
|
|
4368
|
-
var require_parse_options2 = __commonJS({
|
|
4369
|
-
"node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
4370
|
-
init_cjs_shims();
|
|
4371
|
-
var looseOption = Object.freeze({ loose: true });
|
|
4372
|
-
var emptyOpts = Object.freeze({});
|
|
4373
|
-
var parseOptions = (options) => {
|
|
4374
|
-
if (!options) {
|
|
4375
|
-
return emptyOpts;
|
|
4376
|
-
}
|
|
4377
|
-
if (typeof options !== "object") {
|
|
4378
|
-
return looseOption;
|
|
4379
|
-
}
|
|
4380
|
-
return options;
|
|
4381
|
-
};
|
|
4382
|
-
module.exports = parseOptions;
|
|
4383
|
-
}
|
|
4384
|
-
});
|
|
4385
|
-
|
|
4386
|
-
// node_modules/semver/internal/identifiers.js
|
|
4387
|
-
var require_identifiers2 = __commonJS({
|
|
4388
|
-
"node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
4239
|
+
// node_modules/builtins/index.js
|
|
4240
|
+
var require_builtins = __commonJS({
|
|
4241
|
+
"node_modules/builtins/index.js"(exports, module) {
|
|
4242
|
+
"use strict";
|
|
4389
4243
|
init_cjs_shims();
|
|
4390
|
-
var
|
|
4391
|
-
var compareIdentifiers = (a, b) => {
|
|
4392
|
-
const anum = numeric.test(a);
|
|
4393
|
-
const bnum = numeric.test(b);
|
|
4394
|
-
if (anum && bnum) {
|
|
4395
|
-
a = +a;
|
|
4396
|
-
b = +b;
|
|
4397
|
-
}
|
|
4398
|
-
return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
4399
|
-
};
|
|
4400
|
-
var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
|
|
4401
|
-
module.exports = {
|
|
4402
|
-
compareIdentifiers,
|
|
4403
|
-
rcompareIdentifiers
|
|
4404
|
-
};
|
|
4405
|
-
}
|
|
4406
|
-
});
|
|
4407
|
-
|
|
4408
|
-
// node_modules/semver/classes/semver.js
|
|
4409
|
-
var require_semver3 = __commonJS({
|
|
4410
|
-
"node_modules/semver/classes/semver.js"(exports, module) {
|
|
4411
|
-
init_cjs_shims();
|
|
4412
|
-
var debug = require_debug2();
|
|
4413
|
-
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants2();
|
|
4414
|
-
var { safeRe: re, t } = require_re2();
|
|
4415
|
-
var parseOptions = require_parse_options2();
|
|
4416
|
-
var { compareIdentifiers } = require_identifiers2();
|
|
4417
|
-
var SemVer = class _SemVer {
|
|
4418
|
-
constructor(version, options) {
|
|
4419
|
-
options = parseOptions(options);
|
|
4420
|
-
if (version instanceof _SemVer) {
|
|
4421
|
-
if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
|
|
4422
|
-
return version;
|
|
4423
|
-
} else {
|
|
4424
|
-
version = version.version;
|
|
4425
|
-
}
|
|
4426
|
-
} else if (typeof version !== "string") {
|
|
4427
|
-
throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
4428
|
-
}
|
|
4429
|
-
if (version.length > MAX_LENGTH) {
|
|
4430
|
-
throw new TypeError(
|
|
4431
|
-
`version is longer than ${MAX_LENGTH} characters`
|
|
4432
|
-
);
|
|
4433
|
-
}
|
|
4434
|
-
debug("SemVer", version, options);
|
|
4435
|
-
this.options = options;
|
|
4436
|
-
this.loose = !!options.loose;
|
|
4437
|
-
this.includePrerelease = !!options.includePrerelease;
|
|
4438
|
-
const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
4439
|
-
if (!m) {
|
|
4440
|
-
throw new TypeError(`Invalid Version: ${version}`);
|
|
4441
|
-
}
|
|
4442
|
-
this.raw = version;
|
|
4443
|
-
this.major = +m[1];
|
|
4444
|
-
this.minor = +m[2];
|
|
4445
|
-
this.patch = +m[3];
|
|
4446
|
-
if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
|
|
4447
|
-
throw new TypeError("Invalid major version");
|
|
4448
|
-
}
|
|
4449
|
-
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
|
|
4450
|
-
throw new TypeError("Invalid minor version");
|
|
4451
|
-
}
|
|
4452
|
-
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
|
|
4453
|
-
throw new TypeError("Invalid patch version");
|
|
4454
|
-
}
|
|
4455
|
-
if (!m[4]) {
|
|
4456
|
-
this.prerelease = [];
|
|
4457
|
-
} else {
|
|
4458
|
-
this.prerelease = m[4].split(".").map((id) => {
|
|
4459
|
-
if (/^[0-9]+$/.test(id)) {
|
|
4460
|
-
const num = +id;
|
|
4461
|
-
if (num >= 0 && num < MAX_SAFE_INTEGER) {
|
|
4462
|
-
return num;
|
|
4463
|
-
}
|
|
4464
|
-
}
|
|
4465
|
-
return id;
|
|
4466
|
-
});
|
|
4467
|
-
}
|
|
4468
|
-
this.build = m[5] ? m[5].split(".") : [];
|
|
4469
|
-
this.format();
|
|
4470
|
-
}
|
|
4471
|
-
format() {
|
|
4472
|
-
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
4473
|
-
if (this.prerelease.length) {
|
|
4474
|
-
this.version += `-${this.prerelease.join(".")}`;
|
|
4475
|
-
}
|
|
4476
|
-
return this.version;
|
|
4477
|
-
}
|
|
4478
|
-
toString() {
|
|
4479
|
-
return this.version;
|
|
4480
|
-
}
|
|
4481
|
-
compare(other) {
|
|
4482
|
-
debug("SemVer.compare", this.version, this.options, other);
|
|
4483
|
-
if (!(other instanceof _SemVer)) {
|
|
4484
|
-
if (typeof other === "string" && other === this.version) {
|
|
4485
|
-
return 0;
|
|
4486
|
-
}
|
|
4487
|
-
other = new _SemVer(other, this.options);
|
|
4488
|
-
}
|
|
4489
|
-
if (other.version === this.version) {
|
|
4490
|
-
return 0;
|
|
4491
|
-
}
|
|
4492
|
-
return this.compareMain(other) || this.comparePre(other);
|
|
4493
|
-
}
|
|
4494
|
-
compareMain(other) {
|
|
4495
|
-
if (!(other instanceof _SemVer)) {
|
|
4496
|
-
other = new _SemVer(other, this.options);
|
|
4497
|
-
}
|
|
4498
|
-
return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
|
|
4499
|
-
}
|
|
4500
|
-
comparePre(other) {
|
|
4501
|
-
if (!(other instanceof _SemVer)) {
|
|
4502
|
-
other = new _SemVer(other, this.options);
|
|
4503
|
-
}
|
|
4504
|
-
if (this.prerelease.length && !other.prerelease.length) {
|
|
4505
|
-
return -1;
|
|
4506
|
-
} else if (!this.prerelease.length && other.prerelease.length) {
|
|
4507
|
-
return 1;
|
|
4508
|
-
} else if (!this.prerelease.length && !other.prerelease.length) {
|
|
4509
|
-
return 0;
|
|
4510
|
-
}
|
|
4511
|
-
let i = 0;
|
|
4512
|
-
do {
|
|
4513
|
-
const a = this.prerelease[i];
|
|
4514
|
-
const b = other.prerelease[i];
|
|
4515
|
-
debug("prerelease compare", i, a, b);
|
|
4516
|
-
if (a === void 0 && b === void 0) {
|
|
4517
|
-
return 0;
|
|
4518
|
-
} else if (b === void 0) {
|
|
4519
|
-
return 1;
|
|
4520
|
-
} else if (a === void 0) {
|
|
4521
|
-
return -1;
|
|
4522
|
-
} else if (a === b) {
|
|
4523
|
-
continue;
|
|
4524
|
-
} else {
|
|
4525
|
-
return compareIdentifiers(a, b);
|
|
4526
|
-
}
|
|
4527
|
-
} while (++i);
|
|
4528
|
-
}
|
|
4529
|
-
compareBuild(other) {
|
|
4530
|
-
if (!(other instanceof _SemVer)) {
|
|
4531
|
-
other = new _SemVer(other, this.options);
|
|
4532
|
-
}
|
|
4533
|
-
let i = 0;
|
|
4534
|
-
do {
|
|
4535
|
-
const a = this.build[i];
|
|
4536
|
-
const b = other.build[i];
|
|
4537
|
-
debug("prerelease compare", i, a, b);
|
|
4538
|
-
if (a === void 0 && b === void 0) {
|
|
4539
|
-
return 0;
|
|
4540
|
-
} else if (b === void 0) {
|
|
4541
|
-
return 1;
|
|
4542
|
-
} else if (a === void 0) {
|
|
4543
|
-
return -1;
|
|
4544
|
-
} else if (a === b) {
|
|
4545
|
-
continue;
|
|
4546
|
-
} else {
|
|
4547
|
-
return compareIdentifiers(a, b);
|
|
4548
|
-
}
|
|
4549
|
-
} while (++i);
|
|
4550
|
-
}
|
|
4551
|
-
// preminor will bump the version up to the next minor release, and immediately
|
|
4552
|
-
// down to pre-release. premajor and prepatch work the same way.
|
|
4553
|
-
inc(release, identifier, identifierBase) {
|
|
4554
|
-
switch (release) {
|
|
4555
|
-
case "premajor":
|
|
4556
|
-
this.prerelease.length = 0;
|
|
4557
|
-
this.patch = 0;
|
|
4558
|
-
this.minor = 0;
|
|
4559
|
-
this.major++;
|
|
4560
|
-
this.inc("pre", identifier, identifierBase);
|
|
4561
|
-
break;
|
|
4562
|
-
case "preminor":
|
|
4563
|
-
this.prerelease.length = 0;
|
|
4564
|
-
this.patch = 0;
|
|
4565
|
-
this.minor++;
|
|
4566
|
-
this.inc("pre", identifier, identifierBase);
|
|
4567
|
-
break;
|
|
4568
|
-
case "prepatch":
|
|
4569
|
-
this.prerelease.length = 0;
|
|
4570
|
-
this.inc("patch", identifier, identifierBase);
|
|
4571
|
-
this.inc("pre", identifier, identifierBase);
|
|
4572
|
-
break;
|
|
4573
|
-
case "prerelease":
|
|
4574
|
-
if (this.prerelease.length === 0) {
|
|
4575
|
-
this.inc("patch", identifier, identifierBase);
|
|
4576
|
-
}
|
|
4577
|
-
this.inc("pre", identifier, identifierBase);
|
|
4578
|
-
break;
|
|
4579
|
-
case "major":
|
|
4580
|
-
if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
|
|
4581
|
-
this.major++;
|
|
4582
|
-
}
|
|
4583
|
-
this.minor = 0;
|
|
4584
|
-
this.patch = 0;
|
|
4585
|
-
this.prerelease = [];
|
|
4586
|
-
break;
|
|
4587
|
-
case "minor":
|
|
4588
|
-
if (this.patch !== 0 || this.prerelease.length === 0) {
|
|
4589
|
-
this.minor++;
|
|
4590
|
-
}
|
|
4591
|
-
this.patch = 0;
|
|
4592
|
-
this.prerelease = [];
|
|
4593
|
-
break;
|
|
4594
|
-
case "patch":
|
|
4595
|
-
if (this.prerelease.length === 0) {
|
|
4596
|
-
this.patch++;
|
|
4597
|
-
}
|
|
4598
|
-
this.prerelease = [];
|
|
4599
|
-
break;
|
|
4600
|
-
case "pre": {
|
|
4601
|
-
const base = Number(identifierBase) ? 1 : 0;
|
|
4602
|
-
if (!identifier && identifierBase === false) {
|
|
4603
|
-
throw new Error("invalid increment argument: identifier is empty");
|
|
4604
|
-
}
|
|
4605
|
-
if (this.prerelease.length === 0) {
|
|
4606
|
-
this.prerelease = [base];
|
|
4607
|
-
} else {
|
|
4608
|
-
let i = this.prerelease.length;
|
|
4609
|
-
while (--i >= 0) {
|
|
4610
|
-
if (typeof this.prerelease[i] === "number") {
|
|
4611
|
-
this.prerelease[i]++;
|
|
4612
|
-
i = -2;
|
|
4613
|
-
}
|
|
4614
|
-
}
|
|
4615
|
-
if (i === -1) {
|
|
4616
|
-
if (identifier === this.prerelease.join(".") && identifierBase === false) {
|
|
4617
|
-
throw new Error("invalid increment argument: identifier already exists");
|
|
4618
|
-
}
|
|
4619
|
-
this.prerelease.push(base);
|
|
4620
|
-
}
|
|
4621
|
-
}
|
|
4622
|
-
if (identifier) {
|
|
4623
|
-
let prerelease = [identifier, base];
|
|
4624
|
-
if (identifierBase === false) {
|
|
4625
|
-
prerelease = [identifier];
|
|
4626
|
-
}
|
|
4627
|
-
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
|
|
4628
|
-
if (isNaN(this.prerelease[1])) {
|
|
4629
|
-
this.prerelease = prerelease;
|
|
4630
|
-
}
|
|
4631
|
-
} else {
|
|
4632
|
-
this.prerelease = prerelease;
|
|
4633
|
-
}
|
|
4634
|
-
}
|
|
4635
|
-
break;
|
|
4636
|
-
}
|
|
4637
|
-
default:
|
|
4638
|
-
throw new Error(`invalid increment argument: ${release}`);
|
|
4639
|
-
}
|
|
4640
|
-
this.raw = this.format();
|
|
4641
|
-
if (this.build.length) {
|
|
4642
|
-
this.raw += `+${this.build.join(".")}`;
|
|
4643
|
-
}
|
|
4644
|
-
return this;
|
|
4645
|
-
}
|
|
4646
|
-
};
|
|
4647
|
-
module.exports = SemVer;
|
|
4648
|
-
}
|
|
4649
|
-
});
|
|
4650
|
-
|
|
4651
|
-
// node_modules/semver/functions/parse.js
|
|
4652
|
-
var require_parse2 = __commonJS({
|
|
4653
|
-
"node_modules/semver/functions/parse.js"(exports, module) {
|
|
4654
|
-
init_cjs_shims();
|
|
4655
|
-
var SemVer = require_semver3();
|
|
4656
|
-
var parse = (version, options, throwErrors = false) => {
|
|
4657
|
-
if (version instanceof SemVer) {
|
|
4658
|
-
return version;
|
|
4659
|
-
}
|
|
4660
|
-
try {
|
|
4661
|
-
return new SemVer(version, options);
|
|
4662
|
-
} catch (er) {
|
|
4663
|
-
if (!throwErrors) {
|
|
4664
|
-
return null;
|
|
4665
|
-
}
|
|
4666
|
-
throw er;
|
|
4667
|
-
}
|
|
4668
|
-
};
|
|
4669
|
-
module.exports = parse;
|
|
4670
|
-
}
|
|
4671
|
-
});
|
|
4672
|
-
|
|
4673
|
-
// node_modules/semver/functions/valid.js
|
|
4674
|
-
var require_valid3 = __commonJS({
|
|
4675
|
-
"node_modules/semver/functions/valid.js"(exports, module) {
|
|
4676
|
-
init_cjs_shims();
|
|
4677
|
-
var parse = require_parse2();
|
|
4678
|
-
var valid = (version, options) => {
|
|
4679
|
-
const v = parse(version, options);
|
|
4680
|
-
return v ? v.version : null;
|
|
4681
|
-
};
|
|
4682
|
-
module.exports = valid;
|
|
4683
|
-
}
|
|
4684
|
-
});
|
|
4685
|
-
|
|
4686
|
-
// node_modules/semver/functions/clean.js
|
|
4687
|
-
var require_clean2 = __commonJS({
|
|
4688
|
-
"node_modules/semver/functions/clean.js"(exports, module) {
|
|
4689
|
-
init_cjs_shims();
|
|
4690
|
-
var parse = require_parse2();
|
|
4691
|
-
var clean = (version, options) => {
|
|
4692
|
-
const s = parse(version.trim().replace(/^[=v]+/, ""), options);
|
|
4693
|
-
return s ? s.version : null;
|
|
4694
|
-
};
|
|
4695
|
-
module.exports = clean;
|
|
4696
|
-
}
|
|
4697
|
-
});
|
|
4698
|
-
|
|
4699
|
-
// node_modules/semver/functions/inc.js
|
|
4700
|
-
var require_inc2 = __commonJS({
|
|
4701
|
-
"node_modules/semver/functions/inc.js"(exports, module) {
|
|
4702
|
-
init_cjs_shims();
|
|
4703
|
-
var SemVer = require_semver3();
|
|
4704
|
-
var inc = (version, release, options, identifier, identifierBase) => {
|
|
4705
|
-
if (typeof options === "string") {
|
|
4706
|
-
identifierBase = identifier;
|
|
4707
|
-
identifier = options;
|
|
4708
|
-
options = void 0;
|
|
4709
|
-
}
|
|
4710
|
-
try {
|
|
4711
|
-
return new SemVer(
|
|
4712
|
-
version instanceof SemVer ? version.version : version,
|
|
4713
|
-
options
|
|
4714
|
-
).inc(release, identifier, identifierBase).version;
|
|
4715
|
-
} catch (er) {
|
|
4716
|
-
return null;
|
|
4717
|
-
}
|
|
4718
|
-
};
|
|
4719
|
-
module.exports = inc;
|
|
4720
|
-
}
|
|
4721
|
-
});
|
|
4722
|
-
|
|
4723
|
-
// node_modules/semver/functions/diff.js
|
|
4724
|
-
var require_diff2 = __commonJS({
|
|
4725
|
-
"node_modules/semver/functions/diff.js"(exports, module) {
|
|
4726
|
-
init_cjs_shims();
|
|
4727
|
-
var parse = require_parse2();
|
|
4728
|
-
var diff = (version1, version2) => {
|
|
4729
|
-
const v1 = parse(version1, null, true);
|
|
4730
|
-
const v2 = parse(version2, null, true);
|
|
4731
|
-
const comparison = v1.compare(v2);
|
|
4732
|
-
if (comparison === 0) {
|
|
4733
|
-
return null;
|
|
4734
|
-
}
|
|
4735
|
-
const v1Higher = comparison > 0;
|
|
4736
|
-
const highVersion = v1Higher ? v1 : v2;
|
|
4737
|
-
const lowVersion = v1Higher ? v2 : v1;
|
|
4738
|
-
const highHasPre = !!highVersion.prerelease.length;
|
|
4739
|
-
const lowHasPre = !!lowVersion.prerelease.length;
|
|
4740
|
-
if (lowHasPre && !highHasPre) {
|
|
4741
|
-
if (!lowVersion.patch && !lowVersion.minor) {
|
|
4742
|
-
return "major";
|
|
4743
|
-
}
|
|
4744
|
-
if (highVersion.patch) {
|
|
4745
|
-
return "patch";
|
|
4746
|
-
}
|
|
4747
|
-
if (highVersion.minor) {
|
|
4748
|
-
return "minor";
|
|
4749
|
-
}
|
|
4750
|
-
return "major";
|
|
4751
|
-
}
|
|
4752
|
-
const prefix = highHasPre ? "pre" : "";
|
|
4753
|
-
if (v1.major !== v2.major) {
|
|
4754
|
-
return prefix + "major";
|
|
4755
|
-
}
|
|
4756
|
-
if (v1.minor !== v2.minor) {
|
|
4757
|
-
return prefix + "minor";
|
|
4758
|
-
}
|
|
4759
|
-
if (v1.patch !== v2.patch) {
|
|
4760
|
-
return prefix + "patch";
|
|
4761
|
-
}
|
|
4762
|
-
return "prerelease";
|
|
4763
|
-
};
|
|
4764
|
-
module.exports = diff;
|
|
4765
|
-
}
|
|
4766
|
-
});
|
|
4767
|
-
|
|
4768
|
-
// node_modules/semver/functions/major.js
|
|
4769
|
-
var require_major2 = __commonJS({
|
|
4770
|
-
"node_modules/semver/functions/major.js"(exports, module) {
|
|
4771
|
-
init_cjs_shims();
|
|
4772
|
-
var SemVer = require_semver3();
|
|
4773
|
-
var major = (a, loose) => new SemVer(a, loose).major;
|
|
4774
|
-
module.exports = major;
|
|
4775
|
-
}
|
|
4776
|
-
});
|
|
4777
|
-
|
|
4778
|
-
// node_modules/semver/functions/minor.js
|
|
4779
|
-
var require_minor2 = __commonJS({
|
|
4780
|
-
"node_modules/semver/functions/minor.js"(exports, module) {
|
|
4781
|
-
init_cjs_shims();
|
|
4782
|
-
var SemVer = require_semver3();
|
|
4783
|
-
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
4784
|
-
module.exports = minor;
|
|
4785
|
-
}
|
|
4786
|
-
});
|
|
4787
|
-
|
|
4788
|
-
// node_modules/semver/functions/patch.js
|
|
4789
|
-
var require_patch2 = __commonJS({
|
|
4790
|
-
"node_modules/semver/functions/patch.js"(exports, module) {
|
|
4791
|
-
init_cjs_shims();
|
|
4792
|
-
var SemVer = require_semver3();
|
|
4793
|
-
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
4794
|
-
module.exports = patch;
|
|
4795
|
-
}
|
|
4796
|
-
});
|
|
4797
|
-
|
|
4798
|
-
// node_modules/semver/functions/prerelease.js
|
|
4799
|
-
var require_prerelease2 = __commonJS({
|
|
4800
|
-
"node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
4801
|
-
init_cjs_shims();
|
|
4802
|
-
var parse = require_parse2();
|
|
4803
|
-
var prerelease = (version, options) => {
|
|
4804
|
-
const parsed = parse(version, options);
|
|
4805
|
-
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
4806
|
-
};
|
|
4807
|
-
module.exports = prerelease;
|
|
4808
|
-
}
|
|
4809
|
-
});
|
|
4810
|
-
|
|
4811
|
-
// node_modules/semver/functions/compare.js
|
|
4812
|
-
var require_compare2 = __commonJS({
|
|
4813
|
-
"node_modules/semver/functions/compare.js"(exports, module) {
|
|
4814
|
-
init_cjs_shims();
|
|
4815
|
-
var SemVer = require_semver3();
|
|
4816
|
-
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
4817
|
-
module.exports = compare;
|
|
4818
|
-
}
|
|
4819
|
-
});
|
|
4820
|
-
|
|
4821
|
-
// node_modules/semver/functions/rcompare.js
|
|
4822
|
-
var require_rcompare2 = __commonJS({
|
|
4823
|
-
"node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
4824
|
-
init_cjs_shims();
|
|
4825
|
-
var compare = require_compare2();
|
|
4826
|
-
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
4827
|
-
module.exports = rcompare;
|
|
4828
|
-
}
|
|
4829
|
-
});
|
|
4830
|
-
|
|
4831
|
-
// node_modules/semver/functions/compare-loose.js
|
|
4832
|
-
var require_compare_loose2 = __commonJS({
|
|
4833
|
-
"node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
4834
|
-
init_cjs_shims();
|
|
4835
|
-
var compare = require_compare2();
|
|
4836
|
-
var compareLoose = (a, b) => compare(a, b, true);
|
|
4837
|
-
module.exports = compareLoose;
|
|
4838
|
-
}
|
|
4839
|
-
});
|
|
4840
|
-
|
|
4841
|
-
// node_modules/semver/functions/compare-build.js
|
|
4842
|
-
var require_compare_build2 = __commonJS({
|
|
4843
|
-
"node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
4844
|
-
init_cjs_shims();
|
|
4845
|
-
var SemVer = require_semver3();
|
|
4846
|
-
var compareBuild = (a, b, loose) => {
|
|
4847
|
-
const versionA = new SemVer(a, loose);
|
|
4848
|
-
const versionB = new SemVer(b, loose);
|
|
4849
|
-
return versionA.compare(versionB) || versionA.compareBuild(versionB);
|
|
4850
|
-
};
|
|
4851
|
-
module.exports = compareBuild;
|
|
4852
|
-
}
|
|
4853
|
-
});
|
|
4854
|
-
|
|
4855
|
-
// node_modules/semver/functions/sort.js
|
|
4856
|
-
var require_sort2 = __commonJS({
|
|
4857
|
-
"node_modules/semver/functions/sort.js"(exports, module) {
|
|
4858
|
-
init_cjs_shims();
|
|
4859
|
-
var compareBuild = require_compare_build2();
|
|
4860
|
-
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
4861
|
-
module.exports = sort;
|
|
4862
|
-
}
|
|
4863
|
-
});
|
|
4864
|
-
|
|
4865
|
-
// node_modules/semver/functions/rsort.js
|
|
4866
|
-
var require_rsort2 = __commonJS({
|
|
4867
|
-
"node_modules/semver/functions/rsort.js"(exports, module) {
|
|
4868
|
-
init_cjs_shims();
|
|
4869
|
-
var compareBuild = require_compare_build2();
|
|
4870
|
-
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
4871
|
-
module.exports = rsort;
|
|
4872
|
-
}
|
|
4873
|
-
});
|
|
4874
|
-
|
|
4875
|
-
// node_modules/semver/functions/gt.js
|
|
4876
|
-
var require_gt2 = __commonJS({
|
|
4877
|
-
"node_modules/semver/functions/gt.js"(exports, module) {
|
|
4878
|
-
init_cjs_shims();
|
|
4879
|
-
var compare = require_compare2();
|
|
4880
|
-
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
4881
|
-
module.exports = gt;
|
|
4882
|
-
}
|
|
4883
|
-
});
|
|
4884
|
-
|
|
4885
|
-
// node_modules/semver/functions/lt.js
|
|
4886
|
-
var require_lt2 = __commonJS({
|
|
4887
|
-
"node_modules/semver/functions/lt.js"(exports, module) {
|
|
4888
|
-
init_cjs_shims();
|
|
4889
|
-
var compare = require_compare2();
|
|
4890
|
-
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
4891
|
-
module.exports = lt;
|
|
4892
|
-
}
|
|
4893
|
-
});
|
|
4894
|
-
|
|
4895
|
-
// node_modules/semver/functions/eq.js
|
|
4896
|
-
var require_eq2 = __commonJS({
|
|
4897
|
-
"node_modules/semver/functions/eq.js"(exports, module) {
|
|
4898
|
-
init_cjs_shims();
|
|
4899
|
-
var compare = require_compare2();
|
|
4900
|
-
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
4901
|
-
module.exports = eq;
|
|
4902
|
-
}
|
|
4903
|
-
});
|
|
4904
|
-
|
|
4905
|
-
// node_modules/semver/functions/neq.js
|
|
4906
|
-
var require_neq2 = __commonJS({
|
|
4907
|
-
"node_modules/semver/functions/neq.js"(exports, module) {
|
|
4908
|
-
init_cjs_shims();
|
|
4909
|
-
var compare = require_compare2();
|
|
4910
|
-
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
4911
|
-
module.exports = neq;
|
|
4912
|
-
}
|
|
4913
|
-
});
|
|
4914
|
-
|
|
4915
|
-
// node_modules/semver/functions/gte.js
|
|
4916
|
-
var require_gte2 = __commonJS({
|
|
4917
|
-
"node_modules/semver/functions/gte.js"(exports, module) {
|
|
4918
|
-
init_cjs_shims();
|
|
4919
|
-
var compare = require_compare2();
|
|
4920
|
-
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
4921
|
-
module.exports = gte;
|
|
4922
|
-
}
|
|
4923
|
-
});
|
|
4924
|
-
|
|
4925
|
-
// node_modules/semver/functions/lte.js
|
|
4926
|
-
var require_lte2 = __commonJS({
|
|
4927
|
-
"node_modules/semver/functions/lte.js"(exports, module) {
|
|
4928
|
-
init_cjs_shims();
|
|
4929
|
-
var compare = require_compare2();
|
|
4930
|
-
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
4931
|
-
module.exports = lte;
|
|
4932
|
-
}
|
|
4933
|
-
});
|
|
4934
|
-
|
|
4935
|
-
// node_modules/semver/functions/cmp.js
|
|
4936
|
-
var require_cmp2 = __commonJS({
|
|
4937
|
-
"node_modules/semver/functions/cmp.js"(exports, module) {
|
|
4938
|
-
init_cjs_shims();
|
|
4939
|
-
var eq = require_eq2();
|
|
4940
|
-
var neq = require_neq2();
|
|
4941
|
-
var gt = require_gt2();
|
|
4942
|
-
var gte = require_gte2();
|
|
4943
|
-
var lt = require_lt2();
|
|
4944
|
-
var lte = require_lte2();
|
|
4945
|
-
var cmp = (a, op, b, loose) => {
|
|
4946
|
-
switch (op) {
|
|
4947
|
-
case "===":
|
|
4948
|
-
if (typeof a === "object") {
|
|
4949
|
-
a = a.version;
|
|
4950
|
-
}
|
|
4951
|
-
if (typeof b === "object") {
|
|
4952
|
-
b = b.version;
|
|
4953
|
-
}
|
|
4954
|
-
return a === b;
|
|
4955
|
-
case "!==":
|
|
4956
|
-
if (typeof a === "object") {
|
|
4957
|
-
a = a.version;
|
|
4958
|
-
}
|
|
4959
|
-
if (typeof b === "object") {
|
|
4960
|
-
b = b.version;
|
|
4961
|
-
}
|
|
4962
|
-
return a !== b;
|
|
4963
|
-
case "":
|
|
4964
|
-
case "=":
|
|
4965
|
-
case "==":
|
|
4966
|
-
return eq(a, b, loose);
|
|
4967
|
-
case "!=":
|
|
4968
|
-
return neq(a, b, loose);
|
|
4969
|
-
case ">":
|
|
4970
|
-
return gt(a, b, loose);
|
|
4971
|
-
case ">=":
|
|
4972
|
-
return gte(a, b, loose);
|
|
4973
|
-
case "<":
|
|
4974
|
-
return lt(a, b, loose);
|
|
4975
|
-
case "<=":
|
|
4976
|
-
return lte(a, b, loose);
|
|
4977
|
-
default:
|
|
4978
|
-
throw new TypeError(`Invalid operator: ${op}`);
|
|
4979
|
-
}
|
|
4980
|
-
};
|
|
4981
|
-
module.exports = cmp;
|
|
4982
|
-
}
|
|
4983
|
-
});
|
|
4984
|
-
|
|
4985
|
-
// node_modules/semver/functions/coerce.js
|
|
4986
|
-
var require_coerce2 = __commonJS({
|
|
4987
|
-
"node_modules/semver/functions/coerce.js"(exports, module) {
|
|
4988
|
-
init_cjs_shims();
|
|
4989
|
-
var SemVer = require_semver3();
|
|
4990
|
-
var parse = require_parse2();
|
|
4991
|
-
var { safeRe: re, t } = require_re2();
|
|
4992
|
-
var coerce = (version, options) => {
|
|
4993
|
-
if (version instanceof SemVer) {
|
|
4994
|
-
return version;
|
|
4995
|
-
}
|
|
4996
|
-
if (typeof version === "number") {
|
|
4997
|
-
version = String(version);
|
|
4998
|
-
}
|
|
4999
|
-
if (typeof version !== "string") {
|
|
5000
|
-
return null;
|
|
5001
|
-
}
|
|
5002
|
-
options = options || {};
|
|
5003
|
-
let match = null;
|
|
5004
|
-
if (!options.rtl) {
|
|
5005
|
-
match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
|
|
5006
|
-
} else {
|
|
5007
|
-
const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
|
|
5008
|
-
let next;
|
|
5009
|
-
while ((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length)) {
|
|
5010
|
-
if (!match || next.index + next[0].length !== match.index + match[0].length) {
|
|
5011
|
-
match = next;
|
|
5012
|
-
}
|
|
5013
|
-
coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
|
|
5014
|
-
}
|
|
5015
|
-
coerceRtlRegex.lastIndex = -1;
|
|
5016
|
-
}
|
|
5017
|
-
if (match === null) {
|
|
5018
|
-
return null;
|
|
5019
|
-
}
|
|
5020
|
-
const major = match[2];
|
|
5021
|
-
const minor = match[3] || "0";
|
|
5022
|
-
const patch = match[4] || "0";
|
|
5023
|
-
const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
|
|
5024
|
-
const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
|
|
5025
|
-
return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options);
|
|
5026
|
-
};
|
|
5027
|
-
module.exports = coerce;
|
|
5028
|
-
}
|
|
5029
|
-
});
|
|
5030
|
-
|
|
5031
|
-
// node_modules/semver/node_modules/lru-cache/index.js
|
|
5032
|
-
var require_lru_cache2 = __commonJS({
|
|
5033
|
-
"node_modules/semver/node_modules/lru-cache/index.js"(exports, module) {
|
|
5034
|
-
"use strict";
|
|
5035
|
-
init_cjs_shims();
|
|
5036
|
-
var Yallist = require_yallist();
|
|
5037
|
-
var MAX = Symbol("max");
|
|
5038
|
-
var LENGTH = Symbol("length");
|
|
5039
|
-
var LENGTH_CALCULATOR = Symbol("lengthCalculator");
|
|
5040
|
-
var ALLOW_STALE = Symbol("allowStale");
|
|
5041
|
-
var MAX_AGE = Symbol("maxAge");
|
|
5042
|
-
var DISPOSE = Symbol("dispose");
|
|
5043
|
-
var NO_DISPOSE_ON_SET = Symbol("noDisposeOnSet");
|
|
5044
|
-
var LRU_LIST = Symbol("lruList");
|
|
5045
|
-
var CACHE = Symbol("cache");
|
|
5046
|
-
var UPDATE_AGE_ON_GET = Symbol("updateAgeOnGet");
|
|
5047
|
-
var naiveLength = () => 1;
|
|
5048
|
-
var LRUCache = class {
|
|
5049
|
-
constructor(options) {
|
|
5050
|
-
if (typeof options === "number")
|
|
5051
|
-
options = { max: options };
|
|
5052
|
-
if (!options)
|
|
5053
|
-
options = {};
|
|
5054
|
-
if (options.max && (typeof options.max !== "number" || options.max < 0))
|
|
5055
|
-
throw new TypeError("max must be a non-negative number");
|
|
5056
|
-
const max = this[MAX] = options.max || Infinity;
|
|
5057
|
-
const lc = options.length || naiveLength;
|
|
5058
|
-
this[LENGTH_CALCULATOR] = typeof lc !== "function" ? naiveLength : lc;
|
|
5059
|
-
this[ALLOW_STALE] = options.stale || false;
|
|
5060
|
-
if (options.maxAge && typeof options.maxAge !== "number")
|
|
5061
|
-
throw new TypeError("maxAge must be a number");
|
|
5062
|
-
this[MAX_AGE] = options.maxAge || 0;
|
|
5063
|
-
this[DISPOSE] = options.dispose;
|
|
5064
|
-
this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;
|
|
5065
|
-
this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;
|
|
5066
|
-
this.reset();
|
|
5067
|
-
}
|
|
5068
|
-
// resize the cache when the max changes.
|
|
5069
|
-
set max(mL) {
|
|
5070
|
-
if (typeof mL !== "number" || mL < 0)
|
|
5071
|
-
throw new TypeError("max must be a non-negative number");
|
|
5072
|
-
this[MAX] = mL || Infinity;
|
|
5073
|
-
trim(this);
|
|
5074
|
-
}
|
|
5075
|
-
get max() {
|
|
5076
|
-
return this[MAX];
|
|
5077
|
-
}
|
|
5078
|
-
set allowStale(allowStale) {
|
|
5079
|
-
this[ALLOW_STALE] = !!allowStale;
|
|
5080
|
-
}
|
|
5081
|
-
get allowStale() {
|
|
5082
|
-
return this[ALLOW_STALE];
|
|
5083
|
-
}
|
|
5084
|
-
set maxAge(mA) {
|
|
5085
|
-
if (typeof mA !== "number")
|
|
5086
|
-
throw new TypeError("maxAge must be a non-negative number");
|
|
5087
|
-
this[MAX_AGE] = mA;
|
|
5088
|
-
trim(this);
|
|
5089
|
-
}
|
|
5090
|
-
get maxAge() {
|
|
5091
|
-
return this[MAX_AGE];
|
|
5092
|
-
}
|
|
5093
|
-
// resize the cache when the lengthCalculator changes.
|
|
5094
|
-
set lengthCalculator(lC) {
|
|
5095
|
-
if (typeof lC !== "function")
|
|
5096
|
-
lC = naiveLength;
|
|
5097
|
-
if (lC !== this[LENGTH_CALCULATOR]) {
|
|
5098
|
-
this[LENGTH_CALCULATOR] = lC;
|
|
5099
|
-
this[LENGTH] = 0;
|
|
5100
|
-
this[LRU_LIST].forEach((hit) => {
|
|
5101
|
-
hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key);
|
|
5102
|
-
this[LENGTH] += hit.length;
|
|
5103
|
-
});
|
|
5104
|
-
}
|
|
5105
|
-
trim(this);
|
|
5106
|
-
}
|
|
5107
|
-
get lengthCalculator() {
|
|
5108
|
-
return this[LENGTH_CALCULATOR];
|
|
5109
|
-
}
|
|
5110
|
-
get length() {
|
|
5111
|
-
return this[LENGTH];
|
|
5112
|
-
}
|
|
5113
|
-
get itemCount() {
|
|
5114
|
-
return this[LRU_LIST].length;
|
|
5115
|
-
}
|
|
5116
|
-
rforEach(fn, thisp) {
|
|
5117
|
-
thisp = thisp || this;
|
|
5118
|
-
for (let walker = this[LRU_LIST].tail; walker !== null; ) {
|
|
5119
|
-
const prev = walker.prev;
|
|
5120
|
-
forEachStep(this, fn, walker, thisp);
|
|
5121
|
-
walker = prev;
|
|
5122
|
-
}
|
|
5123
|
-
}
|
|
5124
|
-
forEach(fn, thisp) {
|
|
5125
|
-
thisp = thisp || this;
|
|
5126
|
-
for (let walker = this[LRU_LIST].head; walker !== null; ) {
|
|
5127
|
-
const next = walker.next;
|
|
5128
|
-
forEachStep(this, fn, walker, thisp);
|
|
5129
|
-
walker = next;
|
|
5130
|
-
}
|
|
5131
|
-
}
|
|
5132
|
-
keys() {
|
|
5133
|
-
return this[LRU_LIST].toArray().map((k) => k.key);
|
|
5134
|
-
}
|
|
5135
|
-
values() {
|
|
5136
|
-
return this[LRU_LIST].toArray().map((k) => k.value);
|
|
5137
|
-
}
|
|
5138
|
-
reset() {
|
|
5139
|
-
if (this[DISPOSE] && this[LRU_LIST] && this[LRU_LIST].length) {
|
|
5140
|
-
this[LRU_LIST].forEach((hit) => this[DISPOSE](hit.key, hit.value));
|
|
5141
|
-
}
|
|
5142
|
-
this[CACHE] = /* @__PURE__ */ new Map();
|
|
5143
|
-
this[LRU_LIST] = new Yallist();
|
|
5144
|
-
this[LENGTH] = 0;
|
|
5145
|
-
}
|
|
5146
|
-
dump() {
|
|
5147
|
-
return this[LRU_LIST].map((hit) => isStale(this, hit) ? false : {
|
|
5148
|
-
k: hit.key,
|
|
5149
|
-
v: hit.value,
|
|
5150
|
-
e: hit.now + (hit.maxAge || 0)
|
|
5151
|
-
}).toArray().filter((h) => h);
|
|
5152
|
-
}
|
|
5153
|
-
dumpLru() {
|
|
5154
|
-
return this[LRU_LIST];
|
|
5155
|
-
}
|
|
5156
|
-
set(key, value, maxAge) {
|
|
5157
|
-
maxAge = maxAge || this[MAX_AGE];
|
|
5158
|
-
if (maxAge && typeof maxAge !== "number")
|
|
5159
|
-
throw new TypeError("maxAge must be a number");
|
|
5160
|
-
const now = maxAge ? Date.now() : 0;
|
|
5161
|
-
const len = this[LENGTH_CALCULATOR](value, key);
|
|
5162
|
-
if (this[CACHE].has(key)) {
|
|
5163
|
-
if (len > this[MAX]) {
|
|
5164
|
-
del(this, this[CACHE].get(key));
|
|
5165
|
-
return false;
|
|
5166
|
-
}
|
|
5167
|
-
const node = this[CACHE].get(key);
|
|
5168
|
-
const item = node.value;
|
|
5169
|
-
if (this[DISPOSE]) {
|
|
5170
|
-
if (!this[NO_DISPOSE_ON_SET])
|
|
5171
|
-
this[DISPOSE](key, item.value);
|
|
5172
|
-
}
|
|
5173
|
-
item.now = now;
|
|
5174
|
-
item.maxAge = maxAge;
|
|
5175
|
-
item.value = value;
|
|
5176
|
-
this[LENGTH] += len - item.length;
|
|
5177
|
-
item.length = len;
|
|
5178
|
-
this.get(key);
|
|
5179
|
-
trim(this);
|
|
5180
|
-
return true;
|
|
5181
|
-
}
|
|
5182
|
-
const hit = new Entry(key, value, len, now, maxAge);
|
|
5183
|
-
if (hit.length > this[MAX]) {
|
|
5184
|
-
if (this[DISPOSE])
|
|
5185
|
-
this[DISPOSE](key, value);
|
|
5186
|
-
return false;
|
|
5187
|
-
}
|
|
5188
|
-
this[LENGTH] += hit.length;
|
|
5189
|
-
this[LRU_LIST].unshift(hit);
|
|
5190
|
-
this[CACHE].set(key, this[LRU_LIST].head);
|
|
5191
|
-
trim(this);
|
|
5192
|
-
return true;
|
|
5193
|
-
}
|
|
5194
|
-
has(key) {
|
|
5195
|
-
if (!this[CACHE].has(key)) return false;
|
|
5196
|
-
const hit = this[CACHE].get(key).value;
|
|
5197
|
-
return !isStale(this, hit);
|
|
5198
|
-
}
|
|
5199
|
-
get(key) {
|
|
5200
|
-
return get(this, key, true);
|
|
5201
|
-
}
|
|
5202
|
-
peek(key) {
|
|
5203
|
-
return get(this, key, false);
|
|
5204
|
-
}
|
|
5205
|
-
pop() {
|
|
5206
|
-
const node = this[LRU_LIST].tail;
|
|
5207
|
-
if (!node)
|
|
5208
|
-
return null;
|
|
5209
|
-
del(this, node);
|
|
5210
|
-
return node.value;
|
|
5211
|
-
}
|
|
5212
|
-
del(key) {
|
|
5213
|
-
del(this, this[CACHE].get(key));
|
|
5214
|
-
}
|
|
5215
|
-
load(arr) {
|
|
5216
|
-
this.reset();
|
|
5217
|
-
const now = Date.now();
|
|
5218
|
-
for (let l = arr.length - 1; l >= 0; l--) {
|
|
5219
|
-
const hit = arr[l];
|
|
5220
|
-
const expiresAt = hit.e || 0;
|
|
5221
|
-
if (expiresAt === 0)
|
|
5222
|
-
this.set(hit.k, hit.v);
|
|
5223
|
-
else {
|
|
5224
|
-
const maxAge = expiresAt - now;
|
|
5225
|
-
if (maxAge > 0) {
|
|
5226
|
-
this.set(hit.k, hit.v, maxAge);
|
|
5227
|
-
}
|
|
5228
|
-
}
|
|
5229
|
-
}
|
|
5230
|
-
}
|
|
5231
|
-
prune() {
|
|
5232
|
-
this[CACHE].forEach((value, key) => get(this, key, false));
|
|
5233
|
-
}
|
|
5234
|
-
};
|
|
5235
|
-
var get = (self, key, doUse) => {
|
|
5236
|
-
const node = self[CACHE].get(key);
|
|
5237
|
-
if (node) {
|
|
5238
|
-
const hit = node.value;
|
|
5239
|
-
if (isStale(self, hit)) {
|
|
5240
|
-
del(self, node);
|
|
5241
|
-
if (!self[ALLOW_STALE])
|
|
5242
|
-
return void 0;
|
|
5243
|
-
} else {
|
|
5244
|
-
if (doUse) {
|
|
5245
|
-
if (self[UPDATE_AGE_ON_GET])
|
|
5246
|
-
node.value.now = Date.now();
|
|
5247
|
-
self[LRU_LIST].unshiftNode(node);
|
|
5248
|
-
}
|
|
5249
|
-
}
|
|
5250
|
-
return hit.value;
|
|
5251
|
-
}
|
|
5252
|
-
};
|
|
5253
|
-
var isStale = (self, hit) => {
|
|
5254
|
-
if (!hit || !hit.maxAge && !self[MAX_AGE])
|
|
5255
|
-
return false;
|
|
5256
|
-
const diff = Date.now() - hit.now;
|
|
5257
|
-
return hit.maxAge ? diff > hit.maxAge : self[MAX_AGE] && diff > self[MAX_AGE];
|
|
5258
|
-
};
|
|
5259
|
-
var trim = (self) => {
|
|
5260
|
-
if (self[LENGTH] > self[MAX]) {
|
|
5261
|
-
for (let walker = self[LRU_LIST].tail; self[LENGTH] > self[MAX] && walker !== null; ) {
|
|
5262
|
-
const prev = walker.prev;
|
|
5263
|
-
del(self, walker);
|
|
5264
|
-
walker = prev;
|
|
5265
|
-
}
|
|
5266
|
-
}
|
|
5267
|
-
};
|
|
5268
|
-
var del = (self, node) => {
|
|
5269
|
-
if (node) {
|
|
5270
|
-
const hit = node.value;
|
|
5271
|
-
if (self[DISPOSE])
|
|
5272
|
-
self[DISPOSE](hit.key, hit.value);
|
|
5273
|
-
self[LENGTH] -= hit.length;
|
|
5274
|
-
self[CACHE].delete(hit.key);
|
|
5275
|
-
self[LRU_LIST].removeNode(node);
|
|
5276
|
-
}
|
|
5277
|
-
};
|
|
5278
|
-
var Entry = class {
|
|
5279
|
-
constructor(key, value, length, now, maxAge) {
|
|
5280
|
-
this.key = key;
|
|
5281
|
-
this.value = value;
|
|
5282
|
-
this.length = length;
|
|
5283
|
-
this.now = now;
|
|
5284
|
-
this.maxAge = maxAge || 0;
|
|
5285
|
-
}
|
|
5286
|
-
};
|
|
5287
|
-
var forEachStep = (self, fn, node, thisp) => {
|
|
5288
|
-
let hit = node.value;
|
|
5289
|
-
if (isStale(self, hit)) {
|
|
5290
|
-
del(self, node);
|
|
5291
|
-
if (!self[ALLOW_STALE])
|
|
5292
|
-
hit = void 0;
|
|
5293
|
-
}
|
|
5294
|
-
if (hit)
|
|
5295
|
-
fn.call(thisp, hit.value, hit.key, self);
|
|
5296
|
-
};
|
|
5297
|
-
module.exports = LRUCache;
|
|
5298
|
-
}
|
|
5299
|
-
});
|
|
5300
|
-
|
|
5301
|
-
// node_modules/semver/classes/range.js
|
|
5302
|
-
var require_range2 = __commonJS({
|
|
5303
|
-
"node_modules/semver/classes/range.js"(exports, module) {
|
|
5304
|
-
init_cjs_shims();
|
|
5305
|
-
var Range = class _Range {
|
|
5306
|
-
constructor(range, options) {
|
|
5307
|
-
options = parseOptions(options);
|
|
5308
|
-
if (range instanceof _Range) {
|
|
5309
|
-
if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) {
|
|
5310
|
-
return range;
|
|
5311
|
-
} else {
|
|
5312
|
-
return new _Range(range.raw, options);
|
|
5313
|
-
}
|
|
5314
|
-
}
|
|
5315
|
-
if (range instanceof Comparator) {
|
|
5316
|
-
this.raw = range.value;
|
|
5317
|
-
this.set = [[range]];
|
|
5318
|
-
this.format();
|
|
5319
|
-
return this;
|
|
5320
|
-
}
|
|
5321
|
-
this.options = options;
|
|
5322
|
-
this.loose = !!options.loose;
|
|
5323
|
-
this.includePrerelease = !!options.includePrerelease;
|
|
5324
|
-
this.raw = range.trim().split(/\s+/).join(" ");
|
|
5325
|
-
this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
|
|
5326
|
-
if (!this.set.length) {
|
|
5327
|
-
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
5328
|
-
}
|
|
5329
|
-
if (this.set.length > 1) {
|
|
5330
|
-
const first = this.set[0];
|
|
5331
|
-
this.set = this.set.filter((c) => !isNullSet(c[0]));
|
|
5332
|
-
if (this.set.length === 0) {
|
|
5333
|
-
this.set = [first];
|
|
5334
|
-
} else if (this.set.length > 1) {
|
|
5335
|
-
for (const c of this.set) {
|
|
5336
|
-
if (c.length === 1 && isAny(c[0])) {
|
|
5337
|
-
this.set = [c];
|
|
5338
|
-
break;
|
|
5339
|
-
}
|
|
5340
|
-
}
|
|
5341
|
-
}
|
|
5342
|
-
}
|
|
5343
|
-
this.format();
|
|
5344
|
-
}
|
|
5345
|
-
format() {
|
|
5346
|
-
this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
|
|
5347
|
-
return this.range;
|
|
5348
|
-
}
|
|
5349
|
-
toString() {
|
|
5350
|
-
return this.range;
|
|
5351
|
-
}
|
|
5352
|
-
parseRange(range) {
|
|
5353
|
-
const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
|
|
5354
|
-
const memoKey = memoOpts + ":" + range;
|
|
5355
|
-
const cached = cache.get(memoKey);
|
|
5356
|
-
if (cached) {
|
|
5357
|
-
return cached;
|
|
5358
|
-
}
|
|
5359
|
-
const loose = this.options.loose;
|
|
5360
|
-
const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
|
|
5361
|
-
range = range.replace(hr, hyphenReplace(this.options.includePrerelease));
|
|
5362
|
-
debug("hyphen replace", range);
|
|
5363
|
-
range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
|
|
5364
|
-
debug("comparator trim", range);
|
|
5365
|
-
range = range.replace(re[t.TILDETRIM], tildeTrimReplace);
|
|
5366
|
-
debug("tilde trim", range);
|
|
5367
|
-
range = range.replace(re[t.CARETTRIM], caretTrimReplace);
|
|
5368
|
-
debug("caret trim", range);
|
|
5369
|
-
let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
|
|
5370
|
-
if (loose) {
|
|
5371
|
-
rangeList = rangeList.filter((comp) => {
|
|
5372
|
-
debug("loose invalid filter", comp, this.options);
|
|
5373
|
-
return !!comp.match(re[t.COMPARATORLOOSE]);
|
|
5374
|
-
});
|
|
5375
|
-
}
|
|
5376
|
-
debug("range list", rangeList);
|
|
5377
|
-
const rangeMap = /* @__PURE__ */ new Map();
|
|
5378
|
-
const comparators = rangeList.map((comp) => new Comparator(comp, this.options));
|
|
5379
|
-
for (const comp of comparators) {
|
|
5380
|
-
if (isNullSet(comp)) {
|
|
5381
|
-
return [comp];
|
|
5382
|
-
}
|
|
5383
|
-
rangeMap.set(comp.value, comp);
|
|
5384
|
-
}
|
|
5385
|
-
if (rangeMap.size > 1 && rangeMap.has("")) {
|
|
5386
|
-
rangeMap.delete("");
|
|
5387
|
-
}
|
|
5388
|
-
const result = [...rangeMap.values()];
|
|
5389
|
-
cache.set(memoKey, result);
|
|
5390
|
-
return result;
|
|
5391
|
-
}
|
|
5392
|
-
intersects(range, options) {
|
|
5393
|
-
if (!(range instanceof _Range)) {
|
|
5394
|
-
throw new TypeError("a Range is required");
|
|
5395
|
-
}
|
|
5396
|
-
return this.set.some((thisComparators) => {
|
|
5397
|
-
return isSatisfiable(thisComparators, options) && range.set.some((rangeComparators) => {
|
|
5398
|
-
return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
|
|
5399
|
-
return rangeComparators.every((rangeComparator) => {
|
|
5400
|
-
return thisComparator.intersects(rangeComparator, options);
|
|
5401
|
-
});
|
|
5402
|
-
});
|
|
5403
|
-
});
|
|
5404
|
-
});
|
|
5405
|
-
}
|
|
5406
|
-
// if ANY of the sets match ALL of its comparators, then pass
|
|
5407
|
-
test(version) {
|
|
5408
|
-
if (!version) {
|
|
5409
|
-
return false;
|
|
5410
|
-
}
|
|
5411
|
-
if (typeof version === "string") {
|
|
5412
|
-
try {
|
|
5413
|
-
version = new SemVer(version, this.options);
|
|
5414
|
-
} catch (er) {
|
|
5415
|
-
return false;
|
|
5416
|
-
}
|
|
5417
|
-
}
|
|
5418
|
-
for (let i = 0; i < this.set.length; i++) {
|
|
5419
|
-
if (testSet(this.set[i], version, this.options)) {
|
|
5420
|
-
return true;
|
|
5421
|
-
}
|
|
5422
|
-
}
|
|
5423
|
-
return false;
|
|
5424
|
-
}
|
|
5425
|
-
};
|
|
5426
|
-
module.exports = Range;
|
|
5427
|
-
var LRU = require_lru_cache2();
|
|
5428
|
-
var cache = new LRU({ max: 1e3 });
|
|
5429
|
-
var parseOptions = require_parse_options2();
|
|
5430
|
-
var Comparator = require_comparator2();
|
|
5431
|
-
var debug = require_debug2();
|
|
5432
|
-
var SemVer = require_semver3();
|
|
5433
|
-
var {
|
|
5434
|
-
safeRe: re,
|
|
5435
|
-
t,
|
|
5436
|
-
comparatorTrimReplace,
|
|
5437
|
-
tildeTrimReplace,
|
|
5438
|
-
caretTrimReplace
|
|
5439
|
-
} = require_re2();
|
|
5440
|
-
var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants2();
|
|
5441
|
-
var isNullSet = (c) => c.value === "<0.0.0-0";
|
|
5442
|
-
var isAny = (c) => c.value === "";
|
|
5443
|
-
var isSatisfiable = (comparators, options) => {
|
|
5444
|
-
let result = true;
|
|
5445
|
-
const remainingComparators = comparators.slice();
|
|
5446
|
-
let testComparator = remainingComparators.pop();
|
|
5447
|
-
while (result && remainingComparators.length) {
|
|
5448
|
-
result = remainingComparators.every((otherComparator) => {
|
|
5449
|
-
return testComparator.intersects(otherComparator, options);
|
|
5450
|
-
});
|
|
5451
|
-
testComparator = remainingComparators.pop();
|
|
5452
|
-
}
|
|
5453
|
-
return result;
|
|
5454
|
-
};
|
|
5455
|
-
var parseComparator = (comp, options) => {
|
|
5456
|
-
debug("comp", comp, options);
|
|
5457
|
-
comp = replaceCarets(comp, options);
|
|
5458
|
-
debug("caret", comp);
|
|
5459
|
-
comp = replaceTildes(comp, options);
|
|
5460
|
-
debug("tildes", comp);
|
|
5461
|
-
comp = replaceXRanges(comp, options);
|
|
5462
|
-
debug("xrange", comp);
|
|
5463
|
-
comp = replaceStars(comp, options);
|
|
5464
|
-
debug("stars", comp);
|
|
5465
|
-
return comp;
|
|
5466
|
-
};
|
|
5467
|
-
var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
|
|
5468
|
-
var replaceTildes = (comp, options) => {
|
|
5469
|
-
return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
|
|
5470
|
-
};
|
|
5471
|
-
var replaceTilde = (comp, options) => {
|
|
5472
|
-
const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
|
|
5473
|
-
return comp.replace(r, (_, M, m, p, pr) => {
|
|
5474
|
-
debug("tilde", comp, _, M, m, p, pr);
|
|
5475
|
-
let ret;
|
|
5476
|
-
if (isX(M)) {
|
|
5477
|
-
ret = "";
|
|
5478
|
-
} else if (isX(m)) {
|
|
5479
|
-
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
|
|
5480
|
-
} else if (isX(p)) {
|
|
5481
|
-
ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
|
|
5482
|
-
} else if (pr) {
|
|
5483
|
-
debug("replaceTilde pr", pr);
|
|
5484
|
-
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
5485
|
-
} else {
|
|
5486
|
-
ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
|
|
5487
|
-
}
|
|
5488
|
-
debug("tilde return", ret);
|
|
5489
|
-
return ret;
|
|
5490
|
-
});
|
|
5491
|
-
};
|
|
5492
|
-
var replaceCarets = (comp, options) => {
|
|
5493
|
-
return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
|
|
5494
|
-
};
|
|
5495
|
-
var replaceCaret = (comp, options) => {
|
|
5496
|
-
debug("caret", comp, options);
|
|
5497
|
-
const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
|
|
5498
|
-
const z = options.includePrerelease ? "-0" : "";
|
|
5499
|
-
return comp.replace(r, (_, M, m, p, pr) => {
|
|
5500
|
-
debug("caret", comp, _, M, m, p, pr);
|
|
5501
|
-
let ret;
|
|
5502
|
-
if (isX(M)) {
|
|
5503
|
-
ret = "";
|
|
5504
|
-
} else if (isX(m)) {
|
|
5505
|
-
ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
|
|
5506
|
-
} else if (isX(p)) {
|
|
5507
|
-
if (M === "0") {
|
|
5508
|
-
ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
|
|
5509
|
-
} else {
|
|
5510
|
-
ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
|
|
5511
|
-
}
|
|
5512
|
-
} else if (pr) {
|
|
5513
|
-
debug("replaceCaret pr", pr);
|
|
5514
|
-
if (M === "0") {
|
|
5515
|
-
if (m === "0") {
|
|
5516
|
-
ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
|
|
5517
|
-
} else {
|
|
5518
|
-
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
5519
|
-
}
|
|
5520
|
-
} else {
|
|
5521
|
-
ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
|
|
5522
|
-
}
|
|
5523
|
-
} else {
|
|
5524
|
-
debug("no pr");
|
|
5525
|
-
if (M === "0") {
|
|
5526
|
-
if (m === "0") {
|
|
5527
|
-
ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
|
|
5528
|
-
} else {
|
|
5529
|
-
ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
|
|
5530
|
-
}
|
|
5531
|
-
} else {
|
|
5532
|
-
ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
|
|
5533
|
-
}
|
|
5534
|
-
}
|
|
5535
|
-
debug("caret return", ret);
|
|
5536
|
-
return ret;
|
|
5537
|
-
});
|
|
5538
|
-
};
|
|
5539
|
-
var replaceXRanges = (comp, options) => {
|
|
5540
|
-
debug("replaceXRanges", comp, options);
|
|
5541
|
-
return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
|
|
5542
|
-
};
|
|
5543
|
-
var replaceXRange = (comp, options) => {
|
|
5544
|
-
comp = comp.trim();
|
|
5545
|
-
const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
|
|
5546
|
-
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
|
|
5547
|
-
debug("xRange", comp, ret, gtlt, M, m, p, pr);
|
|
5548
|
-
const xM = isX(M);
|
|
5549
|
-
const xm = xM || isX(m);
|
|
5550
|
-
const xp = xm || isX(p);
|
|
5551
|
-
const anyX = xp;
|
|
5552
|
-
if (gtlt === "=" && anyX) {
|
|
5553
|
-
gtlt = "";
|
|
5554
|
-
}
|
|
5555
|
-
pr = options.includePrerelease ? "-0" : "";
|
|
5556
|
-
if (xM) {
|
|
5557
|
-
if (gtlt === ">" || gtlt === "<") {
|
|
5558
|
-
ret = "<0.0.0-0";
|
|
5559
|
-
} else {
|
|
5560
|
-
ret = "*";
|
|
5561
|
-
}
|
|
5562
|
-
} else if (gtlt && anyX) {
|
|
5563
|
-
if (xm) {
|
|
5564
|
-
m = 0;
|
|
5565
|
-
}
|
|
5566
|
-
p = 0;
|
|
5567
|
-
if (gtlt === ">") {
|
|
5568
|
-
gtlt = ">=";
|
|
5569
|
-
if (xm) {
|
|
5570
|
-
M = +M + 1;
|
|
5571
|
-
m = 0;
|
|
5572
|
-
p = 0;
|
|
5573
|
-
} else {
|
|
5574
|
-
m = +m + 1;
|
|
5575
|
-
p = 0;
|
|
5576
|
-
}
|
|
5577
|
-
} else if (gtlt === "<=") {
|
|
5578
|
-
gtlt = "<";
|
|
5579
|
-
if (xm) {
|
|
5580
|
-
M = +M + 1;
|
|
5581
|
-
} else {
|
|
5582
|
-
m = +m + 1;
|
|
5583
|
-
}
|
|
5584
|
-
}
|
|
5585
|
-
if (gtlt === "<") {
|
|
5586
|
-
pr = "-0";
|
|
5587
|
-
}
|
|
5588
|
-
ret = `${gtlt + M}.${m}.${p}${pr}`;
|
|
5589
|
-
} else if (xm) {
|
|
5590
|
-
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
|
|
5591
|
-
} else if (xp) {
|
|
5592
|
-
ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
|
|
5593
|
-
}
|
|
5594
|
-
debug("xRange return", ret);
|
|
5595
|
-
return ret;
|
|
5596
|
-
});
|
|
5597
|
-
};
|
|
5598
|
-
var replaceStars = (comp, options) => {
|
|
5599
|
-
debug("replaceStars", comp, options);
|
|
5600
|
-
return comp.trim().replace(re[t.STAR], "");
|
|
5601
|
-
};
|
|
5602
|
-
var replaceGTE0 = (comp, options) => {
|
|
5603
|
-
debug("replaceGTE0", comp, options);
|
|
5604
|
-
return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
|
|
5605
|
-
};
|
|
5606
|
-
var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) => {
|
|
5607
|
-
if (isX(fM)) {
|
|
5608
|
-
from = "";
|
|
5609
|
-
} else if (isX(fm)) {
|
|
5610
|
-
from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
|
|
5611
|
-
} else if (isX(fp)) {
|
|
5612
|
-
from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
|
|
5613
|
-
} else if (fpr) {
|
|
5614
|
-
from = `>=${from}`;
|
|
5615
|
-
} else {
|
|
5616
|
-
from = `>=${from}${incPr ? "-0" : ""}`;
|
|
5617
|
-
}
|
|
5618
|
-
if (isX(tM)) {
|
|
5619
|
-
to = "";
|
|
5620
|
-
} else if (isX(tm)) {
|
|
5621
|
-
to = `<${+tM + 1}.0.0-0`;
|
|
5622
|
-
} else if (isX(tp)) {
|
|
5623
|
-
to = `<${tM}.${+tm + 1}.0-0`;
|
|
5624
|
-
} else if (tpr) {
|
|
5625
|
-
to = `<=${tM}.${tm}.${tp}-${tpr}`;
|
|
5626
|
-
} else if (incPr) {
|
|
5627
|
-
to = `<${tM}.${tm}.${+tp + 1}-0`;
|
|
5628
|
-
} else {
|
|
5629
|
-
to = `<=${to}`;
|
|
5630
|
-
}
|
|
5631
|
-
return `${from} ${to}`.trim();
|
|
5632
|
-
};
|
|
5633
|
-
var testSet = (set, version, options) => {
|
|
5634
|
-
for (let i = 0; i < set.length; i++) {
|
|
5635
|
-
if (!set[i].test(version)) {
|
|
5636
|
-
return false;
|
|
5637
|
-
}
|
|
5638
|
-
}
|
|
5639
|
-
if (version.prerelease.length && !options.includePrerelease) {
|
|
5640
|
-
for (let i = 0; i < set.length; i++) {
|
|
5641
|
-
debug(set[i].semver);
|
|
5642
|
-
if (set[i].semver === Comparator.ANY) {
|
|
5643
|
-
continue;
|
|
5644
|
-
}
|
|
5645
|
-
if (set[i].semver.prerelease.length > 0) {
|
|
5646
|
-
const allowed = set[i].semver;
|
|
5647
|
-
if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
|
|
5648
|
-
return true;
|
|
5649
|
-
}
|
|
5650
|
-
}
|
|
5651
|
-
}
|
|
5652
|
-
return false;
|
|
5653
|
-
}
|
|
5654
|
-
return true;
|
|
5655
|
-
};
|
|
5656
|
-
}
|
|
5657
|
-
});
|
|
5658
|
-
|
|
5659
|
-
// node_modules/semver/classes/comparator.js
|
|
5660
|
-
var require_comparator2 = __commonJS({
|
|
5661
|
-
"node_modules/semver/classes/comparator.js"(exports, module) {
|
|
5662
|
-
init_cjs_shims();
|
|
5663
|
-
var ANY = Symbol("SemVer ANY");
|
|
5664
|
-
var Comparator = class _Comparator {
|
|
5665
|
-
static get ANY() {
|
|
5666
|
-
return ANY;
|
|
5667
|
-
}
|
|
5668
|
-
constructor(comp, options) {
|
|
5669
|
-
options = parseOptions(options);
|
|
5670
|
-
if (comp instanceof _Comparator) {
|
|
5671
|
-
if (comp.loose === !!options.loose) {
|
|
5672
|
-
return comp;
|
|
5673
|
-
} else {
|
|
5674
|
-
comp = comp.value;
|
|
5675
|
-
}
|
|
5676
|
-
}
|
|
5677
|
-
comp = comp.trim().split(/\s+/).join(" ");
|
|
5678
|
-
debug("comparator", comp, options);
|
|
5679
|
-
this.options = options;
|
|
5680
|
-
this.loose = !!options.loose;
|
|
5681
|
-
this.parse(comp);
|
|
5682
|
-
if (this.semver === ANY) {
|
|
5683
|
-
this.value = "";
|
|
5684
|
-
} else {
|
|
5685
|
-
this.value = this.operator + this.semver.version;
|
|
5686
|
-
}
|
|
5687
|
-
debug("comp", this);
|
|
5688
|
-
}
|
|
5689
|
-
parse(comp) {
|
|
5690
|
-
const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
|
|
5691
|
-
const m = comp.match(r);
|
|
5692
|
-
if (!m) {
|
|
5693
|
-
throw new TypeError(`Invalid comparator: ${comp}`);
|
|
5694
|
-
}
|
|
5695
|
-
this.operator = m[1] !== void 0 ? m[1] : "";
|
|
5696
|
-
if (this.operator === "=") {
|
|
5697
|
-
this.operator = "";
|
|
5698
|
-
}
|
|
5699
|
-
if (!m[2]) {
|
|
5700
|
-
this.semver = ANY;
|
|
5701
|
-
} else {
|
|
5702
|
-
this.semver = new SemVer(m[2], this.options.loose);
|
|
5703
|
-
}
|
|
5704
|
-
}
|
|
5705
|
-
toString() {
|
|
5706
|
-
return this.value;
|
|
5707
|
-
}
|
|
5708
|
-
test(version) {
|
|
5709
|
-
debug("Comparator.test", version, this.options.loose);
|
|
5710
|
-
if (this.semver === ANY || version === ANY) {
|
|
5711
|
-
return true;
|
|
5712
|
-
}
|
|
5713
|
-
if (typeof version === "string") {
|
|
5714
|
-
try {
|
|
5715
|
-
version = new SemVer(version, this.options);
|
|
5716
|
-
} catch (er) {
|
|
5717
|
-
return false;
|
|
5718
|
-
}
|
|
5719
|
-
}
|
|
5720
|
-
return cmp(version, this.operator, this.semver, this.options);
|
|
5721
|
-
}
|
|
5722
|
-
intersects(comp, options) {
|
|
5723
|
-
if (!(comp instanceof _Comparator)) {
|
|
5724
|
-
throw new TypeError("a Comparator is required");
|
|
5725
|
-
}
|
|
5726
|
-
if (this.operator === "") {
|
|
5727
|
-
if (this.value === "") {
|
|
5728
|
-
return true;
|
|
5729
|
-
}
|
|
5730
|
-
return new Range(comp.value, options).test(this.value);
|
|
5731
|
-
} else if (comp.operator === "") {
|
|
5732
|
-
if (comp.value === "") {
|
|
5733
|
-
return true;
|
|
5734
|
-
}
|
|
5735
|
-
return new Range(this.value, options).test(comp.semver);
|
|
5736
|
-
}
|
|
5737
|
-
options = parseOptions(options);
|
|
5738
|
-
if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
|
|
5739
|
-
return false;
|
|
5740
|
-
}
|
|
5741
|
-
if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
|
|
5742
|
-
return false;
|
|
5743
|
-
}
|
|
5744
|
-
if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
|
|
5745
|
-
return true;
|
|
5746
|
-
}
|
|
5747
|
-
if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
|
|
5748
|
-
return true;
|
|
5749
|
-
}
|
|
5750
|
-
if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
|
|
5751
|
-
return true;
|
|
5752
|
-
}
|
|
5753
|
-
if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
|
|
5754
|
-
return true;
|
|
5755
|
-
}
|
|
5756
|
-
if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
|
|
5757
|
-
return true;
|
|
5758
|
-
}
|
|
5759
|
-
return false;
|
|
5760
|
-
}
|
|
5761
|
-
};
|
|
5762
|
-
module.exports = Comparator;
|
|
5763
|
-
var parseOptions = require_parse_options2();
|
|
5764
|
-
var { safeRe: re, t } = require_re2();
|
|
5765
|
-
var cmp = require_cmp2();
|
|
5766
|
-
var debug = require_debug2();
|
|
5767
|
-
var SemVer = require_semver3();
|
|
5768
|
-
var Range = require_range2();
|
|
5769
|
-
}
|
|
5770
|
-
});
|
|
5771
|
-
|
|
5772
|
-
// node_modules/semver/functions/satisfies.js
|
|
5773
|
-
var require_satisfies2 = __commonJS({
|
|
5774
|
-
"node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
5775
|
-
init_cjs_shims();
|
|
5776
|
-
var Range = require_range2();
|
|
5777
|
-
var satisfies = (version, range, options) => {
|
|
5778
|
-
try {
|
|
5779
|
-
range = new Range(range, options);
|
|
5780
|
-
} catch (er) {
|
|
5781
|
-
return false;
|
|
5782
|
-
}
|
|
5783
|
-
return range.test(version);
|
|
5784
|
-
};
|
|
5785
|
-
module.exports = satisfies;
|
|
5786
|
-
}
|
|
5787
|
-
});
|
|
5788
|
-
|
|
5789
|
-
// node_modules/semver/ranges/to-comparators.js
|
|
5790
|
-
var require_to_comparators2 = __commonJS({
|
|
5791
|
-
"node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
5792
|
-
init_cjs_shims();
|
|
5793
|
-
var Range = require_range2();
|
|
5794
|
-
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
5795
|
-
module.exports = toComparators;
|
|
5796
|
-
}
|
|
5797
|
-
});
|
|
5798
|
-
|
|
5799
|
-
// node_modules/semver/ranges/max-satisfying.js
|
|
5800
|
-
var require_max_satisfying2 = __commonJS({
|
|
5801
|
-
"node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
5802
|
-
init_cjs_shims();
|
|
5803
|
-
var SemVer = require_semver3();
|
|
5804
|
-
var Range = require_range2();
|
|
5805
|
-
var maxSatisfying = (versions, range, options) => {
|
|
5806
|
-
let max = null;
|
|
5807
|
-
let maxSV = null;
|
|
5808
|
-
let rangeObj = null;
|
|
5809
|
-
try {
|
|
5810
|
-
rangeObj = new Range(range, options);
|
|
5811
|
-
} catch (er) {
|
|
5812
|
-
return null;
|
|
5813
|
-
}
|
|
5814
|
-
versions.forEach((v) => {
|
|
5815
|
-
if (rangeObj.test(v)) {
|
|
5816
|
-
if (!max || maxSV.compare(v) === -1) {
|
|
5817
|
-
max = v;
|
|
5818
|
-
maxSV = new SemVer(max, options);
|
|
5819
|
-
}
|
|
5820
|
-
}
|
|
5821
|
-
});
|
|
5822
|
-
return max;
|
|
5823
|
-
};
|
|
5824
|
-
module.exports = maxSatisfying;
|
|
5825
|
-
}
|
|
5826
|
-
});
|
|
5827
|
-
|
|
5828
|
-
// node_modules/semver/ranges/min-satisfying.js
|
|
5829
|
-
var require_min_satisfying2 = __commonJS({
|
|
5830
|
-
"node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
5831
|
-
init_cjs_shims();
|
|
5832
|
-
var SemVer = require_semver3();
|
|
5833
|
-
var Range = require_range2();
|
|
5834
|
-
var minSatisfying = (versions, range, options) => {
|
|
5835
|
-
let min = null;
|
|
5836
|
-
let minSV = null;
|
|
5837
|
-
let rangeObj = null;
|
|
5838
|
-
try {
|
|
5839
|
-
rangeObj = new Range(range, options);
|
|
5840
|
-
} catch (er) {
|
|
5841
|
-
return null;
|
|
5842
|
-
}
|
|
5843
|
-
versions.forEach((v) => {
|
|
5844
|
-
if (rangeObj.test(v)) {
|
|
5845
|
-
if (!min || minSV.compare(v) === 1) {
|
|
5846
|
-
min = v;
|
|
5847
|
-
minSV = new SemVer(min, options);
|
|
5848
|
-
}
|
|
5849
|
-
}
|
|
5850
|
-
});
|
|
5851
|
-
return min;
|
|
5852
|
-
};
|
|
5853
|
-
module.exports = minSatisfying;
|
|
5854
|
-
}
|
|
5855
|
-
});
|
|
5856
|
-
|
|
5857
|
-
// node_modules/semver/ranges/min-version.js
|
|
5858
|
-
var require_min_version2 = __commonJS({
|
|
5859
|
-
"node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
5860
|
-
init_cjs_shims();
|
|
5861
|
-
var SemVer = require_semver3();
|
|
5862
|
-
var Range = require_range2();
|
|
5863
|
-
var gt = require_gt2();
|
|
5864
|
-
var minVersion = (range, loose) => {
|
|
5865
|
-
range = new Range(range, loose);
|
|
5866
|
-
let minver = new SemVer("0.0.0");
|
|
5867
|
-
if (range.test(minver)) {
|
|
5868
|
-
return minver;
|
|
5869
|
-
}
|
|
5870
|
-
minver = new SemVer("0.0.0-0");
|
|
5871
|
-
if (range.test(minver)) {
|
|
5872
|
-
return minver;
|
|
5873
|
-
}
|
|
5874
|
-
minver = null;
|
|
5875
|
-
for (let i = 0; i < range.set.length; ++i) {
|
|
5876
|
-
const comparators = range.set[i];
|
|
5877
|
-
let setMin = null;
|
|
5878
|
-
comparators.forEach((comparator) => {
|
|
5879
|
-
const compver = new SemVer(comparator.semver.version);
|
|
5880
|
-
switch (comparator.operator) {
|
|
5881
|
-
case ">":
|
|
5882
|
-
if (compver.prerelease.length === 0) {
|
|
5883
|
-
compver.patch++;
|
|
5884
|
-
} else {
|
|
5885
|
-
compver.prerelease.push(0);
|
|
5886
|
-
}
|
|
5887
|
-
compver.raw = compver.format();
|
|
5888
|
-
case "":
|
|
5889
|
-
case ">=":
|
|
5890
|
-
if (!setMin || gt(compver, setMin)) {
|
|
5891
|
-
setMin = compver;
|
|
5892
|
-
}
|
|
5893
|
-
break;
|
|
5894
|
-
case "<":
|
|
5895
|
-
case "<=":
|
|
5896
|
-
break;
|
|
5897
|
-
default:
|
|
5898
|
-
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
5899
|
-
}
|
|
5900
|
-
});
|
|
5901
|
-
if (setMin && (!minver || gt(minver, setMin))) {
|
|
5902
|
-
minver = setMin;
|
|
5903
|
-
}
|
|
5904
|
-
}
|
|
5905
|
-
if (minver && range.test(minver)) {
|
|
5906
|
-
return minver;
|
|
5907
|
-
}
|
|
5908
|
-
return null;
|
|
5909
|
-
};
|
|
5910
|
-
module.exports = minVersion;
|
|
5911
|
-
}
|
|
5912
|
-
});
|
|
5913
|
-
|
|
5914
|
-
// node_modules/semver/ranges/valid.js
|
|
5915
|
-
var require_valid4 = __commonJS({
|
|
5916
|
-
"node_modules/semver/ranges/valid.js"(exports, module) {
|
|
5917
|
-
init_cjs_shims();
|
|
5918
|
-
var Range = require_range2();
|
|
5919
|
-
var validRange = (range, options) => {
|
|
5920
|
-
try {
|
|
5921
|
-
return new Range(range, options).range || "*";
|
|
5922
|
-
} catch (er) {
|
|
5923
|
-
return null;
|
|
5924
|
-
}
|
|
5925
|
-
};
|
|
5926
|
-
module.exports = validRange;
|
|
5927
|
-
}
|
|
5928
|
-
});
|
|
5929
|
-
|
|
5930
|
-
// node_modules/semver/ranges/outside.js
|
|
5931
|
-
var require_outside2 = __commonJS({
|
|
5932
|
-
"node_modules/semver/ranges/outside.js"(exports, module) {
|
|
5933
|
-
init_cjs_shims();
|
|
5934
|
-
var SemVer = require_semver3();
|
|
5935
|
-
var Comparator = require_comparator2();
|
|
5936
|
-
var { ANY } = Comparator;
|
|
5937
|
-
var Range = require_range2();
|
|
5938
|
-
var satisfies = require_satisfies2();
|
|
5939
|
-
var gt = require_gt2();
|
|
5940
|
-
var lt = require_lt2();
|
|
5941
|
-
var lte = require_lte2();
|
|
5942
|
-
var gte = require_gte2();
|
|
5943
|
-
var outside = (version, range, hilo, options) => {
|
|
5944
|
-
version = new SemVer(version, options);
|
|
5945
|
-
range = new Range(range, options);
|
|
5946
|
-
let gtfn, ltefn, ltfn, comp, ecomp;
|
|
5947
|
-
switch (hilo) {
|
|
5948
|
-
case ">":
|
|
5949
|
-
gtfn = gt;
|
|
5950
|
-
ltefn = lte;
|
|
5951
|
-
ltfn = lt;
|
|
5952
|
-
comp = ">";
|
|
5953
|
-
ecomp = ">=";
|
|
5954
|
-
break;
|
|
5955
|
-
case "<":
|
|
5956
|
-
gtfn = lt;
|
|
5957
|
-
ltefn = gte;
|
|
5958
|
-
ltfn = gt;
|
|
5959
|
-
comp = "<";
|
|
5960
|
-
ecomp = "<=";
|
|
5961
|
-
break;
|
|
5962
|
-
default:
|
|
5963
|
-
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
|
5964
|
-
}
|
|
5965
|
-
if (satisfies(version, range, options)) {
|
|
5966
|
-
return false;
|
|
5967
|
-
}
|
|
5968
|
-
for (let i = 0; i < range.set.length; ++i) {
|
|
5969
|
-
const comparators = range.set[i];
|
|
5970
|
-
let high = null;
|
|
5971
|
-
let low = null;
|
|
5972
|
-
comparators.forEach((comparator) => {
|
|
5973
|
-
if (comparator.semver === ANY) {
|
|
5974
|
-
comparator = new Comparator(">=0.0.0");
|
|
5975
|
-
}
|
|
5976
|
-
high = high || comparator;
|
|
5977
|
-
low = low || comparator;
|
|
5978
|
-
if (gtfn(comparator.semver, high.semver, options)) {
|
|
5979
|
-
high = comparator;
|
|
5980
|
-
} else if (ltfn(comparator.semver, low.semver, options)) {
|
|
5981
|
-
low = comparator;
|
|
5982
|
-
}
|
|
5983
|
-
});
|
|
5984
|
-
if (high.operator === comp || high.operator === ecomp) {
|
|
5985
|
-
return false;
|
|
5986
|
-
}
|
|
5987
|
-
if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) {
|
|
5988
|
-
return false;
|
|
5989
|
-
} else if (low.operator === ecomp && ltfn(version, low.semver)) {
|
|
5990
|
-
return false;
|
|
5991
|
-
}
|
|
5992
|
-
}
|
|
5993
|
-
return true;
|
|
5994
|
-
};
|
|
5995
|
-
module.exports = outside;
|
|
5996
|
-
}
|
|
5997
|
-
});
|
|
5998
|
-
|
|
5999
|
-
// node_modules/semver/ranges/gtr.js
|
|
6000
|
-
var require_gtr2 = __commonJS({
|
|
6001
|
-
"node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
6002
|
-
init_cjs_shims();
|
|
6003
|
-
var outside = require_outside2();
|
|
6004
|
-
var gtr = (version, range, options) => outside(version, range, ">", options);
|
|
6005
|
-
module.exports = gtr;
|
|
6006
|
-
}
|
|
6007
|
-
});
|
|
6008
|
-
|
|
6009
|
-
// node_modules/semver/ranges/ltr.js
|
|
6010
|
-
var require_ltr2 = __commonJS({
|
|
6011
|
-
"node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
6012
|
-
init_cjs_shims();
|
|
6013
|
-
var outside = require_outside2();
|
|
6014
|
-
var ltr = (version, range, options) => outside(version, range, "<", options);
|
|
6015
|
-
module.exports = ltr;
|
|
6016
|
-
}
|
|
6017
|
-
});
|
|
6018
|
-
|
|
6019
|
-
// node_modules/semver/ranges/intersects.js
|
|
6020
|
-
var require_intersects2 = __commonJS({
|
|
6021
|
-
"node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
6022
|
-
init_cjs_shims();
|
|
6023
|
-
var Range = require_range2();
|
|
6024
|
-
var intersects = (r1, r2, options) => {
|
|
6025
|
-
r1 = new Range(r1, options);
|
|
6026
|
-
r2 = new Range(r2, options);
|
|
6027
|
-
return r1.intersects(r2, options);
|
|
6028
|
-
};
|
|
6029
|
-
module.exports = intersects;
|
|
6030
|
-
}
|
|
6031
|
-
});
|
|
6032
|
-
|
|
6033
|
-
// node_modules/semver/ranges/simplify.js
|
|
6034
|
-
var require_simplify2 = __commonJS({
|
|
6035
|
-
"node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
6036
|
-
init_cjs_shims();
|
|
6037
|
-
var satisfies = require_satisfies2();
|
|
6038
|
-
var compare = require_compare2();
|
|
6039
|
-
module.exports = (versions, range, options) => {
|
|
6040
|
-
const set = [];
|
|
6041
|
-
let first = null;
|
|
6042
|
-
let prev = null;
|
|
6043
|
-
const v = versions.sort((a, b) => compare(a, b, options));
|
|
6044
|
-
for (const version of v) {
|
|
6045
|
-
const included = satisfies(version, range, options);
|
|
6046
|
-
if (included) {
|
|
6047
|
-
prev = version;
|
|
6048
|
-
if (!first) {
|
|
6049
|
-
first = version;
|
|
6050
|
-
}
|
|
6051
|
-
} else {
|
|
6052
|
-
if (prev) {
|
|
6053
|
-
set.push([first, prev]);
|
|
6054
|
-
}
|
|
6055
|
-
prev = null;
|
|
6056
|
-
first = null;
|
|
6057
|
-
}
|
|
6058
|
-
}
|
|
6059
|
-
if (first) {
|
|
6060
|
-
set.push([first, null]);
|
|
6061
|
-
}
|
|
6062
|
-
const ranges = [];
|
|
6063
|
-
for (const [min, max] of set) {
|
|
6064
|
-
if (min === max) {
|
|
6065
|
-
ranges.push(min);
|
|
6066
|
-
} else if (!max && min === v[0]) {
|
|
6067
|
-
ranges.push("*");
|
|
6068
|
-
} else if (!max) {
|
|
6069
|
-
ranges.push(`>=${min}`);
|
|
6070
|
-
} else if (min === v[0]) {
|
|
6071
|
-
ranges.push(`<=${max}`);
|
|
6072
|
-
} else {
|
|
6073
|
-
ranges.push(`${min} - ${max}`);
|
|
6074
|
-
}
|
|
6075
|
-
}
|
|
6076
|
-
const simplified = ranges.join(" || ");
|
|
6077
|
-
const original = typeof range.raw === "string" ? range.raw : String(range);
|
|
6078
|
-
return simplified.length < original.length ? simplified : range;
|
|
6079
|
-
};
|
|
6080
|
-
}
|
|
6081
|
-
});
|
|
6082
|
-
|
|
6083
|
-
// node_modules/semver/ranges/subset.js
|
|
6084
|
-
var require_subset2 = __commonJS({
|
|
6085
|
-
"node_modules/semver/ranges/subset.js"(exports, module) {
|
|
6086
|
-
init_cjs_shims();
|
|
6087
|
-
var Range = require_range2();
|
|
6088
|
-
var Comparator = require_comparator2();
|
|
6089
|
-
var { ANY } = Comparator;
|
|
6090
|
-
var satisfies = require_satisfies2();
|
|
6091
|
-
var compare = require_compare2();
|
|
6092
|
-
var subset = (sub, dom, options = {}) => {
|
|
6093
|
-
if (sub === dom) {
|
|
6094
|
-
return true;
|
|
6095
|
-
}
|
|
6096
|
-
sub = new Range(sub, options);
|
|
6097
|
-
dom = new Range(dom, options);
|
|
6098
|
-
let sawNonNull = false;
|
|
6099
|
-
OUTER: for (const simpleSub of sub.set) {
|
|
6100
|
-
for (const simpleDom of dom.set) {
|
|
6101
|
-
const isSub = simpleSubset(simpleSub, simpleDom, options);
|
|
6102
|
-
sawNonNull = sawNonNull || isSub !== null;
|
|
6103
|
-
if (isSub) {
|
|
6104
|
-
continue OUTER;
|
|
6105
|
-
}
|
|
6106
|
-
}
|
|
6107
|
-
if (sawNonNull) {
|
|
6108
|
-
return false;
|
|
6109
|
-
}
|
|
6110
|
-
}
|
|
6111
|
-
return true;
|
|
6112
|
-
};
|
|
6113
|
-
var minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")];
|
|
6114
|
-
var minimumVersion = [new Comparator(">=0.0.0")];
|
|
6115
|
-
var simpleSubset = (sub, dom, options) => {
|
|
6116
|
-
if (sub === dom) {
|
|
6117
|
-
return true;
|
|
6118
|
-
}
|
|
6119
|
-
if (sub.length === 1 && sub[0].semver === ANY) {
|
|
6120
|
-
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
6121
|
-
return true;
|
|
6122
|
-
} else if (options.includePrerelease) {
|
|
6123
|
-
sub = minimumVersionWithPreRelease;
|
|
6124
|
-
} else {
|
|
6125
|
-
sub = minimumVersion;
|
|
6126
|
-
}
|
|
6127
|
-
}
|
|
6128
|
-
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
6129
|
-
if (options.includePrerelease) {
|
|
6130
|
-
return true;
|
|
6131
|
-
} else {
|
|
6132
|
-
dom = minimumVersion;
|
|
6133
|
-
}
|
|
6134
|
-
}
|
|
6135
|
-
const eqSet = /* @__PURE__ */ new Set();
|
|
6136
|
-
let gt, lt;
|
|
6137
|
-
for (const c of sub) {
|
|
6138
|
-
if (c.operator === ">" || c.operator === ">=") {
|
|
6139
|
-
gt = higherGT(gt, c, options);
|
|
6140
|
-
} else if (c.operator === "<" || c.operator === "<=") {
|
|
6141
|
-
lt = lowerLT(lt, c, options);
|
|
6142
|
-
} else {
|
|
6143
|
-
eqSet.add(c.semver);
|
|
6144
|
-
}
|
|
6145
|
-
}
|
|
6146
|
-
if (eqSet.size > 1) {
|
|
6147
|
-
return null;
|
|
6148
|
-
}
|
|
6149
|
-
let gtltComp;
|
|
6150
|
-
if (gt && lt) {
|
|
6151
|
-
gtltComp = compare(gt.semver, lt.semver, options);
|
|
6152
|
-
if (gtltComp > 0) {
|
|
6153
|
-
return null;
|
|
6154
|
-
} else if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<=")) {
|
|
6155
|
-
return null;
|
|
6156
|
-
}
|
|
6157
|
-
}
|
|
6158
|
-
for (const eq of eqSet) {
|
|
6159
|
-
if (gt && !satisfies(eq, String(gt), options)) {
|
|
6160
|
-
return null;
|
|
6161
|
-
}
|
|
6162
|
-
if (lt && !satisfies(eq, String(lt), options)) {
|
|
6163
|
-
return null;
|
|
6164
|
-
}
|
|
6165
|
-
for (const c of dom) {
|
|
6166
|
-
if (!satisfies(eq, String(c), options)) {
|
|
6167
|
-
return false;
|
|
6168
|
-
}
|
|
6169
|
-
}
|
|
6170
|
-
return true;
|
|
6171
|
-
}
|
|
6172
|
-
let higher, lower;
|
|
6173
|
-
let hasDomLT, hasDomGT;
|
|
6174
|
-
let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
|
|
6175
|
-
let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
|
|
6176
|
-
if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
|
|
6177
|
-
needDomLTPre = false;
|
|
6178
|
-
}
|
|
6179
|
-
for (const c of dom) {
|
|
6180
|
-
hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
|
|
6181
|
-
hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
|
|
6182
|
-
if (gt) {
|
|
6183
|
-
if (needDomGTPre) {
|
|
6184
|
-
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
|
|
6185
|
-
needDomGTPre = false;
|
|
6186
|
-
}
|
|
6187
|
-
}
|
|
6188
|
-
if (c.operator === ">" || c.operator === ">=") {
|
|
6189
|
-
higher = higherGT(gt, c, options);
|
|
6190
|
-
if (higher === c && higher !== gt) {
|
|
6191
|
-
return false;
|
|
6192
|
-
}
|
|
6193
|
-
} else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options)) {
|
|
6194
|
-
return false;
|
|
6195
|
-
}
|
|
6196
|
-
}
|
|
6197
|
-
if (lt) {
|
|
6198
|
-
if (needDomLTPre) {
|
|
6199
|
-
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
|
|
6200
|
-
needDomLTPre = false;
|
|
6201
|
-
}
|
|
6202
|
-
}
|
|
6203
|
-
if (c.operator === "<" || c.operator === "<=") {
|
|
6204
|
-
lower = lowerLT(lt, c, options);
|
|
6205
|
-
if (lower === c && lower !== lt) {
|
|
6206
|
-
return false;
|
|
6207
|
-
}
|
|
6208
|
-
} else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options)) {
|
|
6209
|
-
return false;
|
|
6210
|
-
}
|
|
6211
|
-
}
|
|
6212
|
-
if (!c.operator && (lt || gt) && gtltComp !== 0) {
|
|
6213
|
-
return false;
|
|
6214
|
-
}
|
|
6215
|
-
}
|
|
6216
|
-
if (gt && hasDomLT && !lt && gtltComp !== 0) {
|
|
6217
|
-
return false;
|
|
6218
|
-
}
|
|
6219
|
-
if (lt && hasDomGT && !gt && gtltComp !== 0) {
|
|
6220
|
-
return false;
|
|
6221
|
-
}
|
|
6222
|
-
if (needDomGTPre || needDomLTPre) {
|
|
6223
|
-
return false;
|
|
6224
|
-
}
|
|
6225
|
-
return true;
|
|
6226
|
-
};
|
|
6227
|
-
var higherGT = (a, b, options) => {
|
|
6228
|
-
if (!a) {
|
|
6229
|
-
return b;
|
|
6230
|
-
}
|
|
6231
|
-
const comp = compare(a.semver, b.semver, options);
|
|
6232
|
-
return comp > 0 ? a : comp < 0 ? b : b.operator === ">" && a.operator === ">=" ? b : a;
|
|
6233
|
-
};
|
|
6234
|
-
var lowerLT = (a, b, options) => {
|
|
6235
|
-
if (!a) {
|
|
6236
|
-
return b;
|
|
6237
|
-
}
|
|
6238
|
-
const comp = compare(a.semver, b.semver, options);
|
|
6239
|
-
return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
|
|
6240
|
-
};
|
|
6241
|
-
module.exports = subset;
|
|
6242
|
-
}
|
|
6243
|
-
});
|
|
6244
|
-
|
|
6245
|
-
// node_modules/semver/index.js
|
|
6246
|
-
var require_semver4 = __commonJS({
|
|
6247
|
-
"node_modules/semver/index.js"(exports, module) {
|
|
6248
|
-
init_cjs_shims();
|
|
6249
|
-
var internalRe = require_re2();
|
|
6250
|
-
var constants = require_constants2();
|
|
6251
|
-
var SemVer = require_semver3();
|
|
6252
|
-
var identifiers = require_identifiers2();
|
|
6253
|
-
var parse = require_parse2();
|
|
6254
|
-
var valid = require_valid3();
|
|
6255
|
-
var clean = require_clean2();
|
|
6256
|
-
var inc = require_inc2();
|
|
6257
|
-
var diff = require_diff2();
|
|
6258
|
-
var major = require_major2();
|
|
6259
|
-
var minor = require_minor2();
|
|
6260
|
-
var patch = require_patch2();
|
|
6261
|
-
var prerelease = require_prerelease2();
|
|
6262
|
-
var compare = require_compare2();
|
|
6263
|
-
var rcompare = require_rcompare2();
|
|
6264
|
-
var compareLoose = require_compare_loose2();
|
|
6265
|
-
var compareBuild = require_compare_build2();
|
|
6266
|
-
var sort = require_sort2();
|
|
6267
|
-
var rsort = require_rsort2();
|
|
6268
|
-
var gt = require_gt2();
|
|
6269
|
-
var lt = require_lt2();
|
|
6270
|
-
var eq = require_eq2();
|
|
6271
|
-
var neq = require_neq2();
|
|
6272
|
-
var gte = require_gte2();
|
|
6273
|
-
var lte = require_lte2();
|
|
6274
|
-
var cmp = require_cmp2();
|
|
6275
|
-
var coerce = require_coerce2();
|
|
6276
|
-
var Comparator = require_comparator2();
|
|
6277
|
-
var Range = require_range2();
|
|
6278
|
-
var satisfies = require_satisfies2();
|
|
6279
|
-
var toComparators = require_to_comparators2();
|
|
6280
|
-
var maxSatisfying = require_max_satisfying2();
|
|
6281
|
-
var minSatisfying = require_min_satisfying2();
|
|
6282
|
-
var minVersion = require_min_version2();
|
|
6283
|
-
var validRange = require_valid4();
|
|
6284
|
-
var outside = require_outside2();
|
|
6285
|
-
var gtr = require_gtr2();
|
|
6286
|
-
var ltr = require_ltr2();
|
|
6287
|
-
var intersects = require_intersects2();
|
|
6288
|
-
var simplifyRange = require_simplify2();
|
|
6289
|
-
var subset = require_subset2();
|
|
6290
|
-
module.exports = {
|
|
6291
|
-
parse,
|
|
6292
|
-
valid,
|
|
6293
|
-
clean,
|
|
6294
|
-
inc,
|
|
6295
|
-
diff,
|
|
6296
|
-
major,
|
|
6297
|
-
minor,
|
|
6298
|
-
patch,
|
|
6299
|
-
prerelease,
|
|
6300
|
-
compare,
|
|
6301
|
-
rcompare,
|
|
6302
|
-
compareLoose,
|
|
6303
|
-
compareBuild,
|
|
6304
|
-
sort,
|
|
6305
|
-
rsort,
|
|
6306
|
-
gt,
|
|
6307
|
-
lt,
|
|
6308
|
-
eq,
|
|
6309
|
-
neq,
|
|
6310
|
-
gte,
|
|
6311
|
-
lte,
|
|
6312
|
-
cmp,
|
|
6313
|
-
coerce,
|
|
6314
|
-
Comparator,
|
|
6315
|
-
Range,
|
|
6316
|
-
satisfies,
|
|
6317
|
-
toComparators,
|
|
6318
|
-
maxSatisfying,
|
|
6319
|
-
minSatisfying,
|
|
6320
|
-
minVersion,
|
|
6321
|
-
validRange,
|
|
6322
|
-
outside,
|
|
6323
|
-
gtr,
|
|
6324
|
-
ltr,
|
|
6325
|
-
intersects,
|
|
6326
|
-
simplifyRange,
|
|
6327
|
-
subset,
|
|
6328
|
-
SemVer,
|
|
6329
|
-
re: internalRe.re,
|
|
6330
|
-
src: internalRe.src,
|
|
6331
|
-
tokens: internalRe.t,
|
|
6332
|
-
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
6333
|
-
RELEASE_TYPES: constants.RELEASE_TYPES,
|
|
6334
|
-
compareIdentifiers: identifiers.compareIdentifiers,
|
|
6335
|
-
rcompareIdentifiers: identifiers.rcompareIdentifiers
|
|
6336
|
-
};
|
|
6337
|
-
}
|
|
6338
|
-
});
|
|
6339
|
-
|
|
6340
|
-
// node_modules/builtins/index.js
|
|
6341
|
-
var require_builtins = __commonJS({
|
|
6342
|
-
"node_modules/builtins/index.js"(exports, module) {
|
|
6343
|
-
"use strict";
|
|
6344
|
-
init_cjs_shims();
|
|
6345
|
-
var semver = require_semver4();
|
|
4244
|
+
var semver = require_semver2();
|
|
6346
4245
|
var permanentModules = [
|
|
6347
4246
|
"assert",
|
|
6348
4247
|
"buffer",
|
|
@@ -6413,9 +4312,9 @@ var require_builtins = __commonJS({
|
|
|
6413
4312
|
}
|
|
6414
4313
|
});
|
|
6415
4314
|
|
|
6416
|
-
// node_modules
|
|
4315
|
+
// node_modules/validate-npm-package-name/lib/index.js
|
|
6417
4316
|
var require_lib2 = __commonJS({
|
|
6418
|
-
"node_modules
|
|
4317
|
+
"node_modules/validate-npm-package-name/lib/index.js"(exports, module) {
|
|
6419
4318
|
"use strict";
|
|
6420
4319
|
init_cjs_shims();
|
|
6421
4320
|
var scopedPackagePattern = new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$");
|
|
@@ -6662,9 +4561,9 @@ var require_lib3 = __commonJS({
|
|
|
6662
4561
|
}
|
|
6663
4562
|
});
|
|
6664
4563
|
|
|
6665
|
-
// node_modules
|
|
4564
|
+
// node_modules/npm-package-arg/lib/npa.js
|
|
6666
4565
|
var require_npa = __commonJS({
|
|
6667
|
-
"node_modules
|
|
4566
|
+
"node_modules/npm-package-arg/lib/npa.js"(exports, module) {
|
|
6668
4567
|
init_cjs_shims();
|
|
6669
4568
|
module.exports = npa;
|
|
6670
4569
|
module.exports.resolve = resolve;
|