Socket
Socket
Sign inDemoInstall

@grpc/grpc-js

Package Overview
Dependencies
Maintainers
3
Versions
174
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 1.11.0 to 1.11.1

8

build/src/resolver-dns.js

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

const resolver_1 = require("./resolver");
const node_dns_1 = require("node:dns");
const dns_1 = require("dns");
const service_config_1 = require("./service-config");

@@ -57,3 +57,3 @@ const constants_1 = require("./constants");

this.returnedIpResult = false;
this.alternativeResolver = new node_dns_1.promises.Resolver();
this.alternativeResolver = new dns_1.promises.Resolver();
trace('Resolver constructed for target ' + (0, uri_parser_1.uriToString)(target));

@@ -261,3 +261,3 @@ if (target.authority) {

* error is indistinguishable from other kinds of errors */
const addressList = await node_dns_1.promises.lookup(hostname, { all: true });
const addressList = await dns_1.promises.lookup(hostname, { all: true });
return addressList.map(addr => ({ host: addr.address, port: +this.port }));

@@ -270,3 +270,3 @@ }

}
return node_dns_1.promises.resolveTxt(hostname);
return dns_1.promises.resolveTxt(hostname);
}

@@ -273,0 +273,0 @@ startNextResolutionTimer() {

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

@@ -5,0 +5,0 @@ "homepage": "https://grpc.io/",

@@ -23,3 +23,3 @@ /*

} from './resolver';
import { promises as dns } from 'node:dns';
import { promises as dns } from 'dns';
import { extractAndSelectServiceConfig, ServiceConfig } from './service-config';

@@ -26,0 +26,0 @@ import { Status } from './constants';

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