Skip to content

Commit 64c68b7

Browse files
authored
fix: upgrade standard, and a few other dependencies. fix standard nits (#375)
* fix: upgrade standard, and a few other dependencies. fix standard nits * upgrade test-exclude while we're at it
1 parent 6d32604 commit 64c68b7

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@
7979
"find-cache-dir": "^0.1.1",
8080
"find-up": "^1.1.2",
8181
"foreground-child": "^1.5.3",
82-
"glob": "^7.0.3",
82+
"glob": "^7.0.6",
8383
"istanbul-lib-coverage": "^1.0.0",
8484
"istanbul-lib-hook": "^1.0.0-alpha.4",
85-
"istanbul-lib-instrument": "^1.1.0",
85+
"istanbul-lib-instrument": "^1.1.1",
8686
"istanbul-lib-report": "^1.0.0-alpha.3",
87-
"istanbul-lib-source-maps": "^1.0.0-alpha.10",
87+
"istanbul-lib-source-maps": "^1.0.0",
8888
"istanbul-reports": "^1.0.0-alpha.8",
8989
"md5-hex": "^1.2.0",
9090
"micromatch": "^2.3.11",
@@ -94,7 +94,7 @@
9494
"rimraf": "^2.5.4",
9595
"signal-exit": "^3.0.0",
9696
"spawn-wrap": "^1.2.4",
97-
"test-exclude": "^2.1.1",
97+
"test-exclude": "^2.1.2",
9898
"yargs": "^5.0.0",
9999
"yargs-parser": "^3.1.0"
100100
},
@@ -113,7 +113,7 @@
113113
"sinon": "^1.15.3",
114114
"source-map-support": "^0.4.2",
115115
"split-lines": "^1.0.0",
116-
"standard": "^7.0.1",
116+
"standard": "^8.0.0",
117117
"standard-version": "^2.4.0",
118118
"tap": "^7.0.0",
119119
"which": "^1.2.4",

test/src/nyc-bin.js

-10
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,6 @@ describe('the nyc cli', function () {
369369
env: env
370370
})
371371

372-
var stdout = ''
373-
proc.stdout.on('data', function (chunk) {
374-
stdout += chunk
375-
})
376-
377372
proc.on('close', function (code) {
378373
code.should.equal(0)
379374
var files = fs.readdirSync(path.resolve(fixturesCLI, './output'))
@@ -392,11 +387,6 @@ describe('the nyc cli', function () {
392387
env: env
393388
})
394389

395-
var stdout = ''
396-
proc.stdout.on('data', function (chunk) {
397-
stdout += chunk
398-
})
399-
400390
proc.on('close', function (code) {
401391
code.should.equal(0)
402392
var files = fs.readdirSync(path.resolve(fixturesCLI, './output'))

0 commit comments

Comments
 (0)