buster-cli
Advanced tools
Comparing version 0.7.0 to 0.8.0
{ | ||
"name": "buster-cli", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "Internal wrapper and util for creating CLIs in the buster project.", | ||
@@ -48,4 +48,4 @@ "author": { | ||
"stream-logger": "1.x", | ||
"buster-configuration": "0.7.x", | ||
"rimraf": "1.x", | ||
"buster-configuration": "0.8.x", | ||
"rimraf": "2.x", | ||
"minimatch": "3.x" | ||
@@ -52,0 +52,0 @@ }, |
@@ -10,2 +10,6 @@ # buster-cli | ||
**0.8.0** (2015-Nov-25) | ||
* updated some dependencies that weren't `npm publish`ed a week ago | ||
**0.7.0** (2015-Nov-19) | ||
@@ -12,0 +16,0 @@ |
@@ -317,7 +317,10 @@ var buster = require("buster-node"); | ||
setUp: function () { | ||
cliHelper.cdFixtures(); | ||
this.cwd = cliHelper.cdFixtures(); | ||
this.cli.addConfigOption("seaman"); | ||
}, | ||
tearDown: cliHelper.clearFixtures, | ||
tearDown: function (done) { | ||
process.chdir(this.cwd); | ||
cliHelper.clearFixtures(done); | ||
}, | ||
@@ -324,0 +327,0 @@ "fails if config does not exist": function (done) { |
@@ -34,21 +34,2 @@ var streamLogger = require("stream-logger"); | ||
mockLogger: function mockLogger(context) { | ||
context.stdout = ""; | ||
context.stderr = ""; | ||
var cli = context.cli; | ||
var level = cli.logger && cli.logger.level; | ||
cli.logger = streamLogger({ | ||
write: function () { | ||
context.stdout += join.call(arguments, " "); | ||
} | ||
}, { | ||
write: function () { | ||
context.stderr += join.call(arguments, " "); | ||
} | ||
}); | ||
if (level) { cli.logger.level = level; } | ||
}, | ||
mkdir: function (dir) { | ||
@@ -75,4 +56,6 @@ dir = dir.replace(FIXTURES_ROOT, "").replace(/^\//, ""); | ||
cdFixtures: function () { | ||
var cwd = process.cwd(); | ||
this.mkdir(""); | ||
process.chdir(FIXTURES_ROOT); | ||
return cwd; | ||
}, | ||
@@ -79,0 +62,0 @@ |
Sorry, the diff of this file is not supported yet
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
26
0
47472
1107
+ Addedasync@1.5.2(transitive)
+ Addedbuster-configuration@0.8.1(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@5.0.157.2.3(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedramp-resources@2.0.2(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedasync@0.1.22(transitive)
- Removedbane@1.0.0(transitive)
- Removedbuster-configuration@0.7.6(transitive)
- Removedglob@3.1.213.2.11(transitive)
- Removedgraceful-fs@1.2.3(transitive)
- Removedinherits@1.0.2(transitive)
- Removedlodash@0.5.21.0.2(transitive)
- Removedlru-cache@1.0.62.7.3(transitive)
- Removedminimatch@0.1.50.2.140.3.0(transitive)
- Removedramp-resources@1.0.5(transitive)
- Removedrimraf@1.0.9(transitive)
- Removedsigmund@1.0.1(transitive)
Updatedbuster-configuration@0.8.x
Updatedrimraf@2.x