@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 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.154 linux-x64 node-v24.16.0
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
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-ZGEBU2N2.js";
3
+ } from "./chunk-T2I5QBUT.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-ZGEBU2N2.js";
3
+ } from "./chunk-T2I5QBUT.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-ZGEBU2N2.js";
3
+ } from "./chunk-T2I5QBUT.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-ZGEBU2N2.js";
3
+ } from "./chunk-T2I5QBUT.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
@@ -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.9",
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.16",
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$1) {
222069
+ function splitPattern(path$2) {
222066
222070
  var _result$parts;
222067
- const result = picomatch.default.scan(path$1, splitPatternOptions);
222068
- return ((_result$parts = result.parts) === null || _result$parts === void 0 ? void 0 : _result$parts.length) ? result.parts : [path$1];
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$2) {
222072
- return escapePosixPath(path$2);
222075
+ function convertPosixPathToPattern(path$3) {
222076
+ return escapePosixPath(path$3);
222073
222077
  }
222074
- function convertWin32PathToPattern(path$3) {
222075
- return escapeWin32Path(path$3).replace(ESCAPED_WIN32_BACKSLASHES, "/");
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$4) => path$4.replace(POSIX_UNESCAPED_GLOB_SYMBOLS, "\\$&");
222081
- var escapeWin32Path = (path$5) => path$5.replace(WIN32_UNESCAPED_GLOB_SYMBOLS, "\\$&");
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
- ...defaultOptions,
222234
- ...options
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,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ESBuild
3
- } from "../chunk-OCKEPXY3.js";
4
- import "../chunk-ZGEBU2N2.js";
3
+ } from "../chunk-4DTQFSFS.js";
4
+ import "../chunk-T2I5QBUT.js";
5
5
  import "../chunk-R2OLING5.js";
6
6
  import "../chunk-6AAAS5BM.js";
7
7
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Hello
3
- } from "../../chunk-B3SS5ZRJ.js";
4
- import "../../chunk-ZGEBU2N2.js";
3
+ } from "../../chunk-OQX7O5UF.js";
4
+ import "../../chunk-T2I5QBUT.js";
5
5
  import "../../chunk-R2OLING5.js";
6
6
  import "../../chunk-6AAAS5BM.js";
7
7
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  World
3
- } from "../../chunk-ISTERA55.js";
4
- import "../../chunk-ZGEBU2N2.js";
3
+ } from "../../chunk-J7KGR6N3.js";
4
+ import "../../chunk-T2I5QBUT.js";
5
5
  import "../../chunk-R2OLING5.js";
6
6
  import "../../chunk-6AAAS5BM.js";
7
7
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  init_default
3
- } from "../../chunk-DDDT6GAB.js";
4
- import "../../chunk-ZGEBU2N2.js";
3
+ } from "../../chunk-QNPQ3NG7.js";
4
+ import "../../chunk-T2I5QBUT.js";
5
5
  import "../../chunk-R2OLING5.js";
6
6
  import "../../chunk-6AAAS5BM.js";
7
7
  export {
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  ESBuild
3
- } from "./chunk-OCKEPXY3.js";
3
+ } from "./chunk-4DTQFSFS.js";
4
4
  import {
5
5
  Hello
6
- } from "./chunk-B3SS5ZRJ.js";
6
+ } from "./chunk-OQX7O5UF.js";
7
7
  import {
8
8
  World
9
- } from "./chunk-ISTERA55.js";
9
+ } from "./chunk-J7KGR6N3.js";
10
10
  import {
11
11
  init_default
12
- } from "./chunk-DDDT6GAB.js";
12
+ } from "./chunk-QNPQ3NG7.js";
13
13
  import {
14
14
  require_ansis,
15
15
  require_lib,
16
16
  require_src
17
- } from "./chunk-ZGEBU2N2.js";
17
+ } from "./chunk-T2I5QBUT.js";
18
18
  import {
19
19
  require_lib as require_lib2
20
20
  } from "./chunk-UGF5GYN7.js";
@@ -475,5 +475,5 @@
475
475
  "enableJsonFlag": false
476
476
  }
477
477
  },
478
- "version": "0.5.154"
478
+ "version": "0.5.155"
479
479
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-test-esbuild",
3
- "version": "0.5.154",
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.14",
31
+ "oclif": "^4.23.18",
32
32
  "shx": "^0.4.0",
33
33
  "ts-node": "^10.9.2",
34
34
  "typescript": "^5"