@oclif/plugin-test-esbuild 0.5.68 → 0.5.69
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-IQCIZYMV.js → chunk-57IWHXP3.js} +19 -5
- package/dist/{chunk-KSHUZN26.js → chunk-AJOQ6VA6.js} +1 -1
- package/dist/{chunk-X4SI3DC7.js → chunk-MWFIAP7T.js} +1 -1
- package/dist/{chunk-SDGBSCHM.js → chunk-X63J6WSN.js} +1 -1
- package/dist/{chunk-KC7KUEWW.js → chunk-YWKFUYTE.js} +1 -1
- 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 +14 -14
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
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.69 linux-x64 node-v22.13.1
|
|
21
21
|
$ bundle --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ bundle COMMAND
|
|
@@ -224978,18 +224978,32 @@ var require_ignore = __commonJS({
|
|
|
224978
224978
|
return slashes.slice(0, length - length % 2);
|
|
224979
224979
|
};
|
|
224980
224980
|
var REPLACERS = [
|
|
224981
|
+
[
|
|
224982
|
+
// remove BOM
|
|
224983
|
+
// TODO:
|
|
224984
|
+
// Other similar zero-width characters?
|
|
224985
|
+
/^\uFEFF/,
|
|
224986
|
+
() => EMPTY
|
|
224987
|
+
],
|
|
224981
224988
|
// > Trailing spaces are ignored unless they are quoted with backslash ("\")
|
|
224982
224989
|
[
|
|
224983
224990
|
// (a\ ) -> (a )
|
|
224984
224991
|
// (a ) -> (a)
|
|
224992
|
+
// (a ) -> (a)
|
|
224985
224993
|
// (a \ ) -> (a )
|
|
224986
|
-
|
|
224987
|
-
(
|
|
224994
|
+
/((?:\\\\)*?)(\\?\s+)$/,
|
|
224995
|
+
(_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
|
|
224988
224996
|
],
|
|
224989
224997
|
// replace (\ ) with ' '
|
|
224998
|
+
// (\ ) -> ' '
|
|
224999
|
+
// (\\ ) -> '\\ '
|
|
225000
|
+
// (\\\ ) -> '\\ '
|
|
224990
225001
|
[
|
|
224991
|
-
|
|
224992
|
-
() =>
|
|
225002
|
+
/(\\+?)\s/g,
|
|
225003
|
+
(_, m1) => {
|
|
225004
|
+
const { length } = m1;
|
|
225005
|
+
return m1.slice(0, length - length % 2) + SPACE;
|
|
225006
|
+
}
|
|
224993
225007
|
],
|
|
224994
225008
|
// Escape metacharacters
|
|
224995
225009
|
// which is written down by users but means special for regular expressions.
|
|
@@ -225124,7 +225138,7 @@ var require_ignore = __commonJS({
|
|
|
225124
225138
|
let source = regexCache[pattern];
|
|
225125
225139
|
if (!source) {
|
|
225126
225140
|
source = REPLACERS.reduce(
|
|
225127
|
-
(prev,
|
|
225141
|
+
(prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)),
|
|
225128
225142
|
pattern
|
|
225129
225143
|
);
|
|
225130
225144
|
regexCache[pattern] = source;
|
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-X63J6WSN.js";
|
|
4
4
|
import {
|
|
5
5
|
Hello
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YWKFUYTE.js";
|
|
7
7
|
import {
|
|
8
8
|
World
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AJOQ6VA6.js";
|
|
10
10
|
import {
|
|
11
11
|
init_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MWFIAP7T.js";
|
|
13
13
|
import {
|
|
14
14
|
require_ansis,
|
|
15
15
|
require_lib,
|
|
16
16
|
require_src
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-57IWHXP3.js";
|
|
18
18
|
import {
|
|
19
19
|
require_lib as require_lib2
|
|
20
20
|
} from "./chunk-SO2G2ODZ.js";
|
|
@@ -1384,15 +1384,6 @@ init_cjs_shims();
|
|
|
1384
1384
|
init_cjs_shims();
|
|
1385
1385
|
var import_core12 = __toESM(require_lib(), 1);
|
|
1386
1386
|
var ESM1 = class _ESM1 extends import_core12.Command {
|
|
1387
|
-
static flags = {
|
|
1388
|
-
optionalString: import_core12.Flags.string(),
|
|
1389
|
-
defaultString: import_core12.Flags.string({
|
|
1390
|
-
default: "simple string default"
|
|
1391
|
-
}),
|
|
1392
|
-
defaultFnString: import_core12.Flags.string({
|
|
1393
|
-
default: async () => "async fn default"
|
|
1394
|
-
})
|
|
1395
|
-
};
|
|
1396
1387
|
static args = {
|
|
1397
1388
|
optionalArg: import_core12.Args.string(),
|
|
1398
1389
|
defaultArg: import_core12.Args.string({
|
|
@@ -1403,6 +1394,15 @@ var ESM1 = class _ESM1 extends import_core12.Command {
|
|
|
1403
1394
|
})
|
|
1404
1395
|
};
|
|
1405
1396
|
static enableJsonFlag = true;
|
|
1397
|
+
static flags = {
|
|
1398
|
+
optionalString: import_core12.Flags.string(),
|
|
1399
|
+
defaultString: import_core12.Flags.string({
|
|
1400
|
+
default: "simple string default"
|
|
1401
|
+
}),
|
|
1402
|
+
defaultFnString: import_core12.Flags.string({
|
|
1403
|
+
default: async () => "async fn default"
|
|
1404
|
+
})
|
|
1405
|
+
};
|
|
1406
1406
|
async run() {
|
|
1407
1407
|
const { args, flags } = await this.parse(_ESM1);
|
|
1408
1408
|
this.log(`hello I am an ESM plugin from ${this.config.root}!`);
|
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.69",
|
|
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-plugins": "^5.4.30",
|
|
16
|
-
"@oclif/plugin-test-esm-1": "^0.8.
|
|
16
|
+
"@oclif/plugin-test-esm-1": "^0.8.61"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@eslint/compat": "^1.2.6",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"@types/mocha": "^10",
|
|
24
24
|
"@types/node": "^18",
|
|
25
25
|
"chai": "^4",
|
|
26
|
-
"esbuild": "^0.
|
|
27
|
-
"eslint": "^9.
|
|
28
|
-
"eslint-config-oclif": "^6.0.
|
|
26
|
+
"esbuild": "^0.25.0",
|
|
27
|
+
"eslint": "^9.20.1",
|
|
28
|
+
"eslint-config-oclif": "^6.0.10",
|
|
29
29
|
"eslint-config-prettier": "^10.0.1",
|
|
30
30
|
"mocha": "^10",
|
|
31
|
-
"oclif": "^4.17.
|
|
31
|
+
"oclif": "^4.17.27",
|
|
32
32
|
"shx": "^0.3.4",
|
|
33
33
|
"ts-node": "^10.9.2",
|
|
34
34
|
"typescript": "^5"
|