diff options
author | Gar <gar+gh@danger.computer> | 2021-05-06 20:18:32 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-05-06 20:18:32 +0300 |
commit | 99ff40dff5e5e55a5d5f045ba90e76c08174ca38 (patch) | |
tree | 98f1dae919fe4bc4842baf751a1d2542d1f14f39 | |
parent | 87c2303eaa6edfa5309da0a30f5ad291b6d57640 (diff) |
npm-packlist@2.2.0
* feat(npmignore): Do not force include history, changelogs, notice
* fix(package.json): add missing bin/index.js to files
-rw-r--r-- | node_modules/npm-packlist/index.js | 3 | ||||
-rw-r--r-- | node_modules/npm-packlist/package.json | 6 | ||||
-rw-r--r-- | package-lock.json | 12 |
3 files changed, 10 insertions, 11 deletions
diff --git a/node_modules/npm-packlist/index.js b/node_modules/npm-packlist/index.js index 8f62983e6..12b51316c 100644 --- a/node_modules/npm-packlist/index.js +++ b/node_modules/npm-packlist/index.js @@ -26,8 +26,7 @@ const normalizePackageBin = require('npm-normalize-package-bin') // localized documentation and other use cases. Adding a `/` to // these rules, while tempting and arguably more "correct", is a // significant change that will break existing use cases. -const packageMustHaveFileNames = - 'readme|copying|license|licence|notice|changes|changelog|history' +const packageMustHaveFileNames = 'readme|copying|license|licence' const packageMustHaves = `@(${packageMustHaveFileNames}){,.*[^~$]}` const packageMustHavesRE = new RegExp(`^(${packageMustHaveFileNames})(\\..*[^~\$])?$`, 'i') diff --git a/node_modules/npm-packlist/package.json b/node_modules/npm-packlist/package.json index 1276b4841..e909559bd 100644 --- a/node_modules/npm-packlist/package.json +++ b/node_modules/npm-packlist/package.json @@ -1,6 +1,6 @@ { "name": "npm-packlist", - "version": "2.1.5", + "version": "2.2.0", "description": "Get a list of the files to add from a folder into an npm package", "directories": { "test": "test" @@ -15,12 +15,12 @@ "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)", "license": "ISC", "files": [ + "bin/index.js", "index.js" ], "devDependencies": { "mutate-fs": "^2.1.1", - "require-inject": "^1.4.4", - "tap": "^14.10.8" + "tap": "^15.0.6" }, "scripts": { "test": "tap", diff --git a/package-lock.json b/package-lock.json index 2ff5ecbcc..4b366af89 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5428,9 +5428,9 @@ } }, "node_modules/npm-packlist": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.1.5.tgz", - "integrity": "sha512-KCfK3Vi2F+PH1klYauoQzg81GQ8/GGjQRKYY6tRnpQUPKTs/1gBZSRWtTEd7jGdSn1LZL7gpAmJT+BcS55k2XQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.0.tgz", + "integrity": "sha512-d3da2MEaYliq7h+PNOHqUhlQjRm0M6gNPi6yHsZYzsCj6bLqUTWCC+JMzW/u9Aaxu8i4F1AA0eJUPUSoFU5izA==", "inBundle": true, "dependencies": { "glob": "^7.1.6", @@ -14300,9 +14300,9 @@ } }, "npm-packlist": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.1.5.tgz", - "integrity": "sha512-KCfK3Vi2F+PH1klYauoQzg81GQ8/GGjQRKYY6tRnpQUPKTs/1gBZSRWtTEd7jGdSn1LZL7gpAmJT+BcS55k2XQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.0.tgz", + "integrity": "sha512-d3da2MEaYliq7h+PNOHqUhlQjRm0M6gNPi6yHsZYzsCj6bLqUTWCC+JMzW/u9Aaxu8i4F1AA0eJUPUSoFU5izA==", "requires": { "glob": "^7.1.6", "ignore-walk": "^3.0.3", |