@oclif/plugin-test-esbuild 0.5.101 → 0.5.103

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.101 linux-x64 node-v22.20.0
20
+ @oclif/plugin-test-esbuild/0.5.103 linux-x64 node-v22.20.0
21
21
  $ bundle --help [COMMAND]
22
22
  USAGE
23
23
  $ bundle COMMAND
@@ -306,7 +306,7 @@ USAGE
306
306
  $ bundle plugins remove [PLUGIN...] [-h] [-v]
307
307
 
308
308
  ARGUMENTS
309
- PLUGIN... plugin to uninstall
309
+ [PLUGIN...] plugin to uninstall
310
310
 
311
311
  FLAGS
312
312
  -h, --help Show CLI help.
@@ -345,7 +345,7 @@ USAGE
345
345
  $ bundle plugins uninstall [PLUGIN...] [-h] [-v]
346
346
 
347
347
  ARGUMENTS
348
- PLUGIN... plugin to uninstall
348
+ [PLUGIN...] plugin to uninstall
349
349
 
350
350
  FLAGS
351
351
  -h, --help Show CLI help.
@@ -371,7 +371,7 @@ USAGE
371
371
  $ bundle plugins unlink [PLUGIN...] [-h] [-v]
372
372
 
373
373
  ARGUMENTS
374
- PLUGIN... plugin to uninstall
374
+ [PLUGIN...] plugin to uninstall
375
375
 
376
376
  FLAGS
377
377
  -h, --help Show CLI help.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_semver
3
- } from "./chunk-KTIWHTBR.js";
3
+ } from "./chunk-DYLIKYE6.js";
4
4
  import {
5
5
  __commonJS,
6
6
  __require,
@@ -254,7 +254,7 @@ var require_package = __commonJS({
254
254
  module.exports = {
255
255
  name: "@oclif/core",
256
256
  description: "base library for oclif CLIs",
257
- version: "4.5.4",
257
+ version: "4.5.6",
258
258
  author: "Salesforce",
259
259
  bugs: "https://github.com/oclif/core/issues",
260
260
  dependencies: {
@@ -269,7 +269,7 @@ var require_package = __commonJS({
269
269
  "is-wsl": "^2.2.0",
270
270
  lilconfig: "^3.1.3",
271
271
  minimatch: "^9.0.5",
272
- semver: "^7.6.3",
272
+ semver: "^7.7.3",
273
273
  "string-width": "^4.2.3",
274
274
  "supports-color": "^8",
275
275
  tinyglobby: "^0.2.14",
@@ -279,7 +279,7 @@ var require_package = __commonJS({
279
279
  },
280
280
  devDependencies: {
281
281
  "@commitlint/config-conventional": "^19",
282
- "@eslint/compat": "^1.3.2",
282
+ "@eslint/compat": "^1.4.0",
283
283
  "@oclif/plugin-help": "^6",
284
284
  "@oclif/plugin-plugins": "^5",
285
285
  "@oclif/prettier-config": "^0.2.1",
@@ -309,7 +309,7 @@ var require_package = __commonJS({
309
309
  husky: "^9.1.7",
310
310
  "lint-staged": "^15",
311
311
  madge: "^6.1.0",
312
- mocha: "^11.7.2",
312
+ mocha: "^11.7.4",
313
313
  nyc: "^15.1.0",
314
314
  prettier: "^3.6.2",
315
315
  shx: "^0.4.0",
@@ -216687,7 +216687,8 @@ var require_command = __commonJS({
216687
216687
  if (args.filter((a) => a.description).length === 0)
216688
216688
  return;
216689
216689
  return args.map((a) => {
216690
- const name = this.command.strict === false ? `${a.name.toUpperCase()}...` : a.name.toUpperCase();
216690
+ let name = this.command.strict === false ? `${a.name.toUpperCase()}...` : a.name.toUpperCase();
216691
+ name = a.required ? `${name}` : `[${name}]`;
216691
216692
  let description = a.description || "";
216692
216693
  if (a.default)
216693
216694
  description = `${(0, theme_1.colorize)(this.config?.theme?.flagDefaultValue, `[default: ${a.default}]`)} ${description}`;
@@ -163,6 +163,9 @@ var require_identifiers = __commonJS({
163
163
  init_cjs_shims();
164
164
  var numeric = /^[0-9]+$/;
165
165
  var compareIdentifiers = (a, b) => {
166
+ if (typeof a === "number" && typeof b === "number") {
167
+ return a === b ? 0 : a < b ? -1 : 1;
168
+ }
166
169
  const anum = numeric.test(a);
167
170
  const bnum = numeric.test(b);
168
171
  if (anum && bnum) {
@@ -270,7 +273,25 @@ var require_semver = __commonJS({
270
273
  if (!(other instanceof _SemVer)) {
271
274
  other = new _SemVer(other, this.options);
272
275
  }
273
- return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
276
+ if (this.major < other.major) {
277
+ return -1;
278
+ }
279
+ if (this.major > other.major) {
280
+ return 1;
281
+ }
282
+ if (this.minor < other.minor) {
283
+ return -1;
284
+ }
285
+ if (this.minor > other.minor) {
286
+ return 1;
287
+ }
288
+ if (this.patch < other.patch) {
289
+ return -1;
290
+ }
291
+ if (this.patch > other.patch) {
292
+ return 1;
293
+ }
294
+ return 0;
274
295
  }
275
296
  comparePre(other) {
276
297
  if (!(other instanceof _SemVer)) {
@@ -1056,6 +1077,7 @@ var require_range = __commonJS({
1056
1077
  return result;
1057
1078
  };
1058
1079
  var parseComparator = (comp, options) => {
1080
+ comp = comp.replace(re[t.BUILD], "");
1059
1081
  debug("comp", comp, options);
1060
1082
  comp = replaceCarets(comp, options);
1061
1083
  debug("caret", comp);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-HL2GXJKF.js";
3
+ } from "./chunk-AOQIRGV5.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-HL2GXJKF.js";
3
+ } from "./chunk-AOQIRGV5.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-HL2GXJKF.js";
3
+ } from "./chunk-AOQIRGV5.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-HL2GXJKF.js";
3
+ } from "./chunk-AOQIRGV5.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ESBuild
3
- } from "../chunk-S6V7ZDPO.js";
4
- import "../chunk-HL2GXJKF.js";
5
- import "../chunk-KTIWHTBR.js";
3
+ } from "../chunk-FDNCBODK.js";
4
+ import "../chunk-AOQIRGV5.js";
5
+ import "../chunk-DYLIKYE6.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-7NTCVL6Y.js";
4
- import "../../chunk-HL2GXJKF.js";
5
- import "../../chunk-KTIWHTBR.js";
3
+ } from "../../chunk-TOKY4XJQ.js";
4
+ import "../../chunk-AOQIRGV5.js";
5
+ import "../../chunk-DYLIKYE6.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-UF64FUZO.js";
4
- import "../../chunk-HL2GXJKF.js";
5
- import "../../chunk-KTIWHTBR.js";
3
+ } from "../../chunk-FW3GROEH.js";
4
+ import "../../chunk-AOQIRGV5.js";
5
+ import "../../chunk-DYLIKYE6.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-LFBWSJSV.js";
4
- import "../../chunk-HL2GXJKF.js";
5
- import "../../chunk-KTIWHTBR.js";
3
+ } from "../../chunk-WM7LUCIX.js";
4
+ import "../../chunk-AOQIRGV5.js";
5
+ import "../../chunk-DYLIKYE6.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-S6V7ZDPO.js";
3
+ } from "./chunk-FDNCBODK.js";
4
4
  import {
5
5
  Hello
6
- } from "./chunk-7NTCVL6Y.js";
6
+ } from "./chunk-TOKY4XJQ.js";
7
7
  import {
8
8
  World
9
- } from "./chunk-UF64FUZO.js";
9
+ } from "./chunk-FW3GROEH.js";
10
10
  import {
11
11
  init_default
12
- } from "./chunk-LFBWSJSV.js";
12
+ } from "./chunk-WM7LUCIX.js";
13
13
  import {
14
14
  require_ansis,
15
15
  require_lib,
16
16
  require_src
17
- } from "./chunk-HL2GXJKF.js";
17
+ } from "./chunk-AOQIRGV5.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-KTIWHTBR.js";
23
+ } from "./chunk-DYLIKYE6.js";
24
24
  import {
25
25
  __toESM,
26
26
  init_cjs_shims
@@ -505,7 +505,7 @@ 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-MHEAM5QF.js");
508
+ const { default: npa } = await import("./npa-T3UY3FPJ.js");
509
509
  const normalizedUrl = npa(url);
510
510
  const matches = Object.entries(dependencies ?? {}).find(([, npmVersion]) => {
511
511
  const normalized = npa(npmVersion);
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SO2G2ODZ.js";
4
4
  import {
5
5
  require_semver
6
- } from "./chunk-KTIWHTBR.js";
6
+ } from "./chunk-DYLIKYE6.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.101"
478
+ "version": "0.5.103"
479
479
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-test-esbuild",
3
- "version": "0.5.101",
3
+ "version": "0.5.103",
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.48",
15
+ "@oclif/plugin-plugins": "^5.4.49",
16
16
  "@oclif/plugin-test-esm-1": "^0.8.91"
17
17
  },
18
18
  "devDependencies": {
@@ -25,10 +25,10 @@
25
25
  "chai": "^4",
26
26
  "esbuild": "^0.25.10",
27
27
  "eslint": "^9.37.0",
28
- "eslint-config-oclif": "^6.0.106",
28
+ "eslint-config-oclif": "^6.0.108",
29
29
  "eslint-config-prettier": "^10.1.8",
30
30
  "mocha": "^10",
31
- "oclif": "^4.22.24",
31
+ "oclif": "^4.22.29",
32
32
  "shx": "^0.4.0",
33
33
  "ts-node": "^10.9.2",
34
34
  "typescript": "^5"