{"name":"object-is","version":"1.1.0","description":"ES2015-compliant shim for Object.is - differentiates between -0 and +0","author":{"name":"Jordan Harband"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run lint","tests-only":"node test","test":"npm run tests-only","posttest":"npx aud --production","coverage":"covert test","prelint":"es-shim-api","lint":"eslint .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/es-shims/object-is.git"},"bugs":{"url":"https://github.com/es-shims/object-is/issues"},"homepage":"https://github.com/es-shims/object-is","keywords":["is","Object.is","equality","sameValueZero","ES6","ES2015","shim","polyfill","es-shim API"],"dependencies":{},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^16.0.0","aud":"^1.1.0","auto-changelog":"^2.0.0","covert":"^1.1.1","eslint":"^6.8.0","has-symbols":"^1.0.1","safe-publish-latest":"^1.1.4","tape":"^5.0.0-next.5"},"testling":{"files":"test.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..12.0","opera/15.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"2c559ab591dc6b43df491f8b9eac5db5d401681f","_id":"object-is@1.1.0","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-wznR5+ya11MdnkLq+oYePGjW2ge4RY5DVSwa3iKuDCpvLsYGnp24Qy5EzVRgyMHEuEkKd+dX/1JpAT6QxZXq2g==","shasum":"57e5e236f2831066c82948cbd735c24a9e54084d","tarball":"http://registry-npm.ywwl.com/object-is/download/object-is-1.1.0.tgz","fileCount":13,"unpackedSize":18380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeld/nCRA9TVsSAnZWagAAH1QP/R4suubDK/XkvmV4tKLp\ngmPRaaVtuSHa736FsJa8u0tp8SLhOiD0jPNF6AbOi/PIFQOGOZeS3epN9Y/K\nqNrq6UeQL4gM28xuF4OSACzAUTw+LeiUGMItu19x7Qwlm351yuzb1pg9dRDD\nnmJLxs3J8H25xN0SM7asC+o7zUtHpDVxITrgPrTubmPwR/D3ZVBvdtE7nUc8\n0Ai/++V7M/nj65iT2PV13By+E78cyL0H+PJEcJQAddlgI8z1STySWcCFY1eg\nHrjudeh8xmPnb9gX7HFgPS5jtaF+bhnI4ehTH1hdWBsSsQ4d3QJjkz1ql4vN\niQPOm92+z2xF/ajgq8PBEUZ3JDaK2PoXouGAPgtKW/uxxapqMIxm4j32TpAd\nz4ZTsZamK4uI0uA5rSFz2TN0YLycIA+gZ2SWEeSoHJyAYOF4+ER+k3SOywxo\n1stnhn1bTgPY1qUNweff0AxVb6tnS/vDzuaHbB8SKJBcgbi4DcGzBM1si2gy\nR/dzHX8HRH43BJIQxaLD0BLXgd1GX3dBtIRaqq1+omrOPIZPt/V20Bw9rlTt\nnW+qtOFbedNwZ5PxkTdmt5iARNzH9uWrzxCVkTx57jD1gMrXid74ra7Unvat\nqvXRdBE3GBg7lydyJnrk78n93JkqLBDGKT2HJqY77BOUD0vMbIRLj1xGvmjE\n19tO\r\n=ptum\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEw2iNNGceTXPN40N2dSUGTxf7a/DtsEU1KtzDNUSeHfAiA7r7pZpWQWMidH33ThWxcZYkkr/Z0xbHBLlzIt6vhItw=="}],"size":7224,"noattachment":false,"key":"/object-is/-/object-is-1.1.0.tgz"},"maintainers":[{"email":"ljharb@gmail.com","name":"ljharb"},{"email":"substack@gmail.com","name":"substack"}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object-is_1.1.0_1586880486475_0.3625097471806267"},"_hasShrinkwrap":false,"readme":"# object-is <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nES2015-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.\n\nEssentially, Object.is returns the same value as === - but true for NaN, and false for -0 and +0.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://tc39.es/ecma262).\n\n## Example\n\n```js\nObject.is = require('object-is');\nvar assert = require('assert');\n\nassert.ok(Object.is());\nassert.ok(Object.is(undefined));\nassert.ok(Object.is(undefined, undefined));\nassert.ok(Object.is(null, null));\nassert.ok(Object.is(true, true));\nassert.ok(Object.is(false, false));\nassert.ok(Object.is('foo', 'foo'));\n\nvar arr = [1, 2];\nassert.ok(Object.is(arr, arr));\nassert.equal(Object.is(arr, [1, 2]), false);\n\nassert.ok(Object.is(0, 0));\nassert.ok(Object.is(-0, -0));\nassert.equal(Object.is(0, -0), false);\n\nassert.ok(Object.is(NaN, NaN));\nassert.ok(Object.is(Infinity, Infinity));\nassert.ok(Object.is(-Infinity, -Infinity));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/object-is\n[npm-version-svg]: https://versionbadg.es/es-shims/object-is.svg\n[deps-svg]: https://david-dm.org/es-shims/object-is.svg\n[deps-url]: https://david-dm.org/es-shims/object-is\n[dev-deps-svg]: https://david-dm.org/es-shims/object-is/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/object-is#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/object-is.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/object-is.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/object-is.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=object-is\n[codecov-image]: https://codecov.io/gh/es-shims/object-is/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/object-is/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/object-is\n[actions-url]: https://github.com/es-shims/object-is/actions\n","publish_time":1586880486579,"_cnpm_publish_time":1586880486579,"dist-tags":{"latest":"1.1.6"}}