shallowequal
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -5,3 +5,3 @@ 'use strict'; | ||
function shallowEqual(objA, objB, compare, compareContext) { | ||
module.exports = function shallowEqual(objA, objB, compare, compareContext) { | ||
if (objA === objB) { | ||
@@ -42,2 +42,2 @@ return true; | ||
return true; | ||
} | ||
}; |
{ | ||
"name": "shallowequal", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Like lodash isEqual but for shallow equal", | ||
@@ -5,0 +5,0 @@ "main": "modules/index.js", |
@@ -30,4 +30,8 @@ # shallowequal | ||
## Credit | ||
Code for `shallowEqual` originated from https://github.com/gaearon/react-pure-render/ and has since been refactored to have the exact same API as `lodash.isEqual`. | ||
## License | ||
MIT |
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
3942
37