Skip to content

Commit

Permalink
upgraded npm packages
Browse files Browse the repository at this point in the history
- see package.json for changes
- had to add `allowEmpty` option to glob since non-matchin singular file globs emit errors in the most recent version of [glob-stream](https://github.com/gulpjs/glob-stream#globstreamglobs-options)
  • Loading branch information
burnedikt committed Oct 18, 2016
1 parent 7265b65 commit c709d98
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,8 @@ module.exports = function(options) {
},
onend: function() {
// as soon as everything has been parsed, add the found files to the stream
// add the script to the output stream
// look for scripts in all available search paths. Available search paths are:
// - The file.base folder (i.e. the folder in which the index.html lies)
// - The file.base folder (i.e. the folder in which the index.html resides)
// - any other specified folders (options.searchPaths)
var searchPaths = array.union([file.base], options.searchPaths.map(function(sp) {
return path.join(process.cwd(), sp);
Expand All @@ -88,6 +87,7 @@ module.exports = function(options) {
vfs.src(scriptsGlob, {
cwd: file.base,
base: '.',
allowEmpty: true,
// we want to keep the order as specified in the index.html
nosort: true,
// do not match directories, just files, since we want to pipe those
Expand Down
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,28 @@
"htmlparser2"
],
"devDependencies": {
"gulp": "^3.6.0",
"gulp-coveralls": "^0.1.0",
"gulp-eslint": "^0.8.0",
"gulp-istanbul": "^0.8.1",
"gulp-jscs": "^1.1.0",
"gulp-jshint": "^1.5.3",
"gulp-mocha": "^2.0.0",
"gulp-plumber": "^1.0.0",
"jshint-stylish": "^1.0.0",
"should": "^7.0.1"
"gulp": "^3.9.1",
"gulp-coveralls": "^0.1.4",
"gulp-eslint": "^3.0.1",
"gulp-istanbul": "^1.1.1",
"gulp-jscs": "^4.0.0",
"gulp-jshint": "^2.0.1",
"gulp-mocha": "^3.0.1",
"gulp-plumber": "^1.1.0",
"jshint": "^2.9.3",
"jshint-stylish": "^2.2.1",
"should": "^11.1.1"
},
"scripts": {
"test": "gulp"
},
"license": "MIT",
"dependencies": {
"array-extended": "0.0.11",
"gulp-util": "^3.0.5",
"htmlparser2": "^3.8.3",
"gulp-util": "^3.0.7",
"htmlparser2": "^3.9.2",
"merge": "^1.2.0",
"through2": "^2.0.0",
"vinyl-fs": "^1.0.0"
"through2": "^2.0.1",
"vinyl-fs": "^2.4.4"
}
}

0 comments on commit c709d98

Please sign in to comment.