Skip to content

Commit

Permalink
Upgrade: Update value-or-function, resolve-options & vinyl-sourcemap …
Browse files Browse the repository at this point in the history
…dependencies (#278)
  • Loading branch information
erikkemperman authored and phated committed Nov 28, 2017
1 parent 87591ef commit 29a8536
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/file-operations.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ function getModeDiff(fsMode, vinylMode) {

function getTimesDiff(fsStat, vinylStat) {

var mtime = date(vinylStat.mtime);
var mtime = date(vinylStat.mtime) || 0;
if (!mtime) {
return;
}

var atime = date(vinylStat.atime);
var atime = date(vinylStat.atime) || 0;
if (+mtime === +fsStat.mtime &&
+atime === +fsStat.atime) {
return;
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
"pumpify": "^1.3.5",
"remove-bom-buffer": "^3.0.0",
"remove-bom-stream": "^1.2.0",
"resolve-options": "^1.0.0",
"resolve-options": "^1.1.0",
"through2": "^2.0.0",
"to-through": "^2.0.0",
"value-or-function": "^2.0.0",
"value-or-function": "^3.0.0",
"vinyl": "^2.0.0",
"vinyl-sourcemap": "^1.0.0"
"vinyl-sourcemap": "^1.1.0"
},
"devDependencies": {
"eslint": "^1.10.3",
Expand Down

0 comments on commit 29a8536

Please sign in to comment.