puvox-library 1.1.2 → 1.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library_standard.js +1 -1
- package/package.json +1 -1
package/library_standard.js
CHANGED
@@ -3267,7 +3267,7 @@ class PuvoxLibrary {
|
|
3267
3267
|
return defaultValue;
|
3268
3268
|
}
|
3269
3269
|
else {
|
3270
|
-
if ( this.mtime(filePath) + expireSeconds*1000 < (new Date()).getTime() ){
|
3270
|
+
if (expireSeconds!==0 && this.mtime(filePath) + expireSeconds*1000 < (new Date()).getTime() ){
|
3271
3271
|
this.unlink(filePath);
|
3272
3272
|
return defaultValue;
|
3273
3273
|
}
|