Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMGreene committed Jun 11, 2018
1 parent e763e50 commit f1e756c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ chai.expect( { a: 'foo', b: 'bar', c: 'baz' } ).to.not.deep.match( { a: 'fuzz',

### Note about `URL` objects

This module also supports [WHATWG `URL` objects](https://nodejs.org/docs/latest/api/url.html#url_the_whatwg_url_api), as introduced in Node `7.x` (and backported into Node `6.x`, it seems). However, it is important to note that the behavior by which is compares two `URL` objects will only consider them deeply matched if they are a full 100% match rather than a "subset" match. Hopefully this behavior is acceptable to those making use of it! :pray:
This module also supports [WHATWG `URL` objects](https://nodejs.org/docs/latest/api/url.html#url_the_whatwg_url_api), as introduced in Node `7.x` (and backported into Node `6.x`, it seems). However, it is important to note that the behavior by which it compares two `URL` objects will only consider them deeply matched if they are a full 100% match rather than a "subset" match. Hopefully this behavior is acceptable to those making use of it! :pray:


## License
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chai-deep-match",
"version": "1.2.0",
"version": "1.2.1",
"description": "Extends Chai with an assertion for deeply matching objects (i.e. subset equality checking)",
"author": {
"name": "James M. Greene",
Expand Down

0 comments on commit f1e756c

Please sign in to comment.