protoc-gen-grpc-web
Advanced tools
Comparing version 1.3.0 to 1.4.0
{ | ||
"name": "protoc-gen-grpc-web", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "A protoc-gen-grpc-web binary for npm.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,12 @@ const path = require('path'); | ||
if (process.arch !== 'x64') { | ||
throw new Error(`Unsupported arch: only support x86_64, but you're using ${process.arch}`); | ||
console.log(process.arch, process.platform); | ||
if (process.arch === "arm64" && process.platform === "darwin") { | ||
console.log( | ||
"macos arm64 platform detected, using x64 until https://github.com/grpc/grpc-web/issues/1159 is resolved" | ||
); | ||
} else { | ||
throw new Error( | ||
`Unsupported arch: only support x86_64, but you're using ${process.arch}` | ||
); | ||
} | ||
} | ||
@@ -18,0 +27,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50
2857
7