Socket
Socket
Sign inDemoInstall

got

Package Overview
Dependencies
29
Maintainers
2
Versions
175
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 11.8.1 to 11.8.2

5

dist/source/core/index.js

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

const calculate_retry_delay_1 = require("./calculate-retry-delay");
const globalDnsCache = new cacheable_lookup_1.default();
let globalDnsCache;
const kRequest = Symbol('request');

@@ -590,2 +590,5 @@ const kResponse = Symbol('response');

if (options.dnsCache === true) {
if (!globalDnsCache) {
globalDnsCache = new cacheable_lookup_1.default();
}
options.dnsCache = globalDnsCache;

@@ -592,0 +595,0 @@ }

2

package.json
{
"name": "got",
"version": "11.8.1",
"version": "11.8.2",
"description": "Human-friendly and powerful HTTP request library for Node.js",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc