Comparing version 4.4.1 to 4.4.2
{ | ||
"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
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
174424
42