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

chai-deep-match

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chai-deep-match - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

2

index.js

@@ -22,3 +22,3 @@ // Userland modules

if ( isDeep && typeof actual === 'object' && typeof expected === 'object' && ( expected == null || !( expected instanceof RegExp ) ) ) {
if ( isDeep && typeof actual === 'object' && typeof expected === 'object' && ( expected == null || Object.prototype.toString.call( expected ) !== '[object RegExp]' ) ) {
if ( msg ) {

@@ -25,0 +25,0 @@ util.flag( this, 'message', msg );

{
"name": "chai-deep-match",
"version": "1.0.2",
"version": "1.1.0",
"description": "Extends Chai with an assertion for deeply matching objects (i.e. subset equality checking)",

@@ -8,3 +8,3 @@ "author": {

"email": "james.m.greene@gmail.com",
"url": "http://greene.io/"
"url": "https://jamesmgreene.github.io/"
},

@@ -30,3 +30,7 @@ "license": "MIT",

"deep",
"isMatch"
"isMatch",
"contains",
"like",
"similar",
"subset"
],

@@ -41,24 +45,24 @@ "main": "index.js",

"peerDependencies": {
"chai": ">=2.1.2 <4"
"chai": ">=2.1.2"
},
"devDependencies": {
"chai": "^3.5.0",
"grunt": "^0.4.5",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-jshint": "^1.0.0",
"grunt-coveralls": "^1.0.0",
"chai": "^4.1.2",
"grunt": "^1.0.3",
"grunt-contrib-clean": "^1.1.0",
"grunt-contrib-jshint": "^1.1.0",
"grunt-coveralls": "^2.0.0",
"grunt-env": "^0.4.4",
"grunt-istanbul": "^0.7.0",
"grunt-istanbul-coverage": "^0.1.3",
"grunt-mocha-test": "^0.12.7",
"grunt-istanbul": "^0.8.0",
"grunt-istanbul-coverage": "^0.1.4",
"grunt-mocha-test": "^0.13.3",
"grunt-not-constantinople": "^1.0.0",
"grunt-open": "^0.2.3",
"mocha": "^2.4.5",
"mocha": "^5.2.0",
"recursive-readdir-sync": "^1.0.6"
},
"dependencies": {
"deep-keys": "^0.2.0",
"lodash": ">=3.0.0",
"deep-keys": "^0.5.0",
"lodash": "^4.17.10",
"lodash-pickdeep": "^1.0.2"
}
}

@@ -36,2 +36,2 @@ # chai-deep-match

Copyright (c) 2016, James M. Greene (MIT License)
Copyright (c) 2016-2018, James M. Greene (MIT License)

Sorry, the diff of this file is not supported yet

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