Socket
Socket
Sign inDemoInstall

pacote

Package Overview
Dependencies
166
Maintainers
5
Versions
220
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 14.0.0-pre.0 to 14.0.0-pre.1

1

lib/registry.js

@@ -100,3 +100,2 @@ const Fetcher = require('./fetcher.js')

const packument = await res.json()
packument._cached = res.headers.has('x-local-cache')
packument._contentLength = +res.headers.get('content-length')

@@ -103,0 +102,0 @@ if (this.packumentCache) {

6

package.json
{
"name": "pacote",
"version": "14.0.0-pre.0",
"version": "14.0.0-pre.1",
"description": "JavaScript package downloader",

@@ -29,3 +29,3 @@ "author": "GitHub Inc.",

"@npmcli/eslint-config": "^3.1.0",
"@npmcli/template-oss": "4.3.2",
"@npmcli/template-oss": "4.4.2",
"hosted-git-info": "^5.0.0",

@@ -78,5 +78,5 @@ "mutate-fs": "^2.1.1",

"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.3.2",
"version": "4.4.2",
"windowsCI": false
}
}

@@ -279,5 +279,4 @@ # pacote

Pacote adds the following fields, regardless of the accept header:
Pacote adds the following field, regardless of the accept header:
* `_cached` Whether the packument was fetched from the network or the local cache.
* `_contentLength` The size of the packument.
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