@neon-rs/cli 0.0.157 → 0.0.158

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.
Files changed (2) hide show
  1. package/index.js +3 -2
  2. package/package.json +8 -8
package/index.js CHANGED
@@ -12027,8 +12027,9 @@ function extractPackageNameV1(targets, target) {
12027
12027
  }
12028
12028
  function extractPackageNameV2(manifest, target) {
12029
12029
  for (const key in manifest.neon.targets) {
12030
- if (key === target) {
12031
- return `${manifest.neon.org}/${manifest.neon.targets[key]}`;
12030
+ const value = manifest.neon.targets[key];
12031
+ if (value === target) {
12032
+ return `${manifest.neon.org}/${key}`;
12032
12033
  }
12033
12034
  }
12034
12035
  return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon-rs/cli",
3
- "version": "0.0.157",
3
+ "version": "0.0.158",
4
4
  "description": "Command-line build tool for Neon modules.",
5
5
  "type": "module",
6
6
  "exports": "./index.js",
@@ -27,12 +27,12 @@
27
27
  },
28
28
  "homepage": "https://github.com/dherman/neon-rs#readme",
29
29
  "optionalDependencies": {
30
- "@cargo-messages/android-arm-eabi": "0.0.157",
31
- "@cargo-messages/darwin-arm64": "0.0.157",
32
- "@cargo-messages/darwin-x64": "0.0.157",
33
- "@cargo-messages/linux-arm-gnueabihf": "0.0.157",
34
- "@cargo-messages/linux-x64-gnu": "0.0.157",
35
- "@cargo-messages/win32-arm64-msvc": "0.0.157",
36
- "@cargo-messages/win32-x64-msvc": "0.0.157"
30
+ "@cargo-messages/android-arm-eabi": "0.0.158",
31
+ "@cargo-messages/darwin-arm64": "0.0.158",
32
+ "@cargo-messages/darwin-x64": "0.0.158",
33
+ "@cargo-messages/linux-arm-gnueabihf": "0.0.158",
34
+ "@cargo-messages/linux-x64-gnu": "0.0.158",
35
+ "@cargo-messages/win32-arm64-msvc": "0.0.158",
36
+ "@cargo-messages/win32-x64-msvc": "0.0.158"
37
37
  }
38
38
  }