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

nice-grpc

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nice-grpc - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

3

lib/client/channel.js

@@ -18,3 +18,4 @@ "use strict";

else {
throw new Error(`Unsupported protocol: '${protocol}'. Expected one of 'http', 'https'`);
credentials !== null && credentials !== void 0 ? credentials : (credentials = grpc_js_1.ChannelCredentials.createInsecure());
return new grpc_js_1.Channel(address, credentials, options);
}

@@ -21,0 +22,0 @@ return new grpc_js_1.Channel(`${host}:${port}`, credentials, options);

{
"name": "nice-grpc",
"version": "1.2.1",
"version": "1.2.2",
"description": "A Node.js gRPC library that is nice to you",

@@ -54,3 +54,3 @@ "keywords": [

},
"gitHead": "22d3f9e050a8804787a4c0959a773eb5dc99bd48"
"gitHead": "1eae2167ee0eeb1e7ab0f56278716b59269ffe46"
}

@@ -27,5 +27,5 @@ import {

} else {
throw new Error(
`Unsupported protocol: '${protocol}'. Expected one of 'http', 'https'`,
);
credentials ??= ChannelCredentials.createInsecure();
return new Channel(address, credentials, options);
}

@@ -32,0 +32,0 @@

Sorry, the diff of this file is not supported yet

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