@oclif/plugin-test-esbuild 0.5.154 → 0.5.155
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-OCKEPXY3.js → chunk-4DTQFSFS.js} +1 -1
- package/dist/{chunk-ISTERA55.js → chunk-J7KGR6N3.js} +1 -1
- package/dist/{chunk-B3SS5ZRJ.js → chunk-OQX7O5UF.js} +1 -1
- package/dist/{chunk-DDDT6GAB.js → chunk-QNPQ3NG7.js} +1 -1
- package/dist/{chunk-ZGEBU2N2.js → chunk-T2I5QBUT.js} +21 -20
- package/dist/commands/esbuild.js +2 -2
- package/dist/commands/hello/index.js +2 -2
- package/dist/commands/hello/world.js +2 -2
- package/dist/hooks/init/init.js +2 -2
- package/dist/index.js +5 -5
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
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.155 linux-x64 node-v24.17.0
|
|
21
21
|
$ bundle --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ bundle COMMAND
|
|
@@ -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.11.
|
|
257
|
+
version: "4.11.11",
|
|
258
258
|
author: "Salesforce",
|
|
259
259
|
bugs: "https://github.com/oclif/core/issues",
|
|
260
260
|
dependencies: {
|
|
@@ -272,7 +272,7 @@ var require_package = __commonJS({
|
|
|
272
272
|
semver: "^7.8.1",
|
|
273
273
|
"string-width": "^4.2.3",
|
|
274
274
|
"supports-color": "^8",
|
|
275
|
-
tinyglobby: "^0.2.
|
|
275
|
+
tinyglobby: "^0.2.17",
|
|
276
276
|
"widest-line": "^3.1.0",
|
|
277
277
|
wordwrap: "^1.0.0",
|
|
278
278
|
"wrap-ansi": "^7.0.0"
|
|
@@ -221993,9 +221993,10 @@ var require_dist2 = __commonJS({
|
|
|
221993
221993
|
var url = __require("url");
|
|
221994
221994
|
var fdir = require_dist();
|
|
221995
221995
|
var picomatch = require_picomatch2();
|
|
221996
|
-
picomatch = __toESM(picomatch);
|
|
221996
|
+
picomatch = __toESM(picomatch, 1);
|
|
221997
221997
|
var isReadonlyArray = Array.isArray;
|
|
221998
221998
|
var BACKSLASHES = /\\/g;
|
|
221999
|
+
var DRIVE_RELATIVE_PATH = /^[A-Za-z]:$/;
|
|
221999
222000
|
var isWin = process.platform === "win32";
|
|
222000
222001
|
var ONLY_PARENT_DIRECTORIES = /^(\/?\.\.)+$/;
|
|
222001
222002
|
function getPartialMatcher(patterns, options = {}) {
|
|
@@ -222061,24 +222062,27 @@ var require_dist2 = __commonJS({
|
|
|
222061
222062
|
return p[p.length - 1] === "/" && result !== "" ? `${result}/` : result || ".";
|
|
222062
222063
|
};
|
|
222063
222064
|
}
|
|
222065
|
+
function ensureNonDriveRelativePath(path$1) {
|
|
222066
|
+
return path$1.replace(DRIVE_RELATIVE_PATH, (match) => `${match}/`);
|
|
222067
|
+
}
|
|
222064
222068
|
var splitPatternOptions = { parts: true };
|
|
222065
|
-
function splitPattern(path$
|
|
222069
|
+
function splitPattern(path$2) {
|
|
222066
222070
|
var _result$parts;
|
|
222067
|
-
const result = picomatch.default.scan(path$
|
|
222068
|
-
return ((_result$parts = result.parts) === null || _result$parts === void 0 ? void 0 : _result$parts.length) ? result.parts : [path$
|
|
222071
|
+
const result = picomatch.default.scan(path$2, splitPatternOptions);
|
|
222072
|
+
return ((_result$parts = result.parts) === null || _result$parts === void 0 ? void 0 : _result$parts.length) ? result.parts : [path$2];
|
|
222069
222073
|
}
|
|
222070
222074
|
var ESCAPED_WIN32_BACKSLASHES = /\\(?![()[\]{}!+@])/g;
|
|
222071
|
-
function convertPosixPathToPattern(path$
|
|
222072
|
-
return escapePosixPath(path$
|
|
222075
|
+
function convertPosixPathToPattern(path$3) {
|
|
222076
|
+
return escapePosixPath(path$3);
|
|
222073
222077
|
}
|
|
222074
|
-
function convertWin32PathToPattern(path$
|
|
222075
|
-
return escapeWin32Path(path$
|
|
222078
|
+
function convertWin32PathToPattern(path$4) {
|
|
222079
|
+
return escapeWin32Path(path$4).replace(ESCAPED_WIN32_BACKSLASHES, "/");
|
|
222076
222080
|
}
|
|
222077
222081
|
var convertPathToPattern = isWin ? convertWin32PathToPattern : convertPosixPathToPattern;
|
|
222078
222082
|
var POSIX_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}*?|]|^!|[!+@](?=\()|\\(?![()[\]{}!*+?@|]))/g;
|
|
222079
222083
|
var WIN32_UNESCAPED_GLOB_SYMBOLS = /(?<!\\)([()[\]{}]|^!|[!+@](?=\())/g;
|
|
222080
|
-
var escapePosixPath = (path$
|
|
222081
|
-
var escapeWin32Path = (path$
|
|
222084
|
+
var escapePosixPath = (path$5) => path$5.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
|
222085
|
+
var escapeWin32Path = (path$6) => path$6.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&");
|
|
222082
222086
|
var escapePath = isWin ? escapeWin32Path : escapePosixPath;
|
|
222083
222087
|
function isDynamicPattern(pattern, options) {
|
|
222084
222088
|
if ((options === null || options === void 0 ? void 0 : options.caseSensitiveMatch) === false) return true;
|
|
@@ -222113,7 +222117,7 @@ var require_dist2 = __commonJS({
|
|
|
222113
222117
|
}
|
|
222114
222118
|
const potentialRoot = path.posix.join(cwd, parentDir.slice(i * 3));
|
|
222115
222119
|
if (potentialRoot[0] !== "." && props.root.length > potentialRoot.length) {
|
|
222116
|
-
props.root = potentialRoot;
|
|
222120
|
+
props.root = ensureNonDriveRelativePath(potentialRoot);
|
|
222117
222121
|
props.depthOffset = -n + i;
|
|
222118
222122
|
}
|
|
222119
222123
|
}
|
|
@@ -222133,7 +222137,7 @@ var require_dist2 = __commonJS({
|
|
|
222133
222137
|
}
|
|
222134
222138
|
props.depthOffset = newCommonPath.length;
|
|
222135
222139
|
props.commonPath = newCommonPath;
|
|
222136
|
-
props.root = newCommonPath.length > 0 ? path.posix.join(cwd, ...newCommonPath) : cwd;
|
|
222140
|
+
props.root = ensureNonDriveRelativePath(newCommonPath.length > 0 ? path.posix.join(cwd, ...newCommonPath) : cwd);
|
|
222137
222141
|
}
|
|
222138
222142
|
return result;
|
|
222139
222143
|
}
|
|
@@ -222222,18 +222226,15 @@ var require_dist2 = __commonJS({
|
|
|
222222
222226
|
}
|
|
222223
222227
|
var defaultOptions = {
|
|
222224
222228
|
caseSensitiveMatch: true,
|
|
222225
|
-
cwd: process.cwd(),
|
|
222226
222229
|
debug: !!process.env.TINYGLOBBY_DEBUG,
|
|
222227
222230
|
expandDirectories: true,
|
|
222228
222231
|
followSymbolicLinks: true,
|
|
222229
222232
|
onlyFiles: true
|
|
222230
222233
|
};
|
|
222231
222234
|
function getOptions(options) {
|
|
222232
|
-
const opts = {
|
|
222233
|
-
|
|
222234
|
-
|
|
222235
|
-
};
|
|
222236
|
-
opts.cwd = (opts.cwd instanceof URL ? (0, url.fileURLToPath)(opts.cwd) : (0, path.resolve)(opts.cwd)).replace(BACKSLASHES, "/");
|
|
222235
|
+
const opts = Object.assign({}, options);
|
|
222236
|
+
for (const key in defaultOptions) if (opts[key] === void 0) Object.assign(opts, { [key]: defaultOptions[key] });
|
|
222237
|
+
opts.cwd = (opts.cwd instanceof URL ? (0, url.fileURLToPath)(opts.cwd) : (0, path.resolve)(opts.cwd || process.cwd())).replace(BACKSLASHES, "/");
|
|
222237
222238
|
opts.ignore = ensureStringArray(opts.ignore);
|
|
222238
222239
|
opts.fs && (opts.fs = {
|
|
222239
222240
|
readdir: opts.fs.readdir || fs.readdir,
|
package/dist/commands/esbuild.js
CHANGED
package/dist/hooks/init/init.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ESBuild
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4DTQFSFS.js";
|
|
4
4
|
import {
|
|
5
5
|
Hello
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OQX7O5UF.js";
|
|
7
7
|
import {
|
|
8
8
|
World
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J7KGR6N3.js";
|
|
10
10
|
import {
|
|
11
11
|
init_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QNPQ3NG7.js";
|
|
13
13
|
import {
|
|
14
14
|
require_ansis,
|
|
15
15
|
require_lib,
|
|
16
16
|
require_src
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-T2I5QBUT.js";
|
|
18
18
|
import {
|
|
19
19
|
require_lib as require_lib2
|
|
20
20
|
} from "./chunk-UGF5GYN7.js";
|
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.155",
|
|
4
4
|
"description": "Bundled plugin for testing",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/plugin-test-esbuild/issues",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
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.18",
|
|
32
32
|
"shx": "^0.4.0",
|
|
33
33
|
"ts-node": "^10.9.2",
|
|
34
34
|
"typescript": "^5"
|