fs-tree-diff
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -8,2 +8,3 @@ 'use strict'; | ||
var Entry = require('./entry'); | ||
var debug = require('debug')('fs-tree-diff'); | ||
@@ -110,5 +111,11 @@ var ARBITRARY_START_OF_TIME = 0; | ||
return before.size !== after.size || | ||
var invalidate = before.size !== after.size || | ||
before.mtime !== after.mtime || | ||
before.mode !== after.mode; | ||
if (invalidate) { | ||
debug('invalidation reason: \nbefore %o\n after %o', before, after); | ||
} | ||
return invalidate; | ||
} | ||
@@ -115,0 +122,0 @@ |
{ | ||
"name": "fs-tree-diff", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Backs out file tree changes", | ||
@@ -16,2 +16,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"debug": "^2.2.0", | ||
"fast-ordered-set": "^1.0.2" | ||
@@ -18,0 +19,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26679
665
2
+ Addeddebug@^2.2.0
+ Addeddebug@2.6.9(transitive)
+ Addedms@2.0.0(transitive)