Comparing version 0.2.9 to 1.0.0
@@ -34,3 +34,3 @@ /* | ||
if(typeof this.startTime !== "number") return !initial; | ||
var startTime = this.startTime && Math.floor(this.startTime / FS_ACCURENCY) * FS_ACCURENCY; | ||
var startTime = this.startTime; | ||
return startTime <= mtime; | ||
@@ -81,2 +81,6 @@ }; | ||
var old = this.files[filePath]; | ||
// we add the fs accurency to reach the maximum possible mtime | ||
mtime = mtime + FS_ACCURENCY; | ||
this.files[filePath] = [initial ? Math.min(now, mtime) : now, mtime]; | ||
@@ -83,0 +87,0 @@ if(!old) { |
{ | ||
"name": "watchpack", | ||
"version": "0.2.9", | ||
"version": "1.0.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/watchpack.js", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
39386
1098
0