promzard
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -5,3 +5,3 @@ { | ||
"description": "prompting wizardly", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "url": "git://github.com/isaacs/promzard" |
@@ -124,3 +124,3 @@ module.exports = promzard | ||
d = a.default || d | ||
t = a.tranform || t | ||
t = a.transform || t | ||
} | ||
@@ -127,0 +127,0 @@ } |
@@ -73,2 +73,6 @@ var tap = require('tap') | ||
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 | ||
@@ -78,2 +82,6 @@ } | ||
c.on('exit', function () { | ||
console.error('exit event') | ||
}) | ||
c.on('close', function () { | ||
@@ -80,0 +88,0 @@ console.error('actual', actual) |
@@ -23,3 +23,3 @@ var test = require('tap').test; | ||
setTimeout(function () { | ||
child.stdin.write('55\n'); | ||
child.stdin.end('55\n'); | ||
}, 200) | ||
@@ -26,0 +26,0 @@ |
@@ -46,3 +46,3 @@ var test = require('tap').test; | ||
setTimeout(function () { | ||
child.stdin.write('async prompt\n') | ||
child.stdin.end('async prompt\n') | ||
}, 200) | ||
@@ -49,0 +49,0 @@ }) |
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
26286
670
3