diff --git a/lib/file-operations.js b/lib/file-operations.js index 7dd25d7b..89c9255f 100644 --- a/lib/file-operations.js +++ b/lib/file-operations.js @@ -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; diff --git a/package.json b/package.json index 75a4389a..0570e602 100644 --- a/package.json +++ b/package.json @@ -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",