{"maintainers":[{"name":"dashed","email":"mailforalberto@gmail.com"}],"keywords":["shallowequal","shallow","equal","isequal","compare","isequalwith"],"dist-tags":{"latest":"1.0.2"},"author":{"name":"Alberto Leal","email":"mailforalberto@gmail.com","url":"github.com/dashed"},"description":"Like lodash isEqualWith but for shallow equal.","readme":"# shallowequal [![Build Status](https://travis-ci.org/dashed/shallowequal.svg)](https://travis-ci.org/dashed/shallowequal) [![Downloads](https://img.shields.io/npm/dm/shallowequal.svg)](https://npmjs.com/shallowequal) [![npm version](https://img.shields.io/npm/v/shallowequal.svg?style=flat)](https://www.npmjs.com/package/shallowequal)\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/dashed/shallowequal.svg)](https://greenkeeper.io/)\n\n> `shallowequal` is like lodash's [`isEqualWith`](https://lodash.com/docs/4.17.4#isEqualWith) but for shallow (strict) equal.\n\n`shallowequal(value, other, [customizer], [thisArg])`\n\nPerforms a ***shallow equality*** comparison between two values (i.e. `value` and `other`) to determine if they are equivalent.\n\nThe equality is performed by iterating through keys on the given `value`, and returning `false` whenever any key has values which are not **strictly equal** between `value` and `other`. Otherwise, return `true` whenever the values of all keys are strictly equal.\n\nIf `customizer` (expected to be a function) is provided it is invoked to compare values. If `customizer` returns `undefined` (i.e. `void 0`), then comparisons are handled by the `shallowequal` function instead.\n\nThe `customizer` is bound to `thisArg` and invoked with three arguments: `(value, other, key)`.\n\n**NOTE:** Docs are (shamelessly) adapted from [lodash's docs](https://lodash.com/docs/4.17.4#isEqualWith)\n\n## Usage\n\n```\n$ npm install --save shallowequal\n$ yarn add shallowequal\n```\n\n```js\nconst shallowequal = require('shallowequal');\n\nconst object = { 'user': 'fred' };\nconst other = { 'user': 'fred' };\n\nobject == other;\n// → false\n\nshallowequal(object, other);\n// → true\n```\n\n## Credit\n\nCode for `shallowEqual` originated from https://github.com/gaearon/react-pure-render/ and has since been refactored to have the exact same API as `lodash.isEqualWith` (as of `v4.17.4`).\n\n## Development\n\n- `node.js` and `npm`. See: https://github.com/creationix/nvm#installation\n- `yarn`. See: https://yarnpkg.com/en/docs/install\n- `npm` dependencies. Run: `yarn install`\n\n### Chores\n\n- Lint: `yarn run lint`\n- Test: `yarn run test`\n- Pre-publish: `yarn run prepublish`\n\n## License\n\nMIT.\n","repository":{"type":"git","url":"git+https://github.com/dashed/shallowequal.git"},"users":{"vasz":true,"agamlarage":true},"bugs":{"url":"https://github.com/dashed/shallowequal/issues"},"license":"MIT","versions":{"0.1.0":{"name":"shallowequal","version":"0.1.0","description":"Like lodash isEqual but for shallow equal","main":"modules/index.js","scripts":{"test":"mocha --compilers js:babel/register","build":"./scripts/build.sh","prepublish":"npm run build"},"author":{"name":"Alberto Leal","email":"mailforalberto@gmail.com","url":"github.com/Dashed"},"repository":{"type":"git","url":"git+https://github.com/dashed/shallowequal.git"},"license":"MIT","files":["modules"],"keywords":["shallowequal","shallow","equal","isequal","compare"],"devDependencies":{"babel":"^5.5.6"},"dependencies":{"lodash.keys":"^3.1.1"},"gitHead":"f49b92b56af11e9ee39736303d7e2587e6062b83","bugs":{"url":"https://github.com/dashed/shallowequal/issues"},"homepage":"https://github.com/dashed/shallowequal#readme","_id":"shallowequal@0.1.0","_shasum":"a5de5e7508797c956564dae934195e78c7f99421","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.2","_npmUser":{"name":"dashed","email":"mailforalberto@gmail.com"},"dist":{"shasum":"a5de5e7508797c956564dae934195e78c7f99421","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/shallowequal/-/shallowequal-0.1.0.tgz"},"maintainers":[{"name":"dashed","email":"mailforalberto@gmail.com"}],"directories":{}},"0.2.0":{"name":"shallowequal","version":"0.2.0","description":"Like lodash isEqual but for shallow equal","main":"modules/index.js","scripts":{"test":"mocha --compilers js:babel/register","build":"./scripts/build.sh","prepublish":"npm run build"},"author":{"name":"Alberto Leal","email":"mailforalberto@gmail.com","url":"github.com/Dashed"},"repository":{"type":"git","url":"git+https://github.com/dashed/shallowequal.git"},"license":"MIT","files":["modules"],"keywords":["shallowequal","shallow","equal","isequal","compare"],"devDependencies":{"babel":"^5.5.6"},"dependencies":{"lodash.keys":"^3.1.1"},"gitHead":"1edce45fbd6e166f0f8e66d9a4fd03207f4652da","bugs":{"url":"https://github.com/dashed/shallowequal/issues"},"homepage":"https://github.com/dashed/shallowequal#readme","_id":"shallowequal@0.2.0","_shasum":"24b83b53ad14deb48bccdd80ab08abb98e6fc324","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.2","_npmUser":{"name":"dashed","email":"mailforalberto@gmail.com"},"dist":{"shasum":"24b83b53ad14deb48bccdd80ab08abb98e6fc324","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/shallowequal/-/shallowequal-0.2.0.tgz"},"maintainers":[{"name":"dashed","email":"mailforalberto@gmail.com"}],"directories":{}},"0.2.1":{"name":"shallowequal","version":"0.2.1","description":"Like lodash isEqual but for shallow equal","main":"modules/index.js","scripts":{"test":"mocha --compilers js:babel/register","build":"./scripts/build.sh","prepublish":"npm run build"},"author":{"name":"Alberto Leal","email":"mailforalberto@gmail.com","url":"github.com/Dashed"},"repository":{"type":"git","url":"git+https://github.com/dashed/shallowequal.git"},"license":"MIT","files":["modules"],"keywords":["shallowequal","shallow","equal","isequal","compare"],"devDependencies":{"babel":"^5.5.6"},"dependencies":{"lodash.keys":"^3.1.1"},"gitHead":"5defa767c104fab802f507c62e3519840c0ca1a1","bugs":{"url":"https://github.com/dashed/shallowequal/issues"},"homepage":"https://github.com/dashed/shallowequal#readme","_id":"shallowequal@0.2.1","_shasum":"10367cdee0b140a7fdabb2cb2c9942569a169627","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.2","_npmUser":{"name":"dashed","email":"mailforalberto@gmail.com"},"dist":{"shasum":"10367cdee0b140a7fdabb2cb2c9942569a169627","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/shallowequal/-/shallowequal-0.2.1.tgz"},"maintainers":[{"name":"dashed","email":"mailforalberto@gmail.com"}],"directories":{}},"0.2.2":{"name":"shallowequal","version":"0.2.2","description":"Like lodash isEqual but for shallow equal","main":"modules/index.js","scripts":{"test":"mocha --compilers js:babel/register","build":"./scripts/build.sh","prepublish":"npm run build"},"author":{"name":"Alberto Leal","email":"mailforalberto@gmail.com","url":"github.com/Dashed"},"repository":{"type":"git","url":"git+https://github.com/dashed/shallowequal.git"},"license":"MIT","files":["modules"],"keywords":["shallowequal","shallow","equal","isequal","compare"],"devDependencies":{"babel":"^5.8.21","chai":"^3.2.0","lodash":"^3.10.1","mocha":"^2.2.5"},"dependencies":{"lodash.keys":"^3.1.2"},"gitHead":"d63d2faf85260852fb32c47db1c7c01d630d5569","bugs":{"url":"https://github.com/dashed/shallowequal/issues"},"homepage":"https://github.com/dashed/shallowequal#readme","_id":"shallowequal@0.2.2","_shasum":"1e32fd5bcab6ad688a4812cb0cc04efc75c7014e","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"dashed","email":"mailforalberto@gmail.com"},"dist":{"shasum":"1e32fd5bcab6ad688a4812cb0cc04efc75c7014e","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/shallowequal/-/shallowequal-0.2.2.tgz"},"maintainers":[{"name":"dashed","email":"mailforalberto@gmail.com"}],"directories":{}},"1.0.0":{"name":"shallowequal","version":"1.0.0","description":"Like lodash isEqualWith but for shallow equal.","main":"index.js","scripts":{"lint":"eslint src test","test":"mocha --compilers js:babel-register","prepublish":"npm run lint && npm run test","travis":"npm run lint && npm run test"},"babel":{"presets":["es2015"]},"author":{"name":"Alberto Leal","email":"mailforalberto@gmail.com","url":"github.com/dashed"},"repository":{"type":"git","url":"git+https://github.com/dashed/shallowequal.git"},"license":"MIT","files":["index.js"],"keywords":["shallowequal","shallow","equal","isequal","compare","isequalwith"],"eslintConfig":{"parser":"babel-eslint","env":{"browser":true,"node":true,"mocha":true},"extends":["eslint:recommended"]},"devDependencies":{"babel-eslint":"^7.2.3","babel-preset-es2015":"^6.24.1","babel-register":"^6.24.1","chai":"^3.5.0","eslint":"^3.19.0","mocha":"^3.4.1"},"gitHead":"5fb7245d581e967649dd89c82447aedc11fa63b2","bugs":{"url":"https://github.com/dashed/shallowequal/issues"},"homepage":"https://github.com/dashed/shallowequal#readme","_id":"shallowequal@1.0.0","_shasum":"30d2fd9c7df7ec45c1ff29f7dd438bbd23217127","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"dashed","email":"mailforalberto@gmail.com"},"dist":{"shasum":"30d2fd9c7df7ec45c1ff29f7dd438bbd23217127","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/shallowequal/-/shallowequal-1.0.0.tgz"},"maintainers":[{"name":"dashed","email":"mailforalberto@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shallowequal-1.0.0.tgz_1495484148854_0.627249519340694"},"directories":{}},"1.0.1":{"name":"shallowequal","version":"1.0.1","description":"Like lodash isEqualWith but for shallow equal.","main":"index.js","scripts":{"lint":"eslint src test","test":"mocha --compilers js:babel-register","prepublish":"npm run lint && npm run test","travis":"npm run lint && npm run test"},"babel":{"presets":["es2015"]},"author":{"name":"Alberto Leal","email":"mailforalberto@gmail.com","url":"github.com/dashed"},"repository":{"type":"git","url":"git+https://github.com/dashed/shallowequal.git"},"license":"MIT","files":["index.js"],"keywords":["shallowequal","shallow","equal","isequal","compare","isequalwith"],"eslintConfig":{"parser":"babel-eslint","env":{"browser":true,"node":true,"mocha":true},"extends":["eslint:recommended"]},"devDependencies":{"babel-eslint":"^7.2.3","babel-preset-es2015":"^6.24.1","babel-register":"^6.24.1","chai":"^3.5.0","eslint":"^3.19.0","mocha":"^3.4.1"},"gitHead":"4d94f50cbb61837827e7edaeb6262fcd8a7eede6","bugs":{"url":"https://github.com/dashed/shallowequal/issues"},"homepage":"https://github.com/dashed/shallowequal#readme","_id":"shallowequal@1.0.1","_shasum":"4349160418200bad3b82d723ded65f2354db2a23","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"dashed","email":"mailforalberto@gmail.com"},"dist":{"shasum":"4349160418200bad3b82d723ded65f2354db2a23","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/shallowequal/-/shallowequal-1.0.1.tgz"},"maintainers":[{"name":"dashed","email":"mailforalberto@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shallowequal-1.0.1.tgz_1495561473381_0.7039488395676017"},"directories":{}},"1.0.2":{"name":"shallowequal","version":"1.0.2","description":"Like lodash isEqualWith but for shallow equal.","main":"index.js","scripts":{"lint":"eslint src test","test":"mocha --compilers js:babel-register","prepublish":"npm run lint && npm run test","travis":"npm run lint && npm run test"},"author":{"name":"Alberto Leal","email":"mailforalberto@gmail.com","url":"github.com/dashed"},"repository":{"type":"git","url":"git+https://github.com/dashed/shallowequal.git"},"license":"MIT","files":["index.js"],"keywords":["shallowequal","shallow","equal","isequal","compare","isequalwith"],"eslintConfig":{"parser":"babel-eslint","env":{"browser":true,"node":true,"mocha":true},"extends":["eslint:recommended"]},"devDependencies":{"babel-eslint":"^7.2.3","babel-preset-es2015":"^6.24.1","babel-register":"^6.24.1","chai":"^4.0.0","eslint":"^3.19.0","mocha":"^3.4.1"},"gitHead":"6a8683c9e76acd2981c0c682239f385c1abee68d","bugs":{"url":"https://github.com/dashed/shallowequal/issues"},"homepage":"https://github.com/dashed/shallowequal#readme","_id":"shallowequal@1.0.2","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"dashed","email":"mailforalberto@gmail.com"},"dist":{"integrity":"sha512-zlVXeVUKvo+HEv1e2KQF/csyeMKx2oHvatQ9l6XjCUj3agvC8XGf6R9HvIPDSmp8FNPvx7b5kaEJTRi7CqxtEw==","shasum":"1561dbdefb8c01408100319085764da3fcf83f8f","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/shallowequal/-/shallowequal-1.0.2.tgz"},"maintainers":[{"name":"dashed","email":"mailforalberto@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shallowequal-1.0.2.tgz_1499650904923_0.30262987152673304"},"directories":{}}},"name":"shallowequal","time":{"modified":"2017-07-12T11:44:48.848Z","created":"2015-06-12T14:01:17.961Z","0.1.0":"2015-06-12T14:01:17.961Z","0.2.0":"2015-06-12T15:37:20.833Z","0.2.1":"2015-06-20T11:40:36.989Z","0.2.2":"2015-08-17T19:23:56.413Z","1.0.0":"2017-05-22T20:15:48.961Z","1.0.1":"2017-05-23T17:44:33.543Z","1.0.2":"2017-07-10T01:41:44.999Z"},"readmeFilename":"README.md","homepage":"https://github.com/dashed/shallowequal#readme"}