{"_id":"redact-env","_rev":"6-3395cc12bec37ad644ee4cb1d7de307c","name":"redact-env","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"redact-env","version":"0.1.0","description":"Redact values of critical environment variables in a string","main":"dist/index.js","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/redact-env.git"},"keywords":["environment-variables","redact","secrets","security","logging"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --verbose","test:watch":"jest --verbose --watch","dev":"nodemon -e ts,.env -w .env -w . -x 'run-s build:ts test'","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build"},"devDependencies":{"@types/jest":"^24.0.15","@types/node":"^12.0.10","jest":"^24.8.0","nodemon":"^1.19.1","npm-run-all":"^4.1.5","ts-jest":"^24.0.2","ts-node":"^8.3.0","typescript":"^3.5.2"},"jest":{"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"gitHead":"c9fccac92f51b4672cdad3ea2fdda91540fff647","bugs":{"url":"https://github.com/47ng/redact-env/issues"},"homepage":"https://github.com/47ng/redact-env#readme","_id":"redact-env@0.1.0","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Oe+HWa8glJF6BLsZm+UKrIstLkUDvN3TEhxRPNJD3Kqx358ZlbUYCH+efh3tP1rnS53J+/N28axxmP6LruFbOw==","shasum":"807d462c942d48f850daa5fee781519162d73b48","tarball":"https://registry.npmjs.org/redact-env/-/redact-env-0.1.0.tgz","fileCount":8,"unpackedSize":8480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFJGpCRA9TVsSAnZWagAAagsQAIfWZsT7EwwiF9CnAMws\nXT7ifJ0pKj9aQgojL4PwHTled2iZWO2QZmRimkZYqGzRLO0/f8Gj9WHCPwp9\nrJ/+ts6VcF+MWjSfDN67/OvD325vQiV1oHKGkKe88MiPMF+PwHzMEEZ9GMSd\n9c6RQqLf7wZE7B25fHlciDGnwEVAr3FnHVUcooaCPZFKjY8jXnm9vwQnZuzv\nn+wYV0D5ofSQkeiXJUhd6jTl2kRA59s+bArQ73Opt3f6Shfn8QwfaZWNqhpw\nL65IBzObmhAVeQbIJmVvyHWXETx1hlold/71T5OlKBNxL3tbJyil0fmFg3Jd\nUmKus/8YIlOoN4WOp3g0BnhUB5cDLkiLZFqXyIoajIk6dP0wyR3RvbdPDJ8L\nv8Bjx5guVWXYEe/HJekvCkbAv7cTMCz4H9DbM86QNs+LmCT45BXwDoWFAtBD\nMxlZGbyEZbQaEGfONLLoLnn1vD2lrpnDhXSSdtBXg4E4hzWaYGT5nbk/fCwR\niQUJF3yInzLJSQ5pteYmnig+o5e2xmQ244mN2jgz1jNP3ia/In9wLpcQkywh\nirBtFIDfdd8rg9Bz6PoBcyI1m+mEgX93ymFFPgtT0Fh/26pdLxPNTUD0smGG\n547XNeRdfpUlWSyFQoMlVBitomFg45bjmsfWWpAkh+QInMpK2bnWPb3Xr9jg\nrhth\r\n=dEk8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHxJoyZSXi9IewSUozoNrQveWVrQub6qZR/qGAC7bvDAiBqmYTvXxDNpns7YIgy5Nmn04az/rijoL/hSzhV9+TOJQ=="}]},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redact-env_0.1.0_1561629096818_0.9651786546986052"},"_hasShrinkwrap":false},"0.2.0":{"name":"redact-env","version":"0.2.0","description":"Redact values of critical environment variables in a string","main":"dist/index.js","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/redact-env.git"},"keywords":["environment-variables","redact","secrets","security","logging"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --verbose","test:watch":"jest --verbose --watch","dev":"nodemon -e ts,.env -w .env -w . -x 'run-s build:ts test'","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build"},"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"@types/benchmark":"^1.0.31","@types/jest":"^24.0.15","@types/node":"^12.0.10","benchmark":"^2.1.4","jest":"^24.8.0","nodemon":"^1.19.1","npm-run-all":"^4.1.5","ts-jest":"^24.0.2","ts-node":"^8.3.0","typescript":"^3.5.2"},"jest":{"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"gitHead":"b73539e56f8d0fd21bfbd60df3faccf62b178cee","bugs":{"url":"https://github.com/47ng/redact-env/issues"},"homepage":"https://github.com/47ng/redact-env#readme","_id":"redact-env@0.2.0","_nodeVersion":"12.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-aQp1c4xE/SQJ+b+RcOMMgxHg9qIS+FH4XAMTeL8Fzmsu5GAZgk8pwelQo1Xsyfma/2KzHYjo8X6HAq3kF9ewjw==","shasum":"f9ad9e63a04a1329a65a02289bbc007db7acc91c","tarball":"https://registry.npmjs.org/redact-env/-/redact-env-0.2.0.tgz","fileCount":9,"unpackedSize":46450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFajDCRA9TVsSAnZWagAA09EP/2A+mPgXE+erFqHbLmjo\nFAPDGzriUY/DMqxZPPcKtNw3R5ZZ8sJcaZHfDtAYeHAz6JRu4FFaXw1TBcMu\nBfJUuOFQl3t9qrQ2r2LyIsfUqpqb7X8wGu7UJGe2WGh5DFk9y+4Uy9tSzxJD\n7qrlminYIgyB56nqzMweIgDg6l1Sa6hTnXIipve45rStPLECrBKNInsSyKd1\n1BSrjG4QffKEG0ltNf6xJrET7FYm9JBEjivgq8olMAZ9Mmd8SEDtTA9KdCc6\nLvvV/7fM2qIkzIhZqQFfZIPpcfBmw2MaMrzGihE3b+IRa928WWDnA+DmRnIU\nWSSn7YkT+/yZj8Jd6NF6SF8Cl7OO0Iyga/rvZB0WJNEGQI/hvmMWtRgEVYb3\nh7jUh30Oh0KR4R+fpmvnbXfhdl3ZdZ1cEOUOlT/T/gWDU3gNGozLY0O+CehY\n0+z3ebJGCM7c4HPggFzPK6qwHAq0irnrwp3PRh5YsNCHVoLgMg6DsMqZGXjV\njt6zje3R9qtmNcR0nlFPp2SCK1gEv5vLXplQ3EeoTRQvijQULHbGkCltYmTT\n8Y0Z7iD4+0jwpGA53j16awas+hTyqb3nWhNUlnaneUVBJMUO2SmCEXM4xXtW\nIw9kaCeJ/+boEIIkHd5FJ2iSIflfEgrcUkw+qtNDj9b0p+myY2z+DTt7uGid\ncdLT\r\n=n5Ik\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIChf+Bf26mHQn8qRrnZUha7tCwDXvlrKhsjyIpHVI8HwAiAcES6mHwbdVrqfx7c/G+IaGomy2rEyB7ogGlUMnJa/gw=="}]},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redact-env_0.2.0_1561700546516_0.18267283251692246"},"_hasShrinkwrap":false},"0.3.0":{"name":"redact-env","version":"0.3.0","description":"Redact values of critical environment variables in a string","main":"dist/index.js","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/redact-env.git"},"keywords":["environment-variables","redact","secrets","security","logging"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --coverage","test:watch":"jest --watch","dev":"nodemon -e ts,.env -w .env -w . -x 'run-s build:ts test'","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","size":"size-limit","ci":"run-s test build size"},"dependencies":{"escape-string-regexp":"^4.0.0"},"devDependencies":{"@commitlint/config-conventional":"^8.3.4","@size-limit/preset-small-lib":"^4.4.5","@types/benchmark":"^1.0.31","@types/jest":"^25.2.1","@types/node":"^13.13.2","benchmark":"^2.1.4","commitlint":"^8.3.5","husky":"^4.2.5","jest":"^25.4.0","nodemon":"^2.0.3","npm-run-all":"^4.1.5","size-limit":"^4.4.5","ts-jest":"^25.4.0","ts-node":"^8.9.0","typescript":"^3.8.3"},"nodemon":{"verbose":false,"execMap":{"ts":"ts-node"},"ignore":["./dist"]},"size-limit":[{"path":"./dist/index.js","limit":"1 KB"}],"jest":{"verbose":true,"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"commitlint":{"extends":["@commitlint/config-conventional"],"rules":{"type-enum":[2,"always",["build","chore","ci","clean","doc","feat","fix","perf","ref","revert","style","test"]],"subject-case":[0,"always","sentence-case"],"body-leading-blank":[2,"always",true]}},"gitHead":"786838fac05c3b913109746707af08c0e800cdb1","bugs":{"url":"https://github.com/47ng/redact-env/issues"},"homepage":"https://github.com/47ng/redact-env#readme","_id":"redact-env@0.3.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-zZ+i7R1ODNUC2HEL5iNQhGDWSCbiu9tPGHrWHe2dZUaGS0GZldfbLHOUHiVmjYW+UtsCRPgAmpejUsDt/t5h8Q==","shasum":"acd19366f5dccbdf3da68e5031d411337c286e50","tarball":"https://registry.npmjs.org/redact-env/-/redact-env-0.3.0.tgz","fileCount":6,"unpackedSize":9694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeocDxCRA9TVsSAnZWagAAB3cP/3FZQ+yOzT2q3Yn5Eh+Y\nAOICimYb5UquMXfBIOgeBCvCzuKeu9Om+DkUAu9Xc/7+R65mqsHBJiMpQIXM\nyyT4py78/2dkQC7fo3V1GKT+ZlM/jeuG0hmdiPM09NSX4REqAWepP41JKJ+x\nIIEjMNFP2bUgr/NET0srhdNiPMaGAkak1Uu3PL1dcsp58IzB+Hizr3yPN4mC\ndjmH30GHHgqarun5ia3nN0HqoMu0I06oKAoNfxEAiJ9JsHpSkCyyBU/vH/av\n7ohOTcgbhCiivElK2sRbxXnTJP2QVCStF3sDeXgT+scllWEmq+FjTd7AH8Px\nn9VJwx2bzueJLEKXxs5jjbNusZnX+9S35fMoqSvdQNgKBOl4PcASf7ayUPhq\nj74i8EMW+ogjcdcJg9qdUWgCgice1aCawJm2j+mWCLrdPxZKZE/qZHFb1Nlj\n0RFZzEXceSph5sisv7VMnPB7wp6mphelBBlMb/PYFQ+6Rj25RMOy2lrIBQ4F\nL+VMyannB6TO0bu4oEi8Bfvcil62dYb6a1oRIGtC+L95MkPOWjutcb1uG266\nSoplDf7kenbzxshx/dflATHlw/J6GX1DCTspmE/463k6jpY7y2tRa5hN8/LO\nulkgVnykbvWCUlNsY9Jv+zXhgvX5l9nr75jrDPh55WlxuXexSgIDKkB87OoU\nPmeU\r\n=JSam\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDrs+hZ/p+ANBu9XZnWS1GZha4PTrOm0uyRd5pLWFVDZAiBcv7UJAMM5eZOgHwBiyofsj2RKytND/8GaJUUz35HHPg=="}]},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redact-env_0.3.0_1587658992840_0.6555524750779831"},"_hasShrinkwrap":false},"0.3.1":{"name":"redact-env","version":"0.3.1","description":"Redact values of critical environment variables in a string","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/redact-env.git"},"keywords":["environment-variables","redact","secrets","security","logging"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --coverage","test:watch":"jest --watch","dev":"nodemon -e ts,.env -w .env -w . -x 'run-s build:ts test'","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","size":"size-limit","ci":"run-s test build size"},"dependencies":{"escape-string-regexp":"^4.0.0"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@size-limit/preset-small-lib":"^4.6.2","@types/benchmark":"^2.1.0","@types/jest":"^26.0.15","@types/node":"^14.14.5","benchmark":"^2.1.4","commitlint":"^11.0.0","husky":"^4.3.0","jest":"^26.6.1","nodemon":"^2.0.6","npm-run-all":"^4.1.5","size-limit":"^4.6.2","ts-jest":"^26.4.3","ts-node":"^9.0.0","typescript":"^4.0.5"},"nodemon":{"verbose":false,"execMap":{"ts":"ts-node"},"ignore":["./dist"]},"size-limit":[{"path":"./dist/index.js","limit":"1 KB"}],"jest":{"verbose":true,"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"commitlint":{"extends":["@commitlint/config-conventional"],"rules":{"type-enum":[2,"always",["build","chore","ci","clean","doc","feat","fix","perf","ref","revert","style","test"]],"subject-case":[0,"always","sentence-case"],"body-leading-blank":[2,"always",true]}},"gitHead":"40e6480f3828c7941e59af327332cb523e75d022","bugs":{"url":"https://github.com/47ng/redact-env/issues"},"homepage":"https://github.com/47ng/redact-env#readme","_id":"redact-env@0.3.1","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-aoTVNyk6Jgj07hk5p2NBShl6joAqefrb6MWCqdDbNky6UJzUc7KQb6v/E766A9rfCY35p1ybpM7/LpZNbXujXw==","shasum":"4663358b65e63d6442cb5d4eefbea21471e5613c","tarball":"https://registry.npmjs.org/redact-env/-/redact-env-0.3.1.tgz","fileCount":5,"unpackedSize":9817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4ksCCRA9TVsSAnZWagAAOE4P/10qOQVJniB/eLXTNOeQ\nG5YEBwNpc5x8DQ8WxyniY3CofEdAreZ9P3F1G/U+GlDt9djzqruaCFfxywHk\nBLpalpiNB6mI2YI8FFhog+kZLgx9iyMPadxPvEnj/UBU21kqI8U6IYZPbK9b\nFTKDi1yPkDwKZceTC2IfQCLP7dtSnpmCakFasNF1WrG0c2bv7bCAgn5CvsWY\nSG6BZf5z4kbLMpvYj7rIJy1YPE2RyFVi99rVH3fADL3WXHq4m9Zj3Gbuy6cP\n59td3FLEL3QdjNAO4cGERIGkTBgCjpL/lXsYa88yqwTk6Z/YifXciCw179vO\nBMi7VQW2rDKY7/SVXYYXyiB5UkvftSAGG777jNktdYPoHKkCVc444C3HuGjq\nHJZXMoAuvFJbKL8shsgtT2xGK7v7XZURGEQxRneUUQGqV5Dwp5tpmYhleHA4\nVsxR4o7FftLMvXpKZg4BmVjm3Vww+CSo93C6+bRannKgcFWGE4a0+a9nTAKE\nx4PJgYqt4793v4N6QmEohZAkP4/s2sGLIvNH8L63q95L65XjFj6ARV6+zxDM\nsmrH+rSv0y8cff4kS3EHTR5W+YdtyFfsYHA4ibLzEqaCFPzUsgQXjsbzbfOv\nEF3O+WiHFhENZ1a7PgFwBicmBRwERJpHiJg0G3ENPngeStn/u6gjrgNPXwPz\n1Qqp\r\n=0+Ja\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmS/ncehzT2o5K9hBHzJ6unTV4jKLLR43CWjg32TIXpQIhAIbZ9cBm598dTRXNPd4rbu2rENikZe1d2vuW9nEBlDvR"}]},"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redact-env_0.3.1_1608665857788_0.19309136480990285"},"_hasShrinkwrap":false},"0.3.2":{"name":"redact-env","version":"0.3.2","description":"Redact values of critical environment variables in a string","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/redact-env.git"},"keywords":["environment-variables","redact","secrets","security","logging"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --coverage","test:watch":"jest --watch","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","size":"size-limit","ci":"run-s test build size"},"dependencies":{},"devDependencies":{"@commitlint/config-conventional":"^17.1.0","@size-limit/preset-small-lib":"^8.1.0","@types/benchmark":"^2.1.2","@types/jest":"^29.2.0","@types/node":"^18.11.4","benchmark":"^2.1.4","commitlint":"^17.1.2","husky":"8.x","jest":"^29.2.1","npm-run-all":"^4.1.5","size-limit":"^8.1.0","ts-jest":"^29.0.3","ts-node":"^10.9.1","typescript":"^4.8.4"},"size-limit":[{"path":"./dist/index.js","limit":"1 KB"}],"jest":{"verbose":true,"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"commitlint":{"extends":["@commitlint/config-conventional"],"rules":{"type-enum":[2,"always",["build","chore","ci","clean","doc","feat","fix","perf","ref","revert","style","test"]],"subject-case":[0,"always","sentence-case"],"body-leading-blank":[2,"always",true]}},"gitHead":"149ffb5d0fb885adef7d2047c63da4b9218ced1e","bugs":{"url":"https://github.com/47ng/redact-env/issues"},"homepage":"https://github.com/47ng/redact-env#readme","_id":"redact-env@0.3.2","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-9m+CuQdpEoXBvje6sDjC6vv0EjsfFJsUGNmRGc16ikgqDRNZDNhCPunpC17vbhSUTEi0o5cdGvr/UI2D/s3b8g==","shasum":"4b3655a8da13e3e35d154028f21578ff769f9a90","tarball":"https://registry.npmjs.org/redact-env/-/redact-env-0.3.2.tgz","fileCount":5,"unpackedSize":9369,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrNI9nTMUfSWz80Lacm/yqeSZ74RJ3BQXqiOUlup7kIgIgBKZ1hqsUTH1ZHSuIvCdl3uld3j2sHxwGrsE0G7FtXR0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVrZSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQBw//aVUxCYb5ZJ9Pp6b4W/Vdj9wtOnIxrmFIjlpfjkAF1C8S0LFk\r\nWAwK9t2paTNy3soCbF/g0bg2ZVpuXJiKY7ZT0Ui98J3jsVli4tLVwHmlnYkB\r\nhSQlm73BvnEDz/Ou4MSheEc0jgUvKx2JuMRtOHHS4cgoGgEk6AC4MVS8aFkx\r\nyaNglWKWFUNjdUPqipAT7SpKq/PPvrntz1COb7aY2muNEMBVXm/hwmHGIXKd\r\nz4Mcjw13Ttc7MQftHk2LNDS81jVHetxgX5kJh0T99aKNySGdeWh2qrrcvo7f\r\n4EoleAkFI5OnZ0J95EzDWMJn3GElJMVpO83HpDdBQSr7X72sS0PYs4BWB1Zw\r\naEKiWXImDLD1/NVQCzDPm5+FalD+XrGIXnhkZRpwFj9MNCbCS+iXrASqu8yD\r\nLceGOETb7MsY19Asbc0RJMpEcd5Qt5+3raW5Bq9dasI1M4aMguS9BjIrTSVO\r\n0zL1GU0226yMoIiNmJOfxb08fXZ3xcZguj4UuH6V2zIeloYrUJ8a45hvecLQ\r\n6nJEVEZW5HdP+OT2Tu31okadUuAZVw7eAwFBC3DNKrOmLuMQlX/cRzykBA2H\r\nJC0F9ThRfjY5Wuc8V7qgCB2D1jB26+spCqwSAF7hiJWBGGk6nkeAj07ScCwF\r\nswtJRjn6Tb08NNoatRf2DPLhX0/GUigY/kY=\r\n=zZ4b\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redact-env_0.3.2_1666627154624_0.6133956641027669"},"_hasShrinkwrap":false},"1.0.0":{"name":"redact-env","version":"1.0.0","description":"Redact values of critical environment variables in a string","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/redact-env.git"},"keywords":["environment-variables","redact","secrets","security","logging"],"publishConfig":{"access":"public"},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","type":"module","sideEffects":false,"exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs","types":"./dist/index.d.ts"}},"scripts":{"test":"jest --coverage","test:watch":"jest --watch","prebuild":"rm -rf ./dist","build:typecheck":"tsc","build:transpile":"unbuild","build":"run-p build:*","size":"size-limit","ci":"run-s test build size"},"devDependencies":{"@commitlint/config-conventional":"^17.1.0","@size-limit/preset-small-lib":"^8.1.0","@types/benchmark":"^2.1.2","@types/jest":"^29.2.0","@types/node":"^18.11.4","benchmark":"^2.1.4","commitlint":"^17.1.2","husky":"8.x","jest":"^29.2.1","npm-run-all":"^4.1.5","size-limit":"^8.1.0","ts-jest":"^29.0.3","ts-node":"^10.9.1","typescript":"^4.8.4","unbuild":"^0.9.4"},"size-limit":[{"path":"./dist/index.mjs","limit":"1 KB"}],"jest":{"verbose":true,"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"commitlint":{"extends":["@commitlint/config-conventional"],"rules":{"type-enum":[2,"always",["build","chore","ci","clean","doc","feat","fix","perf","ref","revert","style","test"]],"subject-case":[0,"always","sentence-case"],"body-leading-blank":[2,"always",true]}},"gitHead":"9f870ea4da88a507c0258f68238ae03a691d2135","bugs":{"url":"https://github.com/47ng/redact-env/issues"},"homepage":"https://github.com/47ng/redact-env#readme","_id":"redact-env@1.0.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-aC97mfXjThiOU5n21/NEu0Z3t3zrgFcTREKkF29F4Q/F2QABzhyJ7Qc9XX2A+gfz7h07B2O37u12TvfGHOMReQ==","shasum":"c6b960dc56d83b5f93b9a507d64a569a29a281d3","tarball":"https://registry.npmjs.org/redact-env/-/redact-env-1.0.0.tgz","fileCount":6,"unpackedSize":8965,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXiVnM3yQUdhGLPwqsTdRrbakeKebtmWD6j+H5wM/u8QIhAKSBXmQy8fcRmBG/xEGS/xPG87dwNTguNZ0RFlnJHLLp"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWF6MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1IA//cbxyXmjOajklB24AlkOMfyKiqpSlFNYKihX+xCkAT9oets+2\r\nUxAW6aFRTQyUOH8KDgiVxO+cfJRLz7Ou2dS9vSL3yjlvGXLHtdkKEkD11aMH\r\nUEqHSbMzm/DVcxWHK926aG29TC9wiDJ6321NyQOpQj7u1Jv8jdU9U24xI1EU\r\nYSfO3fAD4kzlqIj9E9zSi+W5+q9TPXU/ludEIPOpgT4/7zhDQKb6reflkzKH\r\n8V+zHfPqWbpgdPUEuKckIdsq8IqNfEgYw0pE/uQF+BjhvjKgHl6h2Y+TaElK\r\nX6rSZm+4Ky9U91/OkY/KOizuvQAm+kZcPicLDCxK5zyzh0MaWp/QSHBWljK8\r\nYjlIiJmw3rk6fxLbyYX467YD8MZEUVk6QxQEKb6QHzEkJm1wuRigE1+RSzX1\r\neuGOfATXxDsrR+2xa68ir1Q72fKXesQo7KD/jvS62GVqDa5kLrK+6ic0JQ0v\r\n4N+FavD/kmyHigRGT02U+mKZ4F/jtHeIApmy+cfa0wUyGOxJCv/96Tm3NkD+\r\nSqngsMO2BMaXYoBD2n239tB+5HPqgFg2yJHRuOxKS5cp0whKEoDqhTlF2K/F\r\nWl1v8mTqSaofvTtVw9DjZwK7gZlgTAZI9eLcqGsGbuvxLoRuO1tIRYo6sDx+\r\n/fG2lA7mSfsJptmW6igHIbuSlihEXVHFLl0=\r\n=5h+a\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redact-env_1.0.0_1666735756144_0.8538253594020115"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-27T09:51:36.783Z","0.1.0":"2019-06-27T09:51:36.916Z","modified":"2022-10-25T22:09:16.507Z","0.2.0":"2019-06-28T05:42:26.617Z","0.3.0":"2020-04-23T16:23:13.056Z","0.3.1":"2020-12-22T19:37:37.945Z","0.3.2":"2022-10-24T15:59:14.870Z","1.0.0":"2022-10-25T22:09:16.422Z"},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"description":"Redact values of critical environment variables in a string","homepage":"https://github.com/47ng/redact-env#readme","keywords":["environment-variables","redact","secrets","security","logging"],"repository":{"type":"git","url":"git+https://github.com/47ng/redact-env.git"},"author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"bugs":{"url":"https://github.com/47ng/redact-env/issues"},"license":"MIT","readme":"<h1 align=\"center\">🔒👀 <code>redact-env</code></h1>\n\n<div align=\"center\">\n\n[![NPM](https://img.shields.io/npm/v/redact-env?color=red)](https://www.npmjs.com/package/redact-env)\n[![MIT License](https://img.shields.io/github/license/47ng/redact-env.svg?color=blue)](https://github.com/47ng/redact-env/blob/next/LICENSE)\n[![CI/CD](https://github.com/47ng/redact-env/workflows/CI%2FCD/badge.svg?branch=next)](https://github.com/47ng/redact-env/actions)\n[![Coverage Status](https://coveralls.io/repos/github/47ng/redact-env/badge.svg?branch=next)](https://coveralls.io/github/47ng/redact-env?branch=next)\n\n</div>\n\n<p align=\"center\">\n  Redact values of critical environment variables in a string.\n</p>\n\n## ⚠️ Disclaimer\n\nThis library might not do exactly what you want it to.\n\nAs for anything related to security, read the [caveats](#caveats), check\nout the [source code](./src/index.ts) and the [tests](./src/index.test.ts)\nbefore using it in production.\n\n## Installation\n\n```shell\n$ yarn add redact-env\n# or\n$ npm i redact-env\n```\n\n## Usage\n\n```ts\nimport * as redactEnv from 'redact-env'\n\nconst secrets = redactEnv.build(['SECRET_ENV_VAR', 'MY_API_KEY'])\n\nconst unsafeString = `\n  ${process.env.SECRET_ENV_VAR}\n  Oh no, the secrets are leaking !\n  ${process.env.MY_API_KEY}\n`\nconsole.log('unsafe:', unsafeString)\n\nconst safeString = redactEnv.redact(unsafeString, secrets)\nconsole.log('safe:', safeString)\n```\n\n```\nunsafe:\n  QfKcO7cjGoxnLg/28/E7meEu2QaS/wNtFB7wlz+hDZA=\n  Oh no, the secrets are leaking !\n  d9fd627cfd3d6cb597e8faeb2ef0e4583af924aee047125479b2438ee2a18b67\n\nsafe:\n  [secure]\n  Oh no, the secrets are leaking !\n  [secure]\n```\n\n## Caveats\n\n### Un-redacted values\n\n`redact-env` will **NOT** redact the following environment variable values:\n\n- `\"true\"`\n- `\"false\"`\n- `\"null\"`\n\nThis is because these string-encoded JSON values are not specific to a\nsingle environment variable, and redacting all the booleans and nulls in\na string seems overzealous. This is opinionated for a particular usage.\n\n### Parsed numbers in JSON object\n\n`redact-env` **WILL** redact numbers in environment variable values,\nwhich will pose a problem if you parse them and dump them as numbers in a\nJSON object:\n\n```ts\nimport * as redactEnv from 'redact-env'\n\nprocess.env.PIN = '1234'\n\nconst secrets = redactEnv.build(['PIN'], process.env)\n\nconst pin: number = parseInt(process.env.PIN)\n\nconst unsafe = JSON.stringify({ pin })\nconsole.log(unsafe)\n// {\"pin\":1234} => valid JSON\n\nconst safeButIncorrect = redactEnv.redact(unsafe, secrets)\n\nconsole.log(safeButIncorrect)\n// {\"pin\":[secure]}  => not valid JSON\n```\n\n### Windows paths in JSON objects\n\nBecause of backslash-delimited paths in Windows and string escaping\noccurring in `JSON.stringify`, Windows paths in environment variables\nwon't be redacted if present in JSON strings.\n\nIn a future release, we might consider detecting the presence of\nbackslashes in the environment variable value and having two regexp for\nthis secret (one for the plain value and one backslashed-escaped).\n\n## License\n\n[MIT](https://github.com/47ng/redact-env/blob/master/LICENSE) - Made with ❤️ by [François Best](https://francoisbest.com)\n\nUsing this package at work ? [Sponsor me](https://github.com/sponsors/franky47) to help with support and maintenance.\n","readmeFilename":"README.md"}