Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

protoc-gen-grpc-web

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protoc-gen-grpc-web - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc