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