@oclif/plugin-test-esbuild 0.5.149 → 0.5.150

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.149 linux-x64 node-v24.16.0
20
+ @oclif/plugin-test-esbuild/0.5.150 linux-x64 node-v24.16.0
21
21
  $ bundle --help [COMMAND]
22
22
  USAGE
23
23
  $ bundle COMMAND
@@ -10,11 +10,20 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
10
10
  if (typeof require !== "undefined") return require.apply(this, arguments);
11
11
  throw Error('Dynamic require of "' + x + '" is not supported');
12
12
  });
13
- var __esm = (fn, res) => function __init() {
14
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
13
+ var __esm = (fn, res, err) => function __init() {
14
+ if (err) throw err[0];
15
+ try {
16
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
17
+ } catch (e) {
18
+ throw err = [e], e;
19
+ }
15
20
  };
16
21
  var __commonJS = (cb, mod) => function __require2() {
17
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
22
+ try {
23
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
24
+ } catch (e) {
25
+ throw mod = 0, e;
26
+ }
18
27
  };
19
28
  var __copyProps = (to, from, except, desc) => {
20
29
  if (from && typeof from === "object" || typeof from === "function") {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  require_semver
3
- } from "./chunk-MBE6N2CB.js";
3
+ } from "./chunk-UFI2Z2TC.js";
4
4
  import {
5
5
  __commonJS,
6
6
  __require,
7
7
  init_cjs_shims
8
- } from "./chunk-RRP6KXWN.js";
8
+ } from "./chunk-6AAAS5BM.js";
9
9
 
10
10
  // node_modules/@oclif/core/lib/util/util.js
11
11
  var require_util = __commonJS({
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-UN3YODQJ.js";
3
+ } from "./chunk-D4O2XCYQ.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
7
- } from "./chunk-RRP6KXWN.js";
7
+ } from "./chunk-6AAAS5BM.js";
8
8
 
9
9
  // src/hooks/init/init.ts
10
10
  init_cjs_shims();
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-UN3YODQJ.js";
3
+ } from "./chunk-D4O2XCYQ.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
7
- } from "./chunk-RRP6KXWN.js";
7
+ } from "./chunk-6AAAS5BM.js";
8
8
 
9
9
  // src/commands/hello/index.ts
10
10
  init_cjs_shims();
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-UN3YODQJ.js";
3
+ } from "./chunk-D4O2XCYQ.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
7
- } from "./chunk-RRP6KXWN.js";
7
+ } from "./chunk-6AAAS5BM.js";
8
8
 
9
9
  // src/commands/esbuild.ts
10
10
  init_cjs_shims();
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-UN3YODQJ.js";
3
+ } from "./chunk-D4O2XCYQ.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
7
- } from "./chunk-RRP6KXWN.js";
7
+ } from "./chunk-6AAAS5BM.js";
8
8
 
9
9
  // src/commands/hello/world.ts
10
10
  init_cjs_shims();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  init_cjs_shims
4
- } from "./chunk-RRP6KXWN.js";
4
+ } from "./chunk-6AAAS5BM.js";
5
5
 
6
6
  // node_modules/semver/internal/constants.js
7
7
  var require_constants = __commonJS({
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __require,
4
4
  init_cjs_shims
5
- } from "./chunk-RRP6KXWN.js";
5
+ } from "./chunk-6AAAS5BM.js";
6
6
 
7
7
  // node_modules/validate-npm-package-name/lib/index.js
8
8
  var require_lib = __commonJS({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ESBuild
3
- } from "../chunk-IJAS24NC.js";
4
- import "../chunk-UN3YODQJ.js";
5
- import "../chunk-MBE6N2CB.js";
6
- import "../chunk-RRP6KXWN.js";
3
+ } from "../chunk-LYGZNQLU.js";
4
+ import "../chunk-D4O2XCYQ.js";
5
+ import "../chunk-UFI2Z2TC.js";
6
+ import "../chunk-6AAAS5BM.js";
7
7
  export {
8
8
  ESBuild as default
9
9
  };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Hello
3
- } from "../../chunk-O5MYYVJP.js";
4
- import "../../chunk-UN3YODQJ.js";
5
- import "../../chunk-MBE6N2CB.js";
6
- import "../../chunk-RRP6KXWN.js";
3
+ } from "../../chunk-JH6JEIPF.js";
4
+ import "../../chunk-D4O2XCYQ.js";
5
+ import "../../chunk-UFI2Z2TC.js";
6
+ import "../../chunk-6AAAS5BM.js";
7
7
  export {
8
8
  Hello as default
9
9
  };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  World
3
- } from "../../chunk-CEEFJAIB.js";
4
- import "../../chunk-UN3YODQJ.js";
5
- import "../../chunk-MBE6N2CB.js";
6
- import "../../chunk-RRP6KXWN.js";
3
+ } from "../../chunk-STWCMBB3.js";
4
+ import "../../chunk-D4O2XCYQ.js";
5
+ import "../../chunk-UFI2Z2TC.js";
6
+ import "../../chunk-6AAAS5BM.js";
7
7
  export {
8
8
  World as default
9
9
  };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  init_default
3
- } from "../../chunk-WQDJK65Z.js";
4
- import "../../chunk-UN3YODQJ.js";
5
- import "../../chunk-MBE6N2CB.js";
6
- import "../../chunk-RRP6KXWN.js";
3
+ } from "../../chunk-I6657WSN.js";
4
+ import "../../chunk-D4O2XCYQ.js";
5
+ import "../../chunk-UFI2Z2TC.js";
6
+ import "../../chunk-6AAAS5BM.js";
7
7
  export {
8
8
  init_default as default
9
9
  };
package/dist/index.js CHANGED
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  ESBuild
3
- } from "./chunk-IJAS24NC.js";
3
+ } from "./chunk-LYGZNQLU.js";
4
4
  import {
5
5
  Hello
6
- } from "./chunk-O5MYYVJP.js";
6
+ } from "./chunk-JH6JEIPF.js";
7
7
  import {
8
8
  World
9
- } from "./chunk-CEEFJAIB.js";
9
+ } from "./chunk-STWCMBB3.js";
10
10
  import {
11
11
  init_default
12
- } from "./chunk-WQDJK65Z.js";
12
+ } from "./chunk-I6657WSN.js";
13
13
  import {
14
14
  require_ansis,
15
15
  require_lib,
16
16
  require_src
17
- } from "./chunk-UN3YODQJ.js";
17
+ } from "./chunk-D4O2XCYQ.js";
18
18
  import {
19
19
  require_lib as require_lib2
20
- } from "./chunk-SO2G2ODZ.js";
20
+ } from "./chunk-UGF5GYN7.js";
21
21
  import {
22
22
  require_semver
23
- } from "./chunk-MBE6N2CB.js";
23
+ } from "./chunk-UFI2Z2TC.js";
24
24
  import {
25
25
  __toESM,
26
26
  init_cjs_shims
27
- } from "./chunk-RRP6KXWN.js";
27
+ } from "./chunk-6AAAS5BM.js";
28
28
 
29
29
  // src/index.ts
30
30
  init_cjs_shims();
@@ -322,7 +322,7 @@ var NPM = class {
322
322
  const npmPath = npmPjsonPath.slice(0, Math.max(0, npmPjsonPath.lastIndexOf(sep)));
323
323
  this.bin = join(npmPath, npmPjson.bin.npm);
324
324
  } catch {
325
- const { default: which } = await import("./lib-EQZCZ6WM.js");
325
+ const { default: which } = await import("./lib-E3GH32F7.js");
326
326
  this.bin = await which("npm");
327
327
  }
328
328
  if (!this.bin) {
@@ -403,7 +403,7 @@ var Yarn = class {
403
403
  try {
404
404
  this.bin = require2.resolve("yarn/bin/yarn.js", { paths: [this.config.root, fileURLToPath2(import.meta.url)] });
405
405
  } catch {
406
- const { default: which } = await import("./lib-EQZCZ6WM.js");
406
+ const { default: which } = await import("./lib-E3GH32F7.js");
407
407
  this.bin = await which("yarn");
408
408
  }
409
409
  if (!this.bin) {
@@ -515,7 +515,7 @@ var Plugins = class {
515
515
  const url = name;
516
516
  const output = await this.npm.install([...args, url], options);
517
517
  const { dependencies } = await this.pjson();
518
- const { default: npa } = await import("./npa-BCGZQDVX.js");
518
+ const { default: npa } = await import("./npa-MD3JHKGU.js");
519
519
  const normalizedUrl = npa(url);
520
520
  const matches = Object.entries(dependencies ?? {}).find(([, npmVersion]) => {
521
521
  const normalized = npa(npmVersion);
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __require,
4
4
  init_cjs_shims
5
- } from "./chunk-RRP6KXWN.js";
5
+ } from "./chunk-6AAAS5BM.js";
6
6
 
7
7
  // node_modules/@oclif/plugin-plugins/node_modules/isexe/dist/cjs/posix.js
8
8
  var require_posix = __commonJS({
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-SO2G2ODZ.js";
3
+ } from "./chunk-UGF5GYN7.js";
4
4
  import {
5
5
  require_semver
6
- } from "./chunk-MBE6N2CB.js";
6
+ } from "./chunk-UFI2Z2TC.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __require,
10
10
  init_cjs_shims
11
- } from "./chunk-RRP6KXWN.js";
11
+ } from "./chunk-6AAAS5BM.js";
12
12
 
13
13
  // node_modules/@oclif/plugin-plugins/node_modules/lru-cache/dist/commonjs/index.js
14
14
  var require_commonjs = __commonJS({
@@ -475,5 +475,5 @@
475
475
  "enableJsonFlag": false
476
476
  }
477
477
  },
478
- "version": "0.5.149"
478
+ "version": "0.5.150"
479
479
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-test-esbuild",
3
- "version": "0.5.149",
3
+ "version": "0.5.150",
4
4
  "description": "Bundled plugin for testing",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-test-esbuild/issues",
@@ -23,9 +23,9 @@
23
23
  "@types/mocha": "^10",
24
24
  "@types/node": "^18",
25
25
  "chai": "^4",
26
- "esbuild": "^0.28.0",
26
+ "esbuild": "^0.28.1",
27
27
  "eslint": "^9.39.4",
28
- "eslint-config-oclif": "^6.0.169",
28
+ "eslint-config-oclif": "^6.0.171",
29
29
  "eslint-config-prettier": "^10.1.8",
30
30
  "mocha": "^10",
31
31
  "oclif": "^4.23.14",