{"_id":"enzyme-shallow-equal","_rev":"3223050","name":"enzyme-shallow-equal","description":"Adaptation of react-addons-shallow-compare, for independent usage","dist-tags":{"latest":"1.0.7"},"maintainers":[{"name":"airbnbeng","email":"opensource@airbnb.com"},{"name":"lencioni","email":"joe.lencioni@gmail.com"},{"name":"ljharb","email":""}],"time":{"modified":"2024-03-21T07:23:36.000Z","created":"2019-06-16T07:00:13.527Z","1.0.7":"2024-02-09T21:54:24.536Z","1.0.6":"2024-02-09T21:50:04.201Z","1.0.5":"2022-11-04T17:58:42.691Z","1.0.4":"2020-08-07T00:45:35.448Z","1.0.3":"2020-08-06T21:20:55.997Z","1.0.2":"2020-08-06T20:13:52.324Z","1.0.1":"2019-12-19T17:57:36.770Z","1.0.0":"2019-06-16T07:00:13.527Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/enzymejs/enzyme.git","directory":"packages/enzyme-shallow-equal"},"versions":{"1.0.7":{"name":"enzyme-shallow-equal","version":"1.0.7","description":"Adaptation of react-addons-shallow-compare, for independent usage","homepage":"https://enzymejs.github.io/enzyme/","main":"build","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated --gitignore=../../.gitignore && cp ../../LICENSE.md ./ && npm run build","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","clean":"rimraf build","lint":"eslint --ext js,jsx .","pretest":"npm run lint","prebuild":"npm run clean","build":"babel --source-maps=both src --out-dir build","watch":"npm run build -- -w"},"repository":{"type":"git","url":"git+https://github.com/enzymejs/enzyme.git","directory":"packages/enzyme-shallow-equal"},"keywords":["javascript","shallow rendering","shallowRender","test","reactjs","react","flux","testing","test utils","assertion helpers","tdd","mocha"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","dependencies":{"hasown":"^2.0.0","object-is":"^1.1.5"},"devDependencies":{"@babel/cli":"^7.23.9","@babel/core":"^7.23.9","@babel/eslint-parser":"^7.23.10","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-transform-replace-object-assign":"^2.0.0","babel-preset-airbnb":"^4.5.0","eslint":"^8.56.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-import":"^2.29.1","in-publish":"^2.0.1","npmignore":"^0.3.1","rimraf":"^2.7.1","safe-publish-latest":"^2.0.0"},"publishConfig":{"ignore":["!build"]},"_id":"enzyme-shallow-equal@1.0.7","gitHead":"b772c03f0b01ce680d0fde55108bd78cf5b8bef7","bugs":{"url":"https://github.com/enzymejs/enzyme/issues"},"_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"shasum":"4e3aa678022387a68e6c47aff200587851885b5e","size":4917,"noattachment":false,"key":"/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/enzyme-shallow-equal/download/enzyme-shallow-equal-1.0.7.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"airbnbeng","email":"opensource@airbnb.com"},{"name":"lencioni","email":"joe.lencioni@gmail.com"},{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/enzyme-shallow-equal_1.0.7_1707515664396_0.17869125470009029"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-09T21:54:24.536Z","publish_time":1707515664536,"_source_registry_name":"default","_cnpm_publish_time":1707515664536},"1.0.6":{"name":"enzyme-shallow-equal","version":"1.0.6","description":"Adaptation of react-addons-shallow-compare, for independent usage","homepage":"https://enzymejs.github.io/enzyme/","main":"build","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated --gitignore=../../.gitignore && cp ../../{LICENSE,README}.md ./ && npm run build","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","clean":"rimraf build","lint":"eslint --ext js,jsx .","pretest":"npm run lint","prebuild":"npm run clean","build":"babel --source-maps=both src --out-dir build","watch":"npm run build -- -w"},"repository":{"type":"git","url":"git+https://github.com/enzymejs/enzyme.git","directory":"packages/enzyme-shallow-equal"},"keywords":["javascript","shallow rendering","shallowRender","test","reactjs","react","flux","testing","test utils","assertion helpers","tdd","mocha"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","dependencies":{"hasown":"^2.0.0","object-is":"^1.1.5"},"devDependencies":{"@babel/cli":"^7.23.9","@babel/core":"^7.23.9","@babel/eslint-parser":"^7.23.10","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-transform-replace-object-assign":"^2.0.0","babel-preset-airbnb":"^4.5.0","eslint":"^8.56.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-import":"^2.29.1","in-publish":"^2.0.1","npmignore":"^0.3.1","rimraf":"^2.7.1","safe-publish-latest":"^2.0.0"},"publishConfig":{"ignore":["!build"]},"_id":"enzyme-shallow-equal@1.0.6","gitHead":"ea5544b63e472bf42ad30b4a4e887cf22567a650","bugs":{"url":"https://github.com/enzymejs/enzyme/issues"},"_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"shasum":"a142909a620627ae6d65251ba1d4884362c4a342","size":8095,"noattachment":false,"key":"/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/enzyme-shallow-equal/download/enzyme-shallow-equal-1.0.6.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"airbnbeng","email":"opensource@airbnb.com"},{"name":"lencioni","email":"joe.lencioni@gmail.com"},{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/enzyme-shallow-equal_1.0.6_1707515404056_0.6315598015273933"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-09T21:50:04.201Z","publish_time":1707515404201,"_source_registry_name":"default","_cnpm_publish_time":1707515404201},"1.0.5":{"name":"enzyme-shallow-equal","version":"1.0.5","description":"Adaptation of react-addons-shallow-compare, for independent usage","homepage":"https://enzymejs.github.io/enzyme/","main":"build","scripts":{"clean":"rimraf build","lint":"eslint --ext js,jsx .","pretest":"npm run lint","prebuild":"npm run clean","build":"babel --source-maps=both src --out-dir build","watch":"npm run build -- -w","prepublishOnly":"npm run build && safe-publish-latest && cp ../../LICENSE.md ./","prepublish":"not-in-publish || npm run prepublishOnly"},"repository":{"type":"git","url":"git+https://github.com/enzymejs/enzyme.git","directory":"packages/enzyme-shallow-equal"},"keywords":["javascript","shallow rendering","shallowRender","test","reactjs","react","flux","testing","test utils","assertion helpers","tdd","mocha"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","dependencies":{"has":"^1.0.3","object-is":"^1.1.5"},"devDependencies":{"@babel/cli":"^7.19.3","@babel/core":"^7.19.6","@babel/eslint-parser":"^7.19.1","babel-plugin-add-module-exports":"^1.0.4","babel-plugin-transform-replace-object-assign":"^2.0.0","babel-preset-airbnb":"^4.5.0","eslint":"^8.26.0","eslint-config-airbnb-base":"^15.0.0","eslint-plugin-import":"^2.26.0","in-publish":"^2.0.1","rimraf":"^2.7.1","safe-publish-latest":"^2.0.0"},"gitHead":"ced70b855b3586a7562337fab663725f637598c5","bugs":{"url":"https://github.com/enzymejs/enzyme/issues"},"_id":"enzyme-shallow-equal@1.0.5","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"shasum":"5528a897a6ad2bdc417c7221a7db682cd01711ba","size":4133,"noattachment":false,"key":"/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/enzyme-shallow-equal/download/enzyme-shallow-equal-1.0.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"airbnbeng","email":"opensource@airbnb.com"},{"name":"lencioni","email":"joe.lencioni@gmail.com"},{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/enzyme-shallow-equal_1.0.5_1667584722484_0.17850803736627108"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-04T17:58:46.185Z","publish_time":1667584722691,"_cnpm_publish_time":1667584722691},"1.0.4":{"name":"enzyme-shallow-equal","version":"1.0.4","description":"Adaptation of react-addons-shallow-compare, for independent usage","homepage":"https://enzymejs.github.io/enzyme/","main":"build","scripts":{"clean":"rimraf build","lint":"eslint --ext js,jsx .","pretest":"npm run lint","prebuild":"npm run clean","build":"babel --source-maps=both src --out-dir build","watch":"npm run build -- -w","prepublish":"not-in-publish || (npm run build && safe-publish-latest && cp ../../LICENSE.md ./)"},"repository":{"type":"git","url":"git+https://github.com/enzymejs/enzyme.git","directory":"packages/enzyme-shallow-equal"},"keywords":["javascript","shallow rendering","shallowRender","test","reactjs","react","flux","testing","test utils","assertion helpers","tdd","mocha"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","dependencies":{"has":"^1.0.3","object-is":"^1.1.2"},"peerDependencies":{},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","babel-eslint":"^10.1.0","babel-plugin-transform-replace-object-assign":"^2.0.0","babel-preset-airbnb":"^4.5.0","eslint":"^7.6.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.0","in-publish":"^2.0.1","rimraf":"^2.7.1","safe-publish-latest":"^1.1.4"},"bugs":{"url":"https://github.com/enzymejs/enzyme/issues"},"_id":"enzyme-shallow-equal@1.0.4","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"shasum":"b9256cb25a5f430f9bfe073a84808c1d74fced2e","size":4237,"noattachment":false,"key":"/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/enzyme-shallow-equal/download/enzyme-shallow-equal-1.0.4.tgz"},"maintainers":[{"name":"airbnbeng","email":"opensource@airbnb.com"},{"name":"lencioni","email":"joe.lencioni@gmail.com"},{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/enzyme-shallow-equal_1.0.4_1596761135274_0.6317047952863031"},"_hasShrinkwrap":false,"publish_time":1596761135448,"_cnpm_publish_time":1596761135448},"1.0.3":{"name":"enzyme-shallow-equal","version":"1.0.3","description":"Adaptation of react-addons-shallow-compare, for independent usage","homepage":"https://enzymejs.github.io/enzyme/","main":"build","scripts":{"clean":"rimraf build","lint":"eslint --ext js,jsx .","pretest":"npm run lint","prebuild":"npm run clean","build":"babel --source-maps=both src --out-dir build","watch":"npm run build -- -w","prepublish":"not-in-publish || (npm run build && safe-publish-latest && cp ../../LICENSE.md ./)"},"repository":{"type":"git","url":"git+https://github.com/enzymejs/enzyme.git","directory":"packages/enzyme-shallow-equal"},"keywords":["javascript","shallow rendering","shallowRender","test","reactjs","react","flux","testing","test utils","assertion helpers","tdd","mocha"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","dependencies":{"has":"^1.0.3","object-is":"^1.0.2"},"peerDependencies":{},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","babel-eslint":"^10.1.0","babel-plugin-transform-replace-object-assign":"^2.0.0","babel-preset-airbnb":"^4.5.0","eslint":"^7.6.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.0","in-publish":"^2.0.1","rimraf":"^2.7.1","safe-publish-latest":"^1.1.4"},"bugs":{"url":"https://github.com/enzymejs/enzyme/issues"},"_id":"enzyme-shallow-equal@1.0.3","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"shasum":"97412394be4fb3e99cc0ef360beded367bb7a08b","size":4125,"noattachment":false,"key":"/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/enzyme-shallow-equal/download/enzyme-shallow-equal-1.0.3.tgz"},"maintainers":[{"name":"airbnbeng","email":"opensource@airbnb.com"},{"name":"lencioni","email":"joe.lencioni@gmail.com"},{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/enzyme-shallow-equal_1.0.3_1596748855820_0.39249117090912633"},"_hasShrinkwrap":false,"publish_time":1596748855997,"_cnpm_publish_time":1596748855997,"deprecated":"babel build process mistakenly included an unlisted @babel/runtime dep"},"1.0.2":{"name":"enzyme-shallow-equal","version":"1.0.2","description":"Adaptation of react-addons-shallow-compare, for independent usage","homepage":"https://enzymejs.github.io/enzyme/","main":"build","scripts":{"clean":"rimraf build","lint":"eslint --ext js,jsx .","pretest":"npm run lint","prebuild":"npm run clean","build":"babel --source-maps=both src --out-dir build","watch":"npm run build -- -w","prepublish":"not-in-publish || (npm run build && safe-publish-latest && cp ../../{LICENSE,README}.md ./)"},"repository":{"type":"git","url":"git+https://github.com/enzymejs/enzyme.git","directory":"packages/enzyme-shallow-equal"},"keywords":["javascript","shallow rendering","shallowRender","test","reactjs","react","flux","testing","test utils","assertion helpers","tdd","mocha"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","dependencies":{"has":"^1.0.3","object-is":"^1.0.2"},"peerDependencies":{},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","babel-eslint":"^10.1.0","babel-plugin-transform-replace-object-assign":"^2.0.0","babel-preset-airbnb":"^4.5.0","eslint":"^7.6.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.0","in-publish":"^2.0.1","rimraf":"^2.7.1","safe-publish-latest":"^1.1.4"},"bugs":{"url":"https://github.com/enzymejs/enzyme/issues"},"_id":"enzyme-shallow-equal@1.0.2","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"shasum":"01ef9e05bb8cd333d84d58b964d3545cb3c6c1eb","size":7292,"noattachment":false,"key":"/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/enzyme-shallow-equal/download/enzyme-shallow-equal-1.0.2.tgz"},"maintainers":[{"name":"airbnbeng","email":"opensource@airbnb.com"},{"name":"lencioni","email":"joe.lencioni@gmail.com"},{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/enzyme-shallow-equal_1.0.2_1596744831998_0.312845499809284"},"_hasShrinkwrap":false,"publish_time":1596744832324,"_cnpm_publish_time":1596744832324,"deprecated":"babel build process mistakenly included an unlisted @babel/runtime dep; also readme is wrong"},"1.0.1":{"name":"enzyme-shallow-equal","version":"1.0.1","description":"Adaptation of react-addons-shallow-compare, for independent usage","homepage":"https://airbnb.io/enzyme/","main":"build","scripts":{"clean":"rimraf build","lint":"eslint --ext js,jsx .","pretest":"npm run lint","prebuild":"npm run clean","build":"babel --source-maps=both src --out-dir build","watch":"npm run build -- -w","prepublish":"npm run build && safe-publish-latest && (not-in-publish || cp ../../LICENSE.md ./)"},"repository":{"type":"git","url":"git+https://github.com/airbnb/enzyme.git","directory":"packages/enzyme-shallow-equal"},"keywords":["javascript","shallow rendering","shallowRender","test","reactjs","react","flux","testing","test utils","assertion helpers","tdd","mocha"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","dependencies":{"has":"^1.0.3","object-is":"^1.0.2"},"peerDependencies":{},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-transform-replace-object-assign":"^1.0.0","babel-preset-airbnb":"^2.6.0","eslint":"^6.7.2","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.19.1","in-publish":"^2.0.0","rimraf":"^2.7.1","safe-publish-latest":"^1.1.4"},"bugs":{"url":"https://github.com/airbnb/enzyme/issues"},"_id":"enzyme-shallow-equal@1.0.1","_nodeVersion":"13.5.0","_npmVersion":"6.13.4","dist":{"shasum":"7afe03db3801c9b76de8440694096412a8d9d49e","size":4222,"noattachment":false,"key":"/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/enzyme-shallow-equal/download/enzyme-shallow-equal-1.0.1.tgz"},"maintainers":[{"name":"airbnbeng","email":"opensource@airbnb.com"},{"name":"lencioni","email":"joe.lencioni@gmail.com"},{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/enzyme-shallow-equal_1.0.1_1576778256646_0.2935750946892115"},"_hasShrinkwrap":false,"publish_time":1576778256770,"_cnpm_publish_time":1576778256770},"1.0.0":{"name":"enzyme-shallow-equal","version":"1.0.0","description":"Adaptation of react-addons-shallow-compare, for independent usage","homepage":"http://airbnb.io/enzyme/","main":"build","scripts":{"clean":"rimraf build","lint":"eslint --ext js,jsx .","pretest":"npm run lint","prebuild":"npm run clean","build":"babel --source-maps=both src --out-dir build","watch":"npm run build -- -w","prepublish":"npm run build && safe-publish-latest && (not-in-publish || cp ../../LICENSE.md ./)"},"repository":{"type":"git","url":"git+https://github.com/airbnb/enzyme.git","directory":"packages/enzyme-shallow-equal"},"keywords":["javascript","shallow rendering","shallowRender","test","reactjs","react","flux","testing","test utils","assertion helpers","tdd","mocha"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","dependencies":{"has":"^1.0.3","object-is":"^1.0.1"},"peerDependencies":{},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-transform-replace-object-assign":"^1.0.0","babel-preset-airbnb":"^2.6.0","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.17.3","in-publish":"^2.0.0","rimraf":"^2.6.3","safe-publish-latest":"^1.1.2"},"bugs":{"url":"https://github.com/airbnb/enzyme/issues"},"_id":"enzyme-shallow-equal@1.0.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"shasum":"d8e4603495e6ea279038eef05a4bf4887b55dc69","size":4213,"noattachment":false,"key":"/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/enzyme-shallow-equal/download/enzyme-shallow-equal-1.0.0.tgz"},"maintainers":[{"name":"airbnbeng","email":"opensource@airbnb.com"},{"name":"lencioni","email":"joe.lencioni@gmail.com"},{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/enzyme-shallow-equal_1.0.0_1560668413337_0.6936573336692486"},"_hasShrinkwrap":false,"publish_time":1560668413527,"_cnpm_publish_time":1560668413527}},"readme":"# enzyme-shallow-equal\n\nThis is the implementation of shallowEqual that enzyme uses.\n\nIt's adapted from https://github.com/facebook/react/blob/144328fe81719e916b946e22660479e31561bb0b/packages/shared/shallowEqual.js#L36-L68\n","_attachments":{},"homepage":"https://enzymejs.github.io/enzyme/","bugs":{"url":"https://github.com/enzymejs/enzyme/issues"},"license":"MIT"}