Skip to content

Commit

Permalink
Upgrade: Update graceful-fs, is-valid-glob, object-assign, strip-bom,…
Browse files Browse the repository at this point in the history
… through2 & should
  • Loading branch information
yocontra authored and phated committed Nov 28, 2017
1 parent e01ebd6 commit fa958c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib/src/getContents/streamFile.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
'use strict';

var fs = require('graceful-fs');
var stripBom = require('strip-bom');
var stripBom = require('strip-bom-stream');

function streamFile(file, opt, cb) {
file.contents = fs.createReadStream(file.path)
.pipe(stripBom.stream());
.pipe(stripBom());
cb(null, file);
}

Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@
"duplexify": "^3.2.0",
"glob-stream": "^5.0.0",
"glob-watcher": "^2.0.0",
"graceful-fs": "^3.0.0",
"graceful-fs": "^4.0.0",
"gulp-sourcemaps": "^1.5.2",
"is-valid-glob": "^0.1.0",
"is-valid-glob": "^0.3.0",
"merge-stream": "^0.1.7",
"mkdirp": "^0.5.0",
"object-assign": "^2.0.0",
"strip-bom": "^1.0.0",
"through2": "^0.6.1",
"object-assign": "^3.0.0",
"strip-bom": "^2.0.0",
"strip-bom-stream": "^1.0.0",
"through2": "^2.0.0",
"vinyl": "^0.5.0",
"vinyl-filter-since": "^2.0.0"
},
Expand All @@ -33,7 +34,7 @@
"mocha": "^2.0.0",
"mocha-lcov-reporter": "^0.0.2",
"rimraf": "^2.2.5",
"should": "^6.0.0",
"should": "^7.0.0",
"sinon": "^1.10.3"
},
"scripts": {
Expand Down

0 comments on commit fa958c0

Please sign in to comment.