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

fast-shallow-equal

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-shallow-equal - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.npmignore

7

index.js
var keyList = Object.keys;
var hasProp = Object.prototype.hasOwnProperty;
function equal (a, b) {
exports.equal = function equal (a, b) {
if (a === b) return true;

@@ -19,4 +18,2 @@ if (!a || !b) return false;

return length === keyList(b).length;
}
exports.equal = equal;
};
{
"name": "fast-shallow-equal",
"version": "0.0.1"
}
"version": "0.0.2",
"repository": {
"type": "git",
"url": "https://github.com/streamich/fast-shallow-equal.git"
},
"scripts": {
},
"devDependencies": {
"jest": "22.3.0",
"jest-tap-reporter": "1.9.0"
},
"jest": {
"testRegex": ".*/__tests__/.*\\.(test|spec)\\.(jsx?|tsx?)$",
"reporters": [
"jest-tap-reporter"
]
},
"keywords": [
"equal",
"fast",
"shallow",
"fast-shallow-equal",
"comparator",
"pure",
"should-update"
]
}
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