{"name":"object-is","version":"1.1.4","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":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","lint":"eslint .","postlint":"es-shim-api --bound","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":{"call-bind":"^1.0.0","define-properties":"^1.1.3"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.3.0","aud":"^1.1.3","auto-changelog":"^2.2.1","eslint":"^7.14.0","functions-have-names":"^1.2.1","has-symbols":"^1.0.1","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.0.1"},"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,"hideCredit":true},"gitHead":"4f0e99b3a9ddadf159ec31d6f99ac07a9cf6075e","_id":"object-is@1.1.4","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-1ZvAZ4wlF7IyPVOcE1Omikt7UpaFlOQq0HlSti+ZvDH3UiD2brwGMwDbyV43jao2bKJ+4+WdPJHSd7kgzKYVqg==","shasum":"63d6c83c00a43f4cbc9434eb9757c8a5b8565068","tarball":"http://registry-npm.ywwl.com/object-is/download/object-is-1.1.4.tgz","fileCount":22,"unpackedSize":27454,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwKtFCRA9TVsSAnZWagAALZkP/13JZeRddeD/pYq541XR\nxPSOx5IMIwAcP+I1gYmWhF9T5P6s4jZ9BmKejfyco9Qsjo0hULoOhhzHkYS2\nzamSGRKjyy8xJ3gZy7sSF6yDFpsqkqI7Xta5SzuFfOA70EbXXbp4oHe9ZhgX\nVjKeZeLIty4HgYV+lwcST1l2e7lkQt2gpQvjYqb/z8M91FyWUh96UpZoMUj1\nDvGVDKHU+zbaTbpvDKIkcK+Nb33jBSa+0MrYrg4iqJXtNT6gSsDg9Wurpy22\nBs5aXbrqSTDsG7NRMgAdNxJqL2uwjp68SDKXtXOyK4/h//JhQdHEi90vzrTT\nJKpQ/LhmXYcX05lVFae5XVUYANvZKAFw8sPfjUmulVn5JypYDsH+gBJcxSmS\n2cYDjiv7y7Ou7Uk41aS+oFflkYAx0r8mrBvSSibgm9RupV7gL/ikCea2/PFm\njJZngWnaOXFDfxcH3K6DgshGL/WukS6z4V4B4bxV225k0UL6OWOyiZ+xeSuH\ndO5mIZPf/Zy5yIhRmhZye3OIV8tXZxIXpqppJHGlFC+DKuUmh9W2TQIFyWA8\nD0PiSvAO7iATI55Qmej3lsnFGD+7JHWkLG0g7GIzht7NGH+Tjgio0Ksogw9d\nDXfm+oDYsL5Y8zrTGQbk3boV91MYZqVpL0Cl7b0/v7W4yd30VOCuF5mcWS0k\ncb+n\r\n=AY7L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHhTSx19uo81/hbYffTs7M3cVCnihaGtBmnfpmvIPf02AiBSw+la0xyhbAVlay+nOMjDlYv2Ej4hIzZ4ZpqW0yQJ7w=="}],"size":9173,"noattachment":false,"key":"/object-is/-/object-is-1.1.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"substack","email":"substack@gmail.com"},{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object-is_1.1.4_1606462277287_0.7345627632347489"},"_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":1606462277453,"_cnpm_publish_time":1606462277453,"dist-tags":{"latest":"1.1.6"}}