@helpdotcom/is
Advanced tools
Comparing version 3.0.4 to 3.0.5
@@ -0,1 +1,5 @@ | ||
# 2018-10-17, Version 3.0.5 (Stable) | ||
* [[e2f01c1eb0](https://git.help.com/common-backend/is/commit/e2f01c1eb0)] - isDate: Allow for 6-decimal ms precision (Darin Spivey) | ||
# 2018-02-19, Version 3.0.4 (Stable) | ||
@@ -2,0 +6,0 @@ |
@@ -16,3 +16,3 @@ 'use strict' | ||
const dateRE = new RegExp('^[\\d]{4}-[\\d]{2}-[\\d]{2}T[\\d]{2}:[\\d]{2}:' + | ||
'[\\d]{2}(\.[\\d]{1,3})?(Z|[\\+\\-][\\d]{2}:[\\d]{2})$') | ||
'[\\d]{2}(\.[\\d]{1,6})?(Z|[\\+\\-][\\d]{2}:[\\d]{2})$') | ||
@@ -19,0 +19,0 @@ const protocols = new Set([ |
{ | ||
"name": "@helpdotcom/is", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"description": "isDate, isUUID, and isEmail for use with help-gen", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,2 +27,3 @@ 'use strict' | ||
const a5 = '2017-02-22T14:50:20+00:00' | ||
const a6 = '2018-10-17T17:53:38.863141+00:00' | ||
t.equal(is(a1), true) | ||
@@ -33,2 +34,3 @@ t.equal(is(a2), true) | ||
t.equal(is(a5), true) | ||
t.equal(is(a6), true) | ||
t.end() | ||
@@ -35,0 +37,0 @@ }) |
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
15720
174