@cparra/apex-reflection 2.23.12 → 2.24.0

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/dist/index.js CHANGED
@@ -38,6 +38,9 @@ function resolveNativeBinaryPath() {
38
38
  else if (platform === "win32" && arch === "x64") {
39
39
  folderName = "windows-x64";
40
40
  }
41
+ else if (platform === "win32" && arch === "arm64") {
42
+ folderName = "windows-arm64";
43
+ }
41
44
  else {
42
45
  throw new Error(`Unsupported platform/arch combination: ${platform}/${arch}`);
43
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cparra/apex-reflection",
3
- "version": "2.23.12",
3
+ "version": "2.24.0",
4
4
  "description": "Provides tools for reflecting Apex code, the language used in Salesforce development.",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -119,7 +119,7 @@ function resolveTarget(nodePlatform, nodeArch) {
119
119
  if (releasePlatform === "linux" && nodeArch !== "x64") {
120
120
  throw new Error(`Unsupported architecture for linux: ${nodeArch}`);
121
121
  }
122
- if (releasePlatform === "windows" && nodeArch !== "x64") {
122
+ if (releasePlatform === "windows" && nodeArch !== "x64" && nodeArch !== "arm64") {
123
123
  throw new Error(`Unsupported architecture for windows: ${nodeArch}`);
124
124
  }
125
125