{"_id":"errorish","_rev":"8-e9e9c44de1f262732d9b889ac6b9d0d8","name":"errorish","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"errorish","version":"0.1.0","keywords":["error","ensure","valid","exception","throw","reject","normalize","name","message","stack","fix","convert"],"license":"MIT","_id":"errorish@0.1.0","maintainers":[{"name":"rafamel","email":"melrcm@gmx.net"}],"homepage":"https://github.com/rafamel/errorish","bugs":{"url":"https://github.com/rafamel/errorish/issues"},"dist":{"shasum":"926b2ce10bad54d660989d4948c5ca27e1f1dfa2","tarball":"https://registry.npmjs.org/errorish/-/errorish-0.1.0.tgz","fileCount":30,"integrity":"sha512-gFPjf9Dd6iHLFTElcEbNm1YyVzXMqJEiMO8ZKhLQu/KreD9klLKpy65YKGxRIc65jvZzS0B9lfAMfj1DEOKrfw==","signatures":[{"sig":"MEUCIQCNkbpSOSNANnOfI+uCYfKySrgA+znFoyCcka+KONwC+QIgZIUJFT25ZYNYz6eZoSY9Hf7kJtrRhPF0cEP5LQ2b3e4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuKpSCRA9TVsSAnZWagAAwPgP/1SO2TGfjYOXI4YjPDmr\nLc67ptRcoz2ypGgL9mjorZDMtEI39cvbM0zddt2f1n9M99t7d4ZPTCclqIg2\nNH/vMT/3S4shohDYpCFNkfRZcFALAZVPu4wfaAscpOCC5OCDcfdlpRYq4zbq\n4JfkVb1msEmSH1xwIafiIVrqpkM9w0FgOc35iw+8ebN9Bo05Gf4ZW8Xlkk12\ng7EnPr3GB8t4eEWHHfpDkDKm2x+21jN3bAzgCoDqk27Me7+nK1b6ycWgCpcw\nzbRiYeA0zjiosNPZqHtrFu4OslT8Jt2yp+zB0NBHTSNg1HnXFk2SgliG2eyt\nZweGWQU/AIMefe1m2nHX1VdoRmhckk4CQginASKXwZda3oHp5kpPqI7IFk/t\nt5c2Z/+3zkXpeRiCpANaLaooTpAnA6Jp3JJUWZOIOVDm/TOyTkaSr2e3CykI\nrgudR4DUEojFG0lymUUh2fG8GZ88LrVyT1wYG2wUJQ8UpSCA7WUn0r2hg+qN\nDkRrbvagzQiRCRSk91MfOoEeqN2JBGNVUKH+zlGro5n1jNJvj3RJTpeFV8qz\nHs+VDWsl45DSOtrbDG+xhS5Vdiiq6KHuzieYJAm58zxi6svfpjsWxe7wCmDm\n3AXpOeOBKsPtIZD+k4L9ucffnWomdcLyOUt6rEQ/mFXAO/zbwz5C+pRjB1wU\n4vWE\r\n=oLcs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist-node/index.js","pika":true,"types":"dist-types/index.d.ts","esnext":"dist-src/index.js","module":"dist-web/index.js","engines":{"node":">=8"},"_npmUser":{"name":"rafamel","email":"melrcm@gmx.net"},"repository":{"url":"git+https://github.com/rafamel/errorish.git","type":"git"},"_npmVersion":"6.9.0","description":"For those times you have an error-ish but what you really want is an Error","directories":{},"sideEffects":false,"_nodeVersion":"8.12.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"nps":"^5.9.3","shx":"^0.3.2","jake":"^8.1.1","husky":"1.3.0","eslint":"^5.16.0","typedoc":"^0.14.2","jest-cli":"^24.7.1","onchange":"^5.2.0","prettier":"^1.17.0","slimconf":"^0.9.0","coveralls":"^3.0.2","cross-env":"^5.2.0","@babel/cli":"^7.4.3","@pika/pack":"^0.3.7","babel-jest":"^24.7.1","commitizen":"^3.0.5","typescript":"^3.4.3","@babel/core":"^7.4.3","@types/jest":"^24.0.9","ttypescript":"^1.5.6","babel-eslint":"^10.0.1","concurrently":"^4.1.0","markdownlint-cli":"^0.15.0","@babel/preset-env":"^7.4.3","eslint-plugin-jest":"^22.4.1","eslint-plugin-node":"^8.0.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-import":"^2.17.2","eslint-plugin-promise":"^4.1.1","@pika/plugin-build-web":"^0.3.14","eslint-config-prettier":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-prettier":"^3.0.0","eslint-plugin-standard":"^4.0.0","@pika/plugin-build-node":"^0.3.14","@babel/preset-typescript":"^7.1.0","@pika/plugin-standard-pkg":"^0.3.14","@typescript-eslint/parser":"^1.6.0","cz-conventional-changelog":"^2.1.0","eslint-restricted-globals":"^0.2.0","conventional-changelog-cli":"^2.0.11","@zerollup/ts-transform-paths":"^1.7.1","babel-plugin-module-resolver":"^3.1.1","eslint-import-resolver-alias":"^1.1.2","conventional-recommended-bump":"^4.1.1","@typescript-eslint/eslint-plugin":"^1.6.0","@babel/plugin-proposal-decorators":"^7.4.0","@babel/plugin-proposal-class-properties":"^7.4.0","@babel/plugin-proposal-object-rest-spread":"^7.4.3"},"_npmOperationalInternal":{"tmp":"tmp/errorish_0.1.0_1555606097863_0.06864841674629174","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"errorish","version":"0.2.0","keywords":["error","ensure","valid","exception","throw","reject","normalize","name","message","stack","fix","convert"],"license":"MIT","_id":"errorish@0.2.0","maintainers":[{"name":"rafamel","email":"melrcm@gmx.net"}],"homepage":"https://github.com/rafamel/errorish","bugs":{"url":"https://github.com/rafamel/errorish/issues"},"dist":{"shasum":"2e47e5aeb2c86b73f235c62309b6f2fe7d08eef7","tarball":"https://registry.npmjs.org/errorish/-/errorish-0.2.0.tgz","fileCount":30,"integrity":"sha512-WAPLtKUJDWzHeIzTZgAn3lSWR3SGRCcd2REvw5eUbx0g9tQPQrEvNoJPnbQqwDlQhxj+t1Gujosnounisruftw==","signatures":[{"sig":"MEUCIQDRBFJ72x/IY354adQIhPlfB6rKyfX6CIjP7j5/3Rh54AIgJS+JcSzjMORu8P7KKJsunmVmpCewS4q8f7sba6saXTI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvKwWCRA9TVsSAnZWagAA3OkP/A7j3pn6XHmWPa0PEsW9\nSWcXyCJHddQMtCPU20JJmSxt8HK4WdjgDcamHtRsQ2YCCUDV1PIUkRbGf/ly\nSezWvhpXd4YXOQHYOqCmGAGhy8YpaI302ZBGatAJxbfdN928UNWYybzQGGN8\n+4nM3cTHsfwBhJjYp490K7JNE0c4gbGA87LXDbuEnvpjfzOJlQ7XbKq/THgu\nVRKhU2lg/CNwaiWlu2cqpinXtITY/aTJarrthb0w8lmfFaW3j2h8/MzS787U\n1Yhi/CTOcDHzVqViInYfRyKXN9TMe33OCzyK2pBuPyAuAJ0VvNo5W14pAuQp\nCB9sQs3L0KxpfVJVgkif0+ugGSs3gGDySa7cNzTQNecEeM7eIkLvFZgL9pD5\njW8YJhOXg9i3yQO74gyqMcScRV7QDJM6/fLZ3RKZ38gorU8yMnP4Mj9cZlOF\ne8Ta58DEZoh/Xk6MHkuWXzx8TQjP2BQnaTmRWkCl52uua2Obi2s6+2sm+j0N\nlx9+XlwqBTyIoGLgDXk19Jxcu9TJDkTRSyfWaGwJqK0Kx12NI4sBvmzFs7QU\ngaGmpWORO4ZObRCFKihYM6Ue95jDkGfHwTFImFyW3agWTditY5cYrh21//GC\nyPO5PD2/KurU0km0CAPcqZ2UXVcgD7Pxk3oNgArts39Awi/D5/UvdYD52XkL\n0cHg\r\n=vbE4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist-node/index.js","pika":true,"types":"dist-types/index.d.ts","esnext":"dist-src/index.js","module":"dist-web/index.js","engines":{"node":">=8"},"_npmUser":{"name":"rafamel","email":"melrcm@gmx.net"},"repository":{"url":"git+https://github.com/rafamel/errorish.git","type":"git"},"_npmVersion":"6.9.0","description":"For those times you have an error-ish but what you really want is an Error","directories":{},"sideEffects":false,"_nodeVersion":"8.12.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"nps":"5.9.5","shx":"0.3.2","jake":"8.1.1","husky":"1.3.0","eslint":"5.16.0","typedoc":"0.14.2","jest-cli":"24.7.1","onchange":"5.2.0","prettier":"1.17.0","slimconf":"0.9.0","coveralls":"3.0.3","cross-env":"5.2.0","@babel/cli":"7.4.3","@pika/pack":"0.3.7","babel-jest":"24.7.1","commitizen":"3.0.7","typescript":"^3.4.3","@babel/core":"7.4.3","@types/jest":"24.0.11","ttypescript":"1.5.6","babel-eslint":"10.0.1","concurrently":"4.1.0","markdownlint-cli":"0.15.0","@babel/preset-env":"7.4.3","eslint-plugin-jest":"22.4.1","eslint-plugin-node":"8.0.1","eslint-plugin-babel":"5.3.0","eslint-plugin-import":"2.17.2","eslint-plugin-promise":"4.1.1","@pika/plugin-build-web":"0.3.14","eslint-config-prettier":"4.1.0","eslint-config-standard":"12.0.0","eslint-plugin-prettier":"3.0.1","eslint-plugin-standard":"4.0.0","@pika/plugin-build-node":"0.3.14","@babel/preset-typescript":"7.3.3","@pika/plugin-standard-pkg":"0.3.14","@typescript-eslint/parser":"1.6.0","cz-conventional-changelog":"2.1.0","eslint-restricted-globals":"0.2.0","conventional-changelog-cli":"2.0.12","@zerollup/ts-transform-paths":"1.7.1","babel-plugin-module-resolver":"3.2.0","eslint-import-resolver-alias":"1.1.2","conventional-recommended-bump":"4.1.1","@typescript-eslint/eslint-plugin":"1.6.0","@babel/plugin-proposal-decorators":"7.4.0","@babel/plugin-proposal-class-properties":"7.4.0","@babel/plugin-proposal-object-rest-spread":"7.4.3"},"_npmOperationalInternal":{"tmp":"tmp/errorish_0.2.0_1555868693301_0.4888178404397696","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"errorish","version":"0.2.1","keywords":["error","ensure","valid","exception","throw","reject","normalize","name","message","stack","fix","convert"],"license":"MIT","_id":"errorish@0.2.1","maintainers":[{"name":"rafamel","email":"melrcm@gmx.net"}],"homepage":"https://github.com/rafamel/errorish","bugs":{"url":"https://github.com/rafamel/errorish/issues"},"dist":{"shasum":"730ff96c41bc62ccb6dc1145bbd6ebc4fe201830","tarball":"https://registry.npmjs.org/errorish/-/errorish-0.2.1.tgz","fileCount":30,"integrity":"sha512-8Y0KbX4irmMv77Li1nXJNXaXQFvI/qsvvY4f++NB3IeVK09vXMub3jU0WWi4Ob7woMZ+VMOg26tYkls/b3VX+w==","signatures":[{"sig":"MEYCIQDBYeDo9Mh/WeTXc8uIWLqcVhmpNhySqHU2YGDrcM0htQIhAJr4N34XYYFtKUjumy7R4a4TVfViwLG4GAwhgkUkjhyg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38981,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvnwLCRA9TVsSAnZWagAAzu8P/2QHNCwfc5lkSb9754U6\nQqeK7kYZRRze+sUdXrb51w9FB4GK0J5tPcaSLBvd4ru+Jz+x3WqTciHU0vxw\nt/L4Vvvz/U/QzMRgo0+HWnrWA4WnYK5mj8w0vfWX9mqR8qEoPdPMRHCf39EW\naXM/BEpDw5Vhw9YjUIGO5p+9npDT+sWgUNgEdUuihMtdHg83ECRFulnSHWQC\nygD548qx3JsPQqhw2KmP7FWG/xozOy7MrfrxUFjNujQJ+Smmcmskbi9hem55\nch0NcKIQF7oGa2DIuPleRCcZsqqUHPm26vxuVmdf1l7oVuAt76qlqOQFf4ZI\n7YirfPDdRnqeEvoW4abfkFB5aozRTAJz6swfIdf9wLvf0JfgopylnP2+tFTq\nValu1UW8t2akxpCYTENEKh+PxNw7O+RFHJkHzAWaiG00W6uqN0P6tv4zU4rv\n5I4eDvWqs/LiRg2RdX27jEBS3xvMWRhdVj3dQ+nEO07YQT8NTDTl0Hvi6EIT\n+d1vZj/jdBGL/3IySYHjY8hlI8R1tr8KCBtxfYakJkVy0Voz54zpSg0oy6G+\nXZ6Ic67Tt2nlju0+u6/KkkoaX53LnjKyf43DOax8LMwkL+fMncguABwnXAh6\nl3pJrtf5a2zaH6Nybx5GacG86qCVBnQppv9TKBFNlAtUQXx20GCENT6XioxA\ntNnl\r\n=uy6i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist-node/index.js","pika":true,"types":"dist-types/index.d.ts","esnext":"dist-src/index.js","module":"dist-web/index.js","engines":{"node":">=8"},"_npmUser":{"name":"rafamel","email":"melrcm@gmx.net"},"repository":{"url":"git+https://github.com/rafamel/errorish.git","type":"git"},"_npmVersion":"6.9.0","description":"For those times you have an error-ish but what you really want is an Error","directories":{},"sideEffects":false,"_nodeVersion":"8.12.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"nps":"5.9.5","shx":"0.3.2","jake":"8.1.1","husky":"1.3.0","eslint":"5.16.0","typedoc":"0.14.2","jest-cli":"24.7.1","onchange":"5.2.0","prettier":"1.17.0","slimconf":"0.9.0","coveralls":"3.0.3","cross-env":"5.2.0","@babel/cli":"7.4.3","@pika/pack":"0.3.7","babel-jest":"24.7.1","commitizen":"3.1.1","typescript":"3.4.3","@babel/core":"7.4.3","@types/jest":"24.0.11","ttypescript":"1.5.6","babel-eslint":"10.0.1","concurrently":"4.1.0","markdownlint-cli":"0.15.0","@babel/preset-env":"7.4.3","eslint-plugin-jest":"22.4.1","eslint-plugin-node":"8.0.1","eslint-plugin-babel":"5.3.0","eslint-plugin-import":"2.17.2","eslint-plugin-promise":"4.1.1","@pika/plugin-build-web":"0.3.15","eslint-config-prettier":"4.1.0","eslint-config-standard":"12.0.0","eslint-plugin-prettier":"3.0.1","eslint-plugin-standard":"4.0.0","@pika/plugin-build-node":"0.3.15","@babel/preset-typescript":"7.3.3","@pika/plugin-standard-pkg":"0.3.15","@typescript-eslint/parser":"1.7.0","cz-conventional-changelog":"2.1.0","eslint-restricted-globals":"0.2.0","conventional-changelog-cli":"2.0.12","@zerollup/ts-transform-paths":"1.7.1","babel-plugin-module-resolver":"3.2.0","eslint-import-resolver-alias":"1.1.2","conventional-recommended-bump":"4.1.1","@typescript-eslint/eslint-plugin":"1.7.0","@babel/plugin-proposal-decorators":"7.4.0","@babel/plugin-proposal-class-properties":"7.4.0","@babel/plugin-proposal-object-rest-spread":"7.4.3"},"_npmOperationalInternal":{"tmp":"tmp/errorish_0.2.1_1555987466235_0.2134035353308057","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"errorish","version":"0.3.0","keywords":["error","ensure","valid","exception","throw","reject","normalize","name","message","stack","fix","convert"],"license":"MIT","_id":"errorish@0.3.0","maintainers":[{"name":"rafamel","email":"melrcm@gmx.net"}],"homepage":"https://github.com/rafamel/errorish","bugs":{"url":"https://github.com/rafamel/errorish/issues"},"dist":{"shasum":"71cc9eb4f04dbe9dc451cc907ac9e45a7510adb2","tarball":"https://registry.npmjs.org/errorish/-/errorish-0.3.0.tgz","fileCount":30,"integrity":"sha512-n4C43uZNLkeO/BnmksDAbvDQelg76+/ANylDUts2u45Pzsz1r+aJbl26Neyf3+5VLDfQtE42Sp9odX0o0Jxu0Q==","signatures":[{"sig":"MEUCIF/k2Aa5Mku5Ky5XMJ4r5TfFP6tizwL4muHpzIc3C8+DAiEA74/04FnwwJsOvtof/zqDLZ0aaVMPhIhBfk7NR2T5YOE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcw7jiCRA9TVsSAnZWagAAgokP/AhTlPY/ST+Ts9hVD1B5\nO6Y2r4GlninjPpCs7iIY+noktp+8OMIswGtBk5MHoRYLgBwbVvdGFhvou8oG\nm318rrI4LEzyYjuhp0/IqX9u9zKqBQG1h+++eZmq8EszbHztiuwgrghufpj8\nZVXY6ZyR4qLjaB5rnXYGkioODvzLPSCNrLtf74kXXFrxWrwhBGxW4mCFn7MP\n0CNfxc0M1xg+z/OV2nW5LSh9mWtrqeVu+0ToNXyz0jjcZZm7BsXIqiwLPlHv\nx1T7/qmIsAnOclzb8Zbom7aKMYupGfp6PtkM5fTa1RM62Un7rNDPepV45Cnz\n8V2xukYkGA5UGj9Pkj/noQrS1yyzM1eUuKENB6IU54S8/+Llrt402/D3kvVM\nXPXr6dlp24SQhuP0dF4+pPuNWteziTkse54KLggaEZkEkqEw+oNw5RS7b6DM\n7qbzbVwZONV22b9+gIfPe5/a/TFaWtqpxTK7GVMWZTtG05vB1dUy63j9rfHp\n6OJqeYudKSHoHNHOPppL8gSs23MbtEi+J1elYpB/gbYaUEse8oWNq3NlD7qw\nHjnsTUQYlAGSfJ8zUX1wOqsb3D20ZWSA4GkhOh/4r1PnmbTUT5fWPCQolZ/Q\nxE4CUtPUcHup2gjdtxk4e7jntPybcNLvolFBRTTPAN3jo2ClGpalEXbVeJ0u\ntW6q\r\n=jY1a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist-node/index.js","pika":true,"types":"dist-types/index.d.ts","esnext":"dist-src/index.js","module":"dist-web/index.js","engines":{"node":">=8"},"_npmUser":{"name":"rafamel","email":"melrcm@gmx.net"},"repository":{"url":"git+https://github.com/rafamel/errorish.git","type":"git"},"_npmVersion":"6.9.0","description":"For those times you have an error-ish but what you really want is an Error","directories":{},"sideEffects":false,"_nodeVersion":"8.12.0","dependencies":{"promist":"^0.5.3"},"_hasShrinkwrap":false,"devDependencies":{"nps":"^5.9.5","shx":"^0.3.2","jake":"^8.1.1","husky":"1.3.0","eslint":"^5.16.0","typedoc":"^0.14.2","jest-cli":"^24.7.1","onchange":"^5.2.0","prettier":"^1.17.0","slimconf":"^0.9.0","coveralls":"^3.0.3","cross-env":"^5.2.0","@babel/cli":"^7.4.4","@pika/pack":"^0.3.7","babel-jest":"^24.7.1","commitizen":"^3.1.1","typescript":"3.4.5","@babel/core":"^7.4.4","@types/jest":"^24.0.11","ttypescript":"^1.5.6","babel-eslint":"^10.0.1","concurrently":"^4.1.0","markdownlint-cli":"^0.15.0","@babel/preset-env":"^7.4.4","eslint-plugin-jest":"^22.5.1","eslint-plugin-node":"^8.0.1","eslint-plugin-babel":"^5.3.0","eslint-plugin-import":"^2.17.2","eslint-plugin-promise":"^4.1.1","@pika/plugin-build-web":"^0.3.15","eslint-config-prettier":"^4.2.0","eslint-config-standard":"^12.0.0","eslint-plugin-prettier":"^3.0.1","eslint-plugin-standard":"^4.0.0","@pika/plugin-build-node":"^0.3.15","@babel/preset-typescript":"^7.3.3","@pika/plugin-standard-pkg":"^0.3.15","@typescript-eslint/parser":"^1.7.0","cz-conventional-changelog":"^2.1.0","eslint-restricted-globals":"^0.2.0","conventional-changelog-cli":"^2.0.17","@zerollup/ts-transform-paths":"^1.7.1","babel-plugin-module-resolver":"^3.2.0","eslint-import-resolver-alias":"^1.1.2","conventional-recommended-bump":"^4.1.1","@typescript-eslint/eslint-plugin":"^1.7.0","@babel/plugin-proposal-decorators":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.4.4"},"_npmOperationalInternal":{"tmp":"tmp/errorish_0.3.0_1556330721495_0.30719136611218434","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"errorish","version":"0.4.0","keywords":["error","ensure","valid","exception","throw","reject","normalize","name","message","stack","fix","convert"],"license":"MIT","_id":"errorish@0.4.0","maintainers":[{"name":"rafamel","email":"melrcm@gmx.net"}],"homepage":"https://github.com/rafamel/errorish","bugs":{"url":"https://github.com/rafamel/errorish/issues"},"dist":{"shasum":"d70dd7ceba15d75a5f2384692cbe4f3c281a68f4","tarball":"https://registry.npmjs.org/errorish/-/errorish-0.4.0.tgz","fileCount":30,"integrity":"sha512-6bbH/9cgdngn9vrgEGaqhLX61yn0L/ub3Zl3cr3Emo2JxNR4viV+9T/LxWs+s2vRA2zeoyCTl+/gzufh+iBcuw==","signatures":[{"sig":"MEQCIDcTHkXTW2xhvnzu0Idnz1wQKyXXLNiqy6SSBU6IkIOOAiAVqf+vmp0TOQGyxwmNTpVfUBTjztQhrp7pfTjDAzgPqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2WqoCRA9TVsSAnZWagAAWOIP/3CxYhWmuloKk6e6NiCk\niPXWvHtah5uCDqPJ49MEBdU/YM19LCITi/wXv93G6sYQCphF4oeN+wCzeBCF\nOsYBn7F1XqFy23Cm5OOBxi1QbbJCCOFqDaHp7Q2AiFASxy9rzOYRNIieb3KJ\nJkLUSSrLBdfSRcyINjaBPOgEBW+xqcwoCnphfUr3uM0KddAPioYr91sJkXOE\nC0PJuRyajrGyxXQDVjHCnfsBl9NtrSGf4Sg5FouimO/ofVSGMwe3JuBCFGmh\n3MjJZBuu5Q36DZsmnQKeX+Q3GzJ+Sa3LkDRkjMag8h07Flr4I+j3dRVyC+Yo\n0+pisxYxYLk8plPy6jMFrV+Z4UbfrK3SNzFqHVKUl1wQjYqbWUMUIsamhzzq\nqTWWAPEFTuGrZV3mjp4u5zyfNLObDHqEgjmfHfQOhYQ92HdT/DlZPiOjOI4z\nzHXllrkCQI5/LPL4UnY8i4+Cax0rVaobTrY5YNsbRIaBe8bL/RiuKXVaGDwT\nnfiJyBHDYgxCdnqsadoTUqnm77RkgcWeGXODSuVCC+NSGJ7TqRsbbDxO7p7a\nx2a80WBja6IhcXHioh8hUu8RJV50zxshCuD37Goo+TrHoS3OVJxrmU07K088\nOHBTFAlrGL7bOSpQu+bZfI014fXyUxELt2vP9A2drMIvinZPohGwQaGGOkOg\nEOK3\r\n=g5iW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist-node/index.js","pika":true,"types":"dist-types/index.d.ts","esnext":"dist-src/index.js","module":"dist-web/index.js","engines":{"node":">=8"},"_npmUser":{"name":"rafamel","email":"melrcm@gmx.net"},"repository":{"url":"git+https://github.com/rafamel/errorish.git","type":"git"},"_npmVersion":"6.9.0","description":"For those times you have an error-ish but what you really want is an Error","directories":{},"sideEffects":false,"_nodeVersion":"8.16.0","dependencies":{"promist":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"kpo":"^0.5.2","husky":"^2.2.0","eslint":"^5.16.0","typedoc":"^0.14.2","jest-cli":"^24.7.1","onchange":"^5.2.0","prettier":"^1.17.0","slimconf":"^0.9.0","coveralls":"^3.0.3","@babel/cli":"^7.4.4","@pika/pack":"^0.3.7","babel-jest":"^24.7.1","commitizen":"^3.1.1","typescript":"3.4.5","@babel/core":"^7.4.4","@types/jest":"^24.0.11","ttypescript":"^1.5.6","babel-eslint":"^10.0.1","markdownlint-cli":"^0.16.0","@babel/preset-env":"^7.4.4","eslint-plugin-jest":"^22.5.1","eslint-plugin-node":"^9.0.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-import":"^2.17.2","eslint-plugin-promise":"^4.1.1","@pika/plugin-build-web":"^0.3.15","eslint-config-prettier":"^4.2.0","eslint-config-standard":"^12.0.0","eslint-plugin-prettier":"^3.0.1","eslint-plugin-standard":"^4.0.0","@pika/plugin-build-node":"^0.3.15","@babel/preset-typescript":"^7.3.3","@pika/plugin-standard-pkg":"^0.3.15","@typescript-eslint/parser":"^1.7.0","cz-conventional-changelog":"^2.1.0","eslint-restricted-globals":"^0.2.0","conventional-changelog-cli":"^2.0.17","@zerollup/ts-transform-paths":"^1.7.1","babel-plugin-module-resolver":"^3.2.0","eslint-import-resolver-alias":"^1.1.2","conventional-recommended-bump":"^5.0.0","@typescript-eslint/eslint-plugin":"^1.7.0","@babel/plugin-proposal-decorators":"^7.4.4","@babel/plugin-proposal-class-properties":"^7.4.4","@babel/plugin-proposal-object-rest-spread":"^7.4.4"},"_npmOperationalInternal":{"tmp":"tmp/errorish_0.4.0_1557752487783_0.2521694107238617","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"errorish","version":"0.5.0","keywords":["error","ensure","valid","exception","throw","reject","normalize","name","message","stack","fix","convert"],"license":"MIT","_id":"errorish@0.5.0","maintainers":[{"name":"rafamel","email":"melrcm@gmx.net"}],"homepage":"https://github.com/rafamel/errorish","bugs":{"url":"https://github.com/rafamel/errorish/issues"},"dist":{"shasum":"0ef9c08dc62de84136f3bdd41cf4d22ffba4202f","tarball":"https://registry.npmjs.org/errorish/-/errorish-0.5.0.tgz","fileCount":42,"integrity":"sha512-Gx3YvSJtsrG13iVoUqzmt6+Tl09RcjhGgq1SIcvqvNSvNfNk6XZpKrLbOOi8ezUv52EG8Ra4vEezSjONcjgeiw==","signatures":[{"sig":"MEUCIQDfc6nSG2rcCJGgaKvXRxU3lEjVPRiNrotK/7Hy2sNY3QIgS+g5y7XmgFWiOKLImU2FUjgJuBxAr2MPdqJZ9SKZsA8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeANMfCRA9TVsSAnZWagAANUYP/R+vjCw0j7hxRcYOwjWb\nc6rDyM+OTdNHrAH5s1CBj36fBUPsPG6luhy/5vk+i0+g/5s8jm5YsAcUqNNS\nZj6uf5xXWTWlAY0QXh/y04QLSofY/XbawcAprzXKtwittRklWFtq2dZ4Ug66\nf6CpZ4dpevtFIOTXgIdQMveB0BKuDJp1nBw1QMSO2XLaL6lfaROHIdPeBz3X\n+04oH/xY4qDOaI2U+QItu+FPg/bWQvLvvVko7MgBSXdymd+YHlpWoZCvCMEN\nLFOBkpgtyEcDmj0y/fG3iMW0qAxljUuVM0n30mo7Ft4tQhQw6vPoLOwcSRqD\nrEl+4hjrvsgo5F88Uc6J/++23I/qreARzUF4UfjdKT0roGiu0q85Ed7CW7/v\nMg+Y8b/2QSY8gv0MGE0dr2JSB7sMO0L+XBvD77vHKo7ulPqMt5nyP6AJ7zOI\n62vEMYrhEI4t3fa4cPaxMrNZkqTnMWAe9SDhy91Z5pZIZh5DmYaAiONsnjxg\nnwf1ALbzA1xzSelS7aKnD+purh2/AhKwD4VfwSZ9sMzsamWhPc/s634om3h4\nlAix4lvGaghyecwBMKByZ8tRcaK2xLLcNBO5pEgF8vKbkhnWXEKtT3/OIcWt\nGj+wVXrYf8qcJ53iyO1WHdlC7oSV+IGU0Exfu16W1vet1YkodJT+Nx6GiM50\nuWSc\r\n=HKle\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","pika":true,"types":"dist/index.d.ts","esnext":"dist-src/index.js","module":"dist-web/index.js","engines":{"node":">=12"},"_npmUser":{"name":"rafamel","email":"melrcm@gmx.net"},"repository":{"url":"git+https://github.com/rafamel/errorish.git","type":"git"},"_npmVersion":"6.13.4","description":"For those times you have an error-ish but what you really want is an Error","directories":{},"sideEffects":false,"_nodeVersion":"12.13.0","dependencies":{"promist":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"kpo":"^0.11.1","husky":"^3.0.9","onchange":"^6.0.0","coveralls":"^3.0.7","@pika/pack":"^0.4.0","typescript":"^3.6.4","@types/jest":"^24.0.21","@riseup/library":"^0.5.0","@riseup/tooling":"^0.5.0","@pika/plugin-build-web":"^0.8.1","@pika/plugin-standard-pkg":"^0.8.1","@zerollup/ts-transform-paths":"^1.7.3"},"_npmOperationalInternal":{"tmp":"tmp/errorish_0.5.0_1577112351019_0.35782361046695565","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"errorish","version":"1.0.0","keywords":["error","ensure","normalize","capture","exception","stack"],"license":"MIT","_id":"errorish@1.0.0","maintainers":[{"name":"rafamel","email":"melrcm@gmx.net"}],"homepage":"https://github.com/rafamel/errorish","bugs":{"url":"https://github.com/rafamel/errorish/issues"},"dist":{"shasum":"37fe8113466f29d64d15c742ac9d54d1da120f3e","tarball":"https://registry.npmjs.org/errorish/-/errorish-1.0.0.tgz","fileCount":24,"integrity":"sha512-L02wV8ZV1ANodb8lyWOPSabE+Ogo1vP7zw9un0VRM8KdwvYF4sHI/7TliaUNC+FQUxxphcYHITeEo1MGcfE7LQ==","signatures":[{"sig":"MEYCIQD+hIQBqeuhiJ70mlM0Z8yhCvXqF9LLuSNpL0XNcSC/TQIhAMx+rWYRIcsf6pIRPlLBU7JI+pe5oy9Pq63SX8MHGWIa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0xdTCRA9TVsSAnZWagAAGo0P/1WDn/Z2XerjsPK9eREO\nz4YOdrGrX3QqTZxnfvxuvYTwYHQb+OEMn6DLSpOSQUH1cj6mpi9URFzfPCJ5\nhWs4vbJDg5oZRfZ/o83GkzCS3FAs5HDeEsPUGTh7s/piyIb0saobHy6AwOGN\nF1U03BhqfSJ3M/15HoGych7EJVgZPG7OhbZEYAnVdKuwOj4HFWYlS+Lxie/1\nOa2Q0d1SvV1q0tU/M4SvPp4kG5aEYCccjaP0E9YMrT9LjRafglpouUkvnqhR\nVro7X8X+cxWfvd/vnYFoYk+ELIzPXOtITmsBpUOoGUN1tBKNM6/FBTpKctvL\nL+EiF9Yo2+4B2sbkNbwv/mdyarn+HXxU/HxqzMkCuPRwyxn6iGkZ599cOF4a\nO7UZPyE6iJcfROm2xX/4V+ws7e+6ntKbNAgmPwc8byRrsAWaE5DRZj9rWtVW\nmtFL0XQzD6Y//dyV3NwMca/1ur8u4QdSlFttVJppEIYIFrHJ37BmLlcczAoF\nciUL10BI34D6gF36hrTWVQXK/DMFiciBr6orBzzThcnu+mIKMQ+58eUmOvRX\nk9pPArXXWvWDogq19rHH1u01OyJuqkr6FG4ix/jnc1vOHak1lOEWkgJJvpd1\nldW5Szh2J0N7+axLszWrfoXWrSkIeCQRl+5fmyS902B7vJd+Y5+W6eKBMAgo\niTWf\r\n=ZD+2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","pika":true,"types":"dist/index.d.ts","esnext":"dist-src/index.js","module":"dist-web/index.js","engines":{"node":">=12"},"_npmUser":{"name":"rafamel","email":"melrcm@gmx.net"},"repository":{"url":"git+https://github.com/rafamel/errorish.git","type":"git"},"_npmVersion":"6.14.9","description":"When you have an error-ish but what you really want is an Error","directories":{},"sideEffects":false,"_nodeVersion":"12.16.3","dependencies":{"type-core":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"kpo":"^0.11.1","husky":"^4.3.4","onchange":"^7.1.0","coveralls":"^3.1.0","@pika/pack":"^0.4.0","typescript":"^3.9.7","@types/jest":"^25.2.3","@riseup/library":"^0.5.0","@riseup/tooling":"^0.5.0","@pika/plugin-build-web":"^0.9.2","@pika/plugin-standard-pkg":"^0.9.2","@zerollup/ts-transform-paths":"^1.7.18"},"_npmOperationalInternal":{"tmp":"tmp/errorish_1.0.0_1607669587352_0.896366900456389","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"errorish","description":"When you have an error-ish but what you really want is an Error","version":"2.0.0","author":{"name":"rafamel"},"license":"MIT","private":false,"publishConfig":{"access":"public"},"keywords":["error","ensure","normalize","capture","exception","stack"],"type":"module","types":"./build/index.d.ts","exports":"./build/index.js","engines":{"node":">=22"},"scripts":{"start":"kpo start --","watch":"kpo watch --","build":"kpo build --","tarball":"kpo tarball --","docs":"kpo docs --","lint":"kpo lint --","fix":"kpo fix --","test":"kpo test --","commit":"kpo commit --","release":"kpo release --","distribute":"kpo distribute --","validate":"kpo validate --","version":"kpo version --"},"homepage":"https://github.com/rafamel/errorish","repository":{"type":"git","url":"git+https://github.com/rafamel/errorish.git"},"bugs":{"url":"https://github.com/rafamel/errorish/issues"},"devDependencies":{"@antfu/eslint-config":"^2.21.1","@riseup/universal":"^0.22.0","@riseup/utils":"^0.22.0","@types/node":"^22.0.0","@vitest/coverage-v8":"^2.0.4","eslint":"^8.57.0","glob":"^11.0.0","kpo":"^0.28.0","prettier":"^3.3.3","tsc-alias":"^1.8.10","tsup":"^8.2.3","tsx":"^4.16.2","typedoc":"^0.26.5","typedoc-plugin-missing-exports":"^3.0.0","typescript":"^5.5.4","vite-tsconfig-paths":"^4.3.2","vitest":"^2.0.4"},"dependencies":{"type-core":"^0.15.0"},"_id":"errorish@2.0.0","gitHead":"101c4dadf3f886375b620b5f184948e9201aad3a","_nodeVersion":"22.3.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-91GQeOWjd9LM3OrByN1NITjKUb+5mofBYg9n8strtH0MVAgBoIw7WqtLLMbj1hCzL6J2I8QRYOt4Q2E/UJCMNg==","shasum":"99630a54cc86e27162e41057441162f4b278d3fc","tarball":"https://registry.npmjs.org/errorish/-/errorish-2.0.0.tgz","fileCount":15,"unpackedSize":28440,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCv4aPDPQkK+MqnmtKthnTlvuQPa4rwpgpK+QQHwDoTrwIgM+xVOfrf3eQ9oQiyodfLSAuC4jXm0aeSwFzrXu3dhII="}]},"_npmUser":{"name":"rafamel","email":"melrcm@gmx.net"},"directories":{},"maintainers":[{"name":"rafamel","email":"melrcm@gmx.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/errorish_2.0.0_1722239176043_0.8117311813595236"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-18T16:48:17.863Z","modified":"2024-07-29T07:46:16.404Z","0.1.0":"2019-04-18T16:48:17.988Z","0.2.0":"2019-04-21T17:44:53.441Z","0.2.1":"2019-04-23T02:44:26.380Z","0.3.0":"2019-04-27T02:05:21.683Z","0.4.0":"2019-05-13T13:01:27.915Z","0.5.0":"2019-12-23T14:45:51.159Z","1.0.0":"2020-12-11T06:53:07.576Z","2.0.0":"2024-07-29T07:46:16.216Z"},"bugs":{"url":"https://github.com/rafamel/errorish/issues"},"license":"MIT","homepage":"https://github.com/rafamel/errorish","keywords":["error","ensure","normalize","capture","exception","stack"],"repository":{"type":"git","url":"git+https://github.com/rafamel/errorish.git"},"description":"When you have an error-ish but what you really want is an Error","maintainers":[{"name":"rafamel","email":"melrcm@gmx.net"}],"readme":"# Errorish\n\n[![Version](https://img.shields.io/npm/v/errorish.svg)](https://www.npmjs.com/package/errorish)\n[![Types](https://img.shields.io/npm/types/errorish.svg)](https://www.npmjs.com/package/errorish)\n[![License](https://img.shields.io/github/license/rafamel/errorish.svg)](https://github.com/rafamel/errorish/blob/master/LICENSE)\n\n> When you have an error-ish but what you really want is an Error.\n\n## Install\n\n[`npm install errorish`](https://www.npmjs.com/package/errorish)\n\n## Use cases\n\nThere are three main use cases for *Errorish*:\n\n* [You need to make sure an `Error` has a `message`, `name`, and `stack` properties.](#normalize)\n* [You need to make sure *any* object is actually an error, as expected.](#ensure)\n* [You want to extend the `Error` class to store an identifying `label`, a source `error`, and/or associated `data`.](#exception)\n\n## Usage\n\n[See complete documentation.](https://rafamel.github.io/errorish/modules.html)\n\n* [`Exception`](#exception) is an *Error* extending class with additional `label`, `error` and `data` fields.\n* [Utils](#utils):\n  * [`ensure`](#ensure) ensures `any` is an `Error`, otherwise creating one -it can optionally include a normalization step, enabled by default.\n  * [`normalize`](#normalize) ensures an `Error` has a `message`, `name`, and `stack` properties -filling them if they're not defined.\n  * [`capture`](#capture) runs `Error.captureStackTrace` if running in `V8` to clean up the error stack trace.\n\n### `Exception`\n\n[See documentation for `Exception`.](https://rafamel.github.io/errorish/classes/Exception-1.html)\n\n`Exception` is an *Error* extending class that can store an identifying `label`, the source `error` that caused it and/or additional associated `data`. [`Exception` also comes with several static and instance methods.](https://rafamel.github.io/errorish/classes/Exception-1.html)\n\n```javascript\nimport { Exception } from 'errorish';\n\ntry {\n  try {\n    throw new Error('Source');\n  } catch (err) {\n    // throws with label\n    throw new Exception(['label', 'message'], err, { code: 401 });\n  }\n} catch (err) {\n  // throws without label\n  throw new Exception(err.message, err, { code: 500 })\n}\n```\n\n### Utils\n\n#### `ensure`\n\n[See documentation for `ensure`.](https://rafamel.github.io/errorish/functions/ensure.html)\n\nEnsure will return its first argument if an instance of `Error` is passed as such, otherwise instantiating and returning an `Exception`.\n\n```javascript\nimport { ensure } from 'errorish';\n\nensure('foo'); // Error: foo\nensure(new Error('foo')); // Error: foo\nensure({ message: 'foo' }); // Error: foo\n```\n\n#### `normalize`\n\n[See documentation for `normalize`.](https://rafamel.github.io/errorish/functions/normalize.html)\n\nNormalization fills an error's `message`, `name`, and `stack` property when empty. It's performed by default by `ensure`, but it can also be run independently.\n\n```javascript\nimport { normalize } from 'errorish';\n\nnormalize(new Error()); // Error: An error occurred\nnormalize(new Error(), { message: 'Foo bar' }); // Error: Foo bar\n```\n\n#### `capture`\n\n[See documentation for `capture`.](https://rafamel.github.io/errorish/functions/capture.html)\n\nCaptures the stack trace on *Node* and *Chromium* browsers.\n\n```javascript\nimport { capture } from 'errorish';\n\ncapture(new Error());\n```\n","readmeFilename":"README.md","author":{"name":"rafamel"}}