Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2014-05-08 22:09:37 +0400
committerisaacs <i@izs.me>2014-05-08 22:09:37 +0400
commit86f5496fc9d0f88ae3b9ebfe5eb0bc686b0384b6 (patch)
treeb81db6be2d4aa9a824a6760dbd47f0ddf935755a /node_modules/init-package-json
parent79d5e6da65036778cad3ee72ec7614bdb9f3a31e (diff)
bump promzard dep by re-installing init-package-json
Diffstat (limited to 'node_modules/init-package-json')
-rw-r--r--node_modules/init-package-json/node_modules/promzard/package.json8
-rw-r--r--node_modules/init-package-json/node_modules/promzard/promzard.js2
-rw-r--r--node_modules/init-package-json/node_modules/promzard/test/basic.js8
-rw-r--r--node_modules/init-package-json/node_modules/promzard/test/exports.js2
-rw-r--r--node_modules/init-package-json/node_modules/promzard/test/fn.js2
-rw-r--r--node_modules/init-package-json/package.json3
6 files changed, 17 insertions, 8 deletions
diff --git a/node_modules/init-package-json/node_modules/promzard/package.json b/node_modules/init-package-json/node_modules/promzard/package.json
index 1d713bc69..30e5756af 100644
--- a/node_modules/init-package-json/node_modules/promzard/package.json
+++ b/node_modules/init-package-json/node_modules/promzard/package.json
@@ -6,7 +6,7 @@
},
"name": "promzard",
"description": "prompting wizardly",
- "version": "0.2.1",
+ "version": "0.2.2",
"repository": {
"url": "git://github.com/isaacs/promzard"
},
@@ -27,8 +27,8 @@
"url": "https://github.com/isaacs/promzard/issues"
},
"homepage": "https://github.com/isaacs/promzard",
- "_id": "promzard@0.2.1",
- "_shasum": "c4c7cbe5182465c13b43540be9daf47098b4e75b",
+ "_id": "promzard@0.2.2",
+ "_shasum": "918b9f2b29458cb001781a8856502e4a79b016e0",
"_from": "promzard@~0.2.0",
- "_resolved": "https://registry.npmjs.org/promzard/-/promzard-0.2.1.tgz"
+ "_resolved": "https://registry.npmjs.org/promzard/-/promzard-0.2.2.tgz"
}
diff --git a/node_modules/init-package-json/node_modules/promzard/promzard.js b/node_modules/init-package-json/node_modules/promzard/promzard.js
index ef41ff7ec..3afb567f7 100644
--- a/node_modules/init-package-json/node_modules/promzard/promzard.js
+++ b/node_modules/init-package-json/node_modules/promzard/promzard.js
@@ -121,7 +121,7 @@ PromZard.prototype.makePrompt = function () {
else if (a && typeof a === 'object') {
p = a.prompt || p
d = a.default || d
- t = a.tranform || t
+ t = a.transform || t
}
}
diff --git a/node_modules/init-package-json/node_modules/promzard/test/basic.js b/node_modules/init-package-json/node_modules/promzard/test/basic.js
index af99df41c..ad1c92df9 100644
--- a/node_modules/init-package-json/node_modules/promzard/test/basic.js
+++ b/node_modules/init-package-json/node_modules/promzard/test/basic.js
@@ -70,10 +70,18 @@ tap.test('run the example', function (t) {
}
if (output.match(/keywords: $/)) {
c.stdin.write('fugazi function waiting room\n')
+ // "read" module is weird on node >= 0.10 when not a TTY
+ // requires explicit ending for reasons.
+ // could dig in, but really just wanna make tests pass, whatever.
+ c.stdin.end()
return
}
}
+ c.on('exit', function () {
+ console.error('exit event')
+ })
+
c.on('close', function () {
console.error('actual', actual)
actual = JSON.parse(actual)
diff --git a/node_modules/init-package-json/node_modules/promzard/test/exports.js b/node_modules/init-package-json/node_modules/promzard/test/exports.js
index a5f72d8bd..c17993a4e 100644
--- a/node_modules/init-package-json/node_modules/promzard/test/exports.js
+++ b/node_modules/init-package-json/node_modules/promzard/test/exports.js
@@ -20,7 +20,7 @@ test('exports', function (t) {
child.stdin.write('\n');
}, 100)
setTimeout(function () {
- child.stdin.write('55\n');
+ child.stdin.end('55\n');
}, 200)
child.on('close', function () {
diff --git a/node_modules/init-package-json/node_modules/promzard/test/fn.js b/node_modules/init-package-json/node_modules/promzard/test/fn.js
index 4ce803e73..899ebedbd 100644
--- a/node_modules/init-package-json/node_modules/promzard/test/fn.js
+++ b/node_modules/init-package-json/node_modules/promzard/test/fn.js
@@ -43,7 +43,7 @@ test('prompt callback param', function (t) {
child.stdin.write('55\n')
}, 150)
setTimeout(function () {
- child.stdin.write('async prompt\n')
+ child.stdin.end('async prompt\n')
}, 200)
})
diff --git a/node_modules/init-package-json/package.json b/node_modules/init-package-json/package.json
index 9ca7721cd..21533c9e9 100644
--- a/node_modules/init-package-json/package.json
+++ b/node_modules/init-package-json/package.json
@@ -45,5 +45,6 @@
"homepage": "https://github.com/isaacs/init-package-json",
"_id": "init-package-json@0.0.16",
"_shasum": "f7bb96fcb0a2c8061d15a2c3180323b17a65aa16",
- "_from": "init-package-json@latest"
+ "_from": "init-package-json@0.0.16",
+ "_resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-0.0.16.tgz"
}