timezone-mock
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -34,2 +34,4 @@ var assert = require('assert'); | ||
this.d = new _Date(param); | ||
} else if (typeof param === 'undefined') { | ||
this.d = new _Date(); | ||
} else { | ||
@@ -36,0 +38,0 @@ assert.ok(false, 'Unhandled type passed to MockDate constructor: ' + typeof param); |
{ | ||
"name": "timezone-mock", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"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
29784
768