{"_id":"is-equal@1.8.0","bugs":{"url":"https://github.com/inspect-js/is-equal/issues"},"dist":{"shasum":"00150f6b965c7c1c08c13f0b7bdf209e7ff7ec66","tarball":"http://registry-npm.ywwl.com/is-equal/download/is-equal-1.8.0.tgz","integrity":"sha512-9WT/wFeQXhut0OPHF5gPI75egdVnWBZbkVV+XQEFx3YNWvUej6Nz/KdH1cQxCiuu1WxwsduXPdun+n3duHPX9g==","fileCount":23,"unpackedSize":148288,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAFfjVXjQiBSwd+PGnk/WmllnYPhQ3J7huxF+y7fUHKAAiEAnH/b7RoZoUqf0u2yk74UG/nqc1on0EZ4HQJOkeSWiic="}],"size":36309,"noattachment":false,"key":"/is-equal/-/is-equal-1.8.0.tgz"},"main":"index.js","name":"is-equal","types":"./index.d.ts","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"engines":{"node":">= 0.4"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"e4c31eac9a522f7766a0d39e60a3b75dc37dba3c","license":"MIT","scripts":{"lint":"eslint .","test":"npm run tests-only && npm run test:corejs","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run --silent lint","version":"auto-changelog && git add CHANGELOG.md","postlint":"tsc -p . && attw -P","posttest":"npx npm@\">= 10.2\" audit --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","test:corejs":"nyc tape --require=core-js 'test/**/*.js'","prepublishOnly":"safe-publish-latest"},"version":"1.8.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com","approver":{"name":"ljharb","email":"ljharb@gmail.com"}},"homepage":"https://github.com/inspect-js/is-equal","keywords":["equal","is","compare","comparison","equality"],"testling":{"files":"test/native.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"]},"overrides":{"@arethetypeswrong/core":{"typescript":"$typescript"}},"repository":{"url":"git://github.com/inspect-js/is-equal.git","type":"git"},"_npmVersion":"11.16.0","description":"Are these two values conceptually equal?","directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_nodeVersion":"26.3.0","dependencies":{"hasown":"^2.0.4","isarray":"^2.0.5","is-regex":"^1.2.1","is-bigint":"^1.1.0","is-string":"^1.1.1","is-symbol":"^1.1.1","has-bigints":"^1.1.0","has-symbols":"^1.1.0","is-callable":"^1.2.7","side-channel":"^1.1.1","is-date-object":"^1.1.0","object-inspect":"^1.13.4","object.entries":"^1.1.9","es-get-iterator":"^1.1.3","es-to-primitive":"^1.3.1","is-number-object":"^1.1.1","which-collection":"^1.0.2","is-arrow-function":"^2.0.3","is-boolean-object":"^1.2.2","functions-have-names":"^1.2.3","is-generator-function":"^1.1.2","object.getprototypeof":"^1.0.7","which-boxed-primitive":"^1.1.1"},"publishConfig":{"ignore":[".github/workflows","types/"]},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false,"autodetectMonorepoDisabled":false},"devDependencies":{"nyc":"^10.3.2","jiti":"^0.0.0","tape":"^5.10.2","eslint":"^10.5.0","core-js":"^2.6.5 || ^3.16.0","es6-shim":"^0.35.8","for-each":"^0.3.5","npmignore":"^0.3.5","in-publish":"^2.0.1","typescript":"next","@types/node":"^12.20.55","object.assign":"^4.1.7","@types/isarray":"^2.0.3","auto-changelog":"^2.6.0","@types/es6-shim":"^0.31.46","@ljharb/tsconfig":"^0.3.2","es-value-fixtures":"^1.7.1","@types/is-callable":"^1.1.2","make-arrow-function":"~1.1.0","safe-publish-latest":"^2.0.0","@types/object.assign":"^4.1.0","@arethetypeswrong/cli":"^0.18.3","@ljharb/eslint-config":"^22.2.3","@types/object-inspect":"^1.13.0","@types/object.entries":"^1.1.1","@types/es-get-iterator":"^1.1.5","@types/make-arrow-function":"^1.2.2","@types/functions-have-names":"^1.2.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-equal_1.8.0_1782108490941_0.2019597423555839"},"_hasShrinkwrap":false,"readme":"# is-equal <sup>[![Version Badge][2]][1]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\nAre these two values conceptually equal?\n\n## Example\n\n```js\nvar isEqual = require('is-equal');\nvar assert = require('assert');\n\nvar primitives = [true, false, undefined, 42, 'foo'];\nprimitives.forEach(function (primitive) {\n\tassert.equal(isEqual(primitive, primitive), true);\n});\nassert.equal(isEqual(/a/g, /a/g), true);\nassert.equal(isEqual(/a/g, new RegExp('a', 'g')), true);\nassert.equal(isEqual({ a: 2 }, { a: 2 }), true);\nassert.equal(isEqual([1, [2, 3], 4], [1, [2, 3], 4]), true);\nvar timestamp = Date.now();\nassert.equal(isEqual(new Date(timestamp), new Date(timestamp)), true);\n```\n\n## Want to know *why* two values are not equal?\nWill return an empty string if `isEqual` would return `true` - otherwise will return a non-empty string that hopefully explains the reasoning.\n\n```\nvar whyNotEqual = require('is-equal/why');\n\nassert.equal(whyNotEqual(1, 1), '');\nassert.equal(\n  whyNotEqual({ a: 1 }, { a: 2 }),\n  'value at key \"a\" differs: numbers are different: 1 !== 2'\n);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-equal\n[2]: https://versionbadg.es/inspect-js/is-equal.svg\n[5]: https://david-dm.org/inspect-js/is-equal.svg\n[6]: https://david-dm.org/inspect-js/is-equal\n[7]: https://david-dm.org/inspect-js/is-equal/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-equal#info=devDependencies\n[11]: https://nodei.co/npm/is-equal.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/is-equal.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-equal.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-equal\n[codecov-image]: https://codecov.io/gh/inspect-js/is-equal/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-equal/\n[actions-image]: https://img.shields.io/github/check-runs/inspect-js/is-equal/main\n[actions-url]: https://github.com/inspect-js/is-equal/actions\n","publish_time":1782108491030,"_cnpm_publish_time":1782108491030,"dist-tags":{"latest":"1.8.0"}}