@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 +3 -0
- package/package.json +1 -1
- package/publish-scripts/postinstall.js +1 -1
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
|
@@ -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
|
|