@wise/wds-codemods 1.3.0-experimental-c8f253b → 1.3.0-experimental-2f9857e
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.
|
@@ -28,7 +28,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
enumerable: true
|
|
29
29
|
}) : target, mod));
|
|
30
30
|
//#endregion
|
|
31
|
-
//#region node_modules/.pnpm/semver@7.
|
|
31
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/internal/constants.js
|
|
32
32
|
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
33
33
|
const SEMVER_SPEC_VERSION = "2.0.0";
|
|
34
34
|
const MAX_LENGTH = 256;
|
|
@@ -53,12 +53,12 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
53
53
|
};
|
|
54
54
|
}));
|
|
55
55
|
//#endregion
|
|
56
|
-
//#region node_modules/.pnpm/semver@7.
|
|
56
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/internal/debug.js
|
|
57
57
|
var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
58
58
|
module.exports = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
59
59
|
}));
|
|
60
60
|
//#endregion
|
|
61
|
-
//#region node_modules/.pnpm/semver@7.
|
|
61
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/internal/re.js
|
|
62
62
|
var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
63
63
|
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants();
|
|
64
64
|
const debug = require_debug();
|
|
@@ -137,7 +137,7 @@ var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
137
137
|
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
138
138
|
}));
|
|
139
139
|
//#endregion
|
|
140
|
-
//#region node_modules/.pnpm/semver@7.
|
|
140
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/internal/parse-options.js
|
|
141
141
|
var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
142
142
|
const looseOption = Object.freeze({ loose: true });
|
|
143
143
|
const emptyOpts = Object.freeze({});
|
|
@@ -149,7 +149,7 @@ var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
149
149
|
module.exports = parseOptions;
|
|
150
150
|
}));
|
|
151
151
|
//#endregion
|
|
152
|
-
//#region node_modules/.pnpm/semver@7.
|
|
152
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/internal/identifiers.js
|
|
153
153
|
var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
154
154
|
const numeric = /^[0-9]+$/;
|
|
155
155
|
const compareIdentifiers = (a, b) => {
|
|
@@ -169,7 +169,7 @@ var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
169
169
|
};
|
|
170
170
|
}));
|
|
171
171
|
//#endregion
|
|
172
|
-
//#region node_modules/.pnpm/semver@7.
|
|
172
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/classes/semver.js
|
|
173
173
|
var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
174
174
|
const debug = require_debug();
|
|
175
175
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
@@ -347,7 +347,7 @@ var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
347
347
|
};
|
|
348
348
|
}));
|
|
349
349
|
//#endregion
|
|
350
|
-
//#region node_modules/.pnpm/semver@7.
|
|
350
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/parse.js
|
|
351
351
|
var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
352
352
|
const SemVer = require_semver$1();
|
|
353
353
|
const parse = (version, options, throwErrors = false) => {
|
|
@@ -362,7 +362,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
362
362
|
module.exports = parse;
|
|
363
363
|
}));
|
|
364
364
|
//#endregion
|
|
365
|
-
//#region node_modules/.pnpm/semver@7.
|
|
365
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/valid.js
|
|
366
366
|
var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
367
367
|
const parse = require_parse();
|
|
368
368
|
const valid = (version, options) => {
|
|
@@ -372,7 +372,7 @@ var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
372
372
|
module.exports = valid;
|
|
373
373
|
}));
|
|
374
374
|
//#endregion
|
|
375
|
-
//#region node_modules/.pnpm/semver@7.
|
|
375
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/clean.js
|
|
376
376
|
var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
377
377
|
const parse = require_parse();
|
|
378
378
|
const clean = (version, options) => {
|
|
@@ -382,7 +382,7 @@ var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
382
382
|
module.exports = clean;
|
|
383
383
|
}));
|
|
384
384
|
//#endregion
|
|
385
|
-
//#region node_modules/.pnpm/semver@7.
|
|
385
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/inc.js
|
|
386
386
|
var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
387
387
|
const SemVer = require_semver$1();
|
|
388
388
|
const inc = (version, release, options, identifier, identifierBase) => {
|
|
@@ -400,7 +400,7 @@ var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
400
400
|
module.exports = inc;
|
|
401
401
|
}));
|
|
402
402
|
//#endregion
|
|
403
|
-
//#region node_modules/.pnpm/semver@7.
|
|
403
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/diff.js
|
|
404
404
|
var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
405
405
|
const parse = require_parse();
|
|
406
406
|
const diff = (version1, version2) => {
|
|
@@ -428,28 +428,28 @@ var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
428
428
|
module.exports = diff;
|
|
429
429
|
}));
|
|
430
430
|
//#endregion
|
|
431
|
-
//#region node_modules/.pnpm/semver@7.
|
|
431
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/major.js
|
|
432
432
|
var require_major = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
433
433
|
const SemVer = require_semver$1();
|
|
434
434
|
const major = (a, loose) => new SemVer(a, loose).major;
|
|
435
435
|
module.exports = major;
|
|
436
436
|
}));
|
|
437
437
|
//#endregion
|
|
438
|
-
//#region node_modules/.pnpm/semver@7.
|
|
438
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/minor.js
|
|
439
439
|
var require_minor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
440
440
|
const SemVer = require_semver$1();
|
|
441
441
|
const minor = (a, loose) => new SemVer(a, loose).minor;
|
|
442
442
|
module.exports = minor;
|
|
443
443
|
}));
|
|
444
444
|
//#endregion
|
|
445
|
-
//#region node_modules/.pnpm/semver@7.
|
|
445
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/patch.js
|
|
446
446
|
var require_patch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
447
447
|
const SemVer = require_semver$1();
|
|
448
448
|
const patch = (a, loose) => new SemVer(a, loose).patch;
|
|
449
449
|
module.exports = patch;
|
|
450
450
|
}));
|
|
451
451
|
//#endregion
|
|
452
|
-
//#region node_modules/.pnpm/semver@7.
|
|
452
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/prerelease.js
|
|
453
453
|
var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
454
454
|
const parse = require_parse();
|
|
455
455
|
const prerelease = (version, options) => {
|
|
@@ -459,28 +459,28 @@ var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
459
459
|
module.exports = prerelease;
|
|
460
460
|
}));
|
|
461
461
|
//#endregion
|
|
462
|
-
//#region node_modules/.pnpm/semver@7.
|
|
462
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/compare.js
|
|
463
463
|
var require_compare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
464
464
|
const SemVer = require_semver$1();
|
|
465
465
|
const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
466
466
|
module.exports = compare;
|
|
467
467
|
}));
|
|
468
468
|
//#endregion
|
|
469
|
-
//#region node_modules/.pnpm/semver@7.
|
|
469
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/rcompare.js
|
|
470
470
|
var require_rcompare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
471
471
|
const compare = require_compare();
|
|
472
472
|
const rcompare = (a, b, loose) => compare(b, a, loose);
|
|
473
473
|
module.exports = rcompare;
|
|
474
474
|
}));
|
|
475
475
|
//#endregion
|
|
476
|
-
//#region node_modules/.pnpm/semver@7.
|
|
476
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/compare-loose.js
|
|
477
477
|
var require_compare_loose = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
478
478
|
const compare = require_compare();
|
|
479
479
|
const compareLoose = (a, b) => compare(a, b, true);
|
|
480
480
|
module.exports = compareLoose;
|
|
481
481
|
}));
|
|
482
482
|
//#endregion
|
|
483
|
-
//#region node_modules/.pnpm/semver@7.
|
|
483
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/compare-build.js
|
|
484
484
|
var require_compare_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
485
485
|
const SemVer = require_semver$1();
|
|
486
486
|
const compareBuild = (a, b, loose) => {
|
|
@@ -491,63 +491,63 @@ var require_compare_build = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
491
491
|
module.exports = compareBuild;
|
|
492
492
|
}));
|
|
493
493
|
//#endregion
|
|
494
|
-
//#region node_modules/.pnpm/semver@7.
|
|
494
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/sort.js
|
|
495
495
|
var require_sort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
496
496
|
const compareBuild = require_compare_build();
|
|
497
497
|
const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
498
498
|
module.exports = sort;
|
|
499
499
|
}));
|
|
500
500
|
//#endregion
|
|
501
|
-
//#region node_modules/.pnpm/semver@7.
|
|
501
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/rsort.js
|
|
502
502
|
var require_rsort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
503
503
|
const compareBuild = require_compare_build();
|
|
504
504
|
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
505
505
|
module.exports = rsort;
|
|
506
506
|
}));
|
|
507
507
|
//#endregion
|
|
508
|
-
//#region node_modules/.pnpm/semver@7.
|
|
508
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/gt.js
|
|
509
509
|
var require_gt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
510
510
|
const compare = require_compare();
|
|
511
511
|
const gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
512
512
|
module.exports = gt;
|
|
513
513
|
}));
|
|
514
514
|
//#endregion
|
|
515
|
-
//#region node_modules/.pnpm/semver@7.
|
|
515
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/lt.js
|
|
516
516
|
var require_lt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
517
517
|
const compare = require_compare();
|
|
518
518
|
const lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
519
519
|
module.exports = lt;
|
|
520
520
|
}));
|
|
521
521
|
//#endregion
|
|
522
|
-
//#region node_modules/.pnpm/semver@7.
|
|
522
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/eq.js
|
|
523
523
|
var require_eq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
524
524
|
const compare = require_compare();
|
|
525
525
|
const eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
526
526
|
module.exports = eq;
|
|
527
527
|
}));
|
|
528
528
|
//#endregion
|
|
529
|
-
//#region node_modules/.pnpm/semver@7.
|
|
529
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/neq.js
|
|
530
530
|
var require_neq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
531
531
|
const compare = require_compare();
|
|
532
532
|
const neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
533
533
|
module.exports = neq;
|
|
534
534
|
}));
|
|
535
535
|
//#endregion
|
|
536
|
-
//#region node_modules/.pnpm/semver@7.
|
|
536
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/gte.js
|
|
537
537
|
var require_gte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
538
538
|
const compare = require_compare();
|
|
539
539
|
const gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
540
540
|
module.exports = gte;
|
|
541
541
|
}));
|
|
542
542
|
//#endregion
|
|
543
|
-
//#region node_modules/.pnpm/semver@7.
|
|
543
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/lte.js
|
|
544
544
|
var require_lte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
545
545
|
const compare = require_compare();
|
|
546
546
|
const lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
547
547
|
module.exports = lte;
|
|
548
548
|
}));
|
|
549
549
|
//#endregion
|
|
550
|
-
//#region node_modules/.pnpm/semver@7.
|
|
550
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/cmp.js
|
|
551
551
|
var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
552
552
|
const eq = require_eq();
|
|
553
553
|
const neq = require_neq();
|
|
@@ -579,7 +579,7 @@ var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
579
579
|
module.exports = cmp;
|
|
580
580
|
}));
|
|
581
581
|
//#endregion
|
|
582
|
-
//#region node_modules/.pnpm/semver@7.
|
|
582
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/coerce.js
|
|
583
583
|
var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
584
584
|
const SemVer = require_semver$1();
|
|
585
585
|
const parse = require_parse();
|
|
@@ -607,7 +607,40 @@ var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
607
607
|
module.exports = coerce;
|
|
608
608
|
}));
|
|
609
609
|
//#endregion
|
|
610
|
-
//#region node_modules/.pnpm/semver@7.
|
|
610
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/truncate.js
|
|
611
|
+
var require_truncate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
612
|
+
const parse = require_parse();
|
|
613
|
+
const constants = require_constants();
|
|
614
|
+
const SemVer = require_semver$1();
|
|
615
|
+
const truncate = (version, truncation, options) => {
|
|
616
|
+
if (!constants.RELEASE_TYPES.includes(truncation)) return null;
|
|
617
|
+
const clonedVersion = cloneInputVersion(version, options);
|
|
618
|
+
return clonedVersion && doTruncation(clonedVersion, truncation);
|
|
619
|
+
};
|
|
620
|
+
const cloneInputVersion = (version, options) => {
|
|
621
|
+
return parse(version instanceof SemVer ? version.version : version, options);
|
|
622
|
+
};
|
|
623
|
+
const doTruncation = (version, truncation) => {
|
|
624
|
+
if (isPrerelease(truncation)) return version.version;
|
|
625
|
+
version.prerelease = [];
|
|
626
|
+
switch (truncation) {
|
|
627
|
+
case "major":
|
|
628
|
+
version.minor = 0;
|
|
629
|
+
version.patch = 0;
|
|
630
|
+
break;
|
|
631
|
+
case "minor":
|
|
632
|
+
version.patch = 0;
|
|
633
|
+
break;
|
|
634
|
+
}
|
|
635
|
+
return version.format();
|
|
636
|
+
};
|
|
637
|
+
const isPrerelease = (type) => {
|
|
638
|
+
return type.startsWith("pre");
|
|
639
|
+
};
|
|
640
|
+
module.exports = truncate;
|
|
641
|
+
}));
|
|
642
|
+
//#endregion
|
|
643
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/internal/lrucache.js
|
|
611
644
|
var require_lrucache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
612
645
|
var LRUCache = class {
|
|
613
646
|
constructor() {
|
|
@@ -640,7 +673,7 @@ var require_lrucache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
640
673
|
module.exports = LRUCache;
|
|
641
674
|
}));
|
|
642
675
|
//#endregion
|
|
643
|
-
//#region node_modules/.pnpm/semver@7.
|
|
676
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/classes/range.js
|
|
644
677
|
var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
645
678
|
const SPACE_CHARACTERS = /\s+/g;
|
|
646
679
|
module.exports = class Range {
|
|
@@ -694,6 +727,7 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
694
727
|
return this.range;
|
|
695
728
|
}
|
|
696
729
|
parseRange(range) {
|
|
730
|
+
range = range.replace(BUILDSTRIPRE, "");
|
|
697
731
|
const memoKey = ((this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE)) + ":" + range;
|
|
698
732
|
const cached = cache.get(memoKey);
|
|
699
733
|
if (cached) return cached;
|
|
@@ -752,8 +786,9 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
752
786
|
const Comparator = require_comparator();
|
|
753
787
|
const debug = require_debug();
|
|
754
788
|
const SemVer = require_semver$1();
|
|
755
|
-
const { safeRe: re, t, comparatorTrimReplace, tildeTrimReplace, caretTrimReplace } = require_re();
|
|
789
|
+
const { safeRe: re, src, t, comparatorTrimReplace, tildeTrimReplace, caretTrimReplace } = require_re();
|
|
756
790
|
const { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants();
|
|
791
|
+
const BUILDSTRIPRE = new RegExp(src[t.BUILD], "g");
|
|
757
792
|
const isNullSet = (c) => c.value === "<0.0.0-0";
|
|
758
793
|
const isAny = (c) => c.value === "";
|
|
759
794
|
const isSatisfiable = (comparators, options) => {
|
|
@@ -912,7 +947,7 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
912
947
|
};
|
|
913
948
|
}));
|
|
914
949
|
//#endregion
|
|
915
|
-
//#region node_modules/.pnpm/semver@7.
|
|
950
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/classes/comparator.js
|
|
916
951
|
var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
917
952
|
const ANY = Symbol("SemVer ANY");
|
|
918
953
|
module.exports = class Comparator {
|
|
@@ -982,7 +1017,7 @@ var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
982
1017
|
const Range = require_range();
|
|
983
1018
|
}));
|
|
984
1019
|
//#endregion
|
|
985
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1020
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/functions/satisfies.js
|
|
986
1021
|
var require_satisfies = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
987
1022
|
const Range = require_range();
|
|
988
1023
|
const satisfies = (version, range, options) => {
|
|
@@ -996,14 +1031,14 @@ var require_satisfies = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
996
1031
|
module.exports = satisfies;
|
|
997
1032
|
}));
|
|
998
1033
|
//#endregion
|
|
999
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1034
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/ranges/to-comparators.js
|
|
1000
1035
|
var require_to_comparators = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1001
1036
|
const Range = require_range();
|
|
1002
1037
|
const toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
1003
1038
|
module.exports = toComparators;
|
|
1004
1039
|
}));
|
|
1005
1040
|
//#endregion
|
|
1006
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1041
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/ranges/max-satisfying.js
|
|
1007
1042
|
var require_max_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1008
1043
|
const SemVer = require_semver$1();
|
|
1009
1044
|
const Range = require_range();
|
|
@@ -1029,7 +1064,7 @@ var require_max_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
1029
1064
|
module.exports = maxSatisfying;
|
|
1030
1065
|
}));
|
|
1031
1066
|
//#endregion
|
|
1032
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1067
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/ranges/min-satisfying.js
|
|
1033
1068
|
var require_min_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1034
1069
|
const SemVer = require_semver$1();
|
|
1035
1070
|
const Range = require_range();
|
|
@@ -1055,7 +1090,7 @@ var require_min_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
1055
1090
|
module.exports = minSatisfying;
|
|
1056
1091
|
}));
|
|
1057
1092
|
//#endregion
|
|
1058
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1093
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/ranges/min-version.js
|
|
1059
1094
|
var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1060
1095
|
const SemVer = require_semver$1();
|
|
1061
1096
|
const Range = require_range();
|
|
@@ -1095,7 +1130,7 @@ var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1095
1130
|
module.exports = minVersion;
|
|
1096
1131
|
}));
|
|
1097
1132
|
//#endregion
|
|
1098
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1133
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/ranges/valid.js
|
|
1099
1134
|
var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1100
1135
|
const Range = require_range();
|
|
1101
1136
|
const validRange = (range, options) => {
|
|
@@ -1108,7 +1143,7 @@ var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1108
1143
|
module.exports = validRange;
|
|
1109
1144
|
}));
|
|
1110
1145
|
//#endregion
|
|
1111
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1146
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/ranges/outside.js
|
|
1112
1147
|
var require_outside = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1113
1148
|
const SemVer = require_semver$1();
|
|
1114
1149
|
const Comparator = require_comparator();
|
|
@@ -1161,21 +1196,21 @@ var require_outside = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1161
1196
|
module.exports = outside;
|
|
1162
1197
|
}));
|
|
1163
1198
|
//#endregion
|
|
1164
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1199
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/ranges/gtr.js
|
|
1165
1200
|
var require_gtr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1166
1201
|
const outside = require_outside();
|
|
1167
1202
|
const gtr = (version, range, options) => outside(version, range, ">", options);
|
|
1168
1203
|
module.exports = gtr;
|
|
1169
1204
|
}));
|
|
1170
1205
|
//#endregion
|
|
1171
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1206
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/ranges/ltr.js
|
|
1172
1207
|
var require_ltr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1173
1208
|
const outside = require_outside();
|
|
1174
1209
|
const ltr = (version, range, options) => outside(version, range, "<", options);
|
|
1175
1210
|
module.exports = ltr;
|
|
1176
1211
|
}));
|
|
1177
1212
|
//#endregion
|
|
1178
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1213
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/ranges/intersects.js
|
|
1179
1214
|
var require_intersects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1180
1215
|
const Range = require_range();
|
|
1181
1216
|
const intersects = (r1, r2, options) => {
|
|
@@ -1186,7 +1221,7 @@ var require_intersects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1186
1221
|
module.exports = intersects;
|
|
1187
1222
|
}));
|
|
1188
1223
|
//#endregion
|
|
1189
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1224
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/ranges/simplify.js
|
|
1190
1225
|
var require_simplify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1191
1226
|
const satisfies = require_satisfies();
|
|
1192
1227
|
const compare = require_compare();
|
|
@@ -1216,7 +1251,7 @@ var require_simplify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1216
1251
|
};
|
|
1217
1252
|
}));
|
|
1218
1253
|
//#endregion
|
|
1219
|
-
//#region node_modules/.pnpm/semver@7.
|
|
1254
|
+
//#region node_modules/.pnpm/semver@7.8.1/node_modules/semver/ranges/subset.js
|
|
1220
1255
|
var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1221
1256
|
const Range = require_range();
|
|
1222
1257
|
const Comparator = require_comparator();
|
|
@@ -1280,7 +1315,7 @@ var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1280
1315
|
if (c.operator === ">" || c.operator === ">=") {
|
|
1281
1316
|
higher = higherGT(gt, c, options);
|
|
1282
1317
|
if (higher === c && higher !== gt) return false;
|
|
1283
|
-
} else if (gt.operator === ">=" && !
|
|
1318
|
+
} else if (gt.operator === ">=" && !c.test(gt.semver)) return false;
|
|
1284
1319
|
}
|
|
1285
1320
|
if (lt) {
|
|
1286
1321
|
if (needDomLTPre) {
|
|
@@ -1289,7 +1324,7 @@ var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1289
1324
|
if (c.operator === "<" || c.operator === "<=") {
|
|
1290
1325
|
lower = lowerLT(lt, c, options);
|
|
1291
1326
|
if (lower === c && lower !== lt) return false;
|
|
1292
|
-
} else if (lt.operator === "<=" && !
|
|
1327
|
+
} else if (lt.operator === "<=" && !c.test(lt.semver)) return false;
|
|
1293
1328
|
}
|
|
1294
1329
|
if (!c.operator && (lt || gt) && gtltComp !== 0) return false;
|
|
1295
1330
|
}
|
|
@@ -1341,6 +1376,7 @@ var import_semver = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exp
|
|
|
1341
1376
|
lte: require_lte(),
|
|
1342
1377
|
cmp: require_cmp(),
|
|
1343
1378
|
coerce: require_coerce(),
|
|
1379
|
+
truncate: require_truncate(),
|
|
1344
1380
|
Comparator: require_comparator(),
|
|
1345
1381
|
Range: require_range(),
|
|
1346
1382
|
satisfies: require_satisfies(),
|
|
@@ -1901,4 +1937,4 @@ function validateClaudeConfig() {
|
|
|
1901
1937
|
//#endregion
|
|
1902
1938
|
export { getOptions as a, assessPrerequisitesBatch as c, getCodemodConfig as d, loadTransformModules as i, findPackages as l, runTransformPrompts as n, logToInquirer as o, reportManualReview as r, assessPrerequisites as s, validateClaudeConfig as t, findProjectRoot as u };
|
|
1903
1939
|
|
|
1904
|
-
//# sourceMappingURL=helpers-
|
|
1940
|
+
//# sourceMappingURL=helpers-BzRdKCH7.js.map
|