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 3.0.0 to 3.0.1

2

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

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -69,6 +69,6 @@ 'use strict'

if (value == null)
return this.values[1] = null
return this.values[0] = null
if (value === Infinity || value === -Infinity)
return this.values[1] = Infinity
return this.values[0] = Infinity

@@ -96,3 +96,3 @@ value = getDateOrSeasonFrom(value)

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

@@ -130,4 +130,4 @@

.map(v => {
if (v === Infinity) return '..'
if (!v) return ''
if (v === Infinity) return '*'
return v.edtf

@@ -134,0 +134,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