@oclif/plugin-test-esbuild 0.5.80 → 0.5.82

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 CHANGED
@@ -17,7 +17,7 @@ $ npm install -g @oclif/plugin-test-esbuild
17
17
  $ bundle COMMAND
18
18
  running command...
19
19
  $ bundle (--version)
20
- @oclif/plugin-test-esbuild/0.5.80 linux-x64 node-v22.15.0
20
+ @oclif/plugin-test-esbuild/0.5.82 linux-x64 node-v22.15.0
21
21
  $ bundle --help [COMMAND]
22
22
  USAGE
23
23
  $ bundle COMMAND
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-P6Y2XVPK.js";
3
+ } from "./chunk-UWWZQNJO.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
@@ -6,6 +6,7 @@ import {
6
6
  // node_modules/semver/internal/constants.js
7
7
  var require_constants = __commonJS({
8
8
  "node_modules/semver/internal/constants.js"(exports, module) {
9
+ "use strict";
9
10
  init_cjs_shims();
10
11
  var SEMVER_SPEC_VERSION = "2.0.0";
11
12
  var MAX_LENGTH = 256;
@@ -38,6 +39,7 @@ var require_constants = __commonJS({
38
39
  // node_modules/semver/internal/debug.js
39
40
  var require_debug = __commonJS({
40
41
  "node_modules/semver/internal/debug.js"(exports, module) {
42
+ "use strict";
41
43
  init_cjs_shims();
42
44
  var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
43
45
  };
@@ -48,6 +50,7 @@ var require_debug = __commonJS({
48
50
  // node_modules/semver/internal/re.js
49
51
  var require_re = __commonJS({
50
52
  "node_modules/semver/internal/re.js"(exports, module) {
53
+ "use strict";
51
54
  init_cjs_shims();
52
55
  var {
53
56
  MAX_SAFE_COMPONENT_LENGTH,
@@ -89,8 +92,8 @@ var require_re = __commonJS({
89
92
  createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
90
93
  createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
91
94
  createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
92
- createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
93
- createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
95
+ createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIER]})`);
96
+ createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIERLOOSE]})`);
94
97
  createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
95
98
  createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
96
99
  createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
@@ -136,6 +139,7 @@ var require_re = __commonJS({
136
139
  // node_modules/semver/internal/parse-options.js
137
140
  var require_parse_options = __commonJS({
138
141
  "node_modules/semver/internal/parse-options.js"(exports, module) {
142
+ "use strict";
139
143
  init_cjs_shims();
140
144
  var looseOption = Object.freeze({ loose: true });
141
145
  var emptyOpts = Object.freeze({});
@@ -155,6 +159,7 @@ var require_parse_options = __commonJS({
155
159
  // node_modules/semver/internal/identifiers.js
156
160
  var require_identifiers = __commonJS({
157
161
  "node_modules/semver/internal/identifiers.js"(exports, module) {
162
+ "use strict";
158
163
  init_cjs_shims();
159
164
  var numeric = /^[0-9]+$/;
160
165
  var compareIdentifiers = (a, b) => {
@@ -177,10 +182,11 @@ var require_identifiers = __commonJS({
177
182
  // node_modules/semver/classes/semver.js
178
183
  var require_semver = __commonJS({
179
184
  "node_modules/semver/classes/semver.js"(exports, module) {
185
+ "use strict";
180
186
  init_cjs_shims();
181
187
  var debug = require_debug();
182
188
  var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
183
- var { safeRe: re, safeSrc: src, t } = require_re();
189
+ var { safeRe: re, t } = require_re();
184
190
  var parseOptions = require_parse_options();
185
191
  var { compareIdentifiers } = require_identifiers();
186
192
  var SemVer = class _SemVer {
@@ -325,8 +331,7 @@ var require_semver = __commonJS({
325
331
  throw new Error("invalid increment argument: identifier is empty");
326
332
  }
327
333
  if (identifier) {
328
- const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
329
- const match = `-${identifier}`.match(r);
334
+ const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
330
335
  if (!match || match[1] !== identifier) {
331
336
  throw new Error(`invalid identifier: ${identifier}`);
332
337
  }
@@ -439,6 +444,7 @@ var require_semver = __commonJS({
439
444
  // node_modules/semver/functions/parse.js
440
445
  var require_parse = __commonJS({
441
446
  "node_modules/semver/functions/parse.js"(exports, module) {
447
+ "use strict";
442
448
  init_cjs_shims();
443
449
  var SemVer = require_semver();
444
450
  var parse = (version, options, throwErrors = false) => {
@@ -461,6 +467,7 @@ var require_parse = __commonJS({
461
467
  // node_modules/semver/functions/valid.js
462
468
  var require_valid = __commonJS({
463
469
  "node_modules/semver/functions/valid.js"(exports, module) {
470
+ "use strict";
464
471
  init_cjs_shims();
465
472
  var parse = require_parse();
466
473
  var valid = (version, options) => {
@@ -474,6 +481,7 @@ var require_valid = __commonJS({
474
481
  // node_modules/semver/functions/clean.js
475
482
  var require_clean = __commonJS({
476
483
  "node_modules/semver/functions/clean.js"(exports, module) {
484
+ "use strict";
477
485
  init_cjs_shims();
478
486
  var parse = require_parse();
479
487
  var clean = (version, options) => {
@@ -487,6 +495,7 @@ var require_clean = __commonJS({
487
495
  // node_modules/semver/functions/inc.js
488
496
  var require_inc = __commonJS({
489
497
  "node_modules/semver/functions/inc.js"(exports, module) {
498
+ "use strict";
490
499
  init_cjs_shims();
491
500
  var SemVer = require_semver();
492
501
  var inc = (version, release, options, identifier, identifierBase) => {
@@ -511,6 +520,7 @@ var require_inc = __commonJS({
511
520
  // node_modules/semver/functions/diff.js
512
521
  var require_diff = __commonJS({
513
522
  "node_modules/semver/functions/diff.js"(exports, module) {
523
+ "use strict";
514
524
  init_cjs_shims();
515
525
  var parse = require_parse();
516
526
  var diff = (version1, version2) => {
@@ -555,6 +565,7 @@ var require_diff = __commonJS({
555
565
  // node_modules/semver/functions/major.js
556
566
  var require_major = __commonJS({
557
567
  "node_modules/semver/functions/major.js"(exports, module) {
568
+ "use strict";
558
569
  init_cjs_shims();
559
570
  var SemVer = require_semver();
560
571
  var major = (a, loose) => new SemVer(a, loose).major;
@@ -565,6 +576,7 @@ var require_major = __commonJS({
565
576
  // node_modules/semver/functions/minor.js
566
577
  var require_minor = __commonJS({
567
578
  "node_modules/semver/functions/minor.js"(exports, module) {
579
+ "use strict";
568
580
  init_cjs_shims();
569
581
  var SemVer = require_semver();
570
582
  var minor = (a, loose) => new SemVer(a, loose).minor;
@@ -575,6 +587,7 @@ var require_minor = __commonJS({
575
587
  // node_modules/semver/functions/patch.js
576
588
  var require_patch = __commonJS({
577
589
  "node_modules/semver/functions/patch.js"(exports, module) {
590
+ "use strict";
578
591
  init_cjs_shims();
579
592
  var SemVer = require_semver();
580
593
  var patch = (a, loose) => new SemVer(a, loose).patch;
@@ -585,6 +598,7 @@ var require_patch = __commonJS({
585
598
  // node_modules/semver/functions/prerelease.js
586
599
  var require_prerelease = __commonJS({
587
600
  "node_modules/semver/functions/prerelease.js"(exports, module) {
601
+ "use strict";
588
602
  init_cjs_shims();
589
603
  var parse = require_parse();
590
604
  var prerelease = (version, options) => {
@@ -598,6 +612,7 @@ var require_prerelease = __commonJS({
598
612
  // node_modules/semver/functions/compare.js
599
613
  var require_compare = __commonJS({
600
614
  "node_modules/semver/functions/compare.js"(exports, module) {
615
+ "use strict";
601
616
  init_cjs_shims();
602
617
  var SemVer = require_semver();
603
618
  var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
@@ -608,6 +623,7 @@ var require_compare = __commonJS({
608
623
  // node_modules/semver/functions/rcompare.js
609
624
  var require_rcompare = __commonJS({
610
625
  "node_modules/semver/functions/rcompare.js"(exports, module) {
626
+ "use strict";
611
627
  init_cjs_shims();
612
628
  var compare = require_compare();
613
629
  var rcompare = (a, b, loose) => compare(b, a, loose);
@@ -618,6 +634,7 @@ var require_rcompare = __commonJS({
618
634
  // node_modules/semver/functions/compare-loose.js
619
635
  var require_compare_loose = __commonJS({
620
636
  "node_modules/semver/functions/compare-loose.js"(exports, module) {
637
+ "use strict";
621
638
  init_cjs_shims();
622
639
  var compare = require_compare();
623
640
  var compareLoose = (a, b) => compare(a, b, true);
@@ -628,6 +645,7 @@ var require_compare_loose = __commonJS({
628
645
  // node_modules/semver/functions/compare-build.js
629
646
  var require_compare_build = __commonJS({
630
647
  "node_modules/semver/functions/compare-build.js"(exports, module) {
648
+ "use strict";
631
649
  init_cjs_shims();
632
650
  var SemVer = require_semver();
633
651
  var compareBuild = (a, b, loose) => {
@@ -642,6 +660,7 @@ var require_compare_build = __commonJS({
642
660
  // node_modules/semver/functions/sort.js
643
661
  var require_sort = __commonJS({
644
662
  "node_modules/semver/functions/sort.js"(exports, module) {
663
+ "use strict";
645
664
  init_cjs_shims();
646
665
  var compareBuild = require_compare_build();
647
666
  var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
@@ -652,6 +671,7 @@ var require_sort = __commonJS({
652
671
  // node_modules/semver/functions/rsort.js
653
672
  var require_rsort = __commonJS({
654
673
  "node_modules/semver/functions/rsort.js"(exports, module) {
674
+ "use strict";
655
675
  init_cjs_shims();
656
676
  var compareBuild = require_compare_build();
657
677
  var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
@@ -662,6 +682,7 @@ var require_rsort = __commonJS({
662
682
  // node_modules/semver/functions/gt.js
663
683
  var require_gt = __commonJS({
664
684
  "node_modules/semver/functions/gt.js"(exports, module) {
685
+ "use strict";
665
686
  init_cjs_shims();
666
687
  var compare = require_compare();
667
688
  var gt = (a, b, loose) => compare(a, b, loose) > 0;
@@ -672,6 +693,7 @@ var require_gt = __commonJS({
672
693
  // node_modules/semver/functions/lt.js
673
694
  var require_lt = __commonJS({
674
695
  "node_modules/semver/functions/lt.js"(exports, module) {
696
+ "use strict";
675
697
  init_cjs_shims();
676
698
  var compare = require_compare();
677
699
  var lt = (a, b, loose) => compare(a, b, loose) < 0;
@@ -682,6 +704,7 @@ var require_lt = __commonJS({
682
704
  // node_modules/semver/functions/eq.js
683
705
  var require_eq = __commonJS({
684
706
  "node_modules/semver/functions/eq.js"(exports, module) {
707
+ "use strict";
685
708
  init_cjs_shims();
686
709
  var compare = require_compare();
687
710
  var eq = (a, b, loose) => compare(a, b, loose) === 0;
@@ -692,6 +715,7 @@ var require_eq = __commonJS({
692
715
  // node_modules/semver/functions/neq.js
693
716
  var require_neq = __commonJS({
694
717
  "node_modules/semver/functions/neq.js"(exports, module) {
718
+ "use strict";
695
719
  init_cjs_shims();
696
720
  var compare = require_compare();
697
721
  var neq = (a, b, loose) => compare(a, b, loose) !== 0;
@@ -702,6 +726,7 @@ var require_neq = __commonJS({
702
726
  // node_modules/semver/functions/gte.js
703
727
  var require_gte = __commonJS({
704
728
  "node_modules/semver/functions/gte.js"(exports, module) {
729
+ "use strict";
705
730
  init_cjs_shims();
706
731
  var compare = require_compare();
707
732
  var gte = (a, b, loose) => compare(a, b, loose) >= 0;
@@ -712,6 +737,7 @@ var require_gte = __commonJS({
712
737
  // node_modules/semver/functions/lte.js
713
738
  var require_lte = __commonJS({
714
739
  "node_modules/semver/functions/lte.js"(exports, module) {
740
+ "use strict";
715
741
  init_cjs_shims();
716
742
  var compare = require_compare();
717
743
  var lte = (a, b, loose) => compare(a, b, loose) <= 0;
@@ -722,6 +748,7 @@ var require_lte = __commonJS({
722
748
  // node_modules/semver/functions/cmp.js
723
749
  var require_cmp = __commonJS({
724
750
  "node_modules/semver/functions/cmp.js"(exports, module) {
751
+ "use strict";
725
752
  init_cjs_shims();
726
753
  var eq = require_eq();
727
754
  var neq = require_neq();
@@ -772,6 +799,7 @@ var require_cmp = __commonJS({
772
799
  // node_modules/semver/functions/coerce.js
773
800
  var require_coerce = __commonJS({
774
801
  "node_modules/semver/functions/coerce.js"(exports, module) {
802
+ "use strict";
775
803
  init_cjs_shims();
776
804
  var SemVer = require_semver();
777
805
  var parse = require_parse();
@@ -818,6 +846,7 @@ var require_coerce = __commonJS({
818
846
  // node_modules/semver/internal/lrucache.js
819
847
  var require_lrucache = __commonJS({
820
848
  "node_modules/semver/internal/lrucache.js"(exports, module) {
849
+ "use strict";
821
850
  init_cjs_shims();
822
851
  var LRUCache = class {
823
852
  constructor() {
@@ -856,6 +885,7 @@ var require_lrucache = __commonJS({
856
885
  // node_modules/semver/classes/range.js
857
886
  var require_range = __commonJS({
858
887
  "node_modules/semver/classes/range.js"(exports, module) {
888
+ "use strict";
859
889
  init_cjs_shims();
860
890
  var SPACE_CHARACTERS = /\s+/g;
861
891
  var Range = class _Range {
@@ -1232,6 +1262,7 @@ var require_range = __commonJS({
1232
1262
  // node_modules/semver/classes/comparator.js
1233
1263
  var require_comparator = __commonJS({
1234
1264
  "node_modules/semver/classes/comparator.js"(exports, module) {
1265
+ "use strict";
1235
1266
  init_cjs_shims();
1236
1267
  var ANY = Symbol("SemVer ANY");
1237
1268
  var Comparator = class _Comparator {
@@ -1345,6 +1376,7 @@ var require_comparator = __commonJS({
1345
1376
  // node_modules/semver/functions/satisfies.js
1346
1377
  var require_satisfies = __commonJS({
1347
1378
  "node_modules/semver/functions/satisfies.js"(exports, module) {
1379
+ "use strict";
1348
1380
  init_cjs_shims();
1349
1381
  var Range = require_range();
1350
1382
  var satisfies = (version, range, options) => {
@@ -1362,6 +1394,7 @@ var require_satisfies = __commonJS({
1362
1394
  // node_modules/semver/ranges/to-comparators.js
1363
1395
  var require_to_comparators = __commonJS({
1364
1396
  "node_modules/semver/ranges/to-comparators.js"(exports, module) {
1397
+ "use strict";
1365
1398
  init_cjs_shims();
1366
1399
  var Range = require_range();
1367
1400
  var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
@@ -1372,6 +1405,7 @@ var require_to_comparators = __commonJS({
1372
1405
  // node_modules/semver/ranges/max-satisfying.js
1373
1406
  var require_max_satisfying = __commonJS({
1374
1407
  "node_modules/semver/ranges/max-satisfying.js"(exports, module) {
1408
+ "use strict";
1375
1409
  init_cjs_shims();
1376
1410
  var SemVer = require_semver();
1377
1411
  var Range = require_range();
@@ -1401,6 +1435,7 @@ var require_max_satisfying = __commonJS({
1401
1435
  // node_modules/semver/ranges/min-satisfying.js
1402
1436
  var require_min_satisfying = __commonJS({
1403
1437
  "node_modules/semver/ranges/min-satisfying.js"(exports, module) {
1438
+ "use strict";
1404
1439
  init_cjs_shims();
1405
1440
  var SemVer = require_semver();
1406
1441
  var Range = require_range();
@@ -1430,6 +1465,7 @@ var require_min_satisfying = __commonJS({
1430
1465
  // node_modules/semver/ranges/min-version.js
1431
1466
  var require_min_version = __commonJS({
1432
1467
  "node_modules/semver/ranges/min-version.js"(exports, module) {
1468
+ "use strict";
1433
1469
  init_cjs_shims();
1434
1470
  var SemVer = require_semver();
1435
1471
  var Range = require_range();
@@ -1489,6 +1525,7 @@ var require_min_version = __commonJS({
1489
1525
  // node_modules/semver/ranges/valid.js
1490
1526
  var require_valid2 = __commonJS({
1491
1527
  "node_modules/semver/ranges/valid.js"(exports, module) {
1528
+ "use strict";
1492
1529
  init_cjs_shims();
1493
1530
  var Range = require_range();
1494
1531
  var validRange = (range, options) => {
@@ -1505,6 +1542,7 @@ var require_valid2 = __commonJS({
1505
1542
  // node_modules/semver/ranges/outside.js
1506
1543
  var require_outside = __commonJS({
1507
1544
  "node_modules/semver/ranges/outside.js"(exports, module) {
1545
+ "use strict";
1508
1546
  init_cjs_shims();
1509
1547
  var SemVer = require_semver();
1510
1548
  var Comparator = require_comparator();
@@ -1574,6 +1612,7 @@ var require_outside = __commonJS({
1574
1612
  // node_modules/semver/ranges/gtr.js
1575
1613
  var require_gtr = __commonJS({
1576
1614
  "node_modules/semver/ranges/gtr.js"(exports, module) {
1615
+ "use strict";
1577
1616
  init_cjs_shims();
1578
1617
  var outside = require_outside();
1579
1618
  var gtr = (version, range, options) => outside(version, range, ">", options);
@@ -1584,6 +1623,7 @@ var require_gtr = __commonJS({
1584
1623
  // node_modules/semver/ranges/ltr.js
1585
1624
  var require_ltr = __commonJS({
1586
1625
  "node_modules/semver/ranges/ltr.js"(exports, module) {
1626
+ "use strict";
1587
1627
  init_cjs_shims();
1588
1628
  var outside = require_outside();
1589
1629
  var ltr = (version, range, options) => outside(version, range, "<", options);
@@ -1594,6 +1634,7 @@ var require_ltr = __commonJS({
1594
1634
  // node_modules/semver/ranges/intersects.js
1595
1635
  var require_intersects = __commonJS({
1596
1636
  "node_modules/semver/ranges/intersects.js"(exports, module) {
1637
+ "use strict";
1597
1638
  init_cjs_shims();
1598
1639
  var Range = require_range();
1599
1640
  var intersects = (r1, r2, options) => {
@@ -1608,6 +1649,7 @@ var require_intersects = __commonJS({
1608
1649
  // node_modules/semver/ranges/simplify.js
1609
1650
  var require_simplify = __commonJS({
1610
1651
  "node_modules/semver/ranges/simplify.js"(exports, module) {
1652
+ "use strict";
1611
1653
  init_cjs_shims();
1612
1654
  var satisfies = require_satisfies();
1613
1655
  var compare = require_compare();
@@ -1658,6 +1700,7 @@ var require_simplify = __commonJS({
1658
1700
  // node_modules/semver/ranges/subset.js
1659
1701
  var require_subset = __commonJS({
1660
1702
  "node_modules/semver/ranges/subset.js"(exports, module) {
1703
+ "use strict";
1661
1704
  init_cjs_shims();
1662
1705
  var Range = require_range();
1663
1706
  var Comparator = require_comparator();
@@ -1820,6 +1863,7 @@ var require_subset = __commonJS({
1820
1863
  // node_modules/semver/index.js
1821
1864
  var require_semver2 = __commonJS({
1822
1865
  "node_modules/semver/index.js"(exports, module) {
1866
+ "use strict";
1823
1867
  init_cjs_shims();
1824
1868
  var internalRe = require_re();
1825
1869
  var constants = require_constants();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-P6Y2XVPK.js";
3
+ } from "./chunk-UWWZQNJO.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-P6Y2XVPK.js";
3
+ } from "./chunk-UWWZQNJO.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-P6Y2XVPK.js";
3
+ } from "./chunk-UWWZQNJO.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_semver
3
- } from "./chunk-VACRQA52.js";
3
+ } from "./chunk-KTIWHTBR.js";
4
4
  import {
5
5
  __commonJS,
6
6
  __require,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ESBuild
3
- } from "../chunk-FEOCEIF6.js";
4
- import "../chunk-P6Y2XVPK.js";
5
- import "../chunk-VACRQA52.js";
3
+ } from "../chunk-QT6PE7R7.js";
4
+ import "../chunk-UWWZQNJO.js";
5
+ import "../chunk-KTIWHTBR.js";
6
6
  import "../chunk-RRP6KXWN.js";
7
7
  export {
8
8
  ESBuild as default
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Hello
3
- } from "../../chunk-5LKZ3FP7.js";
4
- import "../../chunk-P6Y2XVPK.js";
5
- import "../../chunk-VACRQA52.js";
3
+ } from "../../chunk-4YPJQZ6X.js";
4
+ import "../../chunk-UWWZQNJO.js";
5
+ import "../../chunk-KTIWHTBR.js";
6
6
  import "../../chunk-RRP6KXWN.js";
7
7
  export {
8
8
  Hello as default
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  World
3
- } from "../../chunk-RA3EOTT5.js";
4
- import "../../chunk-P6Y2XVPK.js";
5
- import "../../chunk-VACRQA52.js";
3
+ } from "../../chunk-SHVSQ5R2.js";
4
+ import "../../chunk-UWWZQNJO.js";
5
+ import "../../chunk-KTIWHTBR.js";
6
6
  import "../../chunk-RRP6KXWN.js";
7
7
  export {
8
8
  World as default
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  init_default
3
- } from "../../chunk-7G6M43TM.js";
4
- import "../../chunk-P6Y2XVPK.js";
5
- import "../../chunk-VACRQA52.js";
3
+ } from "../../chunk-OBQVAU5I.js";
4
+ import "../../chunk-UWWZQNJO.js";
5
+ import "../../chunk-KTIWHTBR.js";
6
6
  import "../../chunk-RRP6KXWN.js";
7
7
  export {
8
8
  init_default as default
package/dist/index.js CHANGED
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  ESBuild
3
- } from "./chunk-FEOCEIF6.js";
3
+ } from "./chunk-QT6PE7R7.js";
4
4
  import {
5
5
  Hello
6
- } from "./chunk-5LKZ3FP7.js";
6
+ } from "./chunk-4YPJQZ6X.js";
7
7
  import {
8
8
  World
9
- } from "./chunk-RA3EOTT5.js";
9
+ } from "./chunk-SHVSQ5R2.js";
10
10
  import {
11
11
  init_default
12
- } from "./chunk-7G6M43TM.js";
12
+ } from "./chunk-OBQVAU5I.js";
13
13
  import {
14
14
  require_ansis,
15
15
  require_lib,
16
16
  require_src
17
- } from "./chunk-P6Y2XVPK.js";
17
+ } from "./chunk-UWWZQNJO.js";
18
18
  import {
19
19
  require_lib as require_lib2
20
20
  } from "./chunk-SO2G2ODZ.js";
21
21
  import {
22
22
  require_semver
23
- } from "./chunk-VACRQA52.js";
23
+ } from "./chunk-KTIWHTBR.js";
24
24
  import {
25
25
  __toESM,
26
26
  init_cjs_shims
@@ -121,7 +121,7 @@ var import_debug4 = __toESM(require_src(), 1);
121
121
  var import_semver = __toESM(require_semver(), 1);
122
122
  import { spawn as spawn2 } from "node:child_process";
123
123
  import { access, mkdir, readFile as readFile2, rename, rm, writeFile } from "node:fs/promises";
124
- import { basename, dirname, join as join2, resolve } from "node:path";
124
+ import { basename, dirname, join as join2, parse, resolve } from "node:path";
125
125
  import { fileURLToPath as fileURLToPath3 } from "node:url";
126
126
 
127
127
  // node_modules/@oclif/plugin-plugins/lib/npm.js
@@ -505,10 +505,13 @@ var Plugins = class {
505
505
  const url = name;
506
506
  const output = await this.npm.install([...args, url], options);
507
507
  const { dependencies } = await this.pjson();
508
- const { default: npa } = await import("./npa-OQ6KM7JR.js");
508
+ const { default: npa } = await import("./npa-MHEAM5QF.js");
509
509
  const normalizedUrl = npa(url);
510
- const matches = Object.entries(dependencies ?? {}).find(([, u]) => {
511
- const normalized = npa(u);
510
+ const matches = Object.entries(dependencies ?? {}).find(([, npmVersion]) => {
511
+ const normalized = npa(npmVersion);
512
+ if (normalized.type === "file" && normalized.raw) {
513
+ return parse(url).base === parse(normalized.raw).base;
514
+ }
512
515
  return normalized.hosted?.type === normalizedUrl.hosted?.type && normalized.hosted?.user === normalizedUrl.hosted?.user && normalized.hosted?.project === normalizedUrl.hosted?.project;
513
516
  });
514
517
  const installedPluginName = matches?.[0];
@@ -530,7 +533,7 @@ var Plugins = class {
530
533
  const results = Object.fromEntries(await Promise.all(files?.map(async (f) => [f, await fileExists(f)]) ?? []));
531
534
  this.debug(results);
532
535
  if (!Object.values(results).every(Boolean)) {
533
- import_core4.ux.warn(`This plugin from github may not work as expected because the prepare script did not produce all the expected files.`);
536
+ import_core4.ux.warn(`This plugin may not work as expected because the prepare script did not produce all the expected files.`);
534
537
  }
535
538
  } else {
536
539
  const range = (0, import_semver.validRange)(tag);
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SO2G2ODZ.js";
4
4
  import {
5
5
  require_semver
6
- } from "./chunk-VACRQA52.js";
6
+ } from "./chunk-KTIWHTBR.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __require,
@@ -475,5 +475,5 @@
475
475
  "enableJsonFlag": false
476
476
  }
477
477
  },
478
- "version": "0.5.80"
478
+ "version": "0.5.82"
479
479
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-test-esbuild",
3
- "version": "0.5.80",
3
+ "version": "0.5.82",
4
4
  "description": "Bundled plugin for testing",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-test-esbuild/issues",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@oclif/core": "^4",
15
- "@oclif/plugin-plugins": "^5.4.37",
15
+ "@oclif/plugin-plugins": "^5.4.39",
16
16
  "@oclif/plugin-test-esm-1": "^0.8.73"
17
17
  },
18
18
  "devDependencies": {
@@ -23,12 +23,12 @@
23
23
  "@types/mocha": "^10",
24
24
  "@types/node": "^18",
25
25
  "chai": "^4",
26
- "esbuild": "^0.25.4",
27
- "eslint": "^9.27.0",
28
- "eslint-config-oclif": "^6.0.58",
26
+ "esbuild": "^0.25.5",
27
+ "eslint": "^9.28.0",
28
+ "eslint-config-oclif": "^6.0.62",
29
29
  "eslint-config-prettier": "^10.1.5",
30
30
  "mocha": "^10",
31
- "oclif": "^4.17.46",
31
+ "oclif": "^4.18.0",
32
32
  "shx": "^0.4.0",
33
33
  "ts-node": "^10.9.2",
34
34
  "typescript": "^5"