{"_id":"es-error-intrinsics","_rev":"2-48c9d0c585da1e379627b57a1e5ad46a","name":"es-error-intrinsics","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"es-error-intrinsics","version":"1.0.0","keywords":["javascript","ecmascript","error","typeerror","rangeerror","syntaxerror","cache","get-intrinsic","intrinsics","js","es","utils","intrinsic"],"author":{"url":"xsfj","name":"Fox Jones"},"license":"MIT","_id":"es-error-intrinsics@1.0.0","maintainers":[{"name":"xsfj","email":"oagde5@gmail.com"}],"homepage":"https://github.com/xsfj/es-error-intrinsics#readme","bugs":{"url":"https://github.com/xsfj/es-error-intrinsics/issues"},"dist":{"shasum":"b7e423c3ed156a0a0cc8aaa07b8847720e0334ce","tarball":"https://registry.npmjs.org/es-error-intrinsics/-/es-error-intrinsics-1.0.0.tgz","fileCount":12,"integrity":"sha512-AvYZDkaGCYQZHh15v+e2g+CwuNsGuRFpG2jn/qwyc5vzgtOqudhwA7wJj0Pnla5u0BDBHZvlbX1m3fT+Z8c/Kg==","signatures":[{"sig":"MEQCIHEydCR6086wijV6oKVoKw/BGfTKLrka//hde8EPkCREAiA5ji8Q7d3uOFB6iY9jSuwD0beckl1iyvyO7d70A+zn1g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2559},"main":"index.js","type":"commonjs","gitHead":"62483aa4831e5df567b6f02bed8bc61af654872e","_npmUser":{"name":"xsfj","email":"oagde5@gmail.com"},"repository":{"url":"git+https://github.com/xsfj/es-error-intrinsics.git","type":"git"},"_npmVersion":"11.6.2","description":"A simple cache for a few of the JS error constructors.","directories":{},"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/es-error-intrinsics_1.0.0_1766259985188_0.06877942873783272","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"es-error-intrinsics","version":"1.0.1","description":"A simple cache for a few of the JS error constructors.","keywords":["javascript","ecmascript","error","typeerror","rangeerror","syntaxerror","cache","get-intrinsic","intrinsics","js","es","utils","intrinsic"],"homepage":"https://github.com/xsfj/es-error-intrinsics#readme","bugs":{"url":"https://github.com/xsfj/es-error-intrinsics/issues"},"repository":{"type":"git","url":"git+https://github.com/xsfj/es-error-intrinsics.git"},"license":"MIT","author":{"name":"Fox Jones","url":"xsfj"},"type":"commonjs","main":false,"gitHead":"3168ee3f9b246d9b94f10e96c09b78fd79c6f757","_id":"es-error-intrinsics@1.0.1","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-yMQtDzEbMdMOz5D714wSZGg1ca9avEfQAk4dMHiYSV+gXNVqTMjQ+bFt1TJd0nHxUBz+bM280BDlADFw9VVB9w==","shasum":"3ed1fc603d645dabef710b331cbfd2ddfb284bc0","tarball":"https://registry.npmjs.org/es-error-intrinsics/-/es-error-intrinsics-1.0.1.tgz","fileCount":11,"unpackedSize":2363,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC6WUN4CUyIc11qus4K/Xzv1j638GJNjV/hpPlvjMceOAiBzdJZMwkboyf+FYdsTRfF7zr/2U7u/Mkhl/aR2BLj2dQ=="}]},"_npmUser":{"name":"xsfj","email":"oagde5@gmail.com"},"directories":{},"maintainers":[{"name":"xsfj","email":"oagde5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/es-error-intrinsics_1.0.1_1766271647479_0.35163176559987686"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-20T19:46:25.187Z","modified":"2025-12-20T23:00:47.815Z","1.0.0":"2025-12-20T19:46:25.331Z","1.0.1":"2025-12-20T23:00:47.616Z"},"bugs":{"url":"https://github.com/xsfj/es-error-intrinsics/issues"},"author":{"name":"Fox Jones","url":"xsfj"},"license":"MIT","homepage":"https://github.com/xsfj/es-error-intrinsics#readme","keywords":["javascript","ecmascript","error","typeerror","rangeerror","syntaxerror","cache","get-intrinsic","intrinsics","js","es","utils","intrinsic"],"repository":{"type":"git","url":"git+https://github.com/xsfj/es-error-intrinsics.git"},"description":"A simple cache for a few of the JS error constructors.","maintainers":[{"name":"xsfj","email":"oagde5@gmail.com"}],"readme":"# es-error-intrinsics\r\n\r\nA simple cache for a few of the JS Error constructors. If error classes that were introduced after ES3 (those being `AggregateError` and `SuppressedError`) are not available, they export `undefined`.\r\n\r\n## Example\r\n\r\n```js\r\nconst assert = require(\"assert-x\");\r\n\r\nconst $BaseError = require(\"es-error-intrinsics/Error\");\r\nconst $AggregateError = require(\"es-error-intrinsics/AggregateError\");\r\nconst $EvalError = require(\"es-error-intrinsics/EvalError\");\r\nconst $RangeError = require(\"es-error-intrinsics/RangeError\");\r\nconst $ReferenceError = require(\"es-error-intrinsics/ReferenceError\");\r\nconst $SuppressedError = require(\"es-error-intrinsics/SuppressedError\");\r\nconst $SyntaxError = require(\"es-error-intrinsics/SyntaxError\");\r\nconst $TypeError = require(\"es-error-intrinsics/TypeError\");\r\nconst $URIError = require(\"es-error-intrinsics/URIError\");\r\n\r\nassert.equal($BaseError, Error);\r\nassert.equal($AggregateError, AggregateError);\r\nassert.equal($EvalError, EvalError);\r\nassert.equal($RangeError, RangeError);\r\nassert.equal($ReferenceError, ReferenceError);\r\nassert.equal($SuppressedError, SuppressedError);\r\nassert.equal($SyntaxError, SyntaxError);\r\nassert.equal($TypeError, TypeError);\r\nassert.equal($URIError, URIError);\r\n```","readmeFilename":"README.md"}