{"_id":"micromark-util-sanitize-uri","_rev":"9-29bfa3b95b8c73d9d4001aaa7c1c39e9","name":"micromark-util-sanitize-uri","dist-tags":{"next":"1.0.0-beta.1","latest":"2.0.1"},"versions":{"1.0.0-alpha.1":{"name":"micromark-util-sanitize-uri","version":"1.0.0-alpha.1","keywords":["micromark","util","utility","sanitize","clear","url"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"micromark-util-sanitize-uri@1.0.0-alpha.1","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/micromark/micromark/tree/main#readme","bugs":{"url":"https://github.com/micromark/micromark/issues"},"xo":false,"dist":{"shasum":"b94981385d1faa64ce2a3922812a265e44a5877c","tarball":"https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.0.0-alpha.1.tgz","fileCount":6,"integrity":"sha512-wuEmITCfpjZp4B5MvVG+vWU0m1smVLGKdsIJ7LzFCwdZWqpXC0j8GTcl6399xa0quGydOXjuKazplzoaHTALqQ==","signatures":[{"sig":"MEUCIDfqeoUYx9KPGWZoe08xfKxoCEifMwa2qfyM+NgBt88BAiEAonsEY3xaU5iIMoTbCodpcT5J04CYz7KtYUCOIZvUXo8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgveZQCRA9TVsSAnZWagAAl8QP+gM5UKigbwcMQ9shlkPd\nfjAUfTFQsX6An+4g9ruwCMF6tRJgdNZQdW3cRC9S2KwAgfLoIz1yryIH1NL8\nsPVXH0RDWwUpmclMCDj6u8rY7LegtMKz7Bx3Hx3z0tfP5ozDaYL+6JsSSta9\nXUaRU6BJD75UkgzRisZnNPqdA48C9tLUJMgrDT6ExzpLSRyx9Chxkp13u1Ka\nxzJIHZHelARAes59ME6DlNt81iXxHCZfILRkLikKHsCxojjYyCbtPxhGJ4j0\nnBYPCYXEiQducnBJRdAMsg8e2QD0DptckQmsXx3IuUOyBbxNCZFr1dTrxKzl\nC6LHionEIOn5u8+MOVDmPVcPvfhRtPqABrQVxidQZllCmQZqR2arXJc3ZEZU\nR/F14qMMDzoMnSX9AymeltTpNi++2lRH/fLYz21g16U5i1vjcUQmAQyBc86E\nYxHAY2D4i6S70giKD7Nw4UsS7TEKwQ0zUS61UCxWhm3JGrIsLI0tX1LkpRKQ\nwSGlnR/Bv51Fz5wuJDKHCmYZH12NkcBPcZL+XMBRd0vmfSg/E8Ug98hUSoMw\neMRgIWBFvQPBEPGsXeoF7jWYuGjxQggG0Nv0S0zfGEDSPZiM7fm/UzepfxsM\nrRu6qY6FDh3ciIRAk7Z44QdBoHvflWztILRpaHw/fiFwCum/y4A8O89z6yBa\njjWV\r\n=9RA+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"dev/index.d.ts","exports":{"default":"./index.js","development":"./dev/index.js"},"funding":[{"url":"https://github.com/sponsors/unifiedjs","type":"GitHub Sponsors"},{"url":"https://opencollective.com/unified","type":"OpenCollective"}],"scripts":{"build":"rimraf \"*.d.ts\" \"{dev/,lib/}**/*.d.ts\" && tsc && micromark-build && type-coverage"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/micromark/micromark.git#main","type":"git"},"_npmVersion":"7.15.1","description":"micromark utility to sanitize urls","directories":{},"_nodeVersion":"16.2.0","dependencies":{"micromark-util-encode":"^1.0.0-alpha.1","micromark-util-symbol":"^1.0.0-alpha.1","micromark-util-character":"^1.0.0-alpha.1"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/micromark-util-sanitize-uri_1.0.0-alpha.1_1623058000493_0.38997375762017605","host":"s3://npm-registry-packages"}},"1.0.0-alpha.2":{"name":"micromark-util-sanitize-uri","version":"1.0.0-alpha.2","keywords":["micromark","util","utility","sanitize","clear","url"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"micromark-util-sanitize-uri@1.0.0-alpha.2","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/micromark/micromark/tree/main#readme","bugs":{"url":"https://github.com/micromark/micromark/issues"},"xo":false,"dist":{"shasum":"646830439078c4a82a0a5f8867abe05f57a53887","tarball":"https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.0.0-alpha.2.tgz","fileCount":6,"integrity":"sha512-197W6iYAejKSYvtI1QOAT+YffdlQLHTPUUfKoLUNZk5BDl0cEzumwl06uFv9K2UPJccSzJNp2p/1WKp7b4gsbw==","signatures":[{"sig":"MEQCIB96M6VfAYdPT+0cK1m71cK0U1j6987CtjW2riEQ2IPgAiBsxJPnjdxkI7pwmDeApLWfYwEh7G+CjD95bFoihIZ9JQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgviDNCRA9TVsSAnZWagAAovYP/3NbX+K6VJxkfkGbJtut\nGx46Ho+uZaLFh7+tTgtHqvC+zfTdyElKdtYCgXRPS+qKeNFpX66u+qeNcSge\nL/+HSb0pDkAX8ldyLZeHpSNDdw+ToIofXPt1ljTfkwiHKdj/ML7ruXMHteES\n6oDbL08khCapsKbckmLushz95c1Mrz4wkaelCDUUO5u6m6ukZj912j/nSo4a\njIBA7jJY75iKqgKuROrTxvVpCoHNGT1hcmmW+z5vK+k3A72dUBMVzpvPAtvE\nHIh5Kd+XSBesucVEkMDiUOEIAGoT0qJpgKJU/heKNiP+K1s/1uIjsf+RtGT3\n/6ql4oR6MNT9p3Us093e6Mh5birYgAcsr/Rp7ZYuELv3XY1v6+62A79wWWSA\nqP9PfIE4m0c2edagPjN0gZ+PCzpt8EW065Zl9CSMV+zh6dF7K/+f84+nfmoC\nDmZHg+6xa9LyQxb00O8UXXAUfgW7Cq5anKMQXKo+M1XKWVPRy/xQ2XlVAbZV\n/DyUTTmM/nDFByfG878Qd+mDh+PQegVb9D8RfwOKdbN71TCeyIcCzfkWcFOF\nxdiHR8eDbOkYy88OEbsjhFydDiC1Y/HSFqJqcBUD2e8D5qZT9wLL/9FIOZRJ\nFEHVlOiSmSfyJ97+Pp12Si1s908cQ5X7MQRkCa1IctPzoT0jNuHwRDq51XPX\n7tW2\r\n=p4VE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"dev/index.d.ts","exports":{"default":"./index.js","development":"./dev/index.js"},"funding":[{"url":"https://github.com/sponsors/unifiedjs","type":"GitHub Sponsors"},{"url":"https://opencollective.com/unified","type":"OpenCollective"}],"scripts":{"build":"rimraf \"*.d.ts\" \"{dev/,lib/}**/*.d.ts\" && tsc && micromark-build && type-coverage"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/micromark/micromark.git#main","type":"git"},"_npmVersion":"7.15.1","description":"micromark utility to sanitize urls","directories":{},"sideEffects":false,"_nodeVersion":"16.2.0","dependencies":{"micromark-util-encode":"^1.0.0-alpha.2","micromark-util-symbol":"^1.0.0-alpha.2","micromark-util-character":"^1.0.0-alpha.2"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"readmeFilename":"readme.md","_npmOperationalInternal":{"tmp":"tmp/micromark-util-sanitize-uri_1.0.0-alpha.2_1623072973506_0.5577131944861855","host":"s3://npm-registry-packages"}},"1.0.0-alpha.3":{"name":"micromark-util-sanitize-uri","version":"1.0.0-alpha.3","keywords":["micromark","util","utility","sanitize","clear","url"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"micromark-util-sanitize-uri@1.0.0-alpha.3","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/micromark/micromark/tree/main#readme","bugs":{"url":"https://github.com/micromark/micromark/issues"},"xo":false,"dist":{"shasum":"55ac14feb74e81a57b525d4e81347e3076595655","tarball":"https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.0.0-alpha.3.tgz","fileCount":6,"integrity":"sha512-GHzsWJUaFT4Tl5BM+nE4oWl9ZZI94y8hThr+F9n2PEaReg5wBGcK2IgJTg/9/WN7c7S1xslrMU+998TYhMRwOA==","signatures":[{"sig":"MEUCIQCeg/ew2LL6lFWZMcfvszneX2gT1RAlWurLyeHnJLwcKQIgbSL4RZNvCCLdlGnjGQrUkUvXjBl6WAntNhZzLBJGs8s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyjJ+CRA9TVsSAnZWagAADqUP/ik4UapnqDgTt6spYSXY\naOcc2zn07UePwiNmjDi8dvZhtM257NFqzcwvSj1Y2tdIueWLbv6jBN+enuzO\n7L8rSBMSJ49BFepM8V5fnII/LA87iakTZuwKQ6yFucJXYhrUBK6w4UfG529D\nNjkJPJpZvZsxtc9isWbAipeSRIivIRFgHPv99UgXn0zyWtCAmEx4FLQczBMT\nZIscijxuahtORD17vmxzUTLkaNRsv0B3J+gznSXZfFtVwOZc0D/+nTfTUOOM\nCGxB69eTbU7/IGEFlDd9ZG1VZoK/nLUVuyWVatwv/YHzy7r8E6/p9ChU9oKH\nD/pmeCLBS8+C/RAEPZa0IhKR1Ivj0OiOgogVBHnG4zhdoCdYujJthpErWcD8\na5ssnNY16+FVUY1WEF6QxrNAcwPUn2GX2cDmVfh3sFkpAmYnBjCIKwQLhoru\nQoymU4cUYb7mSd03hNowBYBvQQN1PNsxV+X2mRjGk/9H58kl5YPjD9n6xgkw\ncVnoF572HxMEkXWtT46D8SMjCsMmarWq7a7jRsdGgYhPJ0qDHqXf3uvwVkDk\nOP/nG/4fExSgYrhEvXcgxNuqqef8u2nkHkOuAuVGJIyhQ/sckhFPQUrX0Pw2\nRuifVRFwIg5R1ZhZV8FeAzZGJJBkJXVoIFNShu3KKJBkvkEX8KgZE/mmcgaL\nmgJG\r\n=yJ02\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"dev/index.d.ts","exports":{"default":"./index.js","development":"./dev/index.js"},"funding":[{"url":"https://github.com/sponsors/unifiedjs","type":"GitHub Sponsors"},{"url":"https://opencollective.com/unified","type":"OpenCollective"}],"scripts":{"build":"rimraf \"*.d.ts\" \"{dev/,lib/}**/*.d.ts\" && tsc && micromark-build && type-coverage"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/micromark/micromark.git#main","type":"git"},"_npmVersion":"7.16.0","description":"micromark utility to sanitize urls","directories":{},"sideEffects":false,"_nodeVersion":"16.2.0","dependencies":{"micromark-util-encode":"^1.0.0-alpha.3","micromark-util-symbol":"^1.0.0-alpha.3","micromark-util-character":"^1.0.0-alpha.3"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"readmeFilename":"readme.md","_npmOperationalInternal":{"tmp":"tmp/micromark-util-sanitize-uri_1.0.0-alpha.3_1623863934054_0.12688598245138571","host":"s3://npm-registry-packages"}},"1.0.0-beta.1":{"name":"micromark-util-sanitize-uri","version":"1.0.0-beta.1","keywords":["micromark","util","utility","sanitize","clear","url"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"micromark-util-sanitize-uri@1.0.0-beta.1","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/micromark/micromark/tree/main#readme","bugs":{"url":"https://github.com/micromark/micromark/issues"},"xo":false,"dist":{"shasum":"75b609cbd809202bc660b256edd83311b67a94ea","tarball":"https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.0.0-beta.1.tgz","fileCount":6,"integrity":"sha512-s1N8+eljoaKN7CowZYKpDw3va7X+XIcGEBtoA9O36nffNyT47d9Sk+53avaeOb3swyFZJe5ymIv8Sl1406oN8g==","signatures":[{"sig":"MEYCIQDTeYF5gdDpzDb54zgyjdEXVeHYH5bt3tTP4ekSAt3M9gIhAO6yrYOqmDfruvdi/OCtLIJ/blnde4NdbzTOVqYJvdqT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13339,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzzDyCRA9TVsSAnZWagAAXr0P/3hxzr1cCLmCPnCnPAqQ\n8P8tfAW37QCyivXVKG1fD3hQE2Q80ErUdyN+71ummXDknEISYcSo0ROSQZ2A\nsgD+sRA3gfR6x8uFtmvkQwE7iwRlFTb/j8StU1MYPtA3U0lXhU1z3Cn9kw/a\nfvrpovN93dYZFVPY9ptHFfGrc9frLjiFRxK28+X9uEtwVXlfHRxyCDTKd5Yi\nq5/E1OIguytl4lhHjkE3++gb9GkTRQilvVwmJA2vXm+z6VwHNz7CF9lp9tCX\nV9gumC1Y8f/6oQ1jrLpxy9fsbRkiBG2t85eizeXtxbSLYS0asOLllb0MmxwN\nlQBhXV9/6UC2ZADk3Pb5KLt31Wc9RkP4yLcnQ46yioeaOb+FY14oa8IO9a2T\nyq5zpp2M94GmOhCx5W+GAlDxFldaWNnrD5GfDbVmPHeBCpW1pf+OpmJ7WXYB\nYtV8QcDkC2ahPubDc0BW9LrsiN8JdP4iFTtg+SqdSA+vg7qA4wMtIGXhrX+O\nvACkEXTUhEbW+B/sW0fWo6Eb9jLe6SFqy/dL5P9ODdjGU1PABK70KML0sOJY\ncweQ46E4MmozpM6ThESVBgwUvCZ7XOm9W2ux8/jcHyz/6cl68s13s+oKY5Sj\njltftZ6HylqZGtNUDfB+dUc+XLiDtDqPh6k22wsdxW1m7fx4mEinriCHxKKx\n+yqo\r\n=J0i0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"dev/index.d.ts","exports":{"default":"./index.js","development":"./dev/index.js"},"funding":[{"url":"https://github.com/sponsors/unifiedjs","type":"GitHub Sponsors"},{"url":"https://opencollective.com/unified","type":"OpenCollective"}],"scripts":{"build":"rimraf \"*.d.ts\" \"{dev/,lib/}**/*.d.ts\" && tsc && micromark-build && type-coverage"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/micromark/micromark.git#main","type":"git"},"_npmVersion":"7.18.1","description":"micromark utility to sanitize urls","directories":{},"sideEffects":false,"_nodeVersion":"16.2.0","dependencies":{"micromark-util-encode":"^1.0.0-beta.1","micromark-util-symbol":"^1.0.0-beta.1","micromark-util-character":"^1.0.0-beta.1"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"readmeFilename":"readme.md","_npmOperationalInternal":{"tmp":"tmp/micromark-util-sanitize-uri_1.0.0-beta.1_1624191217940_0.5747312023794642","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"micromark-util-sanitize-uri","version":"1.0.0","keywords":["micromark","util","utility","sanitize","clear","url"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"micromark-util-sanitize-uri@1.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/micromark/micromark/tree/main#readme","bugs":{"url":"https://github.com/micromark/micromark/issues"},"xo":false,"dist":{"shasum":"27dc875397cd15102274c6c6da5585d34d4f12b2","tarball":"https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.0.0.tgz","fileCount":6,"integrity":"sha512-cCxvBKlmac4rxCGx6ejlIviRaMKZc0fWm5HdCHEeDWRSkn44l6NdYVRyU+0nT1XC72EQJMZV8IPHF+jTr56lAg==","signatures":[{"sig":"MEUCIEQ0xRgaq9RKOqo2oh1oyUhHkaRny+AVDm0HUJiB9qt9AiEAmmGyPRV1MxMIutxmzs7cqvKGZfX87Md1E3dLB3hTMv8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0jQ6CRA9TVsSAnZWagAAFpYP/j0fqDL9zBQvQxpX6aYo\nk5QFxZ5ttZA57R3qIfekQjTe++Kj+VVweTM+yTSBmo8wBVNtX698PQ2XzfGG\neUTTDskVNpxHVlt4nLdYQwMSTzWwEx/5kC3Zroo+nAegovk4pYspmaUORJ8D\n6dHGVEXuJ5UybYW91Y+5Mup8x9Y9tp3Z/JDGq4l1VdwUQprBi7qcRYkBvRmt\n6SLEqA2MoV8eDGyvV0rJpi6Pv4q3YQu71t7CdA4Yj07x3nwLmM1mizmu6YFh\ntrjSXv3rGO23Jpta0KYlP5tLTXIcv6DE7XcivpeqsuzAonHWfHGTtfjXDwdn\nJSVOahZmcuWrpYHljjlTLn6zRuZ9gkzO1nggvERUbXnZ2nXCsmS9qV26Tmd/\nq+IPbL4QxS4AnQ983dGo92fJPdo+4ObGLf8tSGvYb0QcyYT7JGEus1LOGCEp\nLgWyLkukWazG3HtjH602f4EP7OqK/8DQv6O04BduCYiznb//+CfZTQdBYdcI\nsli6eaeFb+9w6YZEyXY/CAyD9PfmltgUo9F39JgsHzaE+ULDBTx6l3Bc6ZVT\nZKZfn4LQculRlcyYQKoNU17DY1MUuy8HmZeCKZLtAaezObiEt/LfJs6nLSLI\nAEvMokM3hjPDoHC1QA2lRUaskFV0KhayXie6FN4Tep3heSVh1wJc+1wjZe39\n69db\r\n=U3r4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"dev/index.d.ts","exports":{"default":"./index.js","development":"./dev/index.js"},"funding":[{"url":"https://github.com/sponsors/unifiedjs","type":"GitHub Sponsors"},{"url":"https://opencollective.com/unified","type":"OpenCollective"}],"scripts":{"build":"rimraf \"*.d.ts\" \"{dev/,lib/}**/*.d.ts\" && tsc && micromark-build && type-coverage"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/micromark/micromark.git#main","type":"git"},"_npmVersion":"7.18.1","description":"micromark utility to sanitize urls","directories":{},"sideEffects":false,"_nodeVersion":"16.2.0","dependencies":{"micromark-util-encode":"^1.0.0","micromark-util-symbol":"^1.0.0","micromark-util-character":"^1.0.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/micromark-util-sanitize-uri_1.0.0_1624388665641_0.9808958540879873","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"micromark-util-sanitize-uri","version":"1.1.0","keywords":["micromark","util","utility","sanitize","clear","url"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"micromark-util-sanitize-uri@1.1.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/micromark/micromark/tree/main#readme","bugs":{"url":"https://github.com/micromark/micromark/issues"},"xo":false,"dist":{"shasum":"f12e07a85106b902645e0364feb07cf253a85aee","tarball":"https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.1.0.tgz","fileCount":6,"integrity":"sha512-RoxtuSCX6sUNtxhbmsEFQfWzs8VN7cTctmBPvYivo98xb/kDEoTCtJQX5wyzIYEmk/lvNFTat4hL8oW0KndFpg==","signatures":[{"sig":"MEUCIQCMgmdcU+M7cdGnN1E3ZcepZ0k2pHk+40S3Tngn0g0XGQIgcDch9AABPfcCLQ73q1WT9RdT3fKFU86pPnTBVYOalos=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNHl3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6tQ//XvTEBi7v94zM8dtAcP7H66KN+vhQM2Wog9vX2hEdsw5BM/Kl\r\n21MvWoVJ7SiEy9lFtr6d3tISZFJbWqhW/vWE6+QPIE744d4XuuQNp8sUUQof\r\naa2j0EGg8Vk1wYwn3OWZKP6INEr4tbV4SP/bOT/2dm9JbW5j9Y803X92rD8B\r\nox2GLgF47ZR1TzYQmkUl7z6KybP+cLAvnLAcA2mkfDiJLJAkPTly6LLfd7Vj\r\nOTX/hpNIBwDOSNOoOUa6zJw1Y54dERJPpbYgOP8InOzY1cc59x2uGbkzoOGr\r\n5sYvO3+FPFg4Raryn5y7RPiJeCngFLKuFdXhKiH7mV0VCUXB0rAeLle6Qh7v\r\nAadZG2rWCrWwrSh8oO08IZpBFDU5kGQxbodNRk8gkFCGH+cdOZIthTYsg56h\r\nfdmcb3KTSKcTXk4zhB4PcPSnl/wYoOUVo+bHUgPcSGqCTZB9CGfG7bkUL8Vt\r\n6diRgXeN5cq630qsw22et5sCigoZdhfvVijfaQZk/MF3xUMC7phLL8Oe70M6\r\n2U4WYJBqjvek2ice9IPEBpzDs4RbJ6bQVi+TatFhh/4Pc+TJEV0+qb4bu5wK\r\nBvzNDVlEJ6iOhLRptIFlImSiqaDZTonVDxK2oQtjc/eyF7WQ1Dzh1Svnd6Y7\r\n/EB6J9WHsTzsAJUJi4BvS/7iVJW7FcFOBpQ=\r\n=tRDb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"dev/index.d.ts","exports":{"default":"./index.js","development":"./dev/index.js"},"funding":[{"url":"https://github.com/sponsors/unifiedjs","type":"GitHub Sponsors"},{"url":"https://opencollective.com/unified","type":"OpenCollective"}],"gitHead":"86248b9ba63939a2fbd2d8c8d331283b7fac55c7","scripts":{"build":"rimraf \"*.d.ts\" \"{dev/,lib/}**/*.d.ts\" && tsc && micromark-build && type-coverage"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/micromark/micromark.git#main","type":"git"},"_npmVersion":"8.19.1","description":"micromark utility to sanitize urls","directories":{},"sideEffects":false,"_nodeVersion":"18.2.0","dependencies":{"micromark-util-encode":"^1.0.0","micromark-util-symbol":"^1.0.0","micromark-util-character":"^1.0.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/micromark-util-sanitize-uri_1.1.0_1664383351286_0.3341927811981924","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"micromark-util-sanitize-uri","version":"1.2.0","keywords":["micromark","util","utility","sanitize","clear","url"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"micromark-util-sanitize-uri@1.2.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/micromark/micromark/tree/main#readme","bugs":{"url":"https://github.com/micromark/micromark/issues"},"xo":false,"dist":{"shasum":"613f738e4400c6eedbc53590c67b197e30d7f90d","tarball":"https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.2.0.tgz","fileCount":6,"integrity":"sha512-QO4GXv0XZfWey4pYFndLUKEAktKkG5kZTdUNaTAkzbuJxn2tNBOr+QtxR2XpWaMhbImT2dPzyLrPXLlPhph34A==","signatures":[{"sig":"MEUCICIB+EPS+jqg/u6wk8Fe6h+RPF7ibYS8j2T1/hcAY0Q/AiEA177MzkRvDBhVInWEizqh9crI8fk/iPiuWhpK1T6YyZM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16261},"main":"index.js","type":"module","types":"dev/index.d.ts","exports":{"types":"./dev/index.d.ts","default":"./index.js","development":"./dev/index.js"},"funding":[{"url":"https://github.com/sponsors/unifiedjs","type":"GitHub Sponsors"},{"url":"https://opencollective.com/unified","type":"OpenCollective"}],"gitHead":"94b7679646bc0221899bba034f52f4abb3700f81","scripts":{"build":"micromark-build"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/micromark/micromark.git#main","type":"git"},"_npmVersion":"9.6.4","description":"micromark utility to sanitize urls","directories":{},"sideEffects":false,"_nodeVersion":"20.0.0","dependencies":{"micromark-util-encode":"^1.0.0","micromark-util-symbol":"^1.0.0","micromark-util-character":"^1.0.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/micromark-util-sanitize-uri_1.2.0_1685449632882_0.5419032667118073","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"micromark-util-sanitize-uri","version":"2.0.0","keywords":["micromark","util","utility","sanitize","clear","url"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"micromark-util-sanitize-uri@2.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/micromark/micromark/tree/main#readme","bugs":{"url":"https://github.com/micromark/micromark/issues"},"xo":false,"dist":{"shasum":"ec8fbf0258e9e6d8f13d9e4770f9be64342673de","tarball":"https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.0.tgz","fileCount":6,"integrity":"sha512-WhYv5UEcZrbAtlsnPuChHUAsu/iBPOVaEVsntLBIdpibO0ddy8OzavZz3iL2xVvBZOpolujSliP65Kq0/7KIYw==","signatures":[{"sig":"MEQCIAwIdpG/zkzc6rY9B/h5IjjGmjDd+DeNYA2P9aE6oCpAAiBtJzMpJqnjVJ3+sBzWFt1e+CLjH6bCaq1p/zFOCXldWw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16141},"type":"module","types":"./index.d.ts","exports":{"default":"./index.js","development":"./dev/index.js"},"funding":[{"url":"https://github.com/sponsors/unifiedjs","type":"GitHub Sponsors"},{"url":"https://opencollective.com/unified","type":"OpenCollective"}],"gitHead":"024821772eabbac9572c22d6f1c6235b018956b9","scripts":{"build":"micromark-build"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/micromark/micromark.git#main","type":"git"},"_npmVersion":"9.6.4","description":"micromark utility to sanitize urls","directories":{},"sideEffects":false,"_nodeVersion":"20.0.0","dependencies":{"micromark-util-encode":"^2.0.0","micromark-util-symbol":"^2.0.0","micromark-util-character":"^2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/micromark-util-sanitize-uri_2.0.0_1687365837135_0.7838101321166231","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"micromark-util-sanitize-uri","version":"2.0.1","description":"micromark utility to sanitize urls","license":"MIT","keywords":["micromark","util","utility","sanitize","clear","url"],"repository":{"type":"git","url":"git+https://github.com/micromark/micromark.git#main"},"bugs":{"url":"https://github.com/micromark/micromark/issues"},"funding":[{"type":"GitHub Sponsors","url":"https://github.com/sponsors/unifiedjs"},{"type":"OpenCollective","url":"https://opencollective.com/unified"}],"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":{"development":"./dev/index.js","default":"./index.js"},"dependencies":{"micromark-util-character":"^2.0.0","micromark-util-encode":"^2.0.0","micromark-util-symbol":"^2.0.0"},"scripts":{"build":"micromark-build"},"xo":{"envs":["shared-node-browser"],"prettier":true,"rules":{"unicorn/prefer-code-point":"off"}},"_id":"micromark-util-sanitize-uri@2.0.1","gitHead":"bcb6195e777f4109ddd2a20bbe0c24ec6fa369e9","types":"./index.d.ts","homepage":"https://github.com/micromark/micromark/tree/main#readme","_nodeVersion":"23.1.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==","shasum":"ab89789b818a58752b73d6b55238621b7faa8fd7","tarball":"https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz","fileCount":9,"unpackedSize":17917,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxS1lH/jlAWMbxuKRD3+FaKcvZbcYYjeNubBkfPSwiVwIhAOyI11cq09rp4DdQqcK6hzeTSeZKG3JIm7wE6S7X3HR6"}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromark-util-sanitize-uri_2.0.1_1731410268430_0.1604529085512041"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-07T09:26:40.493Z","modified":"2024-11-12T11:17:48.964Z","1.0.0-alpha.1":"2021-06-07T09:26:40.636Z","1.0.0-alpha.2":"2021-06-07T13:36:13.652Z","1.0.0-alpha.3":"2021-06-16T17:18:54.170Z","1.0.0-beta.1":"2021-06-20T12:13:38.083Z","1.0.0":"2021-06-22T19:04:25.833Z","1.1.0":"2022-09-28T16:42:31.447Z","1.2.0":"2023-05-30T12:27:13.084Z","2.0.0":"2023-06-21T16:43:57.268Z","2.0.1":"2024-11-12T11:17:48.745Z"},"bugs":{"url":"https://github.com/micromark/micromark/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"license":"MIT","homepage":"https://github.com/micromark/micromark/tree/main#readme","keywords":["micromark","util","utility","sanitize","clear","url"],"repository":{"type":"git","url":"git+https://github.com/micromark/micromark.git#main"},"description":"micromark utility to sanitize urls","contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"readme":"# micromark-util-sanitize-uri\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][bundle-size-badge]][bundle-size]\n[![Sponsors][sponsors-badge]][opencollective]\n[![Backers][backers-badge]][opencollective]\n[![Chat][chat-badge]][chat]\n\n[micromark][] utility to sanitize urls.\n\n## Contents\n\n* [What is this?](#what-is-this)\n* [When should I use this?](#when-should-i-use-this)\n* [Install](#install)\n* [Use](#use)\n* [API](#api)\n  * [`normalizeUri(value)`](#normalizeurivalue)\n  * [`sanitizeUri(url[, pattern])`](#sanitizeuriurl-pattern)\n* [Types](#types)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package exposes an algorithm to make URLs safe.\n\n## When should I use this?\n\nThis package might be useful when you are making your own micromark extensions.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install micromark-util-sanitize-uri\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {sanitizeUri} from 'https://esm.sh/micromark-util-sanitize-uri@1'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {sanitizeUri} from 'https://esm.sh/micromark-util-sanitize-uri@1?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {sanitizeUri} from 'micromark-util-sanitize-uri'\n\nsanitizeUri('https://example.com/a&amp;b') // 'https://example.com/a&amp;amp;b'\nsanitizeUri('https://example.com/a%b') // 'https://example.com/a%25b'\nsanitizeUri('https://example.com/a%20b') // 'https://example.com/a%20b'\nsanitizeUri('https://example.com/👍') // 'https://example.com/%F0%9F%91%8D'\nsanitizeUri('https://example.com/', /^https?$/i) // 'https://example.com/'\nsanitizeUri('javascript:alert(1)', /^https?$/i) // ''\nsanitizeUri('./example.jpg', /^https?$/i) // './example.jpg'\nsanitizeUri('#a', /^https?$/i) // '#a'\n```\n\n## API\n\nThis module exports the identifiers [`normalizeUri`][api-normalize-uri] and\n[`sanitizeUri`][api-sanitize-uri].\nThere is no default export.\n\n### `normalizeUri(value)`\n\nNormalize a URL.\n\nEncode unsafe characters with percent-encoding, skipping already encoded\nsequences.\n\n###### Parameters\n\n* `value` (`string`)\n  — URI to normalize\n\n###### Returns\n\nNormalized URI (`string`).\n\n### `sanitizeUri(url[, pattern])`\n\nMake a value safe for injection as a URL.\n\nThis encodes unsafe characters with percent-encoding and skips already\nencoded sequences (see [`normalizeUri`][api-normalize-uri]).\nFurther unsafe characters are encoded as character references (see\n[`micromark-util-encode`][micromark-util-encode]).\n\nA regex of allowed protocols can be given, in which case the URL is sanitized.\nFor example, `/^(https?|ircs?|mailto|xmpp)$/i` can be used for `a[href]`, or\n`/^https?$/i` for `img[src]` (this is what `github.com` allows).\nIf the URL includes an unknown protocol (one not matched by `protocol`, such\nas a dangerous example, `javascript:`), the value is ignored.\n\n###### Parameters\n\n* `url` (`string`)\n  — URI to sanitize\n* `pattern` (`RegExp`, optional)\n  — allowed protocols\n\n###### Returns\n\nSanitized URI (`string`).\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line,\n`micromark-util-sanitize-uri@2`, compatible with Node.js 16.\nThis package works with `micromark@3`.\n\n## Security\n\nThis package is safe.\nSee [`security.md`][securitymd] in [`micromark/.github`][health] for how to\nsubmit a security report.\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`micromark/.github`][health] for ways\nto get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organisation, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/micromark/micromark/workflows/main/badge.svg\n\n[build]: https://github.com/micromark/micromark/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/micromark/micromark.svg\n\n[coverage]: https://codecov.io/github/micromark/micromark\n\n[downloads-badge]: https://img.shields.io/npm/dm/micromark-util-sanitize-uri.svg\n\n[downloads]: https://www.npmjs.com/package/micromark-util-sanitize-uri\n\n[bundle-size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=micromark-util-sanitize-uri\n\n[bundle-size]: https://bundlejs.com/?q=micromark-util-sanitize-uri\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[opencollective]: https://opencollective.com/unified\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/micromark/micromark/discussions\n\n[license]: https://github.com/micromark/micromark/blob/main/license\n\n[author]: https://wooorm.com\n\n[health]: https://github.com/micromark/.github\n\n[securitymd]: https://github.com/micromark/.github/blob/main/security.md\n\n[contributing]: https://github.com/micromark/.github/blob/main/contributing.md\n\n[support]: https://github.com/micromark/.github/blob/main/support.md\n\n[coc]: https://github.com/micromark/.github/blob/main/code-of-conduct.md\n\n[typescript]: https://www.typescriptlang.org\n\n[micromark]: https://github.com/micromark/micromark\n\n[micromark-util-encode]: https://github.com/micromark/micromark/tree/main/packages/micromark-util-encode\n\n[api-normalize-uri]: #normalizeurivalue\n\n[api-sanitize-uri]: #sanitizeuriurl-pattern\n","readmeFilename":"readme.md"}