{"_id":"suppressed-error","_rev":"3-f0a98dba8668af661a79935127ec89cf","name":"suppressed-error","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"suppressed-error","version":"1.0.0","contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for SuppressedError","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","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)\")\"","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'"},"repository":{"type":"git","url":"git+https://github.com/es-shims/SuppressedError.git"},"keywords":["javascript","ecmascript","SuppressedError","Error","suppressed","errors","nativeerror","es-shim API","shim","polyfill"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/SuppressedError/issues"},"homepage":"https://github.com/es-shims/SuppressedError#readme","dependencies":{"define-properties":"^1.1.4","es-abstract":"^1.21.1","function-bind":"^1.1.1","functions-have-names":"^1.2.3","get-intrinsic":"^1.2.0","globalthis":"^1.0.3","has-property-descriptors":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.1","aud":"^2.0.2","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.3"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"testling":{"files":"./test/index.js"},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"b30669c0ec98487550d5edbdf12db0fb72184b4e","_id":"suppressed-error@1.0.0","_nodeVersion":"19.5.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-vSxeOCv6K6F7WEmHp1oLaEkLG88U2nvSTwD+Y63VsyR3tyKLbVCfgmnBIQA5KHH5HtQm+AT3WySUuI1cUnUmuw==","shasum":"e99385549ea02c50e5e16b7b9531e397a775599f","tarball":"https://registry.npmjs.org/suppressed-error/-/suppressed-error-1.0.0.tgz","fileCount":18,"unpackedSize":14634,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwRa7r528QcmLk+XDrlD8jHxAq9lcpp/z+m1b2HJBFCAIhAMUGz2ZLtCGKTlc7KcQl6sn6ZreTnnVouXx2084V5/bD"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2WcyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKfhAAkX/Pcd5jj5rLOO3cYoSmiaF+OqV+zDD9E5pc6eWmNRMNHjs2\r\nuKYPlt7p+7lkNsUYgLUFffAYrFde1hmDfodCC5mU+OUglz9QJp/yauayyF2M\r\nsyyfoZQpqhL6rcduV+/WPrcRrhjdgKx/mwxushmrAM4Q/kHdoZ/C+XC0jhso\r\nXZolvHSLNsC0vA3TsbLpD0Ytw70eN1bJ7514vqi88GfGHbnI2bMCQiIhvwwi\r\nlSFSvgZAzy+ctXZ98TCcaTMSGmz+0s9WU8gfvkqKUprIv6IVA3pZ3H4E04TA\r\nxITXh1j1okad30IKdMgcfvaDkciQo0yqryKSzV+LSlRjiDMK6xehuR2hi6Wn\r\n81yg9JBKlwjCgIa9bsT0SOgWtSa4tlxfd27aC2U1LHJ4n9S29GeM2uWdPXeA\r\nUYCV0diPEp04vMRaum0nVutwqCE1N5cAwUfoLBR8ChjC6PcURlTu+D0O7+Y6\r\nKnMFhk5kVe66bW5OUDP8+TXvJRiGl6w6STitAEqh0ymjTDyTELRj9GEwJNkF\r\nGSMLaGHvtPSN4/QjLSsUygW42Jo0lxGSf5xK0Kv9LN0wEwqoZEVfpb8YDsb4\r\nFNOTYK3GT2AgWLYiZJDxwZh5ooT45tA+VgQyUjOgu4ZusRPMShdhDb6qOUdM\r\nCQOVEUW6j0n8nRTgZgBdjLLGlA+2+6ABLRU=\r\n=vhE9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/suppressed-error_1.0.0_1675192114333_0.6977632887383758"},"_hasShrinkwrap":false},"1.0.1":{"name":"suppressed-error","version":"1.0.1","contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for SuppressedError","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","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)\")\"","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'"},"repository":{"type":"git","url":"git+https://github.com/es-shims/SuppressedError.git"},"keywords":["javascript","ecmascript","SuppressedError","Error","suppressed","errors","nativeerror","es-shim API","shim","polyfill"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/SuppressedError/issues"},"homepage":"https://github.com/es-shims/SuppressedError#readme","dependencies":{"define-properties":"^1.2.0","es-abstract":"^1.22.1","function-bind":"^1.1.1","functions-have-names":"^1.2.3","get-intrinsic":"^1.2.1","globalthis":"^1.0.3","has-property-descriptors":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"testling":{"files":"./test/index.js"},"publishConfig":{"ignore":[".github/workflows"]},"_id":"suppressed-error@1.0.1","gitHead":"a43599512d500d6b3fb40ef3b31c2cdc36bd4e72","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-3EoXAnhJxqv8L9+6KfqW3pq+TCSBgOIt2LULCbMcwrulAuBEmJxRwSkSw2NkDbuoCI7KxvYx2BxsVEoiPCMCNg==","shasum":"2d2deb47065117bb5f9d6bbc1912c0587143c8a0","tarball":"https://registry.npmjs.org/suppressed-error/-/suppressed-error-1.0.1.tgz","fileCount":18,"unpackedSize":15097,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlrfF3qpEKD6AvjqcJPmTVAWYW4aV8HDYrzeoSTe0G4QIhAKP6+4CpNQlTj0tmujzVgbtY6kA524o7FmCraxju+uzR"}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/suppressed-error_1.0.1_1693592836106_0.7845824231576812"},"_hasShrinkwrap":false},"1.0.2":{"name":"suppressed-error","version":"1.0.2","contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for SuppressedError","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","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)\")\"","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'"},"repository":{"type":"git","url":"git+https://github.com/es-shims/SuppressedError.git"},"keywords":["javascript","ecmascript","SuppressedError","Error","suppressed","errors","nativeerror","es-shim API","shim","polyfill"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/SuppressedError/issues"},"homepage":"https://github.com/es-shims/SuppressedError#readme","dependencies":{"define-data-property":"^1.1.0","define-properties":"^1.2.1","es-abstract":"^1.22.1","function-bind":"^1.1.1","get-intrinsic":"^1.2.1","globalthis":"^1.0.3","has-property-descriptors":"^1.0.0","set-function-name":"^2.0.1"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","functions-have-names":"^1.2.3","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"testling":{"files":"./test/index.js"},"publishConfig":{"ignore":[".github/workflows"]},"_id":"suppressed-error@1.0.2","gitHead":"11f592cc4ec88691b20944057b1772e4b62d201c","_nodeVersion":"20.6.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-DRCmKxbAr3MPoluOCMYsvTabZ3l1RsLCWELW/siVrWqDthyW4gq1vA5O87iCXJQYrcxgFTOJU125JAlDwmgPiw==","shasum":"743ae974535b9ce6eb79c0f0b17c6db659b8baf5","tarball":"https://registry.npmjs.org/suppressed-error/-/suppressed-error-1.0.2.tgz","fileCount":18,"unpackedSize":15519,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8YWxZ6zrboCWJ9ps55fWDKYxSafEl6bKK3lO30BqPhAIhAJpZn7iYppdwsxaYQoD/eHktIuY3FrOuR8nJwO44t+A9"}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/suppressed-error_1.0.2_1694626674678_0.5527930302956376"},"_hasShrinkwrap":false},"1.0.3":{"name":"suppressed-error","version":"1.0.3","contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for SuppressedError","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","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)\")\"","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'"},"repository":{"type":"git","url":"git+https://github.com/es-shims/SuppressedError.git"},"keywords":["javascript","ecmascript","SuppressedError","Error","suppressed","errors","nativeerror","es-shim API","shim","polyfill"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/SuppressedError/issues"},"homepage":"https://github.com/es-shims/SuppressedError#readme","dependencies":{"define-data-property":"^1.1.1","define-properties":"^1.2.1","es-abstract":"^1.22.3","es-errors":"^1.1.0","function-bind":"^1.1.2","globalthis":"^1.0.3","has-property-descriptors":"^1.0.1","set-function-name":"^2.0.1"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","functions-have-names":"^1.2.3","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.7.4"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"testling":{"files":"./test/index.js"},"publishConfig":{"ignore":[".github/workflows"]},"_id":"suppressed-error@1.0.3","gitHead":"244e93369c0a45db027e3c8f5801e558476e6848","_nodeVersion":"21.6.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-6+ZiCVUmDLFRyYRswTrDTYWaM/IT01W/cqQBLnnyg8T0njVrWj3tP+EXFevXk6qK61yDXnmZsOFVzFfYoUy/KA==","shasum":"4e7cab87e5fe85091cf670d5d3de22067a29e020","tarball":"https://registry.npmjs.org/suppressed-error/-/suppressed-error-1.0.3.tgz","fileCount":18,"unpackedSize":16159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAxauKq3KyIo123cRcto0QunsZ4PZwhTUGexoxRYBpLgAiAmhcJUSqf8kaNX7j5WwMnPYlxERQhvT1ZPcJgTCfZtRQ=="}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/suppressed-error_1.0.3_1707117216834_0.8244863066740276"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-31T19:08:34.333Z","1.0.0":"2023-01-31T19:08:34.496Z","modified":"2024-02-05T07:13:37.160Z","1.0.1":"2023-09-01T18:27:16.278Z","1.0.2":"2023-09-13T17:37:54.819Z","1.0.3":"2024-02-05T07:13:36.991Z"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"description":"ES Proposal spec-compliant shim for SuppressedError","homepage":"https://github.com/es-shims/SuppressedError#readme","keywords":["javascript","ecmascript","SuppressedError","Error","suppressed","errors","nativeerror","es-shim API","shim","polyfill"],"repository":{"type":"git","url":"git+https://github.com/es-shims/SuppressedError.git"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"bugs":{"url":"https://github.com/es-shims/SuppressedError/issues"},"license":"MIT","readme":"# suppressed-error <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\nES Proposal spec-compliant shim for SuppressedError. Invoke its \"shim\" method to shim `SuppressedError` if it is unavailable or noncompliant.\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 [proposed spec](https://tc39.es/proposal-explicit-resource-management/).\n\nMost common usage:\n```js\nvar assert = require('assert');\nvar SuppressedError = require('suppressed-error');\n\nvar suppressedError = new RangeError('hi!');\nvar cause = new EvalError('oops');\nvar error = new SuppressedError(cause, suppressedError, 'this is a suppressed error');\n\nassert.equal(error.error, cause); // this is the cause of the suppression\nassert.equal(error.suppressed, suppressedError);\nassert.equal(error.message, 'this is a suppressed error');\n\nSuppressedError.shim(); // will be a no-op if not needed\n\nassert.ok(new globalThis.SuppressedError(null, '', {}) instanceof SuppressedError);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/suppressed-error\n[npm-version-svg]: https://versionbadg.es/es-shims/SuppressedError.svg\n[deps-svg]: https://david-dm.org/es-shims/SuppressedError.svg\n[deps-url]: https://david-dm.org/es-shims/SuppressedError\n[dev-deps-svg]: https://david-dm.org/es-shims/SuppressedError/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/SuppressedError#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/suppressed-error.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/suppressed-error.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/suppressed-error.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=suppressed-error\n[codecov-image]: https://codecov.io/gh/es-shims/SuppressedError/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/SuppressedError/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/SuppressedError\n[actions-url]: https://github.com/es-shims/SuppressedError/actions\n","readmeFilename":"README.md"}