ranged-date
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -189,3 +189,3 @@ 'use strict' | ||
if (data instanceof Date) return data.valueOf() | ||
if (typeof data == 'number') return check(data, back, fwd, exclude) | ||
if (typeof data === 'number') return check(data, back, fwd, exclude) | ||
return ( | ||
@@ -192,0 +192,0 @@ check(Date.parse(data), back, fwd, exclude) |
{ | ||
"name": "ranged-date", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Converts a given string, number, or Date object to the number of milliseconds since the Unix epoch, provided that it can be recognized as millisecond, second, or microsecond time within a specified range from the current date.", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
35174