summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/npm-packlist
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/npm-packlist')
-rw-r--r--deps/npm/node_modules/npm-packlist/index.js17
-rw-r--r--deps/npm/node_modules/npm-packlist/package.json20
2 files changed, 21 insertions, 16 deletions
diff --git a/deps/npm/node_modules/npm-packlist/index.js b/deps/npm/node_modules/npm-packlist/index.js
index c1b8783596..2cdd37ec3d 100644
--- a/deps/npm/node_modules/npm-packlist/index.js
+++ b/deps/npm/node_modules/npm-packlist/index.js
@@ -20,10 +20,14 @@ const path = require('path')
const defaultRules = [
'.npmignore',
'.gitignore',
- '**/.git/',
- '**/.svn/',
- '**/.hg/',
- '**/CVS/',
+ '**/.git',
+ '**/.svn',
+ '**/.hg',
+ '**/CVS',
+ '**/.git/**',
+ '**/.svn/**',
+ '**/.hg/**',
+ '**/CVS/**',
'/.lock-wscript',
'/.wafpickle-*',
'/build/config.gypi',
@@ -33,7 +37,8 @@ const defaultRules = [
'.DS_Store',
'._*',
'*.orig',
- 'package-lock.json'
+ 'package-lock.json',
+ 'archived-packages/**',
]
// a decorator that applies our custom rules to an ignore walker
@@ -131,7 +136,7 @@ const npmWalker = Class => class Walker extends Class {
const rules = [
pkg.browser ? '!' + pkg.browser : '',
pkg.main ? '!' + pkg.main : '',
- '!@(readme|license|licence|notice|changes|changelog|history){,.*}'
+ '!@(readme|copying|license|licence|notice|changes|changelog|history){,.*}'
].filter(f => f).join('\n') + '\n'
super.onReadIgnoreFile(packageNecessaryRules, rules, _=>_)
diff --git a/deps/npm/node_modules/npm-packlist/package.json b/deps/npm/node_modules/npm-packlist/package.json
index 7cefe9dd58..f1188c393f 100644
--- a/deps/npm/node_modules/npm-packlist/package.json
+++ b/deps/npm/node_modules/npm-packlist/package.json
@@ -1,28 +1,28 @@
{
- "_from": "npm-packlist@1.1.11",
- "_id": "npm-packlist@1.1.11",
+ "_from": "npm-packlist@1.1.12",
+ "_id": "npm-packlist@1.1.12",
"_inBundle": false,
- "_integrity": "sha512-CxKlZ24urLkJk+9kCm48RTQ7L4hsmgSVzEk0TLGPzzyuFxD7VNgy5Sl24tOLMzQv773a/NeJ1ce1DKeacqffEA==",
+ "_integrity": "sha512-WJKFOVMeAlsU/pjXuqVdzU0WfgtIBCupkEVwn+1Y0ERAbUfWw8R4GjgVbaKnUjRoD2FoQbHOCbOyT5Mbs9Lw4g==",
"_location": "/npm-packlist",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
- "raw": "npm-packlist@1.1.11",
+ "raw": "npm-packlist@1.1.12",
"name": "npm-packlist",
"escapedName": "npm-packlist",
- "rawSpec": "1.1.11",
+ "rawSpec": "1.1.12",
"saveSpec": null,
- "fetchSpec": "1.1.11"
+ "fetchSpec": "1.1.12"
},
"_requiredBy": [
"#USER",
"/",
"/pacote"
],
- "_resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.1.11.tgz",
- "_shasum": "84e8c683cbe7867d34b1d357d893ce29e28a02de",
- "_spec": "npm-packlist@1.1.11",
+ "_resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.1.12.tgz",
+ "_shasum": "22bde2ebc12e72ca482abd67afc51eb49377243a",
+ "_spec": "npm-packlist@1.1.12",
"_where": "/Users/zkat/Documents/code/work/npm",
"author": {
"name": "Isaac Z. Schlueter",
@@ -64,5 +64,5 @@
"preversion": "npm test",
"test": "tap test/*.js --100 -J"
},
- "version": "1.1.11"
+ "version": "1.1.12"
}