@oclif/plugin-test-esbuild 0.4.13 → 0.4.15
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-OLLTA5OL.js → chunk-536JA2WY.js} +1 -1
- package/dist/{chunk-PCDHMGQT.js → chunk-7IPOJQBP.js} +1 -1
- package/dist/{chunk-J4F6MRFC.js → chunk-I3ZLDTRU.js} +1 -1
- package/dist/{chunk-HI3G23BH.js → chunk-PSD63DOD.js} +1 -1
- package/dist/{chunk-CIX6RJY7.js → chunk-UVP3JBLL.js} +53 -39
- 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 +3 -3
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.4.
|
|
20
|
+
@oclif/plugin-test-esbuild/0.4.15 linux-x64 node-v20.12.2
|
|
21
21
|
$ bundle --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ bundle COMMAND
|
|
@@ -2214,7 +2214,7 @@ var require_package = __commonJS({
|
|
|
2214
2214
|
module.exports = {
|
|
2215
2215
|
name: "@oclif/core",
|
|
2216
2216
|
description: "base library for oclif CLIs",
|
|
2217
|
-
version: "3.26.
|
|
2217
|
+
version: "3.26.4",
|
|
2218
2218
|
author: "Salesforce",
|
|
2219
2219
|
bugs: "https://github.com/oclif/core/issues",
|
|
2220
2220
|
dependencies: {
|
|
@@ -2227,14 +2227,14 @@ var require_package = __commonJS({
|
|
|
2227
2227
|
"cli-progress": "^3.12.0",
|
|
2228
2228
|
color: "^4.2.3",
|
|
2229
2229
|
debug: "^4.3.4",
|
|
2230
|
-
ejs: "^3.1.
|
|
2230
|
+
ejs: "^3.1.10",
|
|
2231
2231
|
"get-package-type": "^0.1.0",
|
|
2232
2232
|
globby: "^11.1.0",
|
|
2233
2233
|
hyperlinker: "^1.0.0",
|
|
2234
2234
|
"indent-string": "^4.0.0",
|
|
2235
2235
|
"is-wsl": "^2.2.0",
|
|
2236
2236
|
"js-yaml": "^3.14.1",
|
|
2237
|
-
minimatch: "^9.0.
|
|
2237
|
+
minimatch: "^9.0.4",
|
|
2238
2238
|
"natural-orderby": "^2.0.3",
|
|
2239
2239
|
"object-treeify": "^1.1.33",
|
|
2240
2240
|
"password-prompt": "^1.1.3",
|
|
@@ -2252,7 +2252,7 @@ var require_package = __commonJS({
|
|
|
2252
2252
|
"@oclif/plugin-help": "^6",
|
|
2253
2253
|
"@oclif/plugin-plugins": "^4",
|
|
2254
2254
|
"@oclif/prettier-config": "^0.2.1",
|
|
2255
|
-
"@oclif/test": "^3.2.
|
|
2255
|
+
"@oclif/test": "^3.2.9",
|
|
2256
2256
|
"@types/ansi-styles": "^3.2.1",
|
|
2257
2257
|
"@types/benchmark": "^2.1.5",
|
|
2258
2258
|
"@types/chai": "^4.3.11",
|
|
@@ -2278,21 +2278,21 @@ var require_package = __commonJS({
|
|
|
2278
2278
|
commitlint: "^17.8.1",
|
|
2279
2279
|
"cross-env": "^7.0.3",
|
|
2280
2280
|
eslint: "^8.57.0",
|
|
2281
|
-
"eslint-config-oclif": "^5.1.
|
|
2282
|
-
"eslint-config-oclif-typescript": "^3.1.
|
|
2281
|
+
"eslint-config-oclif": "^5.1.1",
|
|
2282
|
+
"eslint-config-oclif-typescript": "^3.1.4",
|
|
2283
2283
|
"eslint-config-prettier": "^9.1.0",
|
|
2284
|
-
"fancy-test": "^3.0.
|
|
2284
|
+
"fancy-test": "^3.0.14",
|
|
2285
2285
|
globby: "^11.1.0",
|
|
2286
2286
|
husky: "^8",
|
|
2287
2287
|
"lint-staged": "^14.0.1",
|
|
2288
2288
|
madge: "^6.1.0",
|
|
2289
|
-
mocha: "^10.
|
|
2289
|
+
mocha: "^10.4.0",
|
|
2290
2290
|
nyc: "^15.1.0",
|
|
2291
2291
|
prettier: "^3.2.5",
|
|
2292
2292
|
shx: "^0.3.4",
|
|
2293
2293
|
sinon: "^16.1.3",
|
|
2294
2294
|
"ts-node": "^10.9.2",
|
|
2295
|
-
tsd: "^0.
|
|
2295
|
+
tsd: "^0.31.0",
|
|
2296
2296
|
typescript: "^5"
|
|
2297
2297
|
},
|
|
2298
2298
|
engines: {
|
|
@@ -4226,7 +4226,7 @@ var require_typescript = __commonJS({
|
|
|
4226
4226
|
"src/compiler/corePublic.ts"() {
|
|
4227
4227
|
"use strict";
|
|
4228
4228
|
versionMajorMinor = "5.4";
|
|
4229
|
-
version = "5.4.
|
|
4229
|
+
version = "5.4.5";
|
|
4230
4230
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
4231
4231
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
4232
4232
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -66554,12 +66554,10 @@ ${lanes.join("\n")}
|
|
|
66554
66554
|
const target = type.target ?? type;
|
|
66555
66555
|
const typeVariable = getHomomorphicTypeVariable(target);
|
|
66556
66556
|
if (typeVariable && !target.declaration.nameType) {
|
|
66557
|
-
const
|
|
66558
|
-
|
|
66559
|
-
|
|
66560
|
-
|
|
66561
|
-
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
|
|
66562
|
-
}
|
|
66557
|
+
const modifiersType = getModifiersTypeFromMappedType(type);
|
|
66558
|
+
const baseConstraint = isGenericMappedType(modifiersType) ? getApparentTypeOfMappedType(modifiersType) : getBaseConstraintOfType(modifiersType);
|
|
66559
|
+
if (baseConstraint && everyType(baseConstraint, (t) => isArrayOrTupleType(t) || isArrayOrTupleOrIntersection(t))) {
|
|
66560
|
+
return instantiateType(target, prependTypeMapping(typeVariable, baseConstraint, type.mapper));
|
|
66563
66561
|
}
|
|
66564
66562
|
}
|
|
66565
66563
|
return type;
|
|
@@ -66725,13 +66723,13 @@ ${lanes.join("\n")}
|
|
|
66725
66723
|
}
|
|
66726
66724
|
function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {
|
|
66727
66725
|
var _a, _b, _c;
|
|
66728
|
-
let property = (
|
|
66726
|
+
let property = skipObjectFunctionPropertyAugment ? (_a = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a.get(name) : (_b = type.propertyCache) == null ? void 0 : _b.get(name);
|
|
66729
66727
|
if (!property) {
|
|
66730
66728
|
property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);
|
|
66731
66729
|
if (property) {
|
|
66732
66730
|
const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());
|
|
66733
66731
|
properties.set(name, property);
|
|
66734
|
-
if (skipObjectFunctionPropertyAugment && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
|
66732
|
+
if (skipObjectFunctionPropertyAugment && !(getCheckFlags(property) & 48) && !((_c = type.propertyCache) == null ? void 0 : _c.get(name))) {
|
|
66735
66733
|
const properties2 = type.propertyCache || (type.propertyCache = createSymbolTable());
|
|
66736
66734
|
properties2.set(name, property);
|
|
66737
66735
|
}
|
|
@@ -173794,7 +173792,8 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
173794
173792
|
}
|
|
173795
173793
|
function symbolAppearsToBeTypeOnly(symbol) {
|
|
173796
173794
|
var _a;
|
|
173797
|
-
|
|
173795
|
+
const flags = getCombinedLocalAndExportSymbolFlags(skipAlias(symbol, typeChecker));
|
|
173796
|
+
return !(flags & 111551) && (!isInJSFile((_a = symbol.declarations) == null ? void 0 : _a[0]) || !!(flags & 788968));
|
|
173798
173797
|
}
|
|
173799
173798
|
}
|
|
173800
173799
|
function getLabelCompletionAtPosition(node) {
|
|
@@ -208039,6 +208038,15 @@ function encode_char(c) {
|
|
|
208039
208038
|
return {};
|
|
208040
208039
|
};
|
|
208041
208040
|
}();
|
|
208041
|
+
exports.hasOwnOnlyObject = function(obj) {
|
|
208042
|
+
var o = exports.createNullProtoObjWherePossible();
|
|
208043
|
+
for (var p in obj) {
|
|
208044
|
+
if (hasOwn(obj, p)) {
|
|
208045
|
+
o[p] = obj[p];
|
|
208046
|
+
}
|
|
208047
|
+
}
|
|
208048
|
+
return o;
|
|
208049
|
+
};
|
|
208042
208050
|
}
|
|
208043
208051
|
});
|
|
208044
208052
|
|
|
@@ -208053,7 +208061,7 @@ var require_package2 = __commonJS({
|
|
|
208053
208061
|
"engine",
|
|
208054
208062
|
"ejs"
|
|
208055
208063
|
],
|
|
208056
|
-
version: "3.1.
|
|
208064
|
+
version: "3.1.10",
|
|
208057
208065
|
author: "Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)",
|
|
208058
208066
|
license: "Apache-2.0",
|
|
208059
208067
|
bin: {
|
|
@@ -208084,7 +208092,7 @@ var require_package2 = __commonJS({
|
|
|
208084
208092
|
node: ">=0.10.0"
|
|
208085
208093
|
},
|
|
208086
208094
|
scripts: {
|
|
208087
|
-
test: "
|
|
208095
|
+
test: "npx jake test"
|
|
208088
208096
|
}
|
|
208089
208097
|
};
|
|
208090
208098
|
}
|
|
@@ -208322,8 +208330,8 @@ var require_ejs = __commonJS({
|
|
|
208322
208330
|
exports.clearCache = function() {
|
|
208323
208331
|
exports.cache.reset();
|
|
208324
208332
|
};
|
|
208325
|
-
function Template(text,
|
|
208326
|
-
opts =
|
|
208333
|
+
function Template(text, optsParam) {
|
|
208334
|
+
var opts = utils.hasOwnOnlyObject(optsParam);
|
|
208327
208335
|
var options = utils.createNullProtoObjWherePossible();
|
|
208328
208336
|
this.templateText = text;
|
|
208329
208337
|
this.mode = null;
|
|
@@ -224281,9 +224289,9 @@ var require_brace_expansion = __commonJS({
|
|
|
224281
224289
|
}
|
|
224282
224290
|
});
|
|
224283
224291
|
|
|
224284
|
-
// node_modules/minimatch/dist/
|
|
224292
|
+
// node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js
|
|
224285
224293
|
var require_assert_valid_pattern = __commonJS({
|
|
224286
|
-
"node_modules/minimatch/dist/
|
|
224294
|
+
"node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js"(exports) {
|
|
224287
224295
|
"use strict";
|
|
224288
224296
|
init_cjs_shims();
|
|
224289
224297
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -224301,9 +224309,9 @@ var require_assert_valid_pattern = __commonJS({
|
|
|
224301
224309
|
}
|
|
224302
224310
|
});
|
|
224303
224311
|
|
|
224304
|
-
// node_modules/minimatch/dist/
|
|
224312
|
+
// node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/brace-expressions.js
|
|
224305
224313
|
var require_brace_expressions = __commonJS({
|
|
224306
|
-
"node_modules/minimatch/dist/
|
|
224314
|
+
"node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/brace-expressions.js"(exports) {
|
|
224307
224315
|
"use strict";
|
|
224308
224316
|
init_cjs_shims();
|
|
224309
224317
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -224420,9 +224428,9 @@ var require_brace_expressions = __commonJS({
|
|
|
224420
224428
|
}
|
|
224421
224429
|
});
|
|
224422
224430
|
|
|
224423
|
-
// node_modules/minimatch/dist/
|
|
224431
|
+
// node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/unescape.js
|
|
224424
224432
|
var require_unescape = __commonJS({
|
|
224425
|
-
"node_modules/minimatch/dist/
|
|
224433
|
+
"node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/unescape.js"(exports) {
|
|
224426
224434
|
"use strict";
|
|
224427
224435
|
init_cjs_shims();
|
|
224428
224436
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -224434,9 +224442,9 @@ var require_unescape = __commonJS({
|
|
|
224434
224442
|
}
|
|
224435
224443
|
});
|
|
224436
224444
|
|
|
224437
|
-
// node_modules/minimatch/dist/
|
|
224445
|
+
// node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/ast.js
|
|
224438
224446
|
var require_ast = __commonJS({
|
|
224439
|
-
"node_modules/minimatch/dist/
|
|
224447
|
+
"node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/ast.js"(exports) {
|
|
224440
224448
|
"use strict";
|
|
224441
224449
|
init_cjs_shims();
|
|
224442
224450
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -224716,6 +224724,9 @@ var require_ast = __commonJS({
|
|
|
224716
224724
|
_glob: glob
|
|
224717
224725
|
});
|
|
224718
224726
|
}
|
|
224727
|
+
get options() {
|
|
224728
|
+
return this.#options;
|
|
224729
|
+
}
|
|
224719
224730
|
// returns the string match, the regexp source, whether there's magic
|
|
224720
224731
|
// in the regexp (so a regular expression is required) and whether or
|
|
224721
224732
|
// not the uflag is needed for the regular expression (for posix classes)
|
|
@@ -224921,9 +224932,9 @@ var require_ast = __commonJS({
|
|
|
224921
224932
|
}
|
|
224922
224933
|
});
|
|
224923
224934
|
|
|
224924
|
-
// node_modules/minimatch/dist/
|
|
224935
|
+
// node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/escape.js
|
|
224925
224936
|
var require_escape2 = __commonJS({
|
|
224926
|
-
"node_modules/minimatch/dist/
|
|
224937
|
+
"node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/escape.js"(exports) {
|
|
224927
224938
|
"use strict";
|
|
224928
224939
|
init_cjs_shims();
|
|
224929
224940
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -224935,9 +224946,9 @@ var require_escape2 = __commonJS({
|
|
|
224935
224946
|
}
|
|
224936
224947
|
});
|
|
224937
224948
|
|
|
224938
|
-
// node_modules/minimatch/dist/
|
|
224939
|
-
var
|
|
224940
|
-
"node_modules/minimatch/dist/
|
|
224949
|
+
// node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/index.js
|
|
224950
|
+
var require_commonjs = __commonJS({
|
|
224951
|
+
"node_modules/@oclif/core/node_modules/minimatch/dist/commonjs/index.js"(exports) {
|
|
224941
224952
|
"use strict";
|
|
224942
224953
|
init_cjs_shims();
|
|
224943
224954
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
@@ -225554,7 +225565,10 @@ var require_cjs = __commonJS({
|
|
|
225554
225565
|
fastTest = dotStarTest;
|
|
225555
225566
|
}
|
|
225556
225567
|
const re = ast_js_1.AST.fromGlob(pattern, this.options).toMMPattern();
|
|
225557
|
-
|
|
225568
|
+
if (fastTest && typeof re === "object") {
|
|
225569
|
+
Reflect.defineProperty(re, "test", { value: fastTest });
|
|
225570
|
+
}
|
|
225571
|
+
return re;
|
|
225558
225572
|
}
|
|
225559
225573
|
makeRe() {
|
|
225560
225574
|
if (this.regexp || this.regexp === false)
|
|
@@ -232689,7 +232703,7 @@ var require_plugin_loader = __commonJS({
|
|
|
232689
232703
|
return result;
|
|
232690
232704
|
};
|
|
232691
232705
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
232692
|
-
var minimatch_1 =
|
|
232706
|
+
var minimatch_1 = require_commonjs();
|
|
232693
232707
|
var node_path_1 = __require("node:path");
|
|
232694
232708
|
var performance_1 = require_performance();
|
|
232695
232709
|
var fs_1 = require_fs();
|
|
@@ -233974,7 +233988,7 @@ var require_parse4 = __commonJS({
|
|
|
233974
233988
|
}
|
|
233975
233989
|
this.currentFlag = flag;
|
|
233976
233990
|
let input = isLong || arg.length < 3 ? this.argv.shift() : arg.slice(arg[2] === "=" ? 3 : 2);
|
|
233977
|
-
if (flag.allowStdin === "only" && input !== "-" && input !== void 0) {
|
|
233991
|
+
if (flag.allowStdin === "only" && input !== "-" && input !== void 0 && !this.findFlag(input).name) {
|
|
233978
233992
|
throw new errors_1.CLIError(`Flag --${name} can only be read from stdin. The value must be "-" or not provided at all.`);
|
|
233979
233993
|
}
|
|
233980
233994
|
if (flag.allowStdin && input === "-" || flag.allowStdin === "only") {
|
package/dist/commands/esbuild.js
CHANGED
package/dist/hooks/init/init.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ESBuild
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7IPOJQBP.js";
|
|
4
4
|
import {
|
|
5
5
|
Hello
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-536JA2WY.js";
|
|
7
7
|
import {
|
|
8
8
|
World
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PSD63DOD.js";
|
|
10
10
|
import {
|
|
11
11
|
init_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I3ZLDTRU.js";
|
|
13
13
|
import {
|
|
14
14
|
__commonJS,
|
|
15
15
|
__toESM,
|
|
16
16
|
init_cjs_shims,
|
|
17
17
|
require_lib,
|
|
18
18
|
require_src
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UVP3JBLL.js";
|
|
20
20
|
|
|
21
21
|
// node_modules/semver/internal/constants.js
|
|
22
22
|
var require_constants = __commonJS({
|
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.4.
|
|
3
|
+
"version": "0.4.15",
|
|
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": "^3.25.2",
|
|
15
|
-
"@oclif/plugin-test-esm-1": "^0.7.
|
|
15
|
+
"@oclif/plugin-test-esm-1": "^0.7.14",
|
|
16
16
|
"@oclif/plugin-plugins": "^4.3.10"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
@@ -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.8.
|
|
31
|
+
"oclif": "^4.8.5",
|
|
32
32
|
"shx": "^0.3.4",
|
|
33
33
|
"ts-node": "^10.9.2",
|
|
34
34
|
"typescript": "^5"
|