Socket
Socket
Sign inDemoInstall

deep-eql

Package Overview
Dependencies
1
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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);

3

package.json

@@ -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"
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc