npm-packlist
Advanced tools
Comparing version 3.0.0 to 4.0.0
@@ -9,6 +9,7 @@ #!/usr/bin/env node | ||
process.exit(0) | ||
} else if (arg === '-s' || arg === '--sort') | ||
} else if (arg === '-s' || arg === '--sort') { | ||
doSort = true | ||
else | ||
} else { | ||
dirs.push(arg) | ||
} | ||
}) | ||
@@ -19,5 +20,5 @@ | ||
const packlist = require('../') | ||
if (!dirs.length) | ||
if (!dirs.length) { | ||
console.log(sort(packlist.sync({ path: process.cwd() })).join('\n')) | ||
else { | ||
} else { | ||
dirs.forEach(path => { | ||
@@ -24,0 +25,0 @@ console.log(`> ${path}`) |
{ | ||
"name": "npm-packlist", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "Get a list of the files to add from a folder into an npm package", | ||
@@ -8,23 +8,23 @@ "directories": { | ||
}, | ||
"main": "index.js", | ||
"main": "lib", | ||
"dependencies": { | ||
"glob": "^7.1.6", | ||
"glob": "^7.2.0", | ||
"ignore-walk": "^4.0.1", | ||
"npm-bundled": "^1.1.1", | ||
"npm-bundled": "^1.1.2", | ||
"npm-normalize-package-bin": "^1.0.1" | ||
}, | ||
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)", | ||
"author": "GitHub Inc.", | ||
"license": "ISC", | ||
"files": [ | ||
"bin/index.js", | ||
"index.js" | ||
"bin", | ||
"lib" | ||
], | ||
"devDependencies": { | ||
"@npmcli/lint": "^1.0.2", | ||
"@npmcli/template-oss": "^2.9.2", | ||
"mutate-fs": "^2.1.1", | ||
"tap": "^15.0.6" | ||
"tap": "^15.1.6" | ||
}, | ||
"scripts": { | ||
"test": "tap", | ||
"posttest": "npm run lint --", | ||
"posttest": "npm run lint", | ||
"snap": "tap", | ||
@@ -36,5 +36,7 @@ "postsnap": "npm run lintfix --", | ||
"eslint": "eslint", | ||
"lint": "npm run npmclilint -- \"*.*js\" \"test/**/*.*js\"", | ||
"lint": "eslint '**/*.js'", | ||
"lintfix": "npm run lint -- --fix", | ||
"npmclilint": "npmcli-lint" | ||
"npmclilint": "npmcli-lint", | ||
"postlint": "npm-template-check", | ||
"template-copy": "npm-template-copy --force" | ||
}, | ||
@@ -59,4 +61,7 @@ "repository": { | ||
"engines": { | ||
"node": ">=10" | ||
"node": "^12.13.0 || ^14.15.0 || >=16" | ||
}, | ||
"templateOSS": { | ||
"version": "2.9.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24375
441
2
Updatedglob@^7.2.0
Updatednpm-bundled@^1.1.2