summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/init-package-json
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-12-11 10:20:26 -0800
committerisaacs <i@izs.me>2013-12-11 10:20:26 -0800
commita22de4f7eed04f14e590fdc5c8739d2ee17753e5 (patch)
treeac02ad050e8ca27e6d792d6923f9d0c0d508b298 /deps/npm/node_modules/init-package-json
parentf16edd2632930e3fbfead4d6d52eeac87824f1a6 (diff)
downloadnode-new-a22de4f7eed04f14e590fdc5c8739d2ee17753e5.tar.gz
npm: Upgrade to 1.3.17
Diffstat (limited to 'deps/npm/node_modules/init-package-json')
-rw-r--r--deps/npm/node_modules/init-package-json/default-input.js4
-rw-r--r--deps/npm/node_modules/init-package-json/package.json4
2 files changed, 5 insertions, 3 deletions
diff --git a/deps/npm/node_modules/init-package-json/default-input.js b/deps/npm/node_modules/init-package-json/default-input.js
index 80b20a94a7..b4c01a2dcf 100644
--- a/deps/npm/node_modules/init-package-json/default-input.js
+++ b/deps/npm/node_modules/init-package-json/default-input.js
@@ -176,4 +176,6 @@ if (!package.author) {
: prompt('author')
}
-exports.license = prompt('license', 'BSD-2-Clause')
+exports.license = prompt('license', package.license ||
+ config.get('init.license') ||
+ 'BSD-2-Clause')
diff --git a/deps/npm/node_modules/init-package-json/package.json b/deps/npm/node_modules/init-package-json/package.json
index f73b57f3b3..bde89be59a 100644
--- a/deps/npm/node_modules/init-package-json/package.json
+++ b/deps/npm/node_modules/init-package-json/package.json
@@ -1,6 +1,6 @@
{
"name": "init-package-json",
- "version": "0.0.13",
+ "version": "0.0.14",
"main": "init-package-json.js",
"scripts": {
"test": "tap test/*.js"
@@ -43,6 +43,6 @@
"url": "https://github.com/isaacs/init-package-json/issues"
},
"homepage": "https://github.com/isaacs/init-package-json",
- "_id": "init-package-json@0.0.13",
+ "_id": "init-package-json@0.0.14",
"_from": "init-package-json@latest"
}