Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuy Adorno <ruyadorno@hotmail.com>2021-03-23 18:16:11 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2021-03-23 19:04:39 +0300
commitf76e7c21ffd87b08593d8c396a78ab9c5fa790bd (patch)
treed0fb1112f1eb087f8e560ad2b108dde90f01dd3f /node_modules
parent8e4621d19a7e60f4b955352a44d059777b9bf5ec (diff)
pacote@11.3.1
Diffstat (limited to 'node_modules')
-rw-r--r--node_modules/pacote/lib/util/tar-create-options.js8
-rw-r--r--node_modules/pacote/package.json2
2 files changed, 8 insertions, 2 deletions
diff --git a/node_modules/pacote/lib/util/tar-create-options.js b/node_modules/pacote/lib/util/tar-create-options.js
index e8abbe175..31ab34c9d 100644
--- a/node_modules/pacote/lib/util/tar-create-options.js
+++ b/node_modules/pacote/lib/util/tar-create-options.js
@@ -4,7 +4,13 @@ const tarCreateOptions = manifest => ({
cwd: manifest._resolved,
prefix: 'package/',
portable: true,
- gzip: true,
+ gzip: {
+ // forcing the level to 9 seems to avoid some
+ // platform specific optimizations that cause
+ // integrity mismatch errors due to differing
+ // end results after compression
+ level: 9
+ },
// ensure that package bins are always executable
// Note that npm-packlist is already filtering out
diff --git a/node_modules/pacote/package.json b/node_modules/pacote/package.json
index dca67f3e8..dd6bf9400 100644
--- a/node_modules/pacote/package.json
+++ b/node_modules/pacote/package.json
@@ -1,6 +1,6 @@
{
"name": "pacote",
- "version": "11.3.0",
+ "version": "11.3.1",
"description": "JavaScript package downloader",
"author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",
"bin": {