Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@helpdotcom/is

Package Overview
Dependencies
Maintainers
15
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helpdotcom/is - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

4

CHANGELOG.md

@@ -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 @@

2

index.js

@@ -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 @@ })

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc