@oclif/plugin-test-esbuild 0.5.148 → 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 +1 -1
- package/dist/{chunk-RRP6KXWN.js → chunk-6AAAS5BM.js} +12 -3
- package/dist/{chunk-QF7LVKGF.js → chunk-D4O2XCYQ.js} +2 -2
- package/dist/{chunk-R5IWD7DQ.js → chunk-I6657WSN.js} +2 -2
- package/dist/{chunk-SY6Y23HV.js → chunk-JH6JEIPF.js} +2 -2
- package/dist/{chunk-JSJXOPSH.js → chunk-LYGZNQLU.js} +2 -2
- package/dist/{chunk-AOZWFMOD.js → chunk-STWCMBB3.js} +2 -2
- package/dist/{chunk-YN76ED2Q.js → chunk-UFI2Z2TC.js} +22 -5
- package/dist/{chunk-SO2G2ODZ.js → chunk-UGF5GYN7.js} +1 -1
- package/dist/commands/esbuild.js +4 -4
- package/dist/commands/hello/index.js +4 -4
- package/dist/commands/hello/world.js +4 -4
- package/dist/hooks/init/init.js +4 -4
- package/dist/index.js +11 -11
- package/dist/{lib-EQZCZ6WM.js → lib-E3GH32F7.js} +1 -1
- package/dist/{npa-LDY3FZSQ.js → npa-MD3JHKGU.js} +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
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.
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
3
|
+
} from "./chunk-UFI2Z2TC.js";
|
|
4
4
|
import {
|
|
5
5
|
__commonJS,
|
|
6
6
|
__require,
|
|
7
7
|
init_cjs_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6AAAS5BM.js";
|
|
9
9
|
|
|
10
10
|
// node_modules/@oclif/core/lib/util/util.js
|
|
11
11
|
var require_util = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS,
|
|
3
3
|
init_cjs_shims
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6AAAS5BM.js";
|
|
5
5
|
|
|
6
6
|
// node_modules/semver/internal/constants.js
|
|
7
7
|
var require_constants = __commonJS({
|
|
@@ -192,6 +192,18 @@ var require_semver = __commonJS({
|
|
|
192
192
|
var { safeRe: re, t } = require_re();
|
|
193
193
|
var parseOptions = require_parse_options();
|
|
194
194
|
var { compareIdentifiers } = require_identifiers();
|
|
195
|
+
var isPrereleaseIdentifier = (prerelease, identifier) => {
|
|
196
|
+
const identifiers = identifier.split(".");
|
|
197
|
+
if (identifiers.length > prerelease.length) {
|
|
198
|
+
return false;
|
|
199
|
+
}
|
|
200
|
+
for (let i = 0; i < identifiers.length; i++) {
|
|
201
|
+
if (compareIdentifiers(prerelease[i], identifiers[i]) !== 0) {
|
|
202
|
+
return false;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
return true;
|
|
206
|
+
};
|
|
195
207
|
var SemVer = class _SemVer {
|
|
196
208
|
constructor(version, options) {
|
|
197
209
|
options = parseOptions(options);
|
|
@@ -438,8 +450,9 @@ var require_semver = __commonJS({
|
|
|
438
450
|
if (identifierBase === false) {
|
|
439
451
|
prerelease = [identifier];
|
|
440
452
|
}
|
|
441
|
-
if (
|
|
442
|
-
|
|
453
|
+
if (isPrereleaseIdentifier(this.prerelease, identifier)) {
|
|
454
|
+
const prereleaseBase = this.prerelease[identifier.split(".").length];
|
|
455
|
+
if (isNaN(prereleaseBase)) {
|
|
443
456
|
this.prerelease = prerelease;
|
|
444
457
|
}
|
|
445
458
|
} else {
|
|
@@ -1135,6 +1148,7 @@ var require_range = __commonJS({
|
|
|
1135
1148
|
return comp;
|
|
1136
1149
|
};
|
|
1137
1150
|
var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
|
|
1151
|
+
var invalidXRangeOrder = (M, m, p) => isX(M) && !isX(m) || isX(m) && p && !isX(p);
|
|
1138
1152
|
var replaceTildes = (comp, options) => {
|
|
1139
1153
|
return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
|
|
1140
1154
|
};
|
|
@@ -1194,9 +1208,9 @@ var require_range = __commonJS({
|
|
|
1194
1208
|
debug("no pr");
|
|
1195
1209
|
if (M === "0") {
|
|
1196
1210
|
if (m === "0") {
|
|
1197
|
-
ret = `>=${M}.${m}.${p}
|
|
1211
|
+
ret = `>=${M}.${m}.${p} <${M}.${m}.${+p + 1}-0`;
|
|
1198
1212
|
} else {
|
|
1199
|
-
ret = `>=${M}.${m}.${p}
|
|
1213
|
+
ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
|
|
1200
1214
|
}
|
|
1201
1215
|
} else {
|
|
1202
1216
|
ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
|
|
@@ -1215,6 +1229,9 @@ var require_range = __commonJS({
|
|
|
1215
1229
|
const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
|
|
1216
1230
|
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
|
|
1217
1231
|
debug("xRange", comp, ret, gtlt, M, m, p, pr);
|
|
1232
|
+
if (invalidXRangeOrder(M, m, p)) {
|
|
1233
|
+
return comp;
|
|
1234
|
+
}
|
|
1218
1235
|
const xM = isX(M);
|
|
1219
1236
|
const xm = xM || isX(m);
|
|
1220
1237
|
const xp = xm || isX(p);
|
package/dist/commands/esbuild.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ESBuild
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
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-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
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-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
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
|
};
|
package/dist/hooks/init/init.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_default
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
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-
|
|
3
|
+
} from "./chunk-LYGZNQLU.js";
|
|
4
4
|
import {
|
|
5
5
|
Hello
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JH6JEIPF.js";
|
|
7
7
|
import {
|
|
8
8
|
World
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-STWCMBB3.js";
|
|
10
10
|
import {
|
|
11
11
|
init_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I6657WSN.js";
|
|
13
13
|
import {
|
|
14
14
|
require_ansis,
|
|
15
15
|
require_lib,
|
|
16
16
|
require_src
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-D4O2XCYQ.js";
|
|
18
18
|
import {
|
|
19
19
|
require_lib as require_lib2
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UGF5GYN7.js";
|
|
21
21
|
import {
|
|
22
22
|
require_semver
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UFI2Z2TC.js";
|
|
24
24
|
import {
|
|
25
25
|
__toESM,
|
|
26
26
|
init_cjs_shims
|
|
27
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_lib
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UGF5GYN7.js";
|
|
4
4
|
import {
|
|
5
5
|
require_semver
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UFI2Z2TC.js";
|
|
7
7
|
import {
|
|
8
8
|
__commonJS,
|
|
9
9
|
__require,
|
|
10
10
|
init_cjs_shims
|
|
11
|
-
} from "./chunk-
|
|
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({
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/plugin-test-esbuild",
|
|
3
|
-
"version": "0.5.
|
|
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",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@oclif/core": "^4",
|
|
15
|
-
"@oclif/plugin-plugins": "^5.4.
|
|
15
|
+
"@oclif/plugin-plugins": "^5.4.73",
|
|
16
16
|
"@oclif/plugin-test-esm-1": "^0.8.128"
|
|
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.28.
|
|
26
|
+
"esbuild": "^0.28.1",
|
|
27
27
|
"eslint": "^9.39.4",
|
|
28
|
-
"eslint-config-oclif": "^6.0.
|
|
28
|
+
"eslint-config-oclif": "^6.0.171",
|
|
29
29
|
"eslint-config-prettier": "^10.1.8",
|
|
30
30
|
"mocha": "^10",
|
|
31
|
-
"oclif": "^4.23.
|
|
31
|
+
"oclif": "^4.23.14",
|
|
32
32
|
"shx": "^0.4.0",
|
|
33
33
|
"ts-node": "^10.9.2",
|
|
34
34
|
"typescript": "^5"
|