file-birth-at
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -37,4 +37,5 @@ 'use strict'; | ||
function fallbackTime(wat, fallback = new Date()) { | ||
function fallbackTime(wat, fallback) { | ||
fallback = fallback || new Date(); | ||
return isDate(wat) ? wat : fallback; | ||
} |
{ | ||
"name": "file-birth-at", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "figure out when the file is created, in a silly way", | ||
@@ -5,0 +5,0 @@ "main": "index.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
2958
75