@oclif/plugin-test-esbuild 0.5.148 → 0.5.149
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-AOZWFMOD.js → chunk-CEEFJAIB.js} +1 -1
- package/dist/{chunk-JSJXOPSH.js → chunk-IJAS24NC.js} +1 -1
- package/dist/{chunk-YN76ED2Q.js → chunk-MBE6N2CB.js} +21 -4
- package/dist/{chunk-SY6Y23HV.js → chunk-O5MYYVJP.js} +1 -1
- package/dist/{chunk-QF7LVKGF.js → chunk-UN3YODQJ.js} +1 -1
- package/dist/{chunk-R5IWD7DQ.js → chunk-WQDJK65Z.js} +1 -1
- package/dist/commands/esbuild.js +3 -3
- package/dist/commands/hello/index.js +3 -3
- package/dist/commands/hello/world.js +3 -3
- package/dist/hooks/init/init.js +3 -3
- package/dist/index.js +7 -7
- package/dist/{npa-LDY3FZSQ.js → npa-BCGZQDVX.js} +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
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.149 linux-x64 node-v24.16.0
|
|
21
21
|
$ bundle --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ bundle COMMAND
|
|
@@ -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,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ESBuild
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-IJAS24NC.js";
|
|
4
|
+
import "../chunk-UN3YODQJ.js";
|
|
5
|
+
import "../chunk-MBE6N2CB.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-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-O5MYYVJP.js";
|
|
4
|
+
import "../../chunk-UN3YODQJ.js";
|
|
5
|
+
import "../../chunk-MBE6N2CB.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-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-CEEFJAIB.js";
|
|
4
|
+
import "../../chunk-UN3YODQJ.js";
|
|
5
|
+
import "../../chunk-MBE6N2CB.js";
|
|
6
6
|
import "../../chunk-RRP6KXWN.js";
|
|
7
7
|
export {
|
|
8
8
|
World as default
|
package/dist/hooks/init/init.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_default
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-WQDJK65Z.js";
|
|
4
|
+
import "../../chunk-UN3YODQJ.js";
|
|
5
|
+
import "../../chunk-MBE6N2CB.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-
|
|
3
|
+
} from "./chunk-IJAS24NC.js";
|
|
4
4
|
import {
|
|
5
5
|
Hello
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O5MYYVJP.js";
|
|
7
7
|
import {
|
|
8
8
|
World
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CEEFJAIB.js";
|
|
10
10
|
import {
|
|
11
11
|
init_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WQDJK65Z.js";
|
|
13
13
|
import {
|
|
14
14
|
require_ansis,
|
|
15
15
|
require_lib,
|
|
16
16
|
require_src
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UN3YODQJ.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-
|
|
23
|
+
} from "./chunk-MBE6N2CB.js";
|
|
24
24
|
import {
|
|
25
25
|
__toESM,
|
|
26
26
|
init_cjs_shims
|
|
@@ -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-BCGZQDVX.js");
|
|
519
519
|
const normalizedUrl = npa(url);
|
|
520
520
|
const matches = Object.entries(dependencies ?? {}).find(([, npmVersion]) => {
|
|
521
521
|
const normalized = npa(npmVersion);
|
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.149",
|
|
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": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"chai": "^4",
|
|
26
26
|
"esbuild": "^0.28.0",
|
|
27
27
|
"eslint": "^9.39.4",
|
|
28
|
-
"eslint-config-oclif": "^6.0.
|
|
28
|
+
"eslint-config-oclif": "^6.0.169",
|
|
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"
|