timezone-mock
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -292,4 +292,7 @@ 'use strict'; | ||
} | ||
glob.Date = _Date; | ||
if (glob.Date === MockDate) { | ||
assert(_Date); | ||
glob.Date = _Date; | ||
} | ||
} | ||
exports.unregister = unregister; |
{ | ||
"name": "timezone-mock", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "A JavaScript library to mock the local timezone.", | ||
@@ -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
33170
1201