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

chai-exclude

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chai-exclude - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

lib/chai-exclude.js

@@ -100,3 +100,3 @@ module.exports = (chai, utils) => {

function isObject (arg) {
return arg instanceof Object && arg.constructor === Object
return arg === Object(arg) && Object.prototype.toString.call(arg) !== '[object Array]'
}

@@ -103,0 +103,0 @@

{
"name": "chai-exclude",
"version": "1.0.7",
"version": "1.0.8",
"description": "Exclude keys to compare from a deep equal operation with chai expect and assert",

@@ -5,0 +5,0 @@ "main": "lib/chai-exclude.js",

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