deep-eql
Advanced tools
Comparing version 4.0.1 to 4.1.0
13
index.js
@@ -237,2 +237,15 @@ 'use strict'; | ||
return entriesEqual(leftHandOperand, rightHandOperand, options); | ||
case 'Temporal.PlainDate': | ||
case 'Temporal.PlainTime': | ||
case 'Temporal.PlainDateTime': | ||
case 'Temporal.Instant': | ||
case 'Temporal.ZonedDateTime': | ||
case 'Temporal.PlainYearMonth': | ||
case 'Temporal.PlainMonthDay': | ||
return leftHandOperand.equals(rightHandOperand); | ||
case 'Temporal.Duration': | ||
return leftHandOperand.total('nanoseconds') === rightHandOperand.total('nanoseconds'); | ||
case 'Temporal.TimeZone': | ||
case 'Temporal.Calendar': | ||
return leftHandOperand.toString() === rightHandOperand.toString(); | ||
default: | ||
@@ -239,0 +252,0 @@ return objectEqual(leftHandOperand, rightHandOperand, options); |
@@ -59,2 +59,3 @@ { | ||
"devDependencies": { | ||
"@js-temporal/polyfill": "^0.4.1", | ||
"benchmark": "^2.1.0", | ||
@@ -86,3 +87,3 @@ "browserify": "^17.0.0", | ||
}, | ||
"version": "4.0.1" | ||
"version": "4.1.0" | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
24134
443
0
23