make-fetch-happen
Advanced tools
Comparing version 9.0.1 to 9.0.2
@@ -5,2 +5,15 @@ const CacheSemantics = require('http-cache-semantics') | ||
// HACK: negotiator lazy loads several of its own modules | ||
// as a micro optimization. we need to be sure that they're | ||
// in memory as soon as possible at startup so that we do | ||
// not try to lazy load them after the directory has been | ||
// retired during a self update of the npm CLI, we do this | ||
// by calling all of the methods that trigger a lazy load | ||
// on a fake instance. | ||
const preloadNegotiator = new Negotiator({ headers: {} }) | ||
preloadNegotiator.charsets() | ||
preloadNegotiator.encodings() | ||
preloadNegotiator.languages() | ||
preloadNegotiator.mediaTypes() | ||
// options passed to http-cache-semantics constructor | ||
@@ -7,0 +20,0 @@ const policyOptions = { |
{ | ||
"name": "make-fetch-happen", | ||
"version": "9.0.1", | ||
"version": "9.0.2", | ||
"description": "Opinionated, caching, retrying fetch client", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56169
980
13