{"_id":"express-sanitizer","_rev":"26-c4b5bfd98dab8d35dc90f92e451f83be","name":"express-sanitizer","description":"Express middleware for the sanitizer module.","dist-tags":{"latest":"1.0.6"},"versions":{"0.1.0":{"name":"express-sanitizer","description":"Express middleware for the sanitizer module.","author":{"name":"Mark Andrews","email":"20metresbelow@gmail.com"},"version":"0.1.0","homepage":"https://github.com/markau/express-sanitizer","repository":{"type":"git","url":"git://github.com/markau/express-sanitizer.git"},"license":"MIT","main":"./index.js","scripts":{},"engines":{"node":"*"},"dependencies":{"sanitizer":"0.1.1"},"keywords":["express","sanitize","sanitization","xss"],"bugs":{"url":"https://github.com/markau/express-sanitizer/issues"},"_id":"express-sanitizer@0.1.0","_from":"express-sanitizer-0.1.0.tgz","dist":{"shasum":"eaca3b02d6a532dbfc3e3441d65d69841cf383ab","tarball":"https://registry.npmjs.org/express-sanitizer/-/express-sanitizer-0.1.0.tgz","integrity":"sha512-TWBBEAKPu/Id/AycJV/UDjOtda70GkmD5kONIWIz7b0/RlXlm8AHsxdfy5oN9kL7+OE8BjcQE+ZO9+pRRzvqzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9S9jOghX03q+7n9XvOIgSujcj9/8fTbaRI3h65Q21TwIhAK5yfTVXxr88mwOtjwWOlBWIYbDOODBO2uhnwrvq2hly"}]},"_resolved":"express-sanitizer-0.1.0.tgz","_npmVersion":"1.3.21","_npmUser":{"name":"markau","email":"20metresbelow@gmail.com"},"maintainers":[{"name":"markau","email":"20metresbelow@gmail.com"}],"directories":{}},"0.1.1":{"name":"express-sanitizer","description":"Express middleware for the sanitizer module.","author":{"name":"Mark Andrews","email":"20metresbelow@gmail.com"},"version":"0.1.1","homepage":"https://github.com/markau/express-sanitizer","repository":{"type":"git","url":"git://github.com/markau/express-sanitizer.git"},"license":"MIT","main":"./index.js","scripts":{},"engines":{"node":"*"},"dependencies":{"sanitizer":"0.1.1"},"keywords":["express","sanitize","sanitization","xss"],"bugs":{"url":"https://github.com/markau/express-sanitizer/issues"},"_id":"express-sanitizer@0.1.1","_from":".","gitHead":"60bfc488080f00eef8a8adc1a677fa5128dcd952","_shasum":"33aede2c00e1891aea2c798d0bea5a4543c75588","_npmVersion":"1.4.28","_npmUser":{"name":"markau","email":"20metresbelow@gmail.com"},"maintainers":[{"name":"markau","email":"20metresbelow@gmail.com"}],"dist":{"shasum":"33aede2c00e1891aea2c798d0bea5a4543c75588","tarball":"https://registry.npmjs.org/express-sanitizer/-/express-sanitizer-0.1.1.tgz","integrity":"sha512-2jd+SINmLvT3g26ipuS04BR7WIjZ3jdyqCiz6B03yZKjOQwEsWZKiaCpcZJwbofQ6/0Gt+4u5e/1fmx7e5pe/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8K7Rou/3q4PXyYUh2JuGHZ4kcXdpaBYX+mkbNj+ZWbAIgL4RYXu+pqAmlF5b5VbqI9jWYJzg7wBAzMn3PDfOVEOE="}]},"directories":{}},"1.0.0":{"name":"express-sanitizer","description":"Express middleware for the sanitizer module.","author":{"name":"Mark Andrews","email":"20metresbelow@gmail.com"},"version":"1.0.0","homepage":"https://github.com/markau/express-sanitizer","repository":{"type":"git","url":"git://github.com/markau/express-sanitizer.git"},"license":"MIT","main":"./index.js","scripts":{},"engines":{"node":"*"},"dependencies":{"sanitizer":"1.0.0"},"keywords":["express","sanitize","sanitization","xss"],"bugs":{"url":"https://github.com/markau/express-sanitizer/issues"},"_id":"express-sanitizer@1.0.0","_from":".","gitHead":"70f4a27bd197c981f6c79fb02c20d478e05ce965","_shasum":"395db0e122f0778c1b9550d4daaf3187513db8e9","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"markau","email":"20metresbelow@gmail.com"},"dist":{"shasum":"395db0e122f0778c1b9550d4daaf3187513db8e9","tarball":"https://registry.npmjs.org/express-sanitizer/-/express-sanitizer-1.0.0.tgz","integrity":"sha512-azP1xOzmI22hMAiJu4QIf1aNBCiXWpWeZkO9gH+L9A6nJVJxcNFGiR/ddbDJzr9FWNu77Clv9Bqxu2zwv+rwKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICS3YZNIEutgqK7rgaIzGcGTm5g9+qBYmS1cfSuNQ/BaAiEAz41L9Rq/y64O3YrXeEILHgYSbPB2goOrdZ6EeqhDiaQ="}]},"maintainers":[{"name":"markau","email":"20metresbelow@gmail.com"}],"directories":{}},"1.0.1":{"name":"express-sanitizer","description":"Express middleware for the sanitizer module.","author":{"name":"Mark Andrews","email":"20metresbelow@gmail.com"},"version":"1.0.1","homepage":"https://github.com/markau/express-sanitizer","repository":{"type":"git","url":"git://github.com/markau/express-sanitizer.git"},"license":"MIT","main":"./index.js","scripts":{},"engines":{"node":"*"},"dependencies":{"sanitizer":"0.1.2"},"keywords":["express","sanitize","sanitization","xss"],"bugs":{"url":"https://github.com/markau/express-sanitizer/issues"},"_id":"express-sanitizer@1.0.1","_from":".","gitHead":"70f4a27bd197c981f6c79fb02c20d478e05ce965","_shasum":"dbfcc28bf3b88a498a93e24f2697cf4f5dbe2c80","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"markau","email":"20metresbelow@gmail.com"},"dist":{"shasum":"dbfcc28bf3b88a498a93e24f2697cf4f5dbe2c80","tarball":"https://registry.npmjs.org/express-sanitizer/-/express-sanitizer-1.0.1.tgz","integrity":"sha512-xKsOwzv09fK9iW7nEHigCQz1oIDpCJHgNmR+3XC0giomrBNc/Bc13R4055OdDJNW0kO4+kJTYAenmxWN1kkIMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9lGz1DacFIruTSE55FDnoA++QNWtisN5a/mm2aMYIUAiEAxoUA22NYuv1gn2pTVflgmtjumzODo65UTM+7YlW2VmY="}]},"maintainers":[{"name":"markau","email":"20metresbelow@gmail.com"}],"directories":{}},"1.0.2":{"name":"express-sanitizer","description":"Express middleware for the sanitizer module.","author":{"name":"Mark Andrews","email":"20metresbelow@gmail.com"},"version":"1.0.2","homepage":"https://github.com/markau/express-sanitizer","repository":{"type":"git","url":"git://github.com/markau/express-sanitizer.git"},"license":"MIT","main":"./index.js","scripts":{},"engines":{"node":"*"},"dependencies":{"sanitizer":"0.1.3"},"keywords":["express","sanitize","sanitization","xss"],"bugs":{"url":"https://github.com/markau/express-sanitizer/issues"},"_id":"express-sanitizer@1.0.2","_from":".","gitHead":"e0168e5e709188705f6b918da9a91593f957daee","_shasum":"227efca714a9cbe33bb22158e9e3e8714d3a5275","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"markau","email":"20metresbelow@gmail.com"},"dist":{"shasum":"227efca714a9cbe33bb22158e9e3e8714d3a5275","tarball":"https://registry.npmjs.org/express-sanitizer/-/express-sanitizer-1.0.2.tgz","integrity":"sha512-8eaX1pai6SNGZOMJu2uYplIlSWhab2o8AbhBtVaZ9xa0cx1JvqjBsiV8Zq2cv+dJk2iX43drpyDf2zywyusKeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQ2gHYPPjDGt0XnuAbyQn6gm1yeWUWsR6pkgA9cRtTwAiBKGDzxgjgqiCRzvTVQHbGOFI8QwKDVBTNboO9zbToTWw=="}]},"maintainers":[{"name":"markau","email":"20metresbelow@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/express-sanitizer-1.0.2.tgz_1486555062170_0.9121087749954313"},"directories":{}},"1.0.3":{"name":"express-sanitizer","description":"Express middleware for the sanitizer module.","author":{"name":"Mark Andrews","email":"20metresbelow@gmail.com"},"version":"1.0.3","homepage":"https://github.com/markau/express-sanitizer","repository":{"type":"git","url":"git://github.com/markau/express-sanitizer.git"},"license":"MIT","main":"./index.js","scripts":{},"engines":{"node":"*"},"dependencies":{"sanitizer":"0.1.3"},"keywords":["express","sanitize","sanitization","xss"],"bugs":{"url":"https://github.com/markau/express-sanitizer/issues"},"_id":"express-sanitizer@1.0.3","_from":"express-validator@latest","gitHead":"b8f973963f2380499183b7540c3868ac9261b72f","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"markau","email":"20metresbelow@gmail.com"},"dist":{"integrity":"sha512-CbjO7smvYq4cnQaGPNFzZSPx9GePERybhLAEyRBXKwEYjqP59S6z6fHTUXUzIFOitsNz98c9ytItSp1bcui2UA==","shasum":"ce78a1c6cec78b9d0c5525ff75ec68c47411ad10","tarball":"https://registry.npmjs.org/express-sanitizer/-/express-sanitizer-1.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCT2QrrsZf5BU/DXSt0pdt2Q6BsTEjOw+kt/IVh9Kp2/wIhAMDjjRE22Kg4b91ZlaJA3OIvv/s2sZ4rDEL+gf8bRPs8"}]},"maintainers":[{"name":"markau","email":"20metresbelow@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-sanitizer-1.0.3.tgz_1516792733458_0.5060910941101611"},"directories":{}},"1.0.4":{"name":"express-sanitizer","description":"Express middleware for the sanitizer module.","author":{"name":"Mark Andrews","email":"20metresbelow@gmail.com"},"version":"1.0.4","homepage":"https://github.com/markau/express-sanitizer","repository":{"type":"git","url":"git://github.com/markau/express-sanitizer.git"},"license":"MIT","main":"./index.js","scripts":{},"engines":{"node":"*"},"dependencies":{"sanitizer":"0.1.3","underscore":"1.8.3"},"keywords":["express","sanitize","sanitization","xss"],"bugs":{"url":"https://github.com/markau/express-sanitizer/issues"},"_id":"express-sanitizer@1.0.4","_from":"express-validator@latest","gitHead":"2914e636579c53d34e4b3110ca27967dd3ed3f03","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"markau","email":"20metresbelow@gmail.com"},"dist":{"integrity":"sha512-Iy8NFdgEMcusd5rwHJ/TvCBg3lDp/R8lueLmy+7iFaAOjTW588mzVp4ZnlFsLiNwpdYNV1tQcLs13LwneXxT0w==","shasum":"5331a12de6577582901a6581e91e38a8b99a6ee2","tarball":"https://registry.npmjs.org/express-sanitizer/-/express-sanitizer-1.0.4.tgz","fileCount":4,"unpackedSize":4954,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6fcK8FUadhX72k6wDl0CeNFDlpUaHBnz8S3/nRSHvkAIgANcc6w/YdjBMruVS5ldr//Y3YCGn4lGJrB9l9FtSkCQ="}]},"maintainers":[{"name":"markau","email":"20metresbelow@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-sanitizer_1.0.4_1523451348766_0.9968539331726545"},"_hasShrinkwrap":false},"1.0.5":{"name":"express-sanitizer","description":"Express middleware for the sanitizer module.","author":{"name":"Mark Andrews","email":"20metresbelow@gmail.com"},"version":"1.0.5","homepage":"https://github.com/markau/express-sanitizer","repository":{"type":"git","url":"git://github.com/markau/express-sanitizer.git"},"license":"MIT","main":"./index.js","scripts":{"test":"mocha"},"engines":{"node":"*"},"dependencies":{"sanitizer":"0.1.3","underscore":"1.8.3"},"keywords":["express","sanitize","sanitization","xss"],"bugs":{"url":"https://github.com/markau/express-sanitizer/issues"},"_id":"express-sanitizer@1.0.5","_from":"express-validator@latest","devDependencies":{"assert":"^1.4.1","expect":"^24.0.0","express":"^4.16.4","mocha":"^5.2.0","node-mocks-http":"^1.7.3","supertest":"^3.4.2"},"gitHead":"e76875af75ca5d6209009b5f63271306de9d298d","_npmVersion":"6.5.0","_nodeVersion":"11.8.0","_npmUser":{"name":"markau","email":"20metresbelow@gmail.com"},"dist":{"integrity":"sha512-48/Tf1DZ7JklRVTcXQLHAxhq4GNJTuHq2jjIYhyTmu0Bw+X06YPDD/e/tdn1QLYk706xw4N8JFxtjslRrDGb8g==","shasum":"1622e250dbc8ac7f0986fcbcb0be13627d164047","tarball":"https://registry.npmjs.org/express-sanitizer/-/express-sanitizer-1.0.5.tgz","fileCount":5,"unpackedSize":46888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVZI9CRA9TVsSAnZWagAAXi4P/2VoWcm6X2rSNJ3IQfAz\neBf7AqB7Y23p1GB4PKY5E3VAtyq3tPnVMPLXfHT7TsjAga+XDNb4gqCgz2qv\nWl3AWDovIL5EW+Db+ZONFl0sf4ox5EeU2MXY9xuQp3OvpxgvadBx2l/ltAd2\nUayn8ZBfAKg5P4Pyyva8A+jsSCut8RMknJaR/PKGgVkJSgwBi8rRLtL8dXev\n1tS0picpDfIC58umr9PWxXmjOmgGMp56jdUHykM7pfxQV+cZi8r8SV89YwGh\n3CHgu9axHKm/YJWs2BAkfgX1iYKWnhFEwcyn5JMJWF80+XgRJ8vsRxDt7can\nj0MSrVgPtD2jvUobXe16czqrqh5SHUzOHNGQV+7+fweLmpKrkM8+AkSiSVMF\n3D+xyOwOrCXv1vMsnN5rYnMF4Rm+Z3U515umuGIa9/aeGJRWjhdTqiPaaCHh\nTZXaC/f9gulUmUKFgCpsNMIJyJ8bq9vGXJsQBq7jIrvmI+2Mt7DZdx2s8nyJ\nd0DKObI8FCMduofUCBzYM8fcu40gUyYFU1lgX/uuOUdsHT+aQoUgSGpfQcAZ\n2YV8GIjYYE5u1npePnAmApRGLeys5qsOciIwu+Yb0wfcaw7ji6wqKr4zCefU\ngK+2Iy2JJbXGTfcM08w/v+2xscguSsPGU+huseZQAaGLBSWc8tTwCTMg80Ob\nBnj8\r\n=qaSF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDedV78ieiIxkctgDzDK1+qOKoSFqF3nSntf+k6j2+EyQIgHpCWRy7/qlCmZ4eX8QlirfP7z/ibJgYzxgclITFAsQ8="}]},"maintainers":[{"name":"markau","email":"20metresbelow@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-sanitizer_1.0.5_1549111868671_0.6627591756172584"},"_hasShrinkwrap":false},"1.0.6":{"name":"express-sanitizer","description":"Express middleware for the sanitizer module.","author":{"name":"Mark Andrews","email":"20metresbelow@gmail.com"},"version":"1.0.6","homepage":"https://github.com/markau/express-sanitizer","repository":{"type":"git","url":"git://github.com/markau/express-sanitizer.git"},"license":"MIT","main":"./index.js","scripts":{"test":"mocha"},"engines":{"node":"*"},"dependencies":{"sanitizer":"0.1.3"},"keywords":["express","sanitize","sanitization","xss"],"bugs":{"url":"https://github.com/markau/express-sanitizer/issues"},"_id":"express-sanitizer@1.0.6","_from":"express-validator@latest","devDependencies":{"assert":"^1.4.1","expect":"^24.0.0","express":"^4.16.4","mocha":"^8.3.2","node-mocks-http":"^1.7.3","supertest":"^3.4.2"},"gitHead":"021e8ee4076d17d489c2f9a42b5a3b3a2c0df936","_nodeVersion":"15.5.0","_npmVersion":"7.3.0","dist":{"integrity":"sha512-77Ruhr/NTVGE2Ecc8pH3XedpreQiHRtwA+ONON0/nJam8Re/AvkGngd8EqKb2YKCqaL4Iw+W33IJXgHgMe7xaQ==","shasum":"b43ad9697f700cb59775f1ab3a1800a95313a928","tarball":"https://registry.npmjs.org/express-sanitizer/-/express-sanitizer-1.0.6.tgz","fileCount":6,"unpackedSize":7510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeOOYCRA9TVsSAnZWagAAyNQP/0gOSXwFHWhrcakpvA5I\nj/uIBSdobAt8qoUHEDzqQI+qbrWnE9eiACCqpqPtX9/aUgI3J6b4X9w+vY9O\nz5G+Z3wNlXTsPNhoSb2v9H9ZySPJX0Gn9zePykFdo94cTtGVO+a/yKCzR7HJ\njQ1DZDpKe9IzeCYIzzwgHkhI7stzsxtte3YDT0uSyDkzSti7ZEf3TnGlVB7N\nw4m0aSsyC3U8x5QYRI6tMMpCiUyjI/R7qNDeLxpj340H0d0IpM4KX/Bgv9RL\n2rcjlkWylGbb2KVazqADuOkJ5PZJ1o4u5+OHGc5TmhgiZQxNmwaT1Sg5EGeY\nj6bTwFWIG/IBjS1of5RWXA78yT/5vDAPcFPqwhRY2G8XshbF7m9+FrTPxTL2\nj52zNF1zyq/idzeMNFgll0LGGU+zEmUNvMEpvhZXIVdzDS9Bqof67ozWdaiK\nOD2LYXxBaODJdzsIpg9UwAKps9SFCFX9ygZ4UOGlm8zOeowb+YsQf1dF/HC1\n6DGSol+x77zeaLSzehAcTDLvBRGOxT2riTyETkl8kdBBEOZ9T/aScaiSBgvi\nXp58iU6ZaD9NjmUcz3B9whS6c7opYAzkJbJnE8nAHsSEYCaCXaC8p7JMEFsN\nlcZoM/uMibC8xBe/QyYaqG/fiIF6kVcrQESXkleOXAWc3rJcF06UEtvg54LA\nHlGF\r\n=Hdag\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0DzDJgozWAdkUdWa6IvL26euMapizkE6Tt8ti2KkWGwIhAOdAZ3bIlNvdpm2ngqqzjeR2ijDPHwfzO07hqpUURZ4f"}]},"_npmUser":{"name":"markau","email":"20metresbelow@gmail.com"},"directories":{},"maintainers":[{"name":"markau","email":"20metresbelow@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-sanitizer_1.0.6_1618535319527_0.9897593579388375"},"_hasShrinkwrap":false}},"readme":"[![npm](https://img.shields.io/npm/dm/express-sanitizer.svg?style=flat-square)](https://github.com/markau/express-sanitizer)\n[![Build Status](https://github.com/markau/express-sanitizer/workflows/build/badge.svg?branch=master)](https://github.com/markau/express-sanitizer)\n[![npm](https://img.shields.io/npm/l/express.svg?style=flat-square)](https://github.com/markau/express-sanitizer)\n[![dependencies](https://david-dm.org/markau/express-sanitizer.svg?style=flat-square)](https://david-dm.org/markau/express-sanitizer)\n[![Known Vulnerabilities](https://snyk.io/test/github/markau/express-sanitizer/badge.svg?targetFile=package.json)](https://snyk.io/test/github/markau/express-sanitizer?targetFile=package.json)\n\n**Notice**: The primary dependency for this library hasn't been updated in 5 years. Before using this library, consider other options such as [express-validator](https://express-validator.github.io/docs/). \n\n# express-sanitizer\n\nAn express middleware for [Caja-HTML-Sanitizer](https://github.com/theSmaw/Caja-HTML-Sanitizer), which wraps [Google Caja sanitizer](https://code.google.com/p/google-caja/wiki/JsHtmlSanitizer).\n\nA useful complement to the [express-validator](https://github.com/ctavan/express-validator) -- to fill a gap now that XSS sanitization support has been removed from that module's parent [node-validator](https://github.com/chriso/node-validator).\n\n## Installation\n\n```\nyarn add express-sanitizer\n```\n\nor\n\n```\nnpm install --save express-sanitizer\n```\n\n## Usage\n\nImport the module\n\n```javascript\nconst expressSanitizer = require('express-sanitizer');\n```\n\nMount the middleware *below* the `express.json()` (or, prior to express v4.16, `bodyParser()`) instantiation and *above* mounting of your routes\n\n```javascript\napp.use(express.json());\n\n// Mount express-sanitizer middleware here\napp.use(expressSanitizer());\n\napp.post('/', function(req, res, next) {\n  // replace an HTTP posted body property with the sanitized string\n  const sanitizedString = req.sanitize(req.body.propertyToSanitize);\n  // send the response -- res.body.sanitized = \" world\"\n  res.send({ sanitized: sanitizedString });\n});\n```\n\n## Output\n\nThe string\n```javascript\n'<script>hello</script> world'\n```\nwill be sanitized to ' world'.\n\n## Limitations\n\nThis is a basic implementation of [Caja-HTML-Sanitizer](https://github.com/theSmaw/Caja-HTML-Sanitizer) with the specific purpose of mitigating against persistent XSS risks (<b>note the borderline abandonware comments in that repo!</b>).\n\n## Caveats\n\nThis module trusts the dependencies to provide basic persistent XSS risk mitigation. A user of this package should review all packages and make their own decision on security and fitness for purpose.\n\n## Changelog\n### v1.0.6\n- Removed unused dependency\n\n### v1.0.5\n- Unit tests (better late than never)\n\n### v1.0.4\n- Merged PR #3 from Brian M. Jemilo II\n\n### v1.0.3\n- Updated README to base example on an express-generator scaffolded application\n\n### v1.0.2\n- Updated sanitizer dependency to 0.1.3\n- Merged PR #4 from @ScottRamsden\n\n### v1.0.1\n- Updated sanitizer dependency to 0.1.2\n\n### v1.0.0\n- Update to v1\n\n### v0.1.1\n- Merged PR removing unused dependency\n\n### v0.1.0\n- Initial release\n\n## Contributors\n\n- Mark Andrews <20metresbelow@gmail.com>\n- Patrick Hogan <patrick@callinize.com>\n- Scott Ramsden @ScottRamsden\n- Brian M. Jemilo II <jemiloii@jemiloii.com>\n\n## License\n\nCopyright (c) 2021 Mark Andrews <20metresbelow@gmail.com>, MIT License\n\n","maintainers":[{"name":"markau","email":"20metresbelow@gmail.com"}],"time":{"modified":"2022-06-17T22:37:36.245Z","created":"2014-02-09T02:07:01.678Z","0.1.0":"2014-02-09T02:07:01.678Z","0.1.1":"2015-01-23T10:22:57.134Z","1.0.0":"2015-09-16T00:16:03.131Z","1.0.1":"2015-09-16T01:40:41.241Z","1.0.2":"2017-02-08T11:57:43.981Z","1.0.3":"2018-01-24T11:18:53.523Z","1.0.4":"2018-04-11T12:55:48.860Z","1.0.5":"2019-02-02T12:51:08.800Z","1.0.6":"2021-04-16T01:08:39.620Z"},"readmeFilename":"README.md","homepage":"https://github.com/markau/express-sanitizer","keywords":["express","sanitize","sanitization","xss"],"repository":{"type":"git","url":"git://github.com/markau/express-sanitizer.git"},"author":{"name":"Mark Andrews","email":"20metresbelow@gmail.com"},"bugs":{"url":"https://github.com/markau/express-sanitizer/issues"},"license":"MIT","users":{"cjwilburn":true,"overcast":true,"asm2hex":true,"protovore":true,"adeelp":true,"iuykza":true,"cwooz":true,"milan322":true,"renchiliu":true,"ryaned":true,"omundy":true,"felipeferreirasilva":true}}