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

edtf

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edtf - npm Package Compare versions

Comparing version 4.4.1 to 4.4.2

.nyc_output/8eadff0d-892b-4368-bdeb-e4cb95c0c3cc.json

2

package.json
{
"name": "edtf",
"version": "4.4.1",
"version": "4.4.2",
"description": "Extended Date Time Format (EDTF) / ISO 8601-2 Parser and Library",

@@ -5,0 +5,0 @@ "type": "module",

@@ -24,4 +24,4 @@ import assert from 'assert'

input = Century.parse(input)
// eslint-disable-line no-fallthrough
// eslint-disable-next-line no-fallthrough
case 'object':

@@ -28,0 +28,0 @@ if (Array.isArray(input))

@@ -33,4 +33,4 @@ import assert from 'assert'

args = [Date.parse(args[0])]
// eslint-disable-line no-fallthrough
// eslint-disable-next-line no-fallthrough
case 'object':

@@ -37,0 +37,0 @@ if (isArray(args[0]))

@@ -25,4 +25,4 @@ import assert from 'assert'

input = Decade.parse(input)
// eslint-disable-line no-fallthrough
// eslint-disable-next-line no-fallthrough
case 'object':

@@ -29,0 +29,0 @@ if (Array.isArray(input))

@@ -25,4 +25,4 @@ import assert from 'assert'

args[0] = Interval.parse(args[0])
// eslint-disable-line no-fallthrough
// eslint-disable-next-line no-fallthrough
case 'object':

@@ -94,3 +94,3 @@ if (Array.isArray(args[0]))

if (this.lower !== Infinity && value <= this.lower)
if (this.lower !== null && this.lower !== Infinity && value <= this.lower)
throw new RangeError(`invalid upper bound: ${value}`)

@@ -97,0 +97,0 @@

@@ -21,4 +21,4 @@ import assert from 'assert'

args[0] = new.target.parse(args[0])
// eslint-disable-line no-fallthrough
// eslint-disable-next-line no-fallthrough
case 'object':

@@ -25,0 +25,0 @@ if (isArray(args[0]))

@@ -21,4 +21,4 @@ import assert from 'assert'

input = Season.parse(input)
// eslint-disable-line no-fallthrough
// eslint-disable-next-line no-fallthrough
case 'object':

@@ -25,0 +25,0 @@ if (Array.isArray(input))

@@ -23,4 +23,4 @@ import assert from 'assert'

input = Year.parse(input)
// eslint-disable-line no-fallthrough
// eslint-disable-next-line no-fallthrough
case 'object':

@@ -27,0 +27,0 @@ if (Array.isArray(input))

Sorry, the diff of this file is not supported yet

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