Comparing version 1.4.1 to 2.0.0
@@ -7,2 +7,10 @@ # Changelog | ||
## v2.0.0 (2017-10-25) | ||
Major bump due to a change in the semantics of `deepEqual`. Code that relies on | ||
`deepEqual` to fail if inherited properties are present on the objects compared | ||
should be updated accordingly. | ||
* #24 `deepEqual` is incorrect when there are inherited properties | ||
## v1.4.1 (2017-08-02) | ||
@@ -9,0 +17,0 @@ |
@@ -105,3 +105,3 @@ /* | ||
for (k in obj1) { | ||
if (!obj2.hasOwnProperty(k)) | ||
if (!(k in obj2)) | ||
return (false); | ||
@@ -114,3 +114,3 @@ | ||
for (k in obj2) { | ||
if (!obj1.hasOwnProperty(k)) | ||
if (!(k in obj1)) | ||
return (false); | ||
@@ -117,0 +117,0 @@ } |
{ | ||
"name": "jsprim", | ||
"version": "1.4.1", | ||
"version": "2.0.0", | ||
"description": "utilities for primitive JavaScript types", | ||
@@ -5,0 +5,0 @@ "main": "./lib/jsprim.js", |
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
31367