@oclif/plugin-test-esbuild 0.5.20 → 0.5.22

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.20 linux-x64 node-v20.16.0
20
+ @oclif/plugin-test-esbuild/0.5.22 linux-x64 node-v20.16.0
21
21
  $ bundle --help [COMMAND]
22
22
  USAGE
23
23
  $ bundle COMMAND
package/dist/index.js CHANGED
@@ -500,7 +500,7 @@ var Plugins = class {
500
500
  const url = name;
501
501
  const output = await this.npm.install([...args, url], options);
502
502
  const { dependencies } = await this.pjson();
503
- const { default: npa } = await import("./npa-2DD665WN.js");
503
+ const { default: npa } = await import("./npa-GF72UKXQ.js");
504
504
  const normalizedUrl = npa(url);
505
505
  const matches = Object.entries(dependencies ?? {}).find(([, u]) => {
506
506
  const normalized = npa(u);
@@ -2229,6 +2229,9 @@ var require_npa = __commonJS({
2229
2229
  if (!subSpec.registry) {
2230
2230
  throw new Error("aliases only work for registry deps");
2231
2231
  }
2232
+ if (!subSpec.name) {
2233
+ throw new Error("aliases must have a name");
2234
+ }
2232
2235
  res.subSpec = subSpec;
2233
2236
  res.registry = true;
2234
2237
  res.type = "alias";
@@ -474,5 +474,5 @@
474
474
  "enableJsonFlag": false
475
475
  }
476
476
  },
477
- "version": "0.5.20"
477
+ "version": "0.5.22"
478
478
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-test-esbuild",
3
- "version": "0.5.20",
3
+ "version": "0.5.22",
4
4
  "description": "Bundled plugin for testing",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-test-esbuild/issues",
@@ -12,8 +12,8 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@oclif/core": "^4",
15
- "@oclif/plugin-test-esm-1": "^0.8.15",
16
- "@oclif/plugin-plugins": "^5.4.1"
15
+ "@oclif/plugin-test-esm-1": "^0.8.20",
16
+ "@oclif/plugin-plugins": "^5.4.4"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@oclif/prettier-config": "^0.2.1",