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:
Diffstat (limited to 'node_modules/fstream-npm/fstream-npm.js')
-rw-r--r--node_modules/fstream-npm/fstream-npm.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/fstream-npm/fstream-npm.js b/node_modules/fstream-npm/fstream-npm.js
index 9decc8b67..a2deda173 100644
--- a/node_modules/fstream-npm/fstream-npm.js
+++ b/node_modules/fstream-npm/fstream-npm.js
@@ -152,6 +152,7 @@ Packer.prototype.applyIgnores = function (entry, partial, entryObj) {
entry === '.DS_Store' ||
entry.match(/^\._/) ||
entry.match(/^.*\.orig$/) ||
+ // Package locks are never allowed in tarballs -- use shrinkwrap instead
entry === 'package-lock.json'
) {
return false