Socket
Socket
Sign inDemoInstall

@grpc/grpc-js

Package Overview
Dependencies
Maintainers
3
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grpc/grpc-js - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

2

build/src/compression-filter.js

@@ -126,3 +126,3 @@ "use strict";

compressMessage(message) {
return Promise.reject(new Error(`Received message compressed wth unsupported compression method ${this.compressionName}`));
return Promise.reject(new Error(`Received message compressed with unsupported compression method ${this.compressionName}`));
}

@@ -129,0 +129,0 @@ decompressMessage(message) {

@@ -38,3 +38,3 @@ /// <reference types="node" />

export declare const closeClient: (client: Client) => void;
export declare const waitForClientReady: (client: Client, deadline: Deadline, callback: (error?: Error | undefined) => void) => void;
export declare const waitForClientReady: (client: Client, deadline: number | Date, callback: (error?: Error | undefined) => void) => void;
export { ChannelCredentials, CallCredentials, Deadline, Serialize as serialize, Deserialize as deserialize, ClientUnaryCall, ClientReadableStream, ClientWritableStream, ClientDuplexStream, CallOptions, StatusObject, ServiceError, ServerUnaryCall, ServerReadableStream, ServerWritableStream, ServerDuplexStream, UntypedHandleCall, UntypedServiceImplementation, };

@@ -41,0 +41,0 @@ export declare type Call = ClientUnaryCall | ClientReadableStream<any> | ClientWritableStream<any> | ClientDuplexStream<any, any>;

@@ -45,7 +45,7 @@ "use strict";

* Matches `[dns:][//authority/]host[:port]`, where `authority` and `host` are
* both arbitrary sequences of alphanumeric characters and `port` is a sequence
* of digits. Group 1 contains the hostname and group 2 contains the port
* number if provided.
* both arbitrary sequences of dot-separated strings of alphanumeric characters
* and `port` is a sequence of digits. Group 1 contains the hostname and group
* 2 contains the port number if provided.
*/
const DNS_REGEX = /^(?:dns:)?(?:\/\/\w+\/)?(\w+)(?::(\d+))?$/;
const DNS_REGEX = /^(?:dns:)?(?:\/\/(?:[a-zA-Z0-9-]+\.?)+\/)?((?:[a-zA-Z0-9-]+\.?)+)(?::(\d+))?$/;
/**

@@ -52,0 +52,0 @@ * The default TCP port to connect to if not explicitly specified in the target.

{
"name": "@grpc/grpc-js",
"version": "0.6.0",
"version": "0.6.1",
"description": "gRPC Library for Node - pure JS implementation",

@@ -25,3 +25,2 @@ "homepage": "https://grpc.io/",

"@types/ncp": "^2.0.1",
"@types/node": "^12.7.5",
"@types/pify": "^3.0.2",

@@ -28,0 +27,0 @@ "@types/semver": "^6.0.1",

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