init-package-json
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -44,3 +44,3 @@ var fs = require('fs') | ||
var version = package.version || config.get('init.version') || '1.0.0' | ||
var version = package.version || config.get('init-version') || '1.0.0' | ||
exports.version = yes ? version : prompt('version', version) | ||
@@ -181,7 +181,7 @@ | ||
if (!package.author) { | ||
exports.author = config.get('init.author.name') | ||
exports.author = config.get('init-author-name') | ||
? { | ||
"name" : config.get('init.author.name'), | ||
"email" : config.get('init.author.email'), | ||
"url" : config.get('init.author.url') | ||
"name" : config.get('init-author-name'), | ||
"email" : config.get('init-author-email'), | ||
"url" : config.get('init-author-url') | ||
} | ||
@@ -191,3 +191,3 @@ : prompt('author') | ||
var license = package.license || config.get('init.license') || 'ISC' | ||
var license = package.license || config.get('init-license') || 'ISC' | ||
exports.license = yes ? license : prompt('license', license) |
{ | ||
"name": "init-package-json", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "init-package-json.js", | ||
@@ -23,4 +23,5 @@ "scripts": { | ||
"devDependencies": { | ||
"tap": "~0.2.5", | ||
"rimraf": "~2.0.2" | ||
"npm": "^2.1.4", | ||
"rimraf": "^2.1.4", | ||
"tap": "^0.4.13" | ||
}, | ||
@@ -27,0 +28,0 @@ "keywords": [ |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances 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
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
15433
13
388
0
3
8