chai-deep-match
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -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
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
5405
4
+ Addedassertion-error@2.0.1(transitive)
+ Addedchai@5.1.2(transitive)
+ Addedcheck-error@2.1.1(transitive)
+ Addeddeep-eql@5.0.2(transitive)
+ Addeddeep-keys@0.5.0(transitive)
+ Addedloupe@3.1.2(transitive)
+ Addedpathval@2.0.0(transitive)
- Removedassertion-error@1.1.0(transitive)
- Removedchai@3.5.0(transitive)
- Removeddeep-eql@0.1.3(transitive)
- Removeddeep-keys@0.2.0(transitive)
- Removedtype-detect@0.1.11.0.0(transitive)
Updateddeep-keys@^0.5.0
Updatedlodash@^4.17.10