pacote
Advanced tools
Comparing version 14.0.0-pre.0 to 14.0.0-pre.1
@@ -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) { |
{ | ||
"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. |
6
69735
1482
282