1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/tests/registry/npm/clean-stack/registry.json
Nathan Whitaker ce7dc2be92
feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487)
Adds support for running npm package lifecycle scripts, opted into via a
new `--allow-scripts` flag.

With this PR, when running `deno cache` (or `DENO_FUTURE=1 deno
install`) you can specify the `--allow-scripts=pkg1,pkg2` flag to run
lifecycle scripts attached to the given packages.

Note at the moment this only works when `nodeModulesDir` is true (using
the local resolver).

When a package with un-run lifecycle scripts is encountered, we emit a
warning suggesting things may not work and to try running lifecycle
scripts. Additionally, if a package script implicitly requires
`node-gyp` and it's not found on the system, we emit a warning.

Extra things in this PR:
- Extracted out bits of `task.rs` into a separate module for reuse
- Added a couple fields to `process.config` in order to support
`node-gyp` (it relies on a few variables being there)
- Drive by fix to downloading new npm packages to test registry

---

TODO:
- [x] validation for allow-scripts args (make sure it looks like an npm
package)
- [x] make allow-scripts matching smarter
- [ ] figure out what issues this closes

---
Review notes:
- This adds a bunch of deps to our test registry due to using
`node-gyp`, so it's pretty noisy
2024-07-10 03:06:08 +00:00

1 line
No EOL
48 KiB
JSON

{"_id":"clean-stack","_rev":"27-234583602f633fb965c704efd9fb708c","name":"clean-stack","description":"Clean up error stack traces","dist-tags":{"latest":"5.2.0"},"versions":{"0.1.0":{"name":"clean-stack","version":"0.1.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["clean","stack","trace","traces","error","err"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"c0b4a9f95b71b50221c3e94209c57383e651cb35","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@0.1.0","_shasum":"cd98959c1042d2e8fdf22d7955e64168561eea67","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"cd98959c1042d2e8fdf22d7955e64168561eea67","tarball":"http://localhost:4260/clean-stack/clean-stack-0.1.0.tgz","integrity":"sha512-NFkJZvkjpQv92s81NJ1Z7iGt3GZxMM2FRBCfU/mv2YBla8a4SQPnG4O7Wc79GLUya0dUYtymcIsaoH1Hq7sATQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFMixyzoLxfwQ2ltBwQ92cMzeCjD8NEvpnGa+CyFjYBXAiA4igN4r6jZNSAbCgtt576nRUWXWyo6FXMHFbCg2SfWhg=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/clean-stack-0.1.0.tgz_1467927496364_0.5792771128471941"},"directories":{}},"0.1.1":{"name":"clean-stack","version":"0.1.1","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["clean","stack","trace","traces","error","err"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"33049511583705ad951057cb077fc039eeab155d","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@0.1.1","_shasum":"bf48c8146fc9d3eefe0216fd76e6cda9a9497bb9","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"bf48c8146fc9d3eefe0216fd76e6cda9a9497bb9","tarball":"http://localhost:4260/clean-stack/clean-stack-0.1.1.tgz","integrity":"sha512-HKznEPS0z7ODiHHvtTrpk0ofWHvnmVlqhymPh4mFiyC4NmxCDf7lV8WXcWmJLy0cAWWKw0d9NYkFGm3ZMAqhdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGxo6wenRN4Ue+Hg8pO0EDuFB85rk2uJWBVpISzGMoILAiArunBIqdn8KbgZ+71UOaknYorbzF7vh8JKKNRYYn8aWg=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/clean-stack-0.1.1.tgz_1468275968568_0.01679733395576477"},"directories":{}},"1.0.0":{"name":"clean-stack","version":"1.0.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["clean","stack","trace","traces","error","err"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"87a511eabe1cee1774218d8a2ee915dda8d70969","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@1.0.0","_shasum":"fe23f557b57db451abde7f34d66a1ce950a50194","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"fe23f557b57db451abde7f34d66a1ce950a50194","tarball":"http://localhost:4260/clean-stack/clean-stack-1.0.0.tgz","integrity":"sha512-5rffeOEvLzExIgz58xmXs8p/UXZQ6tTEs7SoeN1tM/1zL9YLi+b4cCdV8KWSWNIRDhADZtcVvvzzavdUhrXB7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCg9BEQpJbpV1DuRHFDj1c7MxJ4cbDhLfks5xpiKM70yQIgN3CmMx0egXsrr9MX8wqDVpxxuwWZdDfNQofeMDkJ5Zw="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/clean-stack-1.0.0.tgz_1473672657748_0.1173160404432565"},"directories":{}},"1.1.0":{"name":"clean-stack","version":"1.1.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["clean","stack","trace","traces","error","err"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"9e48eaf554fc6ba38c862f09170eaa9af195c23f","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@1.1.0","_shasum":"141138d079127461a77bdb4b2428a2cf68bb5b09","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"141138d079127461a77bdb4b2428a2cf68bb5b09","tarball":"http://localhost:4260/clean-stack/clean-stack-1.1.0.tgz","integrity":"sha512-kSfFcv2RWrL96g4K2eIYAO7Pu3/AiN9PtUuyu2yUSXcPpV0oOg149Se8xlFxzr0YRr9IFT/UQ4eBKsw6+XImrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4yYgk84qDFtn94cIJ6v/0c+QlZPRQyEZezNFTVlve2QIhAPYk1FqMwvTAv6XxkimOopqZYFACwlspB1OjpF3PWxEa"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/clean-stack-1.1.0.tgz_1478153031867_0.3081847217399627"},"directories":{}},"1.1.1":{"name":"clean-stack","version":"1.1.1","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["clean","stack","trace","traces","error","err"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"4d7afb42955f19f46920157a4366419b1a7fe2cc","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@1.1.1","_shasum":"a1b3711122df162df7c7cb9b3c0470f28cb58adb","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a1b3711122df162df7c7cb9b3c0470f28cb58adb","tarball":"http://localhost:4260/clean-stack/clean-stack-1.1.1.tgz","integrity":"sha512-bTqOhBD3iLag0MYgUKIq+Q64TUhaljTf8HG9BQp4DJQ1IBDemUP/n0dC2qv9sJ/jvyK1ol9m7gGpm2bttD4c8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8dxNXDBJqvCgANP4ch/t1wFcdqI+pd/Wv0F8cPXwnUAiEAzAl+jrt+zsDr+zEvuaqsQ1MQrLlW/ZpKPK4EQCn4IC8="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/clean-stack-1.1.1.tgz_1479317181820_0.9155600084923208"},"directories":{}},"1.2.0":{"name":"clean-stack","version":"1.2.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["clean","stack","trace","traces","error","err","electron"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"aefdc52b5d2f416ace014cbe53e70463e020c9da","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@1.2.0","_shasum":"a465128d62c31fb1a3606d00abfe59dcf652f568","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a465128d62c31fb1a3606d00abfe59dcf652f568","tarball":"http://localhost:4260/clean-stack/clean-stack-1.2.0.tgz","integrity":"sha512-tZyGj7qkS1sRwNE5s5Osx5Sc14TZgHf+Tei4/y3690zZ2SVpvFg01J6VCS+4n8xZSm0AxTkWw0dpkr/RhidDrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC8D7LzMVe7c1AAfXDtH96QC0Sb8Zo/z9HEXfdGds8U5AiEAyFCg+IoEqmm1ld0uPki0YiS5PsbicL4pHbLNb30DKeM="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/clean-stack-1.2.0.tgz_1494828504327_0.5275583770126104"},"directories":{}},"1.3.0":{"name":"clean-stack","version":"1.3.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["clean","stack","trace","traces","error","err","electron"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"f4846beeb2a7545488bf60eb078dd55643d5bb61","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@1.3.0","_shasum":"9e821501ae979986c46b1d66d2d432db2fd4ae31","_from":".","_npmVersion":"2.15.11","_nodeVersion":"7.10.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"9e821501ae979986c46b1d66d2d432db2fd4ae31","tarball":"http://localhost:4260/clean-stack/clean-stack-1.3.0.tgz","integrity":"sha512-4CCmhqt4yqbQQI9REDKCf+N6U3SToC5o7PoKCq4veHvr30TJ2Vmz1mYYF23VC0E7Z13tf4CXh9jXY0VC+Jtdng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCE1DmXw3yzhD2HnKvV+GWU2m5ByxnKklj7n3pt0LEeawIhAKtCcU0LLSDY8EiYau9nBZeUDuTCnXKsgKwUo3o5jbXi"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack-1.3.0.tgz_1495532029098_0.3119257097132504"},"directories":{}},"2.0.0":{"name":"clean-stack","version":"2.0.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"keywords":["clean","stack","trace","traces","error","err","electron"],"devDependencies":{"ava":"^0.25.0","xo":"^0.23.0"},"gitHead":"8ca13453d8cff0c03359e0b8f6dccaf30ddab98c","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-VEoL9Qh7I8s8iHnV53DaeWSt8NJ0g3khMfK6NiCPB7H657juhro+cSw2O88uo3bo0c0X5usamtXk0/Of0wXa5A==","shasum":"301bfa9e8dd2d3d984c0e542f7aa67b996f63e0a","tarball":"http://localhost:4260/clean-stack/clean-stack-2.0.0.tgz","fileCount":4,"unpackedSize":4213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxilaCRA9TVsSAnZWagAAsaQP/1xLebCfcYeMagqj24a3\n9bxb7SKbFJK5rRbREijha02Fjx3KnbBYsQqf8/XMEIILqbrrpnMHNn9/YeqP\n6iEtaUWjxgtirGFbkirfk8BdpKmyi+xzco+HkDAibTh2tAsbp53Mr5x+Pxsi\nHiNXvP68QJSPrDVk75cDIA1lB5BSkmzlo0uaM4pyXiohUUtcq4MwmeAlSpJ4\nEi0nUKEX1FINS4htQoxWM4C20m156+mwolU51YtN1i2PcL+TY3LNYGIZ5H1w\nIhQZSgMOmTa5tijgJVVfH1yRezCwex8KY2X+4uQc6MXeLD86yriStuFZlvAA\n834wV2Eai9a/WAuiOEI3rjeTAW7cwqLu1RKDJQK+sYOV5JYxfX+1LaNTHVto\nahBuY1WwUvrEK6nFlZCn/OYGwaqG7KMsYsqTB5Dm2To6a2wOhF5gwmAFknIW\n+K1OAgXLrLZI7LLdZzs1WAntRtTo1KeQuko0ZBnihAO/V8+r4V8P2HeRwABu\nT5dM+Cyg/IYp5ii+LZDfC5MwvPo2vbjdl7L2btZuaAjbkbD8ZPxVmizXGTF0\nQIcXeRmnmyPyvUThwEkra4ajUeyBcmj5f2x4QgKmSdHJVDsC+QJTMleIIU0E\nmY/NefTo0MNn4C8DNvTVsji6KaZEcb2Dl38JVgM3xB3xNYmIoJq8aE3FLQfC\nJ85x\r\n=NS6i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICKYQ28qwulRhxkiU5YHb9gJ2NN6CF+4zmaajwP4ONqyAiBkQV/zOXnV1eheXeP6zMX2SKPO552wp7qQeJW6ibN/Ig=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_2.0.0_1539713368642_0.2756879508188137"},"_hasShrinkwrap":false},"2.1.0":{"name":"clean-stack","version":"2.1.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","err","electron"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"3f9b029625ed507fc488bf050a9403db60374f89","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@2.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-uQWrpRm+iZZUCAp7ZZJQbd4Za9I3AjR/3YTjmcnAtkauaIm/T5CT6U8zVI6e60T6OANqBFAzuR9/HB3NzuZCRA==","shasum":"9e7fec7f3f8340a2ab4f127c80273085e8fbbdd0","tarball":"http://localhost:4260/clean-stack/clean-stack-2.1.0.tgz","fileCount":5,"unpackedSize":5435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqgf9CRA9TVsSAnZWagAAzgkQAJmqD/25B7IGTT46SOF6\ntVyLivUBef21r0IQLsqdE6NzoTz3q7LKP7hSDFULQ7yiWse4KWqo0xcXX4E1\n3FMMJRNb1xB55QSQKeQbDcG6p8mO3TU1oQSiOqLhHc3DJ/YYIuoiN4BVGeOW\nwiL2UfFaHCe5/he0OmMZjZIKVW3cfewGIOXkrtXsCaPMjlqDX+lsTf8QJ261\nd4YJN9tYwID2zscrniWRqeXodq2/0GjfrQ0nrrwctUASisVy+lirkjPXcayG\n94Q8KUC9qnftO+zDtC3PpV1h3mdp8LrTPMTyBzxKjXPbttActUMScVLWdChU\n1L/sDZACsnylTu2q6j/jwzM+MEQC+dGhvgOFsOhO1D3kzJWBXV5piSnWzezG\ngKRt0tLZFwUirxslqUEiXnJpOtm8Ub2FqwNucOPZ+vbdNrogHzrtuHprjf/E\nl6M13XS6Sc0mW6WaOtvJLUmVXormoB/zMupi9sch36bBezg0rhPRPNunsJ6h\nFIK6SPWXxX3GXtm/nUZfmtYjkvAMO5VJ3qTlPILuuVAC+BMIBkImRIZ2hozK\nz22kL4Cc+Fky2MQwikslcfWCbVE4iNmaszGzIztlx6k+T29ieGbZvBpyQOGV\n5Y+m3o0LZLvOm/r/KvqF23s1lbFZ3DZ0pp7nbBKUyu8AVgy09/DhhlUx1LqE\nSn/A\r\n=u0kU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDspjGak5YTONqefxWgfaWKqumclmmgUd0krsS4y5rRTQIgA9TsdNQcRzOHToSoIPrCl9tg/kin/dQiA8Pdf0Baxs8="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_2.1.0_1554647036810_0.18564892293600033"},"_hasShrinkwrap":false},"2.2.0":{"name":"clean-stack","version":"2.2.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","err","electron"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"browser":{"os":false},"gitHead":"91440c5a1615354fb9419354650937c434eb9f49","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@2.2.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==","shasum":"ee8472dbb129e727b31e8a10a427dee9dfe4008b","tarball":"http://localhost:4260/clean-stack/clean-stack-2.2.0.tgz","fileCount":5,"unpackedSize":5508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQbLICRA9TVsSAnZWagAA/rgP/1TWGRCM3DhESdXGjNFH\niKBjOj8P+r/uaBFCV2EWL+/4gyww3VA6ECIyw3NJ8Iin0tiulY+nzo65bmxv\n0sEg3R57d5W3XFrvKc/3w+EEyeq+EVTUUZFxb3jw63WGJppezy+24WBiI1wZ\nUkgPXvfhs2ZqXmCdVlrOQ3zhCuwDzMXHO7rChGfOMhsQTPPB3uhxdlMdS7N5\noA3MnPUOcTO1oHIWL6Kj/EfQcLcgxnQQrR0gJd+NZGoS3Wa4Z5HhWPtfKBh1\n7roltnx0tKKKXbEK/XMvjVJdO+tbGaunmLjD/d7R+pctEazftxjWjef0b8ve\nlpT3k+j8unp/scto7a3hZnKSgfBJz9QO0OE0jciuBijEvTm2PN2IMjUXxbeq\ni+DtRYLdIRnL6SsiqMxIZUuO2KuR+O1xMmxPkM1LkiSW8x9s9vwifHYBtQnM\nhElRbyGqO+nILUklpt9a9lvxwpYDqQeuGJt4Fogdsz5BoDf640pmn/5KS6NV\n3ydUF0lEXihTs24Nl1TPH7hYVV7fdM4/gQm4BlmtkBuvP738BkkAHRt/HCfl\nBAwWPgPXpW7TwpPP/jK+UNud4YKzj6fDiDxoVPOuj5584IEPx4nU2rdIiPHa\nq0w7XIgmqoBGNU5wPAepNhPOlITXAiuSFZnEZG4NVUNPqNaprc1msH48QpFu\nQWIh\r\n=N8TA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5PrgG9Ds9PcV/WTk5JfxwjrzMq7cESI0NFDUOcz5MQAIgIUJEeTCPKar2fj39jSQbw4v/jjsJE3pOaNtDh5n9MS8="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_2.2.0_1564586696035_0.5408053424982435"},"_hasShrinkwrap":false},"3.0.0":{"name":"clean-stack","version":"3.0.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","electron"],"dependencies":{"escape-string-regexp":"4.0.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.32.0"},"browser":{"os":false},"gitHead":"1fe295bc61c7336c4e2aa797f139d646d811e4e9","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@3.0.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-RHxtgFvXsRQ+1AM7dlozLDY7ssmvUUh0XEnfnyhYgJTO6beNZHBogiaCwGM9Q3rFrUkYxOtsZRC0zAturg5bjg==","shasum":"a7c249369fcf0f33c7888c20ea3f3dc79620211f","tarball":"http://localhost:4260/clean-stack/clean-stack-3.0.0.tgz","fileCount":5,"unpackedSize":6357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe5I3OCRA9TVsSAnZWagAAZSEQAIiQx1kBLbzE2r7HnUt+\n1hJ0L9BcQdAiqXl4nUeq2QgVt2RCrl6BCpQqeIylHbVquj3HeYV8tMhodIZR\nPAKLElCZfjZWf6S5Anj461GxhrRLPvp6oIr9SJL9TC/JrBW4CUI9NIwxrrd8\nc/r+dZVXvQ/pPrBETbuv5K4XJIxmp6vqWqS+2YBJxApbL09aNmo1ukLPvEFZ\n5BYy6VSEQ/Lf2OyFLjnRKIUxvRUOeMcXMM8TZBmTjKu81aKzEt/nC7QhxGCL\nCluIopEtLaTGACDjcWjipcMTJuCglC/KrldzoUBrzwJa7+5Zqeo+qRy02XhG\nhXBgU+L3JdAyySggKIzZ8k+Qtx8Bim2Vg83eMnoFPy/2xLjqAq3OQHewQwME\nARpYAtboA4BLcE83qMnBnkjGK229wU3KExoZ4G06gyRt/Y8HbPIt4jaueFOC\n47jCa81DueArWQc4jTBfrJ631q9E7noIbXKpQ0kTKxEWtfBpBS2dvVd9Fqq7\nfI7BCIY8Yl4CBU0/g43hEaXScBG5vfDTrRf+yMQvk821W2B3Z+doQT/0ugRX\nUulN6Hc5eJY358Y31EcaS+qBH+yviPa0lNbSjrX9SHVrYIYXn6i6yEp93DQe\n7DGjsHNE2pvaj6vMvN+1lhV+vd8gz1WlKh8UGhUVqpDHMwEGPV/8CmKawSB6\ngsrY\r\n=TkVO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9lmVlPtQSe0lwYr6JX8bQe+X4GknIE3W+I6x4ET6bewIgdKyhFqWGfCz4f0od/PrBKMWUBXta9V4fzCSAgIFIaAY="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_3.0.0_1592036814524_0.52605363544028"},"_hasShrinkwrap":false},"3.0.1":{"name":"clean-stack","version":"3.0.1","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","electron"],"dependencies":{"escape-string-regexp":"4.0.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.32.0"},"browser":{"os":false},"gitHead":"df89ac687c4a06a7fce4a183c4b5f27a90355aa0","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@3.0.1","_nodeVersion":"15.1.0","_npmVersion":"6.14.8","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-lR9wNiMRcVQjSB3a7xXGLuz4cr4wJuuXlaAEbRutGowQTmlp7R72/DOgN21e8jdwblMWl9UOJMJXarX94pzKdg==","shasum":"155bf0b2221bf5f4fba89528d24c5953f17fe3a8","tarball":"http://localhost:4260/clean-stack/clean-stack-3.0.1.tgz","fileCount":5,"unpackedSize":6372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftRnGCRA9TVsSAnZWagAAZoMP+QF98DqWXMCMQI741zXR\nKRoA5h5DT3C8jgSxsRnBCd/FlPQvUySeql0zFIXxRk5LOLDBSQH8XUgOXWfq\nqdSi3Pv0t/3fL7h9omiCUy3DLCk97HYGEoYqyLlFOkgSGbroPaCxl88Dc09T\nMiTilJrcGpUMbZ3ePxAt0YzUfNF03C4fYl1hwUf8LBlpHgZoPA3Ok4CQ6QP3\nIeJleAtqDUTm03ZHJQYj7XBF4ZfE8ysGaLWZKnCpR74sQWZBeU5al9PS0cCB\nSP26RD7aju3vZiicHrPOuFOkggNGWv14h+Lt82Yb6OPAUhJnDUCE+ei/NuG1\n0+t+ycFbC8/5b5CkCWBv8hgihnIhYOZmsZWxvZvfuV/jmSWFQxnHALbeTuvD\nnRHzAF5ZWNyetd581NrOZ/zasy06+hqtr3YzPRVZv4RLMt1G0ApYZ9kVE9zz\nZh1VwTzhqndHwy/1+XXnidbOB8zbiIZNqbMHdQ8uFDEwzZKq0U6qdMIYXi6u\nl4oyH4GSJUAea2s7DQEdniZaeXamvxA1QQzfgpJdOUR3i+2/98ItsSWwmUS6\no+d0fiuUDmH96pey/MCmJggWofPRuAQzOli6259bdG5lKF6IzohnaTUc8mS9\nccG1H+Z/mrsW8Aw4hOR75BK1EdsWlPwhMJZ5Sn9Prk1P8jkLCLlOHhOWOyuM\ncj3H\r\n=f8an\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNSwTNSwfnOh2an0V8Snu9tUr84ITTHZT6kYEGwkHmdQIhAOPcgJjdtbRConQZmhvYe/gNFTHTQBDN9UIsAOXkR3x4"}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_3.0.1_1605704133862_0.5876429859575938"},"_hasShrinkwrap":false},"4.0.0":{"name":"clean-stack","version":"4.0.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","electron"],"dependencies":{"escape-string-regexp":"5.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"browser":{"os":false},"gitHead":"aec2a0d0b95055eda9f0ffb0bbdb33803f140dbe","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@4.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-MonulJftObGAfadTeQ1Do359xzN6cLyQRIYrdhvhHkrIg7xRrg2fiML443Q1ANke3ANu1GB3XkROVX6ili2uog==","shasum":"33272018b8a76e80c6f9b1162687b402f7c11b71","tarball":"http://localhost:4260/clean-stack/clean-stack-4.0.0.tgz","fileCount":5,"unpackedSize":6187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgexRRCRA9TVsSAnZWagAAygkP/iG3r8b9M+g8A5dstXBx\n3/vEm+Xx0qefRkj3S5+AOegu7yCsO+SOSAkncceopXv4N7qil5KJxOYqWmyC\n+Myaz6IA3RbKyN4iNFCwwX3lpR4sjG6IiVbJIUQXycPLIMLnmC190s9QOTII\nt/EOkOiD/hyaZMXx+8a3deRQRKG6AdfnrL6QMgd32CeoRQ778/fbWjTKQvIr\nZPRxj7yucMisEbmt1NZJwJGDJfn74s+gcfACVPb65IgsCkVtGdn0snlvvPL9\nIXI20Rb/sMqjkJwvxdlYorgt+PhzIZbzd7iDVWr+06FxmzbYjyGkZyxMvv9y\no0q7I+jnwVd+8HtELd0y2kM6fsSCp/wz27NKbHEMwy7L93uGPUsROpzRPAr+\nIvj5z0ah5FWPWrTeuiG9i4cIXeryys3Dhym0fH6+laKELAXXlch6ZKPaZvY+\nb7BMJiLhi1iDER+ENtdI3Kaj8G1XAqO6RC9qccXlfXdxa7rwxOb955RtmFs0\n4MqiQZj0Q95kFXXkCX2oT4xPX60VIUWACY1TUhnp+B/qVuf62IgZwUFwq8dG\nhuM2SuiKl/tm6NZ8rB8rJ0RR2I7FhmQx1Hq4xAylECVkWGHKQP9QX8ISnizZ\nmWklBnqGUAyRphAkyR3jzLeGT/7onO+ORBhytr/F1uom02+AAQjuNggZFtPA\nh3Ln\r\n=O9UO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7Tnr36+uu8qgHrjOn3Tn+A+mox3hkLidDYGMbByEkxAiEAwFL8up/MWZJpqxc/H5XQlm2zfLWOLztIal8japMLaRY="}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_4.0.0_1618678864477_0.1410655440115256"},"_hasShrinkwrap":false},"4.0.1":{"name":"clean-stack","version":"4.0.1","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","electron"],"dependencies":{"escape-string-regexp":"5.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"browser":{"os":false},"gitHead":"8c65bf47b2461b10a1c5186909bb7a2d5c3f11f0","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@4.0.1","_nodeVersion":"14.16.1","_npmVersion":"7.10.0","dist":{"integrity":"sha512-LJYF2LDkag7svHYnzWnlWHrnlxhBGtE5o+xRwRZdN+B6Gw0WRlC7oAdKuCAly5CGF9OMNO+nlwR/Ru57kzzbvQ==","shasum":"e093c9b116ced18e89c85b8a1154e23286bd5549","tarball":"http://localhost:4260/clean-stack/clean-stack-4.0.1.tgz","fileCount":5,"unpackedSize":6199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgo5JACRA9TVsSAnZWagAAOvoP/38dtQHqUH3uQjIulY44\nRMJx0+vEyacylZK6msXvFzzXId8glwb6477mI0JQoyejzARTvFpzHvHUw1kM\nJYagmOmPyqW4InruUXkY4f0Ss0Oux3LyxREk80EJVgL9RAsINO7UsSj4kuyE\nW/j5WAId0927x83e7HioX/F+gPK8oZbSxxusUEbIiSzsY4x3pgKiZdINsyWR\nXQ/yvvwJbsdtRrwEQcHtaIj29p7dlRzJDd4QdFIDm5WSbTJx3t0FoKsQwxWy\nX4VnAwIpLqDGdZgU9pFU54ioFUt5wMqFV1BanKojBr55D1R4T5kgzBbFus11\nlCyA/ovMeJgL3WyZwC1AmdvSf2VzLcp7w0VxyM3wVTwd+Zusmjy4UEJeAUK/\nsPRLhJd2X7KceAGC7bDOW3wOPuof3auR5vg699Oj0QETNlXgq7090XzPqgwn\nuR2nBu/ChSTORThIEZwjXGBf5AUgVl7/ebe+5Z+mZ1wf+nV11ap198B86Hj9\nNlpvNBURSUSNqH9jWFD43W1aHqyJdEvWtveVv2rd1HGnv3MJLby5hlA1QPwR\nkqGRCFNdpAfgRS6jd3yj0UIwedv0VKRCdJTmPnjCuVl8iTo8wOOLlyISASOe\nYBmLs0ZSE58RhsPhc2xVztnjrgZalRkofJTLm9HCsbz+CkF91ojy+S5hhlsN\n1ufo\r\n=ASM0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEPVKXNgwJOyQ41NGcrfFVyBL+jTuvcE1x55OE+ngbvhAiA5ydR6GHSn04iPqDysuhvfToa2HFeUxLTz7uq1ZuWH0Q=="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_4.0.1_1621332543974_0.9027074629558478"},"_hasShrinkwrap":false},"4.1.0":{"name":"clean-stack","version":"4.1.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","electron"],"dependencies":{"escape-string-regexp":"5.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"browser":{"os":false},"gitHead":"198c3de8baa3879fbc850be144707e4608eecd8c","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@4.1.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"integrity":"sha512-dxXQYI7mfQVcaF12s6sjNFoZ6ZPDQuBBLp3QJ5156k9EvUFClUoZ11fo8HnLQO241DDVntHEug8MOuFO5PSfRg==","shasum":"5ce5a2fd19a12aecdce8570daefddb7ac94b6b4e","tarball":"http://localhost:4260/clean-stack/clean-stack-4.1.0.tgz","fileCount":5,"unpackedSize":6603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrHToCRA9TVsSAnZWagAAK0cQAKQ1qL3oH0g/qQa1VLvV\nNBIOtNNyrBXKcc+4cOhJ7Xd9sFcUm2d1lklv1yFlD6vYuwu0wzMPorwB9WxZ\nv/sydtXGQaAY1zRfkGjiRsHBcCndRxccRCIlZMyaeFp/GrAJLprcoOlgyls6\nCGmeA65A4kUj/LTQEyRDjI3DhNTlnXXyQ2OFpYT2NF53ny9E71r4D1dKlIrr\nT0OTyMsUtgbgUwlSQXRibX3Aw4M0H8Ca5SZ1I2DEY+XEZ/B9oy9zQot5j9eP\n9S16EVsKVz7YijwRoIxNlzpf3B7EUffynuARg5+xT/XUI66ZctfKX09ieUNK\ne2oHSeVQbNvD9tvr9JhwjiYJmCDO1/YN7thY7WJLPj69AClAVTO6KWs3UQKo\ndHJB3DyDIa18o3KCHY/A84+HHs/+h1ij1prB2ZCuRu2nDqKYKwByPX/a0MtU\nGTyk8YjJ8ap+2gLQx89JUaaRPmku/CdWTweXyz8kkOqLrIhUMO6Ul++ttj5Y\nyx3giRhw41czS63upAIpulbnNrH0wiVcnUZB1juZTDQ0sUoWLlCbeEmKv/Av\nC/ykCeOOsFn8Et0fq32QvmR8xhX6WgqQhIWDCXHHAiAbSK9PhFtYv9VS3Jex\nkORoZk9e37+G6QQEr5Fvwl/13iBwMiUrhN/tBkVz8g9iQZI/HvmwKztRER08\nfiuX\r\n=YNIk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH2W4SjPNAqqvB0ch75s//WdCyqC7K3J1CT5neMug9rkCIGPaz3ZjX2QcRdaOU7SKpM90Lk6HSg6FkXoGwimxUhGx"}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_4.1.0_1621914855983_0.09858783306019792"},"_hasShrinkwrap":false},"4.2.0":{"name":"clean-stack","version":"4.2.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","electron"],"dependencies":{"escape-string-regexp":"5.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"browser":{"os":false},"types":"./index.d.ts","gitHead":"b09f9796fc87667c8b58631b91b5d41ce5dccc12","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@4.2.0","_nodeVersion":"14.19.1","_npmVersion":"8.3.2","dist":{"integrity":"sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==","shasum":"c464e4cde4ac789f4e0735c5d75beb49d7b30b31","tarball":"http://localhost:4260/clean-stack/clean-stack-4.2.0.tgz","fileCount":5,"unpackedSize":6758,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/wiqTN5wPM/+5QwZYo987tyUvUKrdzWDO3va5d01VFgIge6SIY2S7KbO204PZn3pj22KRxa4qGlrJAnSkzk53ALw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibNmKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqspA//eTureaischYe/15fmAV6+yr8AUyfIwJO/waZCGsZQ91n2GPz\r\n6XLv/SRhwEyLvhsvLWxtej7MO4W4wEwJAexdgwOdWSSgBra+SARkB5d1Px6S\r\n8yis4NeRAQBezuNuB2aLS71N4LGT/j4d+/WDhBhzyorO9b4E2nYZhQgAtgb/\r\nJmMk54sRfwddhe+REontVcH91ThQeSQkcpPsIvN4BKANvxhqBw6ZTAPS7EWQ\r\nlAIFY0502osgw1vSp1VIIYeyFAfIvA8IiXMJjyeRuYRSr1u0WtJu02JHUXKF\r\nXHm0tTq7v6pp0XxOe5Gszygq0MltEFOQkzt9saxJciYwxcrTwyu0N/WTf9MK\r\nFxLFD/dJxpIMm1+SzZmzUXj4bhfkQyPHv3ggDgdWHvm6R9yF7c2B9YdA3lff\r\nX62vSxGOv0MEKUhK3cVLCskeI4KP5wO7oCu+QCBGwJ85+c9VyUbNf7lAHX4G\r\nJFaagnfd1LiNfSS+fhMKxnFVXJrpWbR66zcuY44eYlZvtt9XW+PlRBC84M+W\r\nFBVlwH+PsnBSFO9+WUzPlNHCwstnjJW5vWJMrxsT+9wez/LUiXccDyti31+s\r\nWlMm7kI62Ll+A2QhtNKzJaVMFei5W9GVU3yf7cU0V2cHvkUwuYOs0EKfoT29\r\nLMKasAGh81HOva7gC9U8DZuTgkYCQYWuI8A=\r\n=LmB4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_4.2.0_1651300745823_0.9644907045653783"},"_hasShrinkwrap":false},"5.0.0":{"name":"clean-stack","version":"5.0.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","imports":{"#home-directory":{"node":"./home-directory.js","default":"./home-directory-browser.js"}},"types":"./index.d.ts","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","electron"],"dependencies":{"escape-string-regexp":"5.0.0"},"devDependencies":{"ava":"^4.3.3","tsd":"^0.24.1","xo":"^0.52.3"},"browser":{"os":false},"gitHead":"938a157c217394497e208c8c53ab536748a5b11b","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@5.0.0","_nodeVersion":"14.19.3","_npmVersion":"8.3.2","dist":{"integrity":"sha512-9bZJxKb2fTtKopGD93vWEqmf3t1E0hAWsA2oWPcci4+JCf4kMCWF71bAO9/vCadqQ2vouUPbvBpUQbgVl05ucw==","shasum":"b31fcd092b45f4eb6d2f1dbd6a4494240ba3d201","tarball":"http://localhost:4260/clean-stack/clean-stack-5.0.0.tgz","fileCount":7,"unpackedSize":7145,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK58FBYkdEqubS3tATEIHvnUfKkipLAZvoEE8A6cPU0wIhAJGHl2lREsiTj6niZEDW5SD1A3jopLHOcVtZJ+jyE9Fx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMq3dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpa4BAAgaWXb+mtbL9CAEGe+ZSNPpvpfZQdmKlD9U4tE3rKMnuT6ONr\r\nG6OerZ5lfuev5H0ZSGbe61CQPVjYZAxhjdwB63ByiI3XSNKLKgIY4Ix3f/ja\r\nwI0nKd+lGh6yLqqc0H5z23mENE3CVoG4bYSJjCiBlfAjdQ7RZ6QLWYWQMb0E\r\nfa5RJUq5tj1kqcplJpWSc7i8FpiNAtiRAwnX2kRPAyhDmp9DWo800ZwBb4W2\r\nkqtdD/pOsvWUx0gAapsoew6f1DreMv3QqZBA7E0nmAmiLMAtkt4r4lbxb7G8\r\nK4MZWaX5MssIS9cI4fl6ZBypCc0nzxN2U5S2498++H0g6WkIyY4LkJ4NzlZY\r\nF7EDo4b7p+ate6MYZigzt4PfRMuo2nLxUYl1WeM1XfAvoN2OSY03J0T/tWFY\r\nLNoVXXdEuFK/ltLLKiIu4b/nXZhKtjB0pEiA7leQUb88mxjO+bn8MoazIQCD\r\nDfZVY/VM1S7ed6rmGJne5Y/8gcSs47LV/lpqDawpNk++QYrmxZU9FBdxZn0T\r\ncHcF0OP/GIsqq0uUsbm9ejtb/+kz3fBzWU+BnbyegYAGNJCaLVQbWujS42yE\r\nSMKI/MdmuNc40x2GYoDAvX7nwZmJBc/ECNVtnlj2XEbJWMwfPIHoBso2BaYE\r\nk6XkLVGInLz7JFilSadnqn8qFnRQ30al0ms=\r\n=aK8D\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_5.0.0_1664265693612_0.8714586293837747"},"_hasShrinkwrap":false},"5.0.1":{"name":"clean-stack","version":"5.0.1","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","imports":{"#home-directory":{"node":"./home-directory.js","default":"./home-directory-browser.js"}},"types":"./index.d.ts","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","electron"],"dependencies":{"escape-string-regexp":"5.0.0"},"devDependencies":{"ava":"^4.3.3","tsd":"^0.24.1","xo":"^0.52.3"},"browser":{"os":false},"gitHead":"fcc8b3a80912c4ecf1053827fde6f3bc16f2d7e8","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@5.0.1","_nodeVersion":"14.19.3","_npmVersion":"8.3.2","dist":{"integrity":"sha512-1FDmqRFlYUEuZJYwcofH5Oa9v/cjEdHekBMzKYN3W16A3BvleeV5fX5PqiQQNSifWx5aXAaHOS8zmlcZPmZmKA==","shasum":"a07645e5e1e94f300fe952709d4c178b5cf6397f","tarball":"http://localhost:4260/clean-stack/clean-stack-5.0.1.tgz","fileCount":7,"unpackedSize":7133,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJgDB3JCqus7ZdYRPrxmfkdIeTI/K1HICML5hiRZI1nwIhAIUpnbGxzH6WwO19HrDzJx/pJmIAFJu7dEf5Cqv6JlL7"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWk/dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqWRhAAhKya6+/OI+DSwdfD8d0DWTwE+HIC46wMxToBmKvBfa5NV6q7\r\nSBk2pC/M274aOcYMu+fkvD1oaB8oVHBQ+K6mBca6pUcDVl0gq/NM1P6I1xRB\r\n2EbVaJvYyxzw4ytlGEfeN6x5JiTeGrwEoQOWngJAcLIV2JqFIoS01kGuWVou\r\neGeBcogLHcZ4hrRTDxbdjIXcUzNDW7aThzcVstYVMF0Osi8/0oOZS6LoNCLp\r\nT3PDwRW3/yQxX3qWsYS3ZIo9xK6nx3iof99boDq/krUvf436PrIsU0vRvCHs\r\nTVHk9mtubiRmXaXXp2OxGgJ68T7bK89oBL08Y7DF98bTUSNt3rxVDO1DB6F0\r\n/voHmmk7GiXWdm3HXw8KY2D6IAd9VqcC337KhyHGwhwuu9xhb0263+ibWt0O\r\nAiQb2QaIi4BJthGe05extT7Jv2PZcCpKCWBQFlBhc5sWQK4O0o20VmynA6Qd\r\nMxIUxS6ww3RCrA7Dir31Kw8fA6hyvN6ioqL265ZrbH1jlRIc7VR5RwiTVzeG\r\nafdirgekljxkyPr8J50XEZCVKD4R7mEpSK1klUkwhSz9zgHGElV3FLwhFIS9\r\nUUz8Q9PUFBETMzGubvQQRxJl03jpxtRPfrphGDsZlsKOX0rwm8Fff9vpjBqi\r\nENANdMwieCV08qCqiGSjBhqjRPnvTc1k7y8=\r\n=V7T6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_5.0.1_1666863069532_0.8548272178375889"},"_hasShrinkwrap":false},"5.1.0":{"name":"clean-stack","version":"5.1.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","imports":{"#home-directory":{"node":"./home-directory.js","default":"./home-directory-browser.js"}},"types":"./index.d.ts","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","electron"],"dependencies":{"escape-string-regexp":"5.0.0"},"devDependencies":{"ava":"^4.3.3","tsd":"^0.24.1","xo":"^0.52.3"},"browser":{"os":false},"gitHead":"5c7f014b197ec4bf8a602af1218773d26253495b","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@5.1.0","_nodeVersion":"14.21.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-OvcHXysP+g24vnqjX6vnYJnlswWzWbHWTbHpHWtT2tJW5D//NeIlXZmMiY297KC/6DbvVwy1BarEJ1whGVjX+g==","shasum":"56ed4531141724a6a74f8593bd90c6e1b3e26dc1","tarball":"http://localhost:4260/clean-stack/clean-stack-5.1.0.tgz","fileCount":7,"unpackedSize":7217,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIALO1NJ2L/sN+ACpiA7bmoQfMflU5ui5DNIS05ANALm2AiAfBMvSomhyH+cdjmdIWfTBR0WJjxpBxyaT9wQajw2R2A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjohVbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0mQ/8CAN93TlGA2oVC0gSXL3SWv1d7xoBW5fA02FuhDv0q/dRLUkQ\r\n2SPBGe0vCQ+IjHt3ZJ/v28TbwOpa6o0yuuybiMCCI2YFHOObFAXGUpGDrocW\r\n2f4rmw3f6lb98oAyTyJX8KzEJIi8ozxD/Pkb09wLtDG8nDFOm+BKOac4ZFng\r\n77i09djLSTqVjl2g3L/ZWNO8MPZgYj/VCpyeaHD2rr7jdIdLgCrb2B8BUnlG\r\npDyKaesrzdZFYQaMxrq01Pdl38YKXeWPkedhfJuQpWrKQJhjYV9UmssGLTYL\r\nCWfkY3GFUMkO8gwOCw1zpZQRt287biGdKg7N10hLcnbUSaDfXT9wdRpYZSMM\r\nAlNOKkVvSMNjqIhfX1XNKmp6j+S/Y70Q+cuCJuttaaCryInEEvnQazok4w27\r\n0xyutUrM3XHzPjRyKCsyTBy2Xy6gWGvrypCh+OLTk59p4m5+V9k2TUuZTX/N\r\ngpsnRI9CFlqbihUFWU6xvH8dWS0d2vPBcWWeRF612xNjB5oUeOv2ay40ErEW\r\nHb4wTOJrJnUEYj2ZW04g2EjmmlD1Lml1Ta7ZyfLUVUXpDKsmAyW5hid0tfOa\r\nCtQTeL9pndk2dewddaBiPgg/LhsPTJy8s4IZF4g7u/+A7Knhyxgobsg8aFq9\r\nxChJ7rQ6xZYRFsJFS/qkBJsiqm2648OHIXs=\r\n=lmj4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_5.1.0_1671566683550_0.9675863407142908"},"_hasShrinkwrap":false},"5.2.0":{"name":"clean-stack","version":"5.2.0","description":"Clean up error stack traces","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","imports":{"#home-directory":{"node":"./home-directory.js","default":"./home-directory-browser.js"}},"types":"./index.d.ts","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["clean","stack","trace","traces","error","electron"],"dependencies":{"escape-string-regexp":"5.0.0"},"devDependencies":{"ava":"^4.3.3","tsd":"^0.24.1","xo":"^0.52.3"},"browser":{"os":false},"gitHead":"9d0c2354d4c76da921283dfe6544dbfe45e4cbcf","bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","_id":"clean-stack@5.2.0","_nodeVersion":"14.21.3","_npmVersion":"9.2.0","dist":{"integrity":"sha512-TyUIUJgdFnCISzG5zu3291TAsE77ddchd0bepon1VVQrKLGKFED4iXFEDQ24mIPdPBbyE16PK3F8MYE1CmcBEQ==","shasum":"c7a0c91939c7caace30a3bf254e8a8ac276d1189","tarball":"http://localhost:4260/clean-stack/clean-stack-5.2.0.tgz","fileCount":7,"unpackedSize":8747,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAXHHoTtvsjiHIZFMS4gkqtqAsDHqZlpsdJwh8Tc/xVAIge/q+NbPkZqeQXB68Di45tbD4nR51RnlM7hjK0CndxF0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGYgtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3KhAAmxXtrIiVLxkJmbe/JHKt4kmF4BkUJN/b0z8VvjMR0JB1/oMr\r\ngXmCRPvLEeNMVsvoAcJy6lAgDCobdAQRVQ3gi2IyP9OzNIFI9gtNdh/omiLq\r\nCuHo2xsIXpNdrJSqnIJ06ZlneSTpNGhKwwbT6LGxddbF53pdRMnehPr1Lz6t\r\nO44/AVSJdQUr0JDe9lneOFZ1l31Lj/+VMjkIMwjSrpBvgNs+bbsZyyzwSDCn\r\n8M7Kv0Q7K/yNDEzp6ZwbuhG2qOUB522zmE74LFbeXAJNGiz69kMMH955/LoR\r\nTXBRwMi+kC2M2C4usIBKr0Bo/EQkjg6UP3AABunAcvXRN9wgUA+Tvn5L+obn\r\nZnaSTqmh24Lck1+a9bC7QcENdPD80vPz/zy+vFYHrXLVqb+HgkFqF4MugmvT\r\nYnrNNe8hvVUK92tfqr2F5UaqJf7MgypThXZBGdEsWpX8irjJhQT/UzlMZ728\r\nzlS3awlwDOInqG+Lix8zNduz8vy3VBNCEFLscG5f5dNFVgQecKpGy1djTFqn\r\nlIguX6JFYDjEwfEi6U7l1pjpPNBv4eNcrWGvYyzJh+DTfXnH9/wliyjrll3y\r\n2ZsDeD+6GOiWYjS/sw4NI+H8UnwrVn3iYJYUwF6uvLVor7cVwcKmnmd7mvW9\r\n1qIp+oEFT7D0JWvZVAxj7NNrNUAK+o24hnw=\r\n=2lAQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-stack_5.2.0_1679394861676_0.4023184983360477"},"_hasShrinkwrap":false}},"readme":"# clean-stack\n\n> Clean up error stack traces\n\nRemoves the mostly unhelpful internal Node.js entries.\n\nAlso works in Electron.\n\n## Install\n\n```sh\nnpm install clean-stack\n```\n\n## Usage\n\n```js\nimport cleanStack from 'clean-stack';\n\nconst error = new Error('Missing unicorn');\n\nconsole.log(error.stack);\n/*\nError: Missing unicorn\n at Object.<anonymous> (/Users/sindresorhus/dev/clean-stack/unicorn.js:2:15)\n at Module._compile (module.js:409:26)\n at Object.Module._extensions..js (module.js:416:10)\n at Module.load (module.js:343:32)\n at Function.Module._load (module.js:300:12)\n at Function.Module.runMain (module.js:441:10)\n at startup (node.js:139:18)\n*/\n\nconsole.log(cleanStack(error.stack));\n/*\nError: Missing unicorn\n at Object.<anonymous> (/Users/sindresorhus/dev/clean-stack/unicorn.js:2:15)\n*/\n```\n\n## API\n\n### cleanStack(stack, options?)\n\nReturns the cleaned stack or `undefined` if the given `stack` is `undefined`.\n\n#### stack\n\nType: `string | undefined`\n\nThe `stack` property of an [`Error`](https://github.com/microsoft/TypeScript/blob/eac073894b172ec719ca7f28b0b94fc6e6e7d4cf/lib/lib.es5.d.ts#L972-L976).\n\n#### options\n\nType: `object`\n\n##### pretty\n\nType: `boolean`\\\nDefault: `false`\n\nPrettify the file paths in the stack:\n\n`/Users/sindresorhus/dev/clean-stack/unicorn.js:2:15` → `~/dev/clean-stack/unicorn.js:2:15`\n\n##### basePath\n\nType: `string?`\n\nRemove the given base path from stack trace file paths, effectively turning absolute paths into relative ones. It will also transform absolute file URLs into relative paths.\n\nExample with `'/Users/sindresorhus/dev/clean-stack'` as `basePath`:\n\n`/Users/sindresorhus/dev/clean-stack/unicorn.js:2:15` → `unicorn.js:2:15`\n\n##### pathFilter\n\nType: `(path: string) => boolean`\n\nRemove the stack lines where the given function returns `false`. The function receives the path part of the stack line.\n\n```js\nimport cleanStack from 'clean-stack';\n\nconst error = new Error('Missing unicorn');\n\nconsole.log(cleanStack(error.stack));\n// Error: Missing unicorn\n// at Object.<anonymous> (/Users/sindresorhus/dev/clean-stack/unicorn.js:2:15)\n// at Object.<anonymous> (/Users/sindresorhus/dev/clean-stack/omit-me.js:1:16)\n\nconst pathFilter = path => !/omit-me/.test(path);\n\nconsole.log(cleanStack(error.stack, {pathFilter}));\n// Error: Missing unicorn\n// at Object.<anonymous> (/Users/sindresorhus/dev/clean-stack/unicorn.js:2:15)\n```\n\n## Related\n\n- [extract-stack](https://github.com/sindresorhus/extract-stack) - Extract the actual stack of an error\n- [stack-utils](https://github.com/tapjs/stack-utils) - Captures and cleans stack traces\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-06-17T00:11:05.984Z","created":"2016-07-07T21:38:18.517Z","0.1.0":"2016-07-07T21:38:18.517Z","0.1.1":"2016-07-11T22:26:10.197Z","1.0.0":"2016-09-12T09:31:00.750Z","1.1.0":"2016-11-03T06:03:52.077Z","1.1.1":"2016-11-16T17:26:23.710Z","1.2.0":"2017-05-15T06:08:24.571Z","1.3.0":"2017-05-23T09:33:49.172Z","2.0.0":"2018-10-16T18:09:29.173Z","2.1.0":"2019-04-07T14:23:57.015Z","2.2.0":"2019-07-31T15:24:56.235Z","3.0.0":"2020-06-13T08:26:54.636Z","3.0.1":"2020-11-18T12:55:34.057Z","4.0.0":"2021-04-17T17:01:04.639Z","4.0.1":"2021-05-18T10:09:04.148Z","4.1.0":"2021-05-25T03:54:16.119Z","4.2.0":"2022-04-30T06:39:06.083Z","5.0.0":"2022-09-27T08:01:33.826Z","5.0.1":"2022-10-27T09:31:09.731Z","5.1.0":"2022-12-20T20:04:43.779Z","5.2.0":"2023-03-21T10:34:21.848Z"},"homepage":"https://github.com/sindresorhus/clean-stack#readme","keywords":["clean","stack","trace","traces","error","electron"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/clean-stack.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/clean-stack/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"edloidas":true,"zvr":true,"rocket0191":true,"flumpus-dev":true}}