{"_id":"is-weakref","_rev":"3-a4466eede0cb7f6231ab790e759c4a0c","name":"is-weakref","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"is-weakref","version":"1.0.0","description":"Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","main":"index.js","exports":{".":[{"default":"./index.js"},"./index.js"]},"scripts":{"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)\")\"","lint":"eslint .","pretest":"npm run lint","tests-only":"tape test","test":"npm run tests-only","posttest":"aud --production"},"repository":{"type":"git","url":"git+https://github.com/inspect-js/is-weakref.git"},"keywords":["weakref","weak","ref","finalization","finalization registry"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-weakref/issues"},"homepage":"https://github.com/inspect-js/is-weakref#readme","devDependencies":{"@ljharb/eslint-config":"^17.1.0","aud":"^1.1.2","auto-changelog":"^2.2.0","eslint":"^7.6.0","for-each":"^0.3.3","object-inspect":"^1.8.0","tape":"^5.0.1"},"dependencies":{"es-abstract":"^1.17.6"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"b0d91783d6c1ceda8bea2a79096fef6dd4310c62","_id":"is-weakref@1.0.0","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-6e8/4Ttk6Cim5Vt+Pii/G9Ob5Dd7I/UiYu+AXS8nYI1emiNsBZt4+pKegTBjdyT+eCGf2HUC98T/HAAUgwUAnA==","shasum":"9503d514ce5f30e1ebea79dec0a8ac4c197758b4","tarball":"https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.0.tgz","fileCount":10,"unpackedSize":8373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJlnACRA9TVsSAnZWagAAHLMP/1CgX1HJLYwcCPr8hxi9\neHr3ELrK796klmUa1akmQQ0La3Etyy89IdFoitc4fhvx/l5oRzO0Ka+IMprR\nhX/hkW4CYed7PLjrT8Xkeni0HrTiq1ghWy7PECNPcCnalOOpglWkB5MdJLCs\nGDF42FL7lN7C+Xm0bz2rP/hlAZvLzjysrXTKMBvrwTSZ4P2FCLnNr/Rgzgar\nGAqIk6/hkWFlX5YYip2YXUm6DGqwWEy2nNeFJRf6qkZck0d8nUC6vbvrHG5j\n8I10ScFx3nWiFhg/Bf7Zs/mS+afbv8ES/7qKJwZYfm/uzFsDRpl6vOEVrn+l\n+Ms0735ik07iWDMXSe77ALm7xaqzecVa2yCgWHlsqac74mnYP6MGIV1rZv/D\n7gknEj33wwQdhDzKUVyHAnxZsyESNaKSUugeztqnou4pJZlBJcp9re/gbXwj\n9PzqjQGXZJUJsXQJxhXKP02+CPI4GJEFDNviFIdKY5Dghk58RVd7uTp1Bt3g\nfdECHZ1YQKgDpQUD+p6rWxdyBIjnec5eWVFKgLVvMpCEXQEMzobUVQ7+mmRk\nKJYcc0qVoihl+fgrZZe7tlDKjHUcyOOEDr7M051lN5SpSZfYqQ1Y3F0g8d9g\nsnOaTYWpWp6M5aOYkP/pn2RXp4CGeY6gubH5d/Qq/YeR0qcMS4TL3eVolMn2\n753d\r\n=SkzM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3xLCR/+oYlZp+v6PtF9drcLZsRQ1qHznz+bVpPVkDUAiEArpx0HWcEVjYtRm+4KuVW65U/O0PgTtbnmNRY/spJtfk="}]},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-weakref_1.0.0_1596348863731_0.25731775245487576"},"_hasShrinkwrap":false},"1.0.1":{"name":"is-weakref","version":"1.0.1","description":"Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","main":"index.js","exports":{".":[{"default":"./index.js"},"./index.js"]},"scripts":{"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)\")\"","lint":"eslint .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production"},"repository":{"type":"git","url":"git+https://github.com/inspect-js/is-weakref.git"},"keywords":["weakref","weak","ref","finalization","finalization registry"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-weakref/issues"},"homepage":"https://github.com/inspect-js/is-weakref#readme","devDependencies":{"@ljharb/eslint-config":"^17.3.0","aud":"^1.1.3","auto-changelog":"^2.2.1","eslint":"^7.14.0","for-each":"^0.3.3","nyc":"^10.3.2","object-inspect":"^1.9.0","tape":"^5.0.1"},"dependencies":{"call-bind":"^1.0.0"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"74690b82395ef4097c51f52da1842f7ecb872014","_id":"is-weakref@1.0.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==","shasum":"842dba4ec17fa9ac9850df2d6efbc1737274f2a2","tarball":"https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.1.tgz","fileCount":16,"unpackedSize":14600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfys5yCRA9TVsSAnZWagAA7dcQAKLIFRtYOqi8EX8tLqgN\nSVVO6qlDKdpv5XXCPviF6niSZ1mD/60kqspq0lgToB40ErbybtkYG8myNIXM\ndevPH6pG6DGPP7WXkazipRfCkhOUPpb0naJA60gWwTZKeKjVhXtgPhqZ+pfz\n/cQ3ZE368bBaz4M22ZdbXnbdYkrBvYfaAdOFy7yUBRgjjcpPKDJOGWmbIYRb\no09xxWiefZoivcsXS1v/Zx5ONR7TuDltpXU9TIgzk+ZnBeau6zc2RPXXD60h\nJyljDMJcPGzIcEVS1/tYhX9BhnlSsdemcrrQr3+Ss71l7R5eKpKKfeTrIkKy\n00YNEMDZK6cvmW02JdYGhhvd5gzQLJCO9bafCQI5SaTWLybcGuao90XFok6R\njqWsdWbKjDJARXkRUDBncxOq1qzizY4sC/+SSgLrNBiEHlzaIqtPPAe7x0r1\nyr9U34aE5w6PkUDpMvZEaNF9BjzTNZCpppRHUUtNdHZjw4+i0T42gqV/VCmF\niSEjejXWULmcHHOUNRFq0K81i6/AXLinQVtvJVBkW5+L931Xgoqt97/RwYUu\nTYYohTFi35H5cFydeQLdpU2sIUNXwZwWw6oyimY8PfvgvqNnp6voRCCgN6rN\n92ZCn4owxF6cxwO5bPDv82stRLK7oETLI9YFvBFjAT6gHUllNRh8bHLDm8jP\nlx/S\r\n=o4+c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIARTLkKJ5oLQfUM1qzJjEkXqJZ2WoaFjsgZzFQEEfNBDAiEA4TmN8vv17qlkg0CRkZhqj96P/hwdARMGVDx8EaFOsF8="}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-weakref_1.0.1_1607126642309_0.36375713517997355"},"_hasShrinkwrap":false},"1.0.2":{"name":"is-weakref","version":"1.0.2","description":"Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"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)\")\"","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint --ext=js,mjs .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production"},"repository":{"type":"git","url":"git+https://github.com/inspect-js/is-weakref.git"},"keywords":["weakref","weak","ref","finalization","finalization registry"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-weakref/issues"},"homepage":"https://github.com/inspect-js/is-weakref#readme","devDependencies":{"@ljharb/eslint-config":"^20.0.0","aud":"^1.1.5","auto-changelog":"^2.3.0","eslint":"^8.4.1","for-each":"^0.3.3","nyc":"^10.3.2","object-inspect":"^1.11.1","safe-publish-latest":"^2.0.0","tape":"^5.3.2"},"dependencies":{"call-bind":"^1.0.2"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"f63853b41b499be00bc3d4b519a4c6e3844a467c","_id":"is-weakref@1.0.2","_nodeVersion":"17.2.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==","shasum":"9529f383a9338205e89765e0392efc2f100f06f2","tarball":"https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz","fileCount":10,"unpackedSize":12065,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhs4RtCRA9TVsSAnZWagAAY8sP/R6LTQ+aAWSUgZMD82n5\nf6qj0oHwamIAjigRyvDtQ8w1VwrkSiMGGEO9VOpn8nU8YrMT+DWL4km3s80Z\nuBgWYrIi7/LX+LsxvKk9NCCXbsI3u6L8ynsaDYRS1e/dqlg/QGPrLNijYLh6\nlLK3fFyfg5gnr+p/5YdWouGNXqiTXJGwKS0Eyjkb2KKzRe7LR6wcOYTt+voA\n4cVnONVPBRIFJTdrQ5xmYCAh8Rwc/iw8a1gaKjNcYSvkRbcrbbkLL9DGGovy\nH2DCju7GfoT4vqzpjyIXZmSt+FYTprNcxaw6V2KGTxl+6mAOIsSikgr2xi1j\nqep9o3YFisbKKg71K7vEBH4f/JKy6q2ZIelketU/x6MGBi+XDu4W1MB8Kda1\nDEZMGis1t+fujV0W0sg341d5TQ7JgfuAIqNIzrV2jx2ZfkImsyNdFRimwK0+\nzdZ5PL6dL6OVExGyhCxuiHz0GEC+CD8e4gmOChjvKn071TBAiEwUR0/qmPTA\n6eNw28TMbsntAo44JBqT/Gx/tEl0csBz+pneeTFhqRJLMMJw9xsohA0SdSSK\nmsj69bDYlcyOb5wi3bnrmTimq/hgzwrfgdXOQs/85VUDJjDjz4pJ4jmMEojO\n/PIVGCbgCwf2nh0rJKiMTvKc83V/MXAW1LzAhReSArBMmQj0CojTCHRH5QkD\nBPFA\r\n=pmIH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVlumzd1gf2wxYiE0iJAU9rKlejm1W/+qNH9uEk3025QIhANNiy1YaDhq0IDaTjB39J+w9URNTTFaYYRtc9w6lprxc"}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-weakref_1.0.2_1639154797576_0.06622627464366948"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-02T06:14:23.730Z","1.0.0":"2020-08-02T06:14:23.880Z","modified":"2022-05-06T05:33:42.556Z","1.0.1":"2020-12-05T00:04:02.450Z","1.0.2":"2021-12-10T16:46:37.781Z"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"description":"Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.","homepage":"https://github.com/inspect-js/is-weakref#readme","keywords":["weakref","weak","ref","finalization","finalization registry"],"repository":{"type":"git","url":"git+https://github.com/inspect-js/is-weakref.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"bugs":{"url":"https://github.com/inspect-js/is-weakref/issues"},"license":"MIT","readme":"# is-weakref <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\nIs this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.\n\n## Example\n\n```js\nvar isWeakRef = require('is-weakref');\nassert(!isWeakRef(function () {}));\nassert(!isWeakRef(null));\nassert(!isWeakRef(function* () { yield 42; return Infinity; });\nassert(!isWeakRef(Symbol('foo')));\nassert(!isWeakRef(1n));\nassert(!isWeakRef(Object(1n)));\n\nassert(!isWeakRef(new Set()));\nassert(!isWeakRef(new WeakSet()));\nassert(!isWeakRef(new Map()));\nassert(!isWeakRef(new WeakMap()));\n\nassert(isWeakRef(new WeakRef({})));\n\nclass MyWeakRef extends WeakRef {}\nassert(isWeakRef(new MyWeakRef({})));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/is-weakref\n[npm-version-svg]: https://versionbadg.es/inspect-js/is-weakref.svg\n[deps-svg]: https://david-dm.org/inspect-js/is-weakref.svg\n[deps-url]: https://david-dm.org/inspect-js/is-weakref\n[dev-deps-svg]: https://david-dm.org/inspect-js/is-weakref/dev-status.svg\n[dev-deps-url]: https://david-dm.org/inspect-js/is-weakref#info=devDependencies\n[license-image]: https://img.shields.io/npm/l/is-weakref.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-weakref.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-weakref\n[codecov-image]: https://codecov.io/gh/inspect-js/is-weakref/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-weakref/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-weakref\n[actions-url]: https://github.com/inspect-js/is-weakref/actions\n","readmeFilename":"README.md"}