@oclif/plugin-test-esbuild 0.5.0 → 0.5.2

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.0 linux-x64 node-v20.13.1
20
+ @oclif/plugin-test-esbuild/0.5.2 linux-x64 node-v20.14.0
21
21
  $ bundle --help [COMMAND]
22
22
  USAGE
23
23
  $ bundle COMMAND
@@ -172,7 +172,7 @@ GLOBAL FLAGS
172
172
  DESCRIPTION
173
173
  Installs a plugin into bundle.
174
174
 
175
- Uses bundled npm executable to install plugins into /home/runner/.local/share/bundle
175
+ Uses npm to install plugins.
176
176
 
177
177
  Installation of a user-installed plugin will override a core plugin.
178
178
 
@@ -244,7 +244,7 @@ GLOBAL FLAGS
244
244
  DESCRIPTION
245
245
  Installs a plugin into bundle.
246
246
 
247
- Uses bundled npm executable to install plugins into /home/runner/.local/share/bundle
247
+ Uses npm to install plugins.
248
248
 
249
249
  Installation of a user-installed plugin will override a core plugin.
250
250
 
@@ -1208,9 +1208,9 @@ var require_is_wsl = __commonJS({
1208
1208
  }
1209
1209
  });
1210
1210
 
1211
- // node_modules/@oclif/core/node_modules/ms/index.js
1211
+ // node_modules/debug/node_modules/ms/index.js
1212
1212
  var require_ms = __commonJS({
1213
- "node_modules/@oclif/core/node_modules/ms/index.js"(exports, module) {
1213
+ "node_modules/debug/node_modules/ms/index.js"(exports, module) {
1214
1214
  init_cjs_shims();
1215
1215
  var s = 1e3;
1216
1216
  var m = s * 60;
@@ -1325,9 +1325,9 @@ var require_ms = __commonJS({
1325
1325
  }
1326
1326
  });
1327
1327
 
1328
- // node_modules/@oclif/core/node_modules/debug/src/common.js
1328
+ // node_modules/debug/src/common.js
1329
1329
  var require_common = __commonJS({
1330
- "node_modules/@oclif/core/node_modules/debug/src/common.js"(exports, module) {
1330
+ "node_modules/debug/src/common.js"(exports, module) {
1331
1331
  init_cjs_shims();
1332
1332
  function setup(env) {
1333
1333
  createDebug.debug = createDebug;
@@ -1489,9 +1489,9 @@ var require_common = __commonJS({
1489
1489
  }
1490
1490
  });
1491
1491
 
1492
- // node_modules/@oclif/core/node_modules/debug/src/browser.js
1492
+ // node_modules/debug/src/browser.js
1493
1493
  var require_browser = __commonJS({
1494
- "node_modules/@oclif/core/node_modules/debug/src/browser.js"(exports, module) {
1494
+ "node_modules/debug/src/browser.js"(exports, module) {
1495
1495
  init_cjs_shims();
1496
1496
  exports.formatArgs = formatArgs;
1497
1497
  exports.save = save;
@@ -1788,9 +1788,9 @@ var require_supports_color = __commonJS({
1788
1788
  }
1789
1789
  });
1790
1790
 
1791
- // node_modules/@oclif/core/node_modules/debug/src/node.js
1791
+ // node_modules/debug/src/node.js
1792
1792
  var require_node = __commonJS({
1793
- "node_modules/@oclif/core/node_modules/debug/src/node.js"(exports, module) {
1793
+ "node_modules/debug/src/node.js"(exports, module) {
1794
1794
  init_cjs_shims();
1795
1795
  var tty = __require("tty");
1796
1796
  var util = __require("util");
@@ -1963,9 +1963,9 @@ var require_node = __commonJS({
1963
1963
  }
1964
1964
  });
1965
1965
 
1966
- // node_modules/@oclif/core/node_modules/debug/src/index.js
1966
+ // node_modules/debug/src/index.js
1967
1967
  var require_src = __commonJS({
1968
- "node_modules/@oclif/core/node_modules/debug/src/index.js"(exports, module) {
1968
+ "node_modules/debug/src/index.js"(exports, module) {
1969
1969
  init_cjs_shims();
1970
1970
  if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
1971
1971
  module.exports = require_browser();
@@ -25889,7 +25889,7 @@ var require_lib4 = __commonJS({
25889
25889
 
25890
25890
  export {
25891
25891
  require_ansis,
25892
- require_supports_color,
25892
+ require_src,
25893
25893
  require_lib4 as require_lib
25894
25894
  };
25895
25895
  /*! Bundled license information:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-B2CGVY4C.js";
3
+ } from "./chunk-5SUCPGFA.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-B2CGVY4C.js";
3
+ } from "./chunk-5SUCPGFA.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-B2CGVY4C.js";
3
+ } from "./chunk-5SUCPGFA.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-B2CGVY4C.js";
3
+ } from "./chunk-5SUCPGFA.js";
4
4
  import {
5
5
  __toESM,
6
6
  init_cjs_shims
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ESBuild
3
- } from "../chunk-KLOXFQZH.js";
4
- import "../chunk-B2CGVY4C.js";
3
+ } from "../chunk-OPQR7U44.js";
4
+ import "../chunk-5SUCPGFA.js";
5
5
  import "../chunk-A4WCMQ5V.js";
6
6
  import "../chunk-RRP6KXWN.js";
7
7
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Hello
3
- } from "../../chunk-MUI5XH7H.js";
4
- import "../../chunk-B2CGVY4C.js";
3
+ } from "../../chunk-MN6CETUK.js";
4
+ import "../../chunk-5SUCPGFA.js";
5
5
  import "../../chunk-A4WCMQ5V.js";
6
6
  import "../../chunk-RRP6KXWN.js";
7
7
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  World
3
- } from "../../chunk-F5MC7XJI.js";
4
- import "../../chunk-B2CGVY4C.js";
3
+ } from "../../chunk-EKA2OJBU.js";
4
+ import "../../chunk-5SUCPGFA.js";
5
5
  import "../../chunk-A4WCMQ5V.js";
6
6
  import "../../chunk-RRP6KXWN.js";
7
7
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  init_default
3
- } from "../../chunk-T7MF7QOS.js";
4
- import "../../chunk-B2CGVY4C.js";
3
+ } from "../../chunk-THX4UIMR.js";
4
+ import "../../chunk-5SUCPGFA.js";
5
5
  import "../../chunk-A4WCMQ5V.js";
6
6
  import "../../chunk-RRP6KXWN.js";
7
7
  export {
package/dist/index.js CHANGED
@@ -1,670 +1,30 @@
1
1
  import {
2
2
  ESBuild
3
- } from "./chunk-KLOXFQZH.js";
3
+ } from "./chunk-OPQR7U44.js";
4
4
  import {
5
5
  Hello
6
- } from "./chunk-MUI5XH7H.js";
6
+ } from "./chunk-MN6CETUK.js";
7
7
  import {
8
8
  World
9
- } from "./chunk-F5MC7XJI.js";
9
+ } from "./chunk-EKA2OJBU.js";
10
10
  import {
11
11
  init_default
12
- } from "./chunk-T7MF7QOS.js";
12
+ } from "./chunk-THX4UIMR.js";
13
13
  import {
14
14
  require_ansis,
15
15
  require_lib,
16
- require_supports_color
17
- } from "./chunk-B2CGVY4C.js";
16
+ require_src
17
+ } from "./chunk-5SUCPGFA.js";
18
18
  import "./chunk-A4WCMQ5V.js";
19
19
  import {
20
20
  require_lib as require_lib2,
21
21
  require_semver
22
22
  } from "./chunk-ZQOI2LXL.js";
23
23
  import {
24
- __commonJS,
25
- __require,
26
24
  __toESM,
27
25
  init_cjs_shims
28
26
  } from "./chunk-RRP6KXWN.js";
29
27
 
30
- // node_modules/debug/node_modules/ms/index.js
31
- var require_ms = __commonJS({
32
- "node_modules/debug/node_modules/ms/index.js"(exports, module) {
33
- init_cjs_shims();
34
- var s = 1e3;
35
- var m = s * 60;
36
- var h = m * 60;
37
- var d = h * 24;
38
- var w = d * 7;
39
- var y = d * 365.25;
40
- module.exports = function(val, options) {
41
- options = options || {};
42
- var type = typeof val;
43
- if (type === "string" && val.length > 0) {
44
- return parse(val);
45
- } else if (type === "number" && isFinite(val)) {
46
- return options.long ? fmtLong(val) : fmtShort(val);
47
- }
48
- throw new Error(
49
- "val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
50
- );
51
- };
52
- function parse(str) {
53
- str = String(str);
54
- if (str.length > 100) {
55
- return;
56
- }
57
- var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
58
- str
59
- );
60
- if (!match) {
61
- return;
62
- }
63
- var n = parseFloat(match[1]);
64
- var type = (match[2] || "ms").toLowerCase();
65
- switch (type) {
66
- case "years":
67
- case "year":
68
- case "yrs":
69
- case "yr":
70
- case "y":
71
- return n * y;
72
- case "weeks":
73
- case "week":
74
- case "w":
75
- return n * w;
76
- case "days":
77
- case "day":
78
- case "d":
79
- return n * d;
80
- case "hours":
81
- case "hour":
82
- case "hrs":
83
- case "hr":
84
- case "h":
85
- return n * h;
86
- case "minutes":
87
- case "minute":
88
- case "mins":
89
- case "min":
90
- case "m":
91
- return n * m;
92
- case "seconds":
93
- case "second":
94
- case "secs":
95
- case "sec":
96
- case "s":
97
- return n * s;
98
- case "milliseconds":
99
- case "millisecond":
100
- case "msecs":
101
- case "msec":
102
- case "ms":
103
- return n;
104
- default:
105
- return void 0;
106
- }
107
- }
108
- function fmtShort(ms) {
109
- var msAbs = Math.abs(ms);
110
- if (msAbs >= d) {
111
- return Math.round(ms / d) + "d";
112
- }
113
- if (msAbs >= h) {
114
- return Math.round(ms / h) + "h";
115
- }
116
- if (msAbs >= m) {
117
- return Math.round(ms / m) + "m";
118
- }
119
- if (msAbs >= s) {
120
- return Math.round(ms / s) + "s";
121
- }
122
- return ms + "ms";
123
- }
124
- function fmtLong(ms) {
125
- var msAbs = Math.abs(ms);
126
- if (msAbs >= d) {
127
- return plural(ms, msAbs, d, "day");
128
- }
129
- if (msAbs >= h) {
130
- return plural(ms, msAbs, h, "hour");
131
- }
132
- if (msAbs >= m) {
133
- return plural(ms, msAbs, m, "minute");
134
- }
135
- if (msAbs >= s) {
136
- return plural(ms, msAbs, s, "second");
137
- }
138
- return ms + " ms";
139
- }
140
- function plural(ms, msAbs, n, name) {
141
- var isPlural = msAbs >= n * 1.5;
142
- return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
143
- }
144
- }
145
- });
146
-
147
- // node_modules/debug/src/common.js
148
- var require_common = __commonJS({
149
- "node_modules/debug/src/common.js"(exports, module) {
150
- init_cjs_shims();
151
- function setup(env) {
152
- createDebug.debug = createDebug;
153
- createDebug.default = createDebug;
154
- createDebug.coerce = coerce;
155
- createDebug.disable = disable;
156
- createDebug.enable = enable;
157
- createDebug.enabled = enabled;
158
- createDebug.humanize = require_ms();
159
- createDebug.destroy = destroy;
160
- Object.keys(env).forEach((key) => {
161
- createDebug[key] = env[key];
162
- });
163
- createDebug.names = [];
164
- createDebug.skips = [];
165
- createDebug.formatters = {};
166
- function selectColor(namespace) {
167
- let hash = 0;
168
- for (let i = 0; i < namespace.length; i++) {
169
- hash = (hash << 5) - hash + namespace.charCodeAt(i);
170
- hash |= 0;
171
- }
172
- return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
173
- }
174
- createDebug.selectColor = selectColor;
175
- function createDebug(namespace) {
176
- let prevTime;
177
- let enableOverride = null;
178
- let namespacesCache;
179
- let enabledCache;
180
- function debug4(...args) {
181
- if (!debug4.enabled) {
182
- return;
183
- }
184
- const self = debug4;
185
- const curr = Number(/* @__PURE__ */ new Date());
186
- const ms = curr - (prevTime || curr);
187
- self.diff = ms;
188
- self.prev = prevTime;
189
- self.curr = curr;
190
- prevTime = curr;
191
- args[0] = createDebug.coerce(args[0]);
192
- if (typeof args[0] !== "string") {
193
- args.unshift("%O");
194
- }
195
- let index = 0;
196
- args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
197
- if (match === "%%") {
198
- return "%";
199
- }
200
- index++;
201
- const formatter = createDebug.formatters[format];
202
- if (typeof formatter === "function") {
203
- const val = args[index];
204
- match = formatter.call(self, val);
205
- args.splice(index, 1);
206
- index--;
207
- }
208
- return match;
209
- });
210
- createDebug.formatArgs.call(self, args);
211
- const logFn = self.log || createDebug.log;
212
- logFn.apply(self, args);
213
- }
214
- debug4.namespace = namespace;
215
- debug4.useColors = createDebug.useColors();
216
- debug4.color = createDebug.selectColor(namespace);
217
- debug4.extend = extend;
218
- debug4.destroy = createDebug.destroy;
219
- Object.defineProperty(debug4, "enabled", {
220
- enumerable: true,
221
- configurable: false,
222
- get: () => {
223
- if (enableOverride !== null) {
224
- return enableOverride;
225
- }
226
- if (namespacesCache !== createDebug.namespaces) {
227
- namespacesCache = createDebug.namespaces;
228
- enabledCache = createDebug.enabled(namespace);
229
- }
230
- return enabledCache;
231
- },
232
- set: (v) => {
233
- enableOverride = v;
234
- }
235
- });
236
- if (typeof createDebug.init === "function") {
237
- createDebug.init(debug4);
238
- }
239
- return debug4;
240
- }
241
- function extend(namespace, delimiter) {
242
- const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
243
- newDebug.log = this.log;
244
- return newDebug;
245
- }
246
- function enable(namespaces) {
247
- createDebug.save(namespaces);
248
- createDebug.namespaces = namespaces;
249
- createDebug.names = [];
250
- createDebug.skips = [];
251
- let i;
252
- const split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
253
- const len = split.length;
254
- for (i = 0; i < len; i++) {
255
- if (!split[i]) {
256
- continue;
257
- }
258
- namespaces = split[i].replace(/\*/g, ".*?");
259
- if (namespaces[0] === "-") {
260
- createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$"));
261
- } else {
262
- createDebug.names.push(new RegExp("^" + namespaces + "$"));
263
- }
264
- }
265
- }
266
- function disable() {
267
- const namespaces = [
268
- ...createDebug.names.map(toNamespace),
269
- ...createDebug.skips.map(toNamespace).map((namespace) => "-" + namespace)
270
- ].join(",");
271
- createDebug.enable("");
272
- return namespaces;
273
- }
274
- function enabled(name) {
275
- if (name[name.length - 1] === "*") {
276
- return true;
277
- }
278
- let i;
279
- let len;
280
- for (i = 0, len = createDebug.skips.length; i < len; i++) {
281
- if (createDebug.skips[i].test(name)) {
282
- return false;
283
- }
284
- }
285
- for (i = 0, len = createDebug.names.length; i < len; i++) {
286
- if (createDebug.names[i].test(name)) {
287
- return true;
288
- }
289
- }
290
- return false;
291
- }
292
- function toNamespace(regexp) {
293
- return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
294
- }
295
- function coerce(val) {
296
- if (val instanceof Error) {
297
- return val.stack || val.message;
298
- }
299
- return val;
300
- }
301
- function destroy() {
302
- console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
303
- }
304
- createDebug.enable(createDebug.load());
305
- return createDebug;
306
- }
307
- module.exports = setup;
308
- }
309
- });
310
-
311
- // node_modules/debug/src/browser.js
312
- var require_browser = __commonJS({
313
- "node_modules/debug/src/browser.js"(exports, module) {
314
- init_cjs_shims();
315
- exports.formatArgs = formatArgs;
316
- exports.save = save;
317
- exports.load = load;
318
- exports.useColors = useColors;
319
- exports.storage = localstorage();
320
- exports.destroy = /* @__PURE__ */ (() => {
321
- let warned = false;
322
- return () => {
323
- if (!warned) {
324
- warned = true;
325
- console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
326
- }
327
- };
328
- })();
329
- exports.colors = [
330
- "#0000CC",
331
- "#0000FF",
332
- "#0033CC",
333
- "#0033FF",
334
- "#0066CC",
335
- "#0066FF",
336
- "#0099CC",
337
- "#0099FF",
338
- "#00CC00",
339
- "#00CC33",
340
- "#00CC66",
341
- "#00CC99",
342
- "#00CCCC",
343
- "#00CCFF",
344
- "#3300CC",
345
- "#3300FF",
346
- "#3333CC",
347
- "#3333FF",
348
- "#3366CC",
349
- "#3366FF",
350
- "#3399CC",
351
- "#3399FF",
352
- "#33CC00",
353
- "#33CC33",
354
- "#33CC66",
355
- "#33CC99",
356
- "#33CCCC",
357
- "#33CCFF",
358
- "#6600CC",
359
- "#6600FF",
360
- "#6633CC",
361
- "#6633FF",
362
- "#66CC00",
363
- "#66CC33",
364
- "#9900CC",
365
- "#9900FF",
366
- "#9933CC",
367
- "#9933FF",
368
- "#99CC00",
369
- "#99CC33",
370
- "#CC0000",
371
- "#CC0033",
372
- "#CC0066",
373
- "#CC0099",
374
- "#CC00CC",
375
- "#CC00FF",
376
- "#CC3300",
377
- "#CC3333",
378
- "#CC3366",
379
- "#CC3399",
380
- "#CC33CC",
381
- "#CC33FF",
382
- "#CC6600",
383
- "#CC6633",
384
- "#CC9900",
385
- "#CC9933",
386
- "#CCCC00",
387
- "#CCCC33",
388
- "#FF0000",
389
- "#FF0033",
390
- "#FF0066",
391
- "#FF0099",
392
- "#FF00CC",
393
- "#FF00FF",
394
- "#FF3300",
395
- "#FF3333",
396
- "#FF3366",
397
- "#FF3399",
398
- "#FF33CC",
399
- "#FF33FF",
400
- "#FF6600",
401
- "#FF6633",
402
- "#FF9900",
403
- "#FF9933",
404
- "#FFCC00",
405
- "#FFCC33"
406
- ];
407
- function useColors() {
408
- if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
409
- return true;
410
- }
411
- if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
412
- return false;
413
- }
414
- return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
415
- typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
416
- // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
417
- typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
418
- typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
419
- }
420
- function formatArgs(args) {
421
- args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module.exports.humanize(this.diff);
422
- if (!this.useColors) {
423
- return;
424
- }
425
- const c = "color: " + this.color;
426
- args.splice(1, 0, c, "color: inherit");
427
- let index = 0;
428
- let lastC = 0;
429
- args[0].replace(/%[a-zA-Z%]/g, (match) => {
430
- if (match === "%%") {
431
- return;
432
- }
433
- index++;
434
- if (match === "%c") {
435
- lastC = index;
436
- }
437
- });
438
- args.splice(lastC, 0, c);
439
- }
440
- exports.log = console.debug || console.log || (() => {
441
- });
442
- function save(namespaces) {
443
- try {
444
- if (namespaces) {
445
- exports.storage.setItem("debug", namespaces);
446
- } else {
447
- exports.storage.removeItem("debug");
448
- }
449
- } catch (error) {
450
- }
451
- }
452
- function load() {
453
- let r;
454
- try {
455
- r = exports.storage.getItem("debug");
456
- } catch (error) {
457
- }
458
- if (!r && typeof process !== "undefined" && "env" in process) {
459
- r = process.env.DEBUG;
460
- }
461
- return r;
462
- }
463
- function localstorage() {
464
- try {
465
- return localStorage;
466
- } catch (error) {
467
- }
468
- }
469
- module.exports = require_common()(exports);
470
- var { formatters } = module.exports;
471
- formatters.j = function(v) {
472
- try {
473
- return JSON.stringify(v);
474
- } catch (error) {
475
- return "[UnexpectedJSONParseError]: " + error.message;
476
- }
477
- };
478
- }
479
- });
480
-
481
- // node_modules/debug/src/node.js
482
- var require_node = __commonJS({
483
- "node_modules/debug/src/node.js"(exports, module) {
484
- init_cjs_shims();
485
- var tty = __require("tty");
486
- var util = __require("util");
487
- exports.init = init;
488
- exports.log = log;
489
- exports.formatArgs = formatArgs;
490
- exports.save = save;
491
- exports.load = load;
492
- exports.useColors = useColors;
493
- exports.destroy = util.deprecate(
494
- () => {
495
- },
496
- "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
497
- );
498
- exports.colors = [6, 2, 3, 4, 5, 1];
499
- try {
500
- const supportsColor = require_supports_color();
501
- if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
502
- exports.colors = [
503
- 20,
504
- 21,
505
- 26,
506
- 27,
507
- 32,
508
- 33,
509
- 38,
510
- 39,
511
- 40,
512
- 41,
513
- 42,
514
- 43,
515
- 44,
516
- 45,
517
- 56,
518
- 57,
519
- 62,
520
- 63,
521
- 68,
522
- 69,
523
- 74,
524
- 75,
525
- 76,
526
- 77,
527
- 78,
528
- 79,
529
- 80,
530
- 81,
531
- 92,
532
- 93,
533
- 98,
534
- 99,
535
- 112,
536
- 113,
537
- 128,
538
- 129,
539
- 134,
540
- 135,
541
- 148,
542
- 149,
543
- 160,
544
- 161,
545
- 162,
546
- 163,
547
- 164,
548
- 165,
549
- 166,
550
- 167,
551
- 168,
552
- 169,
553
- 170,
554
- 171,
555
- 172,
556
- 173,
557
- 178,
558
- 179,
559
- 184,
560
- 185,
561
- 196,
562
- 197,
563
- 198,
564
- 199,
565
- 200,
566
- 201,
567
- 202,
568
- 203,
569
- 204,
570
- 205,
571
- 206,
572
- 207,
573
- 208,
574
- 209,
575
- 214,
576
- 215,
577
- 220,
578
- 221
579
- ];
580
- }
581
- } catch (error) {
582
- }
583
- exports.inspectOpts = Object.keys(process.env).filter((key) => {
584
- return /^debug_/i.test(key);
585
- }).reduce((obj, key) => {
586
- const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
587
- return k.toUpperCase();
588
- });
589
- let val = process.env[key];
590
- if (/^(yes|on|true|enabled)$/i.test(val)) {
591
- val = true;
592
- } else if (/^(no|off|false|disabled)$/i.test(val)) {
593
- val = false;
594
- } else if (val === "null") {
595
- val = null;
596
- } else {
597
- val = Number(val);
598
- }
599
- obj[prop] = val;
600
- return obj;
601
- }, {});
602
- function useColors() {
603
- return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
604
- }
605
- function formatArgs(args) {
606
- const { namespace: name, useColors: useColors2 } = this;
607
- if (useColors2) {
608
- const c = this.color;
609
- const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
610
- const prefix = ` ${colorCode};1m${name} \x1B[0m`;
611
- args[0] = prefix + args[0].split("\n").join("\n" + prefix);
612
- args.push(colorCode + "m+" + module.exports.humanize(this.diff) + "\x1B[0m");
613
- } else {
614
- args[0] = getDate() + name + " " + args[0];
615
- }
616
- }
617
- function getDate() {
618
- if (exports.inspectOpts.hideDate) {
619
- return "";
620
- }
621
- return (/* @__PURE__ */ new Date()).toISOString() + " ";
622
- }
623
- function log(...args) {
624
- return process.stderr.write(util.format(...args) + "\n");
625
- }
626
- function save(namespaces) {
627
- if (namespaces) {
628
- process.env.DEBUG = namespaces;
629
- } else {
630
- delete process.env.DEBUG;
631
- }
632
- }
633
- function load() {
634
- return process.env.DEBUG;
635
- }
636
- function init(debug4) {
637
- debug4.inspectOpts = {};
638
- const keys = Object.keys(exports.inspectOpts);
639
- for (let i = 0; i < keys.length; i++) {
640
- debug4.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
641
- }
642
- }
643
- module.exports = require_common()(exports);
644
- var { formatters } = module.exports;
645
- formatters.o = function(v) {
646
- this.inspectOpts.colors = this.useColors;
647
- return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
648
- };
649
- formatters.O = function(v) {
650
- this.inspectOpts.colors = this.useColors;
651
- return util.inspect(v, this.inspectOpts);
652
- };
653
- }
654
- });
655
-
656
- // node_modules/debug/src/index.js
657
- var require_src = __commonJS({
658
- "node_modules/debug/src/index.js"(exports, module) {
659
- init_cjs_shims();
660
- if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
661
- module.exports = require_browser();
662
- } else {
663
- module.exports = require_node();
664
- }
665
- }
666
- });
667
-
668
28
  // src/index.ts
669
29
  init_cjs_shims();
670
30
  var import_core13 = __toESM(require_lib(), 1);
@@ -1627,7 +987,7 @@ var PluginsInstall = class _PluginsInstall extends import_core7.Command {
1627
987
  static args = {
1628
988
  plugin: import_core7.Args.string({ description: "Plugin to install.", required: true })
1629
989
  };
1630
- static description = `Uses bundled npm executable to install plugins into <%= config.dataDir %>
990
+ static description = `Uses npm to install plugins.
1631
991
 
1632
992
  Installation of a user-installed plugin will override a core plugin.
1633
993
 
@@ -141,7 +141,7 @@
141
141
  "required": true
142
142
  }
143
143
  },
144
- "description": "Uses bundled npm executable to install plugins into <%= config.dataDir %>\n\nInstallation of a user-installed plugin will override a core plugin.\n\nUse the <%= config.scopedEnvVarKey('NPM_LOG_LEVEL') %> environment variable to set the npm loglevel.\nUse the <%= config.scopedEnvVarKey('NPM_REGISTRY') %> environment variable to set the npm registry.",
144
+ "description": "Uses npm to install plugins.\n\nInstallation of a user-installed plugin will override a core plugin.\n\nUse the <%= config.scopedEnvVarKey('NPM_LOG_LEVEL') %> environment variable to set the npm loglevel.\nUse the <%= config.scopedEnvVarKey('NPM_REGISTRY') %> environment variable to set the npm registry.",
145
145
  "examples": [
146
146
  {
147
147
  "command": "<%= config.bin %> <%= command.id %> <%- config.pjson.oclif.examplePlugin || \"myplugin\" %> ",
@@ -474,5 +474,5 @@
474
474
  "enableJsonFlag": false
475
475
  }
476
476
  },
477
- "version": "0.5.0"
477
+ "version": "0.5.2"
478
478
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-test-esbuild",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Bundled plugin for testing",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-test-esbuild/issues",
@@ -13,7 +13,7 @@
13
13
  "dependencies": {
14
14
  "@oclif/core": "^4",
15
15
  "@oclif/plugin-test-esm-1": "^0.8.0",
16
- "@oclif/plugin-plugins": "^5.2.2"
16
+ "@oclif/plugin-plugins": "^5.2.3"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@oclif/prettier-config": "^0.2.1",
@@ -28,7 +28,7 @@
28
28
  "eslint-config-oclif-typescript": "^3",
29
29
  "eslint-config-prettier": "^9.1.0",
30
30
  "mocha": "^10",
31
- "oclif": "^4.12.0",
31
+ "oclif": "^4.13.1",
32
32
  "shx": "^0.3.4",
33
33
  "ts-node": "^10.9.2",
34
34
  "typescript": "^5"