{"_id":"not-so-shallow","_rev":"299611","name":"not-so-shallow","description":"A less shallow `only-shallow`","dist-tags":{"latest":"0.1.4"},"maintainers":[{"name":"npm","email":""}],"time":{"modified":"2021-06-03T19:03:31.000Z","created":"2016-04-23T18:16:59.859Z","0.1.4":"2016-08-12T12:20:36.784Z","0.1.3":"2016-04-25T15:28:03.608Z","0.1.2":"2016-04-23T22:48:15.320Z","0.1.1":"2016-04-23T19:18:54.508Z","0.1.0":"2016-04-23T18:16:59.859Z"},"users":{},"author":{"name":"Juan Soto","email":"juan@juansoto.me","url":"juansoto.me"},"repository":{"type":"git","url":"git+https://github.com/sotojuan/not-so-shallow.git"},"versions":{"0.1.4":{"name":"not-so-shallow","version":"0.1.4","description":"A less shallow `only-shallow`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sotojuan/not-so-shallow.git"},"author":{"name":"Juan Soto","email":"juan@juansoto.me","url":"juansoto.me"},"scripts":{"test":"standard --verbose | snazzy && ava --verbose"},"files":["index.js"],"keywords":["deeper","deepest","deepEqual","shallow","equal","equality","strict"],"dependencies":{"buffer-equals":"^1.0.3"},"devDependencies":{"ava":"^0.16.0","cz-conventional-changelog":"^1.1.6","snazzy":"^4.0.0","standard":"^7.1.2"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"4960507849bc5af2b170b3a03508cad44085f731","bugs":{"url":"https://github.com/sotojuan/not-so-shallow/issues"},"homepage":"https://github.com/sotojuan/not-so-shallow#readme","_id":"not-so-shallow@0.1.4","_shasum":"e8c7f7b9c9b9f069594344368330cbcea387c3c7","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.3.1","_npmUser":{"name":"sotojuan","email":"imjuansoto@gmail.com"},"dist":{"shasum":"e8c7f7b9c9b9f069594344368330cbcea387c3c7","size":2927,"noattachment":false,"key":"/not-so-shallow/-/not-so-shallow-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/not-so-shallow/download/not-so-shallow-0.1.4.tgz"},"maintainers":[{"name":"npm","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/not-so-shallow-0.1.4.tgz_1471004434953_0.47292851051315665"},"directories":{},"publish_time":1471004436784,"_cnpm_publish_time":1471004436784,"_hasShrinkwrap":false,"deprecated":"This package is no longer in development"},"0.1.3":{"name":"not-so-shallow","version":"0.1.3","description":"A less shallow `only-shallow`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sotojuan/not-so-shallow.git"},"author":{"name":"Juan Soto","email":"juan@juansoto.me","url":"juansoto.me"},"scripts":{"test":"standard --verbose | snazzy && ava --verbose"},"files":["index.js"],"keywords":["deeper","deepest","deepEqual","shallow","equal","equality","strict"],"dependencies":{"buffer-equals":"^1.0.3"},"devDependencies":{"ava":"^0.14.0","cz-conventional-changelog":"^1.1.6","snazzy":"^3.0.1","standard":"^5.4.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"e9261a029896dce5641ace1287ff1dfed5ecca4e","bugs":{"url":"https://github.com/sotojuan/not-so-shallow/issues"},"homepage":"https://github.com/sotojuan/not-so-shallow#readme","_id":"not-so-shallow@0.1.3","_shasum":"82ae3b46c931b18b6f4e8c1b4f9ac91aae5f5312","_from":".","_npmVersion":"3.8.8","_nodeVersion":"5.11.0","_npmUser":{"name":"sotojuan","email":"imjuansoto@gmail.com"},"dist":{"shasum":"82ae3b46c931b18b6f4e8c1b4f9ac91aae5f5312","size":2928,"noattachment":false,"key":"/not-so-shallow/-/not-so-shallow-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/not-so-shallow/download/not-so-shallow-0.1.3.tgz"},"maintainers":[{"name":"npm","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/not-so-shallow-0.1.3.tgz_1461598081563_0.9177922937087715"},"directories":{},"publish_time":1461598083608,"_cnpm_publish_time":1461598083608,"_hasShrinkwrap":false,"deprecated":"This package is no longer in development"},"0.1.2":{"name":"not-so-shallow","version":"0.1.2","description":"A less shallow `only-shallow`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sotojuan/not-so-shallow.git"},"author":{"name":"Juan Soto","email":"juan@juansoto.me","url":"juansoto.me"},"scripts":{"test":"standard --verbose | snazzy && ava --verbose"},"files":["index.js"],"keywords":["deeper","deepest","deepEqual","shallow","equal","equality","strict"],"dependencies":{"buffer-equals":"^1.0.3"},"devDependencies":{"ava":"^0.14.0","cz-conventional-changelog":"^1.1.6","snazzy":"^3.0.1","standard":"^5.4.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"509561e6d201165e1887ac9060fe54263f8849fa","bugs":{"url":"https://github.com/sotojuan/not-so-shallow/issues"},"homepage":"https://github.com/sotojuan/not-so-shallow#readme","_id":"not-so-shallow@0.1.2","_shasum":"882cd9ef013341eef0ef6d509da11e6f0baa82c3","_from":".","_npmVersion":"3.8.8","_nodeVersion":"5.11.0","_npmUser":{"name":"sotojuan","email":"imjuansoto@gmail.com"},"dist":{"shasum":"882cd9ef013341eef0ef6d509da11e6f0baa82c3","size":2929,"noattachment":false,"key":"/not-so-shallow/-/not-so-shallow-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/not-so-shallow/download/not-so-shallow-0.1.2.tgz"},"maintainers":[{"name":"npm","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/not-so-shallow-0.1.2.tgz_1461451693421_0.623355548363179"},"directories":{},"publish_time":1461451695320,"_cnpm_publish_time":1461451695320,"_hasShrinkwrap":false,"deprecated":"This package is no longer in development"},"0.1.1":{"name":"not-so-shallow","version":"0.1.1","description":"A less shallow `only-shallow`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sotojuan/not-so-shallow.git"},"author":{"name":"Juan Soto","email":"juan@juansoto.me","url":"juansoto.me"},"scripts":{"test":"standard --verbose | snazzy && ava --verbose"},"files":["index.js"],"keywords":["deeper","deepest","deepEqual","shallow","equal","equality","strict"],"dependencies":{},"devDependencies":{"ava":"^0.14.0","cz-conventional-changelog":"^1.1.6","snazzy":"^3.0.1","standard":"^5.4.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"cb54a0b1625491b530b387531390b825c23dba30","bugs":{"url":"https://github.com/sotojuan/not-so-shallow/issues"},"homepage":"https://github.com/sotojuan/not-so-shallow#readme","_id":"not-so-shallow@0.1.1","_shasum":"4aea0b8db3280da83c5f7a900bebccc1e2f733f4","_from":".","_npmVersion":"3.8.8","_nodeVersion":"5.11.0","_npmUser":{"name":"sotojuan","email":"imjuansoto@gmail.com"},"dist":{"shasum":"4aea0b8db3280da83c5f7a900bebccc1e2f733f4","size":2901,"noattachment":false,"key":"/not-so-shallow/-/not-so-shallow-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/not-so-shallow/download/not-so-shallow-0.1.1.tgz"},"maintainers":[{"name":"npm","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/not-so-shallow-0.1.1.tgz_1461439132657_0.9307858084794134"},"directories":{},"publish_time":1461439134508,"_cnpm_publish_time":1461439134508,"_hasShrinkwrap":false,"deprecated":"This package is no longer in development"},"0.1.0":{"name":"not-so-shallow","version":"0.1.0","description":"A less shallow `only-shallow`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sotojuan/not-so-shallow.git"},"author":{"name":"Juan Soto","email":"juan@juansoto.me","url":"juansoto.me"},"scripts":{"test":"standard --verbose | snazzy && ava --verbose"},"files":["index.js"],"keywords":["deeper","deepest","deepEqual","shallow","equal","equality","strict"],"dependencies":{},"devDependencies":{"ava":"^0.14.0","buffertools":"^2.1.3","cz-conventional-changelog":"^1.1.6","snazzy":"^3.0.1","standard":"^5.4.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"5356aae0566f526f625e192cec016f0699688f2c","bugs":{"url":"https://github.com/sotojuan/not-so-shallow/issues"},"homepage":"https://github.com/sotojuan/not-so-shallow#readme","_id":"not-so-shallow@0.1.0","_shasum":"72b5d5793c6e645341d99f4d8a776f8bd29a7a36","_from":".","_npmVersion":"3.8.8","_nodeVersion":"5.11.0","_npmUser":{"name":"sotojuan","email":"imjuansoto@gmail.com"},"dist":{"shasum":"72b5d5793c6e645341d99f4d8a776f8bd29a7a36","size":3054,"noattachment":false,"key":"/not-so-shallow/-/not-so-shallow-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/not-so-shallow/download/not-so-shallow-0.1.0.tgz"},"maintainers":[{"name":"npm","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/not-so-shallow-0.1.0.tgz_1461435417308_0.30011676740832627"},"directories":{},"publish_time":1461435419859,"_cnpm_publish_time":1461435419859,"_hasShrinkwrap":false,"deprecated":"This package is no longer in development"}},"readme":"# not-so-shallow\n\n> A less shallow [`only-shallow`](https://github.com/othiym23/only-shallow)\n\n[![Build Status](https://travis-ci.org/sotojuan/not-so-shallow.svg?branch=master)](https://travis-ci.org/sotojuan/not-so-shallow)\n\nThis is just [`only-shallow`](https://github.com/othiym23/only-shallow) but with strict equality for value types.\n\n## Install\n\n```\n$ npm install --save not-so-shallow\n```\n\n## Usage\n\n```js\nlet notSoShallow = require('not-so-shallow')\n\nnotSoShallow({a: 0}, {a: false}) // false\nnotSoShallow({a: 0}, {a: '0'}) // false\nnotSoShallow({a: 1}, {a: 1}) // true\nnotSoShallow({a: 1, b: 2}, {b: 2, a: 1}) // true\n```\n\n## API\n\n### notSoShallow(a, b)\n\nReturns `true` if `a` and `b` are the same according to the algorithm, which is\nexplained in the comments of [`index.js`](https://github.com/sotojuan/not-so-shallow/blob/master/index.js).\n\n## License\n\nMIT © [Juan Soto](http://juansoto.me)\n","_attachments":{},"homepage":"https://github.com/sotojuan/not-so-shallow#readme","bugs":{"url":"https://github.com/sotojuan/not-so-shallow/issues"},"license":"MIT"}