@oclif/plugin-test-esbuild 0.5.59 → 0.5.60

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.59 linux-x64 node-v22.12.0
20
+ @oclif/plugin-test-esbuild/0.5.60 linux-x64 node-v22.12.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-V45X5PDX.js";
3
+ } from "./chunk-UXHN7PPY.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-V45X5PDX.js";
3
+ } from "./chunk-UXHN7PPY.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-V45X5PDX.js";
3
+ } from "./chunk-UXHN7PPY.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-V45X5PDX.js";
3
+ } from "./chunk-UXHN7PPY.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
@@ -3493,84 +3493,82 @@ var require_ansis = __commonJS({
3493
3493
  };
3494
3494
  var i = (t2, r2, n2) => t2 === r2 && r2 === n2 ? t2 < 8 ? 16 : t2 > 248 ? 231 : e((t2 - 8) / 247 * 24) + 232 : 16 + 36 * e(t2 / 51) + 6 * e(r2 / 51) + e(n2 / 51);
3495
3495
  var l = (n2) => {
3496
- let i2, l2, s2, o2, a2;
3497
- return n2 < 8 ? 30 + n2 : n2 < 16 ? n2 - 8 + 90 : (n2 >= 232 ? i2 = l2 = s2 = (10 * (n2 - 232) + 8) / 255 : (a2 = (n2 -= 16) % 36, i2 = t(n2 / 36) / 5, l2 = t(a2 / 6) / 5, s2 = a2 % 6 / 5), o2 = 2 * r(i2, l2, s2), o2 ? 30 + (e(s2) << 2 | e(l2) << 1 | e(i2)) + (2 === o2 ? 60 : 0) : 30);
3496
+ let i2, l2, o2, s2, a2;
3497
+ return n2 < 8 ? 30 + n2 : n2 < 16 ? n2 - 8 + 90 : (n2 >= 232 ? i2 = l2 = o2 = (10 * (n2 - 232) + 8) / 255 : (a2 = (n2 -= 16) % 36, i2 = t(n2 / 36) / 5, l2 = t(a2 / 6) / 5, o2 = a2 % 6 / 5), s2 = 2 * r(i2, l2, o2), s2 ? 30 + (e(o2) << 2 | e(l2) << 1 | e(i2)) + (2 === s2 ? 60 : 0) : 30);
3498
3498
  };
3499
- var s = (e2, t2, r2) => l(i(e2, t2, r2));
3500
3499
  var o = (() => {
3501
- let e2 = (e3) => !!o2.find((t3) => e3.test(t3)), t2 = globalThis, r2 = t2.Deno, n2 = null != r2, i2 = t2.process || r2 || {}, l2 = i2.stdout, s2 = "win32" === (n2 ? r2.build.os : i2.platform), o2 = i2.argv || i2.args || [], a2 = i2.env || {}, u2 = -1;
3500
+ let e2 = (e3) => l2.some((t3) => e3.test(t3)), t2 = globalThis, r2 = t2.Deno, n2 = !!r2, i2 = t2.process || r2 || {}, l2 = i2.argv || i2.args || [], o2 = i2.env || {}, s2 = -1;
3502
3501
  if (n2) try {
3503
- a2 = a2.toObject();
3502
+ o2 = o2.toObject();
3504
3503
  } catch (e3) {
3505
- u2 = 0;
3504
+ s2 = 0;
3506
3505
  }
3507
- let c2 = "FORCE_COLOR", p2 = a2[c2], d2 = parseInt(p2), f2 = "false" === p2 ? 0 : isNaN(d2) ? 3 : d2, g2 = !!a2.NO_COLOR || 0 === f2 || e2(/^-{1,2}(no-color|color=(false|never))$/), b2 = c2 in a2 && f2 || e2(/^-{1,2}color=?(true|always)?$/), _2 = (a2.NEXT_RUNTIME || "").includes("edge"), O2 = !!a2.PM2_HOME && !!a2.pm_id || _2 || (n2 ? r2.isatty(1) : l2 && !!l2.isTTY);
3508
- return g2 ? 0 : (u2 < 0 && (u2 = ((e3, t3, r3) => {
3506
+ let a2 = !!o2.PM2_HOME && !!o2.pm_id || o2.NEXT_RUNTIME?.includes("edge") || (n2 ? r2.isatty(1) : !!i2.stdout?.isTTY), c2 = "FORCE_COLOR", u2 = o2[c2], p2 = parseInt(u2), f2 = isNaN(p2) ? "false" === u2 ? 0 : -1 : p2, g2 = c2 in o2 && f2 || e2(/^-{1,2}color=?(true|always)?$/);
3507
+ return g2 && (s2 = f2), s2 < 0 && (s2 = ((e3, t3, r3) => {
3509
3508
  let { TERM: n3, COLORTERM: i3 } = e3;
3510
3509
  return "truecolor" === i3 || "24bit" === i3 ? 3 : "ansi256" === i3 ? 2 : "ansi" === i3 || e3.TF_BUILD ? 1 : e3.TEAMCITY_VERSION ? 2 : e3.CI ? ["GITHUB_ACTIONS", "GITEA_ACTIONS"].some((t4) => t4 in e3) ? 3 : 1 : !t3 || /-mono|dumb/i.test(n3) ? 0 : r3 || /^xterm-(kitty|direct)$/i.test(n3) ? 3 : /-256(colou?r)?$/i.test(n3) ? 2 : /^screen|^tmux|^xterm|^vt[1-5][0-9]([0-9])?|^ansi|color|cygwin|linux|mintty|rxvt/i.test(n3) ? 1 : 3;
3511
- })(a2, O2, s2)), b2 && 0 === u2 ? 3 : u2);
3510
+ })(o2, a2, "win32" === (n2 ? r2.build.os : i2.platform))), !f2 || o2.NO_COLOR || e2(/^-{1,2}(no-color|color=(false|never))$/) ? 0 : g2 && 0 === s2 ? 3 : s2;
3512
3511
  })();
3513
- var a = o > 0;
3514
- var u = { open: "", close: "" };
3515
- var c = a ? (e2, t2) => ({ open: `\x1B[${e2}m`, close: `\x1B[${t2}m` }) : () => u;
3516
- var p = 39;
3517
- var d = 49;
3518
- var f = (e2) => (t2, r2, n2) => e2(i(t2, r2, n2));
3519
- var g = (e2) => (t2) => {
3512
+ var s = o > 0;
3513
+ var a = { open: "", close: "" };
3514
+ var c = s ? (e2, t2) => ({ open: `\x1B[${e2}m`, close: `\x1B[${t2}m` }) : () => a;
3515
+ var u = 39;
3516
+ var p = 49;
3517
+ var f = (e2, t2) => (r2, n2, o2) => c(((e3, t3, r3) => l(i(e3, t3, r3)))(r2, n2, o2) + e2, t2);
3518
+ var g = (e2) => (t2, r2, n2) => e2(i(t2, r2, n2));
3519
+ var d = (e2) => (t2) => {
3520
3520
  let [r2, i2, l2] = n(t2);
3521
3521
  return e2(r2, i2, l2);
3522
3522
  };
3523
- var b = (e2) => c(`38;5;${e2}`, p);
3524
- var _ = (e2) => c(`48;5;${e2}`, d);
3525
- var O = (e2, t2, r2) => c(`38;2;${e2};${t2};${r2}`, p);
3526
- var y = (e2, t2, r2) => c(`48;2;${e2};${t2};${r2}`, d);
3527
- 1 === o ? (b = (e2) => c(l(e2), p), _ = (e2) => c(l(e2) + 10, d), O = (e2, t2, r2) => c(s(e2, t2, r2), p), y = (e2, t2, r2) => c(s(e2, t2, r2) + 10, d)) : 2 === o && (O = f(b), y = f(_));
3528
- var m;
3523
+ var b = (e2) => c(`38;5;${e2}`, u);
3524
+ var _ = (e2) => c(`48;5;${e2}`, p);
3525
+ var O = (e2, t2, r2) => c(`38;2;${e2};${t2};${r2}`, u);
3526
+ var m = (e2, t2, r2) => c(`48;2;${e2};${t2};${r2}`, p);
3527
+ 1 === o ? (b = (e2) => c(l(e2), u), _ = (e2) => c(l(e2) + 10, p), O = f(0, u), m = f(10, p)) : 2 === o && (O = g(b), m = g(_));
3529
3528
  var x;
3530
- var $ = { ansi256: b, bgAnsi256: _, fg: b, bg: _, rgb: O, bgRgb: y, hex: g(O), bgHex: g(y), visible: u, reset: c(0, 0), bold: c(1, 22), dim: c(2, 22), italic: c(3, 23), underline: c(4, 24), inverse: c(7, 27), hidden: c(8, 28) };
3529
+ var y;
3530
+ var $ = { ansi256: b, bgAnsi256: _, fg: b, bg: _, rgb: O, bgRgb: m, hex: d(O), bgHex: d(m), visible: a, reset: c(0, 0), bold: c(1, 22), dim: c(2, 22), italic: c(3, 23), underline: c(4, 24), inverse: c(7, 27), hidden: c(8, 28) };
3531
3531
  var h = "black,red,green,yellow,blue,magenta,cyan,white".split(",");
3532
3532
  var T = "Bright";
3533
3533
  var I = 30;
3534
- for (m of h) x = "bg" + m[0].toUpperCase() + m.slice(1), $[m] = c(I, p), $[m + T] = c(I + 60, p), $[x] = c(I + 10, d), $[x + T] = c(I + 70, d), I++;
3535
- $.grey = $.gray = c(90, p), $.bgGrey = $.bgGray = c(100, d), $.strikethrough = $.strike = c(9, 29);
3534
+ for (x of h) y = "bg" + x[0].toUpperCase() + x.slice(1), $[x] = c(I, u), $[x + T] = c(I + 60, u), $[y] = c(I + 10, p), $[y + T] = c(I + 70, p), I++;
3535
+ $.grey = $.gray = c(90, u), $.bgGrey = $.bgGray = c(100, p), $.strikethrough = $.strike = c(9, 29);
3536
3536
  var R;
3537
- var { defineProperty: v, defineProperties: C, setPrototypeOf: E } = Object;
3538
- var w = /[›][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;
3539
- var M = /(\r?\n)/g;
3540
- var N = {};
3541
- var A = ({ _p: e2 }, { open: t2, close: r2 }) => {
3537
+ var { create: v, defineProperty: C, setPrototypeOf: E } = Object;
3538
+ var w = {};
3539
+ var M = ({ _p: e2 }, { open: t2, close: r2 }) => {
3542
3540
  let n2 = (e3, ...t3) => {
3543
- if (!e3) return "";
3544
- let r3 = n2._p, { _a: i3, _b: l3 } = r3, s2 = e3.raw ? String.raw(e3, ...t3) : "" + e3;
3545
- if (s2.includes("\x1B")) for (; r3; ) {
3546
- let e4, t4, n3 = r3.close, i4 = r3.open, l4 = n3.length, o2 = "";
3547
- if (l4) {
3548
- for (e4 = 0; ~(t4 = s2.indexOf(n3, e4)); e4 = t4 + l4) o2 += s2.slice(e4, t4) + i4;
3549
- e4 && (s2 = o2 + s2.slice(e4));
3541
+ if ("" === e3) return e3;
3542
+ let r3 = n2._p, { _a: i3, _b: l3 } = r3, o2 = e3?.raw ? String.raw(e3, ...t3) : "" + e3;
3543
+ if (~o2.indexOf("\x1B")) for (; r3; ) {
3544
+ let e4, t4 = r3.close, n3 = r3.open, i4 = t4.length, l4 = "", s2 = 0;
3545
+ if (i4) {
3546
+ for (; ~(e4 = o2.indexOf(t4, s2)); s2 = e4 + i4) l4 += o2.slice(s2, e4) + n3;
3547
+ o2 = l4 + o2.slice(s2);
3550
3548
  }
3551
3549
  r3 = r3._p;
3552
3550
  }
3553
- return s2.includes("\n") && (s2 = s2.replace(M, l3 + "$1" + i3)), i3 + s2 + l3;
3551
+ return ~o2.indexOf("\n") && (o2 = o2.replace(/(\r?\n)/g, l3 + "$1" + i3)), i3 + o2 + l3;
3554
3552
  }, i2 = t2, l2 = r2;
3555
3553
  return e2 && (i2 = e2._a + t2, l2 = r2 + e2._b), E(n2, R), n2._p = { open: t2, close: r2, _a: i2, _b: l2, _p: e2 }, n2.open = i2, n2.close = l2, n2;
3556
3554
  };
3557
- var P = function() {
3558
- let e2 = (e3) => "" + e3;
3559
- return e2.isSupported = () => a, e2.strip = (e3) => e3.replace(w, ""), e2.extend = (t2) => {
3555
+ var N = function() {
3556
+ let e2 = { isSupported: () => s, strip: (e3) => e3.replace(/[›][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g, ""), extend(t2) {
3560
3557
  for (let e3 in t2) {
3561
3558
  let r2 = t2[e3], i2 = (typeof r2)[0], l2 = "s" === i2 ? O(...n(r2)) : r2;
3562
- N[e3] = "f" === i2 ? { get() {
3563
- return (...e4) => A(this, r2(...e4));
3559
+ w[e3] = "f" === i2 ? { get() {
3560
+ return (...e4) => M(this, r2(...e4));
3564
3561
  } } : { get() {
3565
- let t3 = A(this, l2);
3566
- return v(this, e3, { value: t3 }), t3;
3562
+ let t3 = M(this, l2);
3563
+ return C(this, e3, { value: t3 }), t3;
3567
3564
  } };
3568
3565
  }
3569
- return R = C({}, N), E(e2, R), e2;
3570
- }, e2.extend($), e2;
3566
+ return R = v({}, w), E(e2, R), e2;
3567
+ } };
3568
+ return e2.extend($);
3571
3569
  };
3572
- var S = new P();
3573
- module.exports = S, module.exports.Ansis = P, S.default = S;
3570
+ var A = new N();
3571
+ module.exports = A, module.exports.Ansis = N, A.default = A;
3574
3572
  }
3575
3573
  });
3576
3574
 
@@ -6247,7 +6245,7 @@ var require_typescript = __commonJS({
6247
6245
  });
6248
6246
  module2.exports = __toCommonJS(typescript_exports);
6249
6247
  var versionMajorMinor = "5.7";
6250
- var version = "5.7.2";
6248
+ var version = "5.7.3";
6251
6249
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
6252
6250
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
6253
6251
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -18924,6 +18922,7 @@ ${lanes.join("\n")}
18924
18922
  }
18925
18923
  var targetToLibMap = /* @__PURE__ */ new Map([
18926
18924
  [99, "lib.esnext.full.d.ts"],
18925
+ [11, "lib.es2024.full.d.ts"],
18927
18926
  [10, "lib.es2023.full.d.ts"],
18928
18927
  [9, "lib.es2022.full.d.ts"],
18929
18928
  [8, "lib.es2021.full.d.ts"],
@@ -18939,6 +18938,7 @@ ${lanes.join("\n")}
18939
18938
  const target = getEmitScriptTarget(options);
18940
18939
  switch (target) {
18941
18940
  case 99:
18941
+ case 11:
18942
18942
  case 10:
18943
18943
  case 9:
18944
18944
  case 8:
@@ -59079,6 +59079,12 @@ ${lanes.join("\n")}
59079
59079
  /*isReadonly*/
59080
59080
  true
59081
59081
  );
59082
+ var anyBaseTypeIndexInfo = createIndexInfo(
59083
+ stringType,
59084
+ anyType,
59085
+ /*isReadonly*/
59086
+ false
59087
+ );
59082
59088
  var iterationTypesCache = /* @__PURE__ */ new Map();
59083
59089
  var noIterationTypes = {
59084
59090
  get yieldType() {
@@ -62800,7 +62806,7 @@ ${lanes.join("\n")}
62800
62806
  return true;
62801
62807
  }
62802
62808
  if (requiresAddingUndefined && annotationType) {
62803
- annotationType = getOptionalType(annotationType, !isParameter(node));
62809
+ annotationType = addOptionality(annotationType, !isParameter(node));
62804
62810
  }
62805
62811
  return !!annotationType && typeNodeIsEquivalentToType(node, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type);
62806
62812
  }
@@ -69673,12 +69679,7 @@ ${lanes.join("\n")}
69673
69679
  1
69674
69680
  /* Construct */
69675
69681
  ));
69676
- const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [createIndexInfo(
69677
- stringType,
69678
- anyType,
69679
- /*isReadonly*/
69680
- false
69681
- )];
69682
+ const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [anyBaseTypeIndexInfo];
69682
69683
  indexInfos = concatenate(indexInfos, filter(inheritedIndexInfos, (info) => !findIndexInfo(indexInfos, info.keyType)));
69683
69684
  }
69684
69685
  }
@@ -70257,12 +70258,7 @@ ${lanes.join("\n")}
70257
70258
  members = createSymbolTable(getNamedOrIndexSignatureMembers(members));
70258
70259
  addInheritedMembers(members, getPropertiesOfType(baseConstructorType));
70259
70260
  } else if (baseConstructorType === anyType) {
70260
- baseConstructorIndexInfo = createIndexInfo(
70261
- stringType,
70262
- anyType,
70263
- /*isReadonly*/
70264
- false
70265
- );
70261
+ baseConstructorIndexInfo = anyBaseTypeIndexInfo;
70266
70262
  }
70267
70263
  }
70268
70264
  const indexSymbol = getIndexSymbolFromSymbolTable(members);
@@ -84420,12 +84416,13 @@ ${lanes.join("\n")}
84420
84416
  const jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 ? Diagnostics.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found : void 0;
84421
84417
  const jsxFactoryNamespace = getJsxNamespace(node);
84422
84418
  const jsxFactoryLocation = isJsxOpeningLikeElement(node) ? node.tagName : node;
84419
+ const shouldFactoryRefErr = compilerOptions.jsx !== 1 && compilerOptions.jsx !== 3;
84423
84420
  let jsxFactorySym;
84424
84421
  if (!(isJsxOpeningFragment(node) && jsxFactoryNamespace === "null")) {
84425
84422
  jsxFactorySym = resolveName(
84426
84423
  jsxFactoryLocation,
84427
84424
  jsxFactoryNamespace,
84428
- compilerOptions.jsx === 1 ? 111551 & ~384 : 111551,
84425
+ shouldFactoryRefErr ? 111551 : 111551 & ~384,
84429
84426
  jsxFactoryRefErr,
84430
84427
  /*isUse*/
84431
84428
  true
@@ -84444,7 +84441,7 @@ ${lanes.join("\n")}
84444
84441
  resolveName(
84445
84442
  jsxFactoryLocation,
84446
84443
  localJsxNamespace,
84447
- compilerOptions.jsx === 1 ? 111551 & ~384 : 111551,
84444
+ shouldFactoryRefErr ? 111551 : 111551 & ~384,
84448
84445
  jsxFactoryRefErr,
84449
84446
  /*isUse*/
84450
84447
  true
@@ -88208,6 +88205,13 @@ ${lanes.join("\n")}
88208
88205
  return getIntersectionType(x);
88209
88206
  }
88210
88207
  function reportNonexistentProperty(propNode, containingType, isUncheckedJS) {
88208
+ const links = getNodeLinks(propNode);
88209
+ const cache = links.nonExistentPropCheckCache || (links.nonExistentPropCheckCache = /* @__PURE__ */ new Set());
88210
+ const key = `${getTypeId(containingType)}|${isUncheckedJS}`;
88211
+ if (cache.has(key)) {
88212
+ return;
88213
+ }
88214
+ cache.add(key);
88211
88215
  let errorInfo;
88212
88216
  let relatedInfo;
88213
88217
  if (!isPrivateIdentifier(propNode) && containingType.flags & 1048576 && !(containingType.flags & 402784252)) {
@@ -90363,12 +90367,14 @@ ${lanes.join("\n")}
90363
90367
  const sourceFileLinks = getNodeLinks(getSourceFileOfNode(node));
90364
90368
  if (sourceFileLinks.jsxFragmentType !== void 0) return sourceFileLinks.jsxFragmentType;
90365
90369
  const jsxFragmentFactoryName = getJsxNamespace(node);
90366
- if (jsxFragmentFactoryName === "null") return sourceFileLinks.jsxFragmentType = anyType;
90370
+ const shouldResolveFactoryReference = (compilerOptions.jsx === 2 || compilerOptions.jsxFragmentFactory !== void 0) && jsxFragmentFactoryName !== "null";
90371
+ if (!shouldResolveFactoryReference) return sourceFileLinks.jsxFragmentType = anyType;
90372
+ const shouldModuleRefErr = compilerOptions.jsx !== 1 && compilerOptions.jsx !== 3;
90367
90373
  const jsxFactoryRefErr = diagnostics ? Diagnostics.Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found : void 0;
90368
90374
  const jsxFactorySymbol = getJsxNamespaceContainerForImplicitImport(node) ?? resolveName(
90369
90375
  node,
90370
90376
  jsxFragmentFactoryName,
90371
- compilerOptions.jsx === 1 ? 111551 & ~384 : 111551,
90377
+ shouldModuleRefErr ? 111551 : 111551 & ~384,
90372
90378
  /*nameNotFoundMessage*/
90373
90379
  jsxFactoryRefErr,
90374
90380
  /*isUse*/
@@ -93140,7 +93146,9 @@ ${lanes.join("\n")}
93140
93146
  switch (node.kind) {
93141
93147
  case 223:
93142
93148
  case 213:
93149
+ case 215:
93143
93150
  case 212:
93151
+ case 236:
93144
93152
  case 214:
93145
93153
  case 211:
93146
93154
  case 229:
@@ -93156,6 +93164,8 @@ ${lanes.join("\n")}
93156
93164
  case 56:
93157
93165
  case 77:
93158
93166
  return 3;
93167
+ case 28:
93168
+ return getSyntacticNullishnessSemantics(node.right);
93159
93169
  }
93160
93170
  return 2;
93161
93171
  case 227:
@@ -99762,7 +99772,7 @@ ${lanes.join("\n")}
99762
99772
  }
99763
99773
  }
99764
99774
  }
99765
- if (isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node)) {
99775
+ if (!importClause.isTypeOnly && moduleKind === 199 && isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node)) {
99766
99776
  error2(node.moduleSpecifier, Diagnostics.Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0, ModuleKind[moduleKind]);
99767
99777
  }
99768
99778
  } else if (noUncheckedSideEffectImports && !importClause) {
@@ -102228,6 +102238,7 @@ ${lanes.join("\n")}
102228
102238
  result || (result = []);
102229
102239
  for (const info of infoList) {
102230
102240
  if (info.declaration) continue;
102241
+ if (info === anyBaseTypeIndexInfo) continue;
102231
102242
  const node = nodeBuilder.indexInfoToIndexSignatureDeclaration(info, enclosing, flags, internalFlags, tracker);
102232
102243
  if (node && infoList === staticInfos) {
102233
102244
  (node.modifiers || (node.modifiers = factory.createNodeArray())).unshift(factory.createModifier(
@@ -149993,9 +150004,9 @@ ${lanes.join("\n")}
149993
150004
  }
149994
150005
  if (!result && node.kind === 303) {
149995
150006
  const initializer = node.initializer;
149996
- const type = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 || initializer.kind === 216 ? initializer.type : void 0;
149997
- if (type && !isConstTypeReference(type)) {
149998
- result = serializeExistingTypeNode(type, context);
150007
+ const assertionNode = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 || initializer.kind === 216 ? initializer.type : void 0;
150008
+ if (assertionNode && !isConstTypeReference(assertionNode) && resolver.canReuseTypeNodeAnnotation(context, node, assertionNode, symbol)) {
150009
+ result = serializeExistingTypeNode(assertionNode, context);
149999
150010
  }
150000
150011
  }
150001
150012
  return result ?? inferTypeOfDeclaration(
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ESBuild
3
- } from "../chunk-QAKG336H.js";
4
- import "../chunk-V45X5PDX.js";
3
+ } from "../chunk-3JZLE47P.js";
4
+ import "../chunk-UXHN7PPY.js";
5
5
  import "../chunk-NAYBUSHR.js";
6
6
  import "../chunk-RRP6KXWN.js";
7
7
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Hello
3
- } from "../../chunk-T4XGYK7D.js";
4
- import "../../chunk-V45X5PDX.js";
3
+ } from "../../chunk-7N6FY6TW.js";
4
+ import "../../chunk-UXHN7PPY.js";
5
5
  import "../../chunk-NAYBUSHR.js";
6
6
  import "../../chunk-RRP6KXWN.js";
7
7
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  World
3
- } from "../../chunk-JTPAZSDM.js";
4
- import "../../chunk-V45X5PDX.js";
3
+ } from "../../chunk-3XVIUZ43.js";
4
+ import "../../chunk-UXHN7PPY.js";
5
5
  import "../../chunk-NAYBUSHR.js";
6
6
  import "../../chunk-RRP6KXWN.js";
7
7
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  init_default
3
- } from "../../chunk-7YNCPIV4.js";
4
- import "../../chunk-V45X5PDX.js";
3
+ } from "../../chunk-QCRBBVW3.js";
4
+ import "../../chunk-UXHN7PPY.js";
5
5
  import "../../chunk-NAYBUSHR.js";
6
6
  import "../../chunk-RRP6KXWN.js";
7
7
  export {
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  ESBuild
3
- } from "./chunk-QAKG336H.js";
3
+ } from "./chunk-3JZLE47P.js";
4
4
  import {
5
5
  Hello
6
- } from "./chunk-T4XGYK7D.js";
6
+ } from "./chunk-7N6FY6TW.js";
7
7
  import {
8
8
  World
9
- } from "./chunk-JTPAZSDM.js";
9
+ } from "./chunk-3XVIUZ43.js";
10
10
  import {
11
11
  init_default
12
- } from "./chunk-7YNCPIV4.js";
12
+ } from "./chunk-QCRBBVW3.js";
13
13
  import {
14
14
  require_ansis,
15
15
  require_lib,
16
16
  require_src
17
- } from "./chunk-V45X5PDX.js";
17
+ } from "./chunk-UXHN7PPY.js";
18
18
  import {
19
19
  require_lib as require_lib2
20
20
  } from "./chunk-SO2G2ODZ.js";
@@ -475,5 +475,5 @@
475
475
  "enableJsonFlag": false
476
476
  }
477
477
  },
478
- "version": "0.5.59"
478
+ "version": "0.5.60"
479
479
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-test-esbuild",
3
- "version": "0.5.59",
3
+ "version": "0.5.60",
4
4
  "description": "Bundled plugin for testing",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-test-esbuild/issues",
@@ -28,7 +28,7 @@
28
28
  "eslint-config-oclif-typescript": "^3",
29
29
  "eslint-config-prettier": "^9.1.0",
30
30
  "mocha": "^10",
31
- "oclif": "^4.17.4",
31
+ "oclif": "^4.17.7",
32
32
  "shx": "^0.3.4",
33
33
  "ts-node": "^10.9.2",
34
34
  "typescript": "^5"