{"_id":"html-escaper","_rev":"13-6ddb9ba96f4c499910685f32ce24933d","name":"html-escaper","description":"fast and safe way to escape and unescape &<>'\" chars","dist-tags":{"latest":"3.0.3"},"versions":{"1.0.0":{"name":"html-escaper","version":"1.0.0","description":"fast and safe way to escape and unescape &<>'\" chars","main":"html.js","scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"https://github.com/WebReflection/html-escaper.git"},"keywords":["html","escape","encode","unescape","decode","entities"],"author":{"name":"Andrea Giammarchi"},"license":"MIT","bugs":{"url":"https://github.com/WebReflection/html-escaper/issues"},"homepage":"https://github.com/WebReflection/html-escaper","gitHead":"980c4ed627135dc317c9941c19f78b80f9ce6311","_id":"html-escaper@1.0.0","_shasum":"8c9b5cb10348b8933ea9d1dceb6d574ba24b95f8","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.4.1","_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"dist":{"shasum":"8c9b5cb10348b8933ea9d1dceb6d574ba24b95f8","tarball":"https://registry.npmjs.org/html-escaper/-/html-escaper-1.0.0.tgz","integrity":"sha512-4zSyj4SCJ7iYLSQj1HLMR7nSZWqtUR8WrFGtZ1oYu3OjNnFnlR51BTfeumxW9HADOkCSCZoiPiGfSHZ7gRQPiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsPuzmJrLyTNZCx767YDfAJJ4OZQfsH8plAbFnX9WmTwIgDis/11MnseMPUBBOEo3ZYixY3ZwWo7AEOIbb6sHiu/s="}]},"directories":{}},"1.0.1":{"name":"html-escaper","version":"1.0.1","description":"fast and safe way to escape and unescape &<>'\" chars","main":"html.js","scripts":{"build":"npm run minify && npm test && npm run size","coveralls":"cat ./coverage/lcov.info | coveralls","minify":"uglifyjs html.js --comments=/^!/ --compress --mangle -o min.js","size":"cat html.js | wc -c;cat min.js | wc -c;gzip -c min.js | wc -c","test":"istanbul cover ./test.js"},"repository":{"type":"git","url":"git+https://github.com/WebReflection/html-escaper.git"},"keywords":["html","escape","encode","unescape","decode","entities"],"author":{"name":"Andrea Giammarchi"},"license":"MIT","bugs":{"url":"https://github.com/WebReflection/html-escaper/issues"},"homepage":"https://github.com/WebReflection/html-escaper","devDependencies":{"coveralls":"^2.13.1","istanbul":"^0.4.5","uglify-js":"^3.0.15"},"gitHead":"11700cce7a4e9e087b0a74fece96348bda9df316","_id":"html-escaper@1.0.1","_shasum":"ee029e2862674017941355a7f61fc2c7c0a6fd72","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.10.0","_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"dist":{"shasum":"ee029e2862674017941355a7f61fc2c7c0a6fd72","tarball":"https://registry.npmjs.org/html-escaper/-/html-escaper-1.0.1.tgz","integrity":"sha512-6ExK5rvCkotvHv+p7dhrLOYEueGJWkLTjnBRhJTZjCSejYEFmjsh40MeGoSwtQGPqQhgB63pJL/9Wcw4ymtRPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDENYk6OJPGw7qga9TtexOPf7SUKg8VcdzOaRC938Yu9gIgSEwkhKWEWZM/xpRsMxAykHDJOL9xYsNVkLBwBlBLImQ="}]},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-escaper-1.0.1.tgz_1496780327260_0.589023131178692"},"directories":{}},"2.0.0":{"name":"html-escaper","version":"2.0.0","description":"fast and safe way to escape and unescape &<>'\" chars","main":"cjs/index.js","module":"esm/index.js","unpkg":"min.js","scripts":{"build":"npm run cjs && npm run rollup && npm run minify && npm test && npm run size","cjs":"ascjs esm cjs","coveralls":"cat ./coverage/lcov.info | coveralls","minify":"uglifyjs index.js --comments=/^!/ --compress --mangle -o min.js","rollup":"rollup --config rollup.config.js","size":"cat index.js | wc -c;cat min.js | wc -c;gzip -c min.js | wc -c","test":"istanbul cover ./test.js"},"repository":{"type":"git","url":"git+https://github.com/WebReflection/html-escaper.git"},"keywords":["html","escape","encode","unescape","decode","entities"],"author":{"name":"Andrea Giammarchi"},"license":"MIT","bugs":{"url":"https://github.com/WebReflection/html-escaper/issues"},"homepage":"https://github.com/WebReflection/html-escaper","devDependencies":{"ascjs":"^3.0.1","coveralls":"^3.0.5","istanbul":"^0.4.5","rollup":"^1.17.0","uglify-js":"^3.6.0"},"gitHead":"a9afff9a565b708b884b41b22db89e2367194e4a","_id":"html-escaper@2.0.0","_nodeVersion":"11.15.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-a4u9BeERWGu/S8JiWEAQcdrg9v4QArtP9keViQjGMdff20fBdd8waotXaNmODqBe6uZ3Nafi7K/ho4gCQHV3Ig==","shasum":"71e87f931de3fe09e56661ab9a29aadec707b491","tarball":"https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.0.tgz","fileCount":7,"unpackedSize":12585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOh9tCRA9TVsSAnZWagAAu4YP/Amhr4HXAtHsbvfdf0fZ\nINi/hRw6YhUxSpuvx0XM62nvryhDNntW6+GiWVWPX2J7Ax515vV2LU+2BwMb\nFSmWN5zGYyEheoT0Ro3kTgjHn0b6tqgFg7zw4ciy0DUKK1R6wWXDfWkGrLag\noDigtoFszLNYF3dE91STMIoxPelf7Nwep2LOEGxFBPqY88UAV/P846ApnQt/\nAjZQiACtkSdsU0C46GPqJmmCoYFMqh3MmpDLTQy8QjjE9EpxJr9ONdwMSqXB\n5qspWbUDeYZ7gXoy/3y6JSjbT5qD0Hb8YYmatQh1xzd2XQQGId/iWn/0gRvp\nvPjYGrGEMV7UNQfkNXh78fcbduP6O222VydKLoujmcdxilIUtqwyA49FUVVx\nYRAUutAeiknrxdwcvJ2y/8oHCivux3O3RBUSaM6Z5Nr7xtc9/n9HniDMDx9E\ngQS4YoN1Zn+jTojeXGZozp+xx2yd1d30HgVZkzx+TdIegi98LhkQp3KOrfPk\nAHdbI4aToq2cq0TxTu0B/llsi8JlGvR6tnQJxEO8ayuOm4goip7lJpgCaw3/\n/KnA8w6iXXTFLfN88Le3C8G07rQUlbyAImlnjixpKlpGf0nU5o++eWAzOX11\nfuvFxdBzcUk3D0fObF4IYXZQMadaNgN/dTxBFFduwc3LQAygkrKOjHPYy18f\nsie4\r\n=6+eh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChujJeMezT3Gt3W6cI5+Uk6dX20DxE4P/rn5uvo6n6dwIhALmAsolvVusftOAj0C4Ms/l789N42LCOb1Om9MyAaNJi"}]},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-escaper_2.0.0_1564090220918_0.06255172556387478"},"_hasShrinkwrap":false},"2.0.1":{"name":"html-escaper","version":"2.0.1","description":"fast and safe way to escape and unescape &<>'\" chars","main":"./cjs/index.js","unpkg":"min.js","scripts":{"build":"npm run cjs && npm run rollup && npm run minify && npm test && npm run size","cjs":"ascjs esm cjs","coveralls":"cat ./coverage/lcov.info | coveralls","minify":"uglifyjs index.js --comments=/^!/ --compress --mangle -o min.js","rollup":"rollup --config rollup.config.js","size":"cat index.js | wc -c;cat min.js | wc -c;gzip -c min.js | wc -c","test":"istanbul cover ./test/index.js"},"module":"./esm/index.js","type":"module","exports":{"import":"./esm/index.js","default":"./cjs/index.js"},"repository":{"type":"git","url":"git+https://github.com/WebReflection/html-escaper.git"},"keywords":["html","escape","encode","unescape","decode","entities"],"author":{"name":"Andrea Giammarchi"},"license":"MIT","bugs":{"url":"https://github.com/WebReflection/html-escaper/issues"},"homepage":"https://github.com/WebReflection/html-escaper","devDependencies":{"ascjs":"^3.1.2","coveralls":"^3.0.11","istanbul":"^0.4.5","rollup":"^2.1.0","uglify-js":"^3.8.0"},"gitHead":"a4f8fdb57d350dd8665531c23962ef62f2e0f75f","_id":"html-escaper@2.0.1","_nodeVersion":"13.11.0","_npmVersion":"6.14.3","dist":{"integrity":"sha512-hNX23TjWwD3q56HpWjUHOKj1+4KKlnjv9PcmBUYKVpga+2cnb9nDx/B1o0yO4n+RZXZdiNxzx6B24C9aNMTkkQ==","shasum":"beed86b5d2b921e92533aa11bce6d8e3b583dee7","tarball":"https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.1.tgz","fileCount":10,"unpackedSize":13196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedgzyCRA9TVsSAnZWagAAUuEP/2VibuvvtK+Qs62Se+Ji\nbFaEY/7y8WyT3qWmdZr1PV0gED2U+kIv5qSx8TnvZNQZIAoCDIep91+3dvZ8\ndNx1bpvIxeuF/mwucKQmhmCYDCSjXx83tQ5o28cRH6jYYbNCjwMhogij96ju\nj24wq1oOW6uPQ9YZdNSp+Bg0R9T6GepH8TF2gTb7uWONW525VuWa7bgtwXJ/\ngDKvGCh0NHDs8vloset3ZhE/Op7JkYbovkzEDDK65T3VYiEWmgQ1Fnq8r65+\n1HyOHI/mhOXUnQ1HGdgWVrncZNx9TV56MW6f+OxCUgHdsX1OoPqC823TaxHH\n953J10DtEOAfKpbzAozPflbxjoieAeU2Iv9IdVWglDk6unPAKxlAgpzHsGgU\ncSygnwrAtj0U7jo7ZjdPWXD8k1wWkXk5unNSrBvqYJJ4S0Exu1qtWu6svoVu\nLszwgUVLj2xwSvzz33gEkUCiScV8Gt1gXrBG8V1Nt+smZjj55YSjJDgfwd+J\nfJeEzylAwSOKeu89C3qWVEtOUSPP7LXQ3uoF7D0rKYBUSj1glJ6JN+X8njwm\nehBnFO7to0KoBGpS7mmizBi5FrNtglrd5KEy9Ooo0wzpx0BMFe8k3PtamV5C\nu+z7/23s9mckxvt80XealwDIfAPnFtqcw1padZd6LD95+h97X/dx9YNnqDYG\n11tf\r\n=PKc7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAkRxLNPoD/gONjk78J5GRJ6uShrblMcf19VxAhcaI9HAiEArrxqPcCI07X/GFIgJAp/MaQUfURTIFKkos+SxMuILB4="}]},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-escaper_2.0.1_1584794865783_0.9755354287849227"},"_hasShrinkwrap":false},"2.0.2":{"name":"html-escaper","version":"2.0.2","description":"fast and safe way to escape and unescape &<>'\" chars","main":"./cjs/index.js","unpkg":"min.js","scripts":{"build":"npm run cjs && npm run rollup && npm run minify && npm test && npm run size","cjs":"ascjs esm cjs","coveralls":"cat ./coverage/lcov.info | coveralls","minify":"uglifyjs index.js --comments=/^!/ --compress --mangle -o min.js","rollup":"rollup --config rollup.config.js","size":"cat index.js | wc -c;cat min.js | wc -c;gzip -c min.js | wc -c","test":"istanbul cover ./test/index.js"},"module":"./esm/index.js","repository":{"type":"git","url":"git+https://github.com/WebReflection/html-escaper.git"},"keywords":["html","escape","encode","unescape","decode","entities"],"author":{"name":"Andrea Giammarchi"},"license":"MIT","bugs":{"url":"https://github.com/WebReflection/html-escaper/issues"},"homepage":"https://github.com/WebReflection/html-escaper","devDependencies":{"ascjs":"^3.1.2","coveralls":"^3.0.11","istanbul":"^0.4.5","rollup":"^2.1.0","uglify-js":"^3.8.0"},"gitHead":"88f420ad94369f9be46c24ca52eb77e3da224f37","_id":"html-escaper@2.0.2","_nodeVersion":"13.11.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==","shasum":"dfd60027da36a36dfcbe236262c00a5822681453","tarball":"https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz","fileCount":10,"unpackedSize":13092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeff/JCRA9TVsSAnZWagAAI8EP/2Kl5wIbol1oZbo/YgFs\nzIt4MgAil5cNYL4jTgzogXChBMWcikExOd+rSXpRHpBhTL9wTyfvCiVwVnSt\nWzck4Go2qm90r1d3ctCYSEaidWkX3NQmTT+3E5HT10uufVh3UXKc17cfjJJP\nJnyg4OxLbZy2eqc3Y3Nt01QHpYKrvY0fptMdNmSUZXp4TPFLvFYSUr/wcWDz\nNctBuLcuNOKdaoIEzUUOiF4tPV6PlxpWzZkYH9K2jsyTYYEAF03nzV1UH73y\n6yr/X0R3tctGm4/LzTlV4aps+kHOZ3aYoj8qKSOf4fUIzkMltkZ54jrvfhlt\nKpG9pH4WMfcwPungdmVDMrXB5aZRDnGJh09GzvvQvG92pK4GUe9NlFQTZPrk\n6+dKxryJur9IqQWN2rzu+IbDOILBWBpa9vJ8KKDjZoJZBnaD7I1qUaf4EQuS\n7naeUUI2MrQy3ikGixxXoewbvXsZaYtVyYa98PI2QwRm2UOYcBj0Eizpk7B6\n9qpIF4nNHs+g2XZk7ady9qT4WXa0YBHF4GbdZugSyD7fDgX3UYvNSNHCmOIw\nIDHrWTFMQD68mXbvWs3KkSjcwzK652Uw0BlW6bbRTkTy0ojGghg7pZVEg8Ji\nayCLhU1FwenA7bxPePui3oSRiUcKh/dW/oJndhOksBbZwz9I17cXSK5lyd2H\nxzDE\r\n=vLBP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDT97zaJuK9xwdjUCndfCIuZ9GIwuHMYn9WP+mcXjDAWAiB7IdjHaVjlaJjDz51vJfsPgnN/XqGneO3uqdN+T+g02w=="}]},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-escaper_2.0.2_1585315785297_0.8365540046344511"},"_hasShrinkwrap":false},"3.0.0":{"name":"html-escaper","version":"3.0.0","description":"fast and safe way to escape and unescape &<>'\" chars","main":"./cjs/index.js","unpkg":"min.js","scripts":{"build":"npm run cjs && npm run rollup && npm run minify && npm test && npm run size","cjs":"ascjs esm cjs","coveralls":"cat ./coverage/lcov.info | coveralls","minify":"uglifyjs index.js --comments=/^!/ --compress --mangle -o min.js","rollup":"rollup --config rollup.config.js","size":"cat index.js | wc -c;cat min.js | wc -c;gzip -c min.js | wc -c","test":"istanbul cover ./test/index.js"},"module":"./esm/index.js","type":"module","exports":{"import":"./esm/index.js","default":"./cjs/index.js"},"repository":{"type":"git","url":"git+https://github.com/WebReflection/html-escaper.git"},"keywords":["html","escape","encode","unescape","decode","entities"],"author":{"name":"Andrea Giammarchi"},"license":"MIT","bugs":{"url":"https://github.com/WebReflection/html-escaper/issues"},"homepage":"https://github.com/WebReflection/html-escaper","devDependencies":{"ascjs":"^3.1.2","coveralls":"^3.0.11","istanbul":"^0.4.5","rollup":"^2.2.0","uglify-es":"^3.3.9"},"gitHead":"4bd39d024fba5cd84e9a30e67205b00b8232b120","_id":"html-escaper@3.0.0","_nodeVersion":"13.11.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-69CofXDozHqdHDl1BZ3YiFp5rYN1qTwSXIVcBhVcZNkzj1vzx6Sko1nT58mzKip19DbKo8lHR9hf6/XeZ9+s3w==","shasum":"e4c85c7b599ea2f56436ca492ba5bab3ed76b3bf","tarball":"https://registry.npmjs.org/html-escaper/-/html-escaper-3.0.0.tgz","fileCount":10,"unpackedSize":13300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefgPqCRA9TVsSAnZWagAA6FAP/jwnG9u0GUZqhde1ljq+\nfVZm2fQIt/CtTFr0XtI+Bm1SA7AcW9AAi9P69VjyWIFnlVzu72IdfcIk3arh\nHsr1bQy38ebBhZdfe67CkmawUWe+e8CLVPTewR+WItGnmdiSdJVQ0mo0znA9\n/HcbWPzyoXbRAP1Vesi3P4kyNWH84DkBte0j6A62Pcwc333rmaIEoA4oRmZ4\nPCLNw5Ed/PxVwqS+QHH9JzAartZ3NJmWbQepZjpj5jiuYi2eTSd11tO5XzKq\nmzCZbHnrHNz2ZLbXs7oY2pr/EyiLwfE9GyNgLs8dFSXTMZZG+okUVCsx9hyX\nNsuxdxoR1qvUmOzA0jJRAra6ObifpFCsyDqSy51mTt8Wp2qE95w7CkJ8ifn2\n2FURyl0Ej5quvOhKwp/2DkAI5OH3FJYbAdvUaPQX8Wi1nXV48uW23SKSmzwS\npJ2Ni++LpRFY0PePNQxI2ZW41+a6HpHqHSUNKi7x6Sq/aSjE38E2Yk7xx5BZ\n6wzVwHfS2nCD5TaX4lMzNGJhXM2syr3DNAmJdJNMhsE7rf1TJxjxjDUFiKPZ\niAVb+YHyEbAobpD/yqE0XCVweLO4T6/+vsb9OyhjMECf1c8isA5WNohnDzLy\nJK8B6x89BjaWWUUu8MaC39fPS/VLFL/oUwMbpCZ37oZwZX7lwyDIrlJodfGa\npZVA\r\n=6oxd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpebqXsBqwnmBOC5ht0GifNlnEglv4t15vPkrUYE8z/AIhAMn5Vq+njAd11Arre3+lRGz8areDO6iWxRplChVpBXZi"}]},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-escaper_3.0.0_1585316842037_0.8435253118662485"},"_hasShrinkwrap":false},"3.0.1":{"name":"html-escaper","version":"3.0.1","description":"fast and safe way to escape and unescape &<>'\" chars","main":"./cjs/index.js","unpkg":"min.js","scripts":{"build":"npm run cjs && npm run rollup && npm run minify && npm test && npm run size","cjs":"ascjs esm cjs","coveralls":"c8 report --reporter=text-lcov | coveralls","minify":"uglifyjs index.js --comments=/^!/ --compress --mangle -o min.js","rollup":"rollup --config rollup.config.js","size":"cat index.js | wc -c;cat min.js | wc -c;gzip -c min.js | wc -c","test":"c8 node ./test/index.js"},"module":"./esm/index.js","type":"module","exports":{"import":"./esm/index.js","default":"./cjs/index.js"},"repository":{"type":"git","url":"git+https://github.com/WebReflection/html-escaper.git"},"keywords":["html","escape","encode","unescape","decode","entities"],"author":{"name":"Andrea Giammarchi"},"license":"MIT","bugs":{"url":"https://github.com/WebReflection/html-escaper/issues"},"homepage":"https://github.com/WebReflection/html-escaper","devDependencies":{"ascjs":"^5.0.1","c8":"^7.6.0","coveralls":"^3.1.0","rollup":"^2.39.0","uglify-es":"^3.3.9"},"gitHead":"bf58218a630ba68275ffb8cdeedce246dedbf664","_id":"html-escaper@3.0.1","_nodeVersion":"15.8.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-SCKlQ4AqqL08pNlHdlrOIoT8fwXBz0fg37aeYBJLNGQgJssoiovoDSdTGcJGKgRqQTwrkt4Lz5LIr/BpWTyoYA==","shasum":"32c18a012cea9ba0bfd1ef73531ad07387fcadf2","tarball":"https://registry.npmjs.org/html-escaper/-/html-escaper-3.0.1.tgz","fileCount":10,"unpackedSize":14910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLhbICRA9TVsSAnZWagAAmDMP/iXrXVWdam+bPtELyh26\n2wM7GYC5RyDNpuMrBmZGc8uAlq58mPCWWSwMZJcfxU87Y6TYKOvbPKaS/4nf\n6tQX6S8OVwcHw/Kppran6ROAeQrULUaKbIsUnQ8WQysebu23ieGdlzidA9Wp\n0JYf9xDlbA4ZKHqGbX0Z8Hh666urnVIKCmygRBa3DshguaTIspH4Ahr+JBzu\nCJ1b7kxXSnpqJJn/UUfnQuvMr+CIUFK4wimkR5791G+hulH8/bgzzVaC75gs\nOWdvqKTWzid1C3VyxFRyXzv7Y/4d0ccVThqRfV0dK29jO01KefhDMuo4Mxbi\nfGrx/tnt3UzTwYy8AxFw2SJEPvX0Ql8nYqVdDz5SzoUFvw0KQvPGrk6ufRmr\nihDYBncY3X+giHHV0CbFmSCFXvPBlWzMo7TYdhjOWPmnDvXvV3Ev1sMJEHWn\n6nOT4u3HVVKlGGnjUaRvgCup4hRR672cbve7YQQHJWGbh6JAzT/6cNCIvI+k\nnkUHNo3/EVAfryhfnnRTbTxi7AQzeOQtLq5RyQutSvaYWgR3ZWFFKeYQTSIR\nDA0/ZhqivXx4VSpnefZZa3ve9xeGTGH+4lKn/l0S5/3AUIQzbkWc+RBDyp2B\nCUe/boYcEmIIpCDzen9v81Ct5/feYc3V0gFkVaCMUbJIKncdXtBTXYJkhaZp\nocaF\r\n=Dn8y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHXlGPFY1FKrdhMiVtqyqhb8U/6tJy3p9IkC9GZD8WvxAiAwIKiKXVkbDc6JI6dm6WeiQW8lq+oc618/vzDgyb6LnA=="}]},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-escaper_3.0.1_1613633224482_0.13869151903015875"},"_hasShrinkwrap":false},"3.0.2":{"name":"html-escaper","version":"3.0.2","description":"fast and safe way to escape and unescape &<>'\" chars","main":"./cjs/index.js","unpkg":"min.js","scripts":{"build":"npm run cjs && npm run rollup && npm run minify && npm test && npm run size","cjs":"ascjs esm cjs","coveralls":"c8 report --reporter=text-lcov | coveralls","minify":"uglifyjs index.js --comments=/^!/ --compress --mangle -o min.js","rollup":"rollup --config rollup.config.js","size":"cat index.js | wc -c;cat min.js | wc -c;gzip -c min.js | wc -c","test":"c8 node ./test/index.js"},"module":"./esm/index.js","type":"module","exports":{"import":"./esm/index.js","default":"./cjs/index.js"},"repository":{"type":"git","url":"git+https://github.com/WebReflection/html-escaper.git"},"keywords":["html","escape","encode","unescape","decode","entities"],"author":{"name":"Andrea Giammarchi"},"license":"MIT","bugs":{"url":"https://github.com/WebReflection/html-escaper/issues"},"homepage":"https://github.com/WebReflection/html-escaper","devDependencies":{"ascjs":"^5.0.1","c8":"^7.6.0","coveralls":"^3.1.0","rollup":"^2.39.0","uglify-es":"^3.3.9"},"gitHead":"c4855cd019227ea1374405e35a342bc860dc99bd","_id":"html-escaper@3.0.2","_nodeVersion":"15.8.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-29dBJKCnJAtfHfqVo0MFt270m+CnT4jhH4E1cNhCOySriM4NMh9K+DF3a+whXPuHX7fCEe3A8WoeKrWwibjJOg==","shasum":"11d9d1bcd901c89eb51a85d8825dee8958202c99","tarball":"https://registry.npmjs.org/html-escaper/-/html-escaper-3.0.2.tgz","fileCount":10,"unpackedSize":15241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLh3yCRA9TVsSAnZWagAAX4MP/jiv3EvFZSIiO0I/MLrQ\nIGLMiN5yzoSd4ExyPXFGCF2MqktGJ6guMCdXLSuxv4u8PtVYBlLzODFG6mcJ\ntS8GNL1sCzo008WDSuWAi07v/zUbMmK7tdKYFLkOJMYaPpgXA67folpo/V2P\nPU/naa7AbQIemPcXqmTdx11iAW20QdVtUNxRUKVRzFA5aeKN+QSqCXwtbkVv\nf34h4xBLE4simcKL9DZDJ45QJ2NimnMhLSAErf1fYXqWCzP2kxgRQa0W/T+K\n/DERCyjh7USfOPCq5owfEWPw93ilkQWeU7ZIXJ/YLR3mkbTWLmlyhZM6v/Q9\nmL3vxe0MMZdgG2wo96L86AIo32oxRIoQDReJbGgW9b7bgjpcW5FsB1JvFsV7\n5BVaAJw+h1FjkzNlcNeFmL3mKXeKlv6/Kb4xedGE4ML4c6cs6g6F7or+Rscr\nhFkG7RfQZcdvVBsn9b9Fv18EUl+f7im3W897XX2oeHibvS/QsXQojQBOCz+U\neJifJ8FiK5TMxGsRF90dI3EqKOu4rFpPy4PlTF+Uvv8rMYGXDZ3X+KR/eCZN\nm7Sycbj2AG4P2/KoqqTo5lBtny69OiNPTWP0pmPiuzKM6Z2TRQR9n/oU72Ko\n9ZLHXLJjMyv46xSP8Cqm0kZsUrWFi/rGmLo67IkEYbB0R0ePpxpGSibL4eb0\nbAU3\r\n=9zuR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsxvfpgy52dyZTyhK6O17dyJK7msCUDkk9q3B5Dm/x1AIhALVPvSxn1byaMJIIonzXTQkEm9UrDqIiqPqL3pWM5Q5i"}]},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-escaper_3.0.2_1613635057588_0.7167458602101702"},"_hasShrinkwrap":false},"3.0.3":{"name":"html-escaper","version":"3.0.3","description":"fast and safe way to escape and unescape &<>'\" chars","main":"./cjs/index.js","unpkg":"min.js","scripts":{"build":"npm run cjs && npm run rollup && npm run minify && npm test && npm run size","cjs":"ascjs esm cjs","coveralls":"c8 report --reporter=text-lcov | coveralls","minify":"uglifyjs index.js --comments=/^!/ --compress --mangle -o min.js","rollup":"rollup --config rollup.config.js","size":"cat index.js | wc -c;cat min.js | wc -c;gzip -c min.js | wc -c","test":"c8 node ./test/index.js"},"module":"./esm/index.js","type":"module","exports":{"import":"./esm/index.js","default":"./cjs/index.js"},"repository":{"type":"git","url":"git+https://github.com/WebReflection/html-escaper.git"},"keywords":["html","escape","encode","unescape","decode","entities"],"author":{"name":"Andrea Giammarchi"},"license":"MIT","bugs":{"url":"https://github.com/WebReflection/html-escaper/issues"},"homepage":"https://github.com/WebReflection/html-escaper","devDependencies":{"ascjs":"^5.0.1","c8":"^7.6.0","coveralls":"^3.1.0","rollup":"^2.39.0","uglify-es":"^3.3.9"},"gitHead":"c6e2b50d7b6f486afb3ddc92bfcfec89857b75d7","_id":"html-escaper@3.0.3","_nodeVersion":"15.8.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-RuMffC89BOWQoY0WKGpIhn5gX3iI54O6nRA0yC124NYVtzjmFWBIiFd8M0x+ZdX0P9R4lADg1mgP8C7PxGOWuQ==","shasum":"4d336674652beb1dcbc29ef6b6ba7f6be6fdfed6","tarball":"https://registry.npmjs.org/html-escaper/-/html-escaper-3.0.3.tgz","fileCount":10,"unpackedSize":15567,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLibHCRA9TVsSAnZWagAAP3YQAIsbVDxa2usE75KzTZs2\nciMMeQ25FTsGziWWIzvjaNIPHJMfEPklrmKFSy5O4fm4D6DXtSTa52Ts2VDd\nitFokseY6pdLqp6L01uHFMFacs98UZglZ5i+sqBCNZDtMjFICAmSclaNZpzi\nAZJuNbAnVuGpCQy7sTnu9TsksXq28yLS/pj5ybx23XM8TDUO1+XzevhC+yX1\n6ppTO0y3ob08PamneUlZlnCXnxuK3imC1PvRygnprSEMF+LaY0eoWfIllDOd\n/caTpmxCrgvSVongJ65L/bqZTM0n23Kqt1cWE9expKw+xwjEltEZ/sdrmVwi\n/DEBWJBnOLLDGvUERyP69FcC+XICqL+HA/6CF7kY4EGQJ2MkaW3ks84nQvt8\n0Vu6G4vkf7KkR1PmZZUAN0yISteHoSaeP+fD5eC132AOXKX7RFNK040DOE+o\nS78FOlxm6OZbmZR60lmJP1MDFqzbqP2sKBTLdRXSnB+rUg8osWb9NWovsx5W\nVHPTy5wGK9l0IJG05Q/E40HeUTUrpOdpcGPHxSw7/wCR9eENr6fErXZqT8Vr\n8c9Hsw09pyAfMKNIk8AbLN4MuB2Bw4RzCj8+LYe+/VkFxGcsAWEEBVnlBCeG\nLiniVSNhTBw+tYX7dlEX2374LmlIoi8RrMwj83jLr1Ju/AilalUPtSBH3qdI\nB5yl\r\n=4ZcL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZiuHuRrG7wr2eoAg3G+hnjdv/wp+jIHzNVXJyjcyllgIhANLbKSTfSYiULiXm6u1zb5XbL9cKaiSIFMkVwhkySPNR"}]},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-escaper_3.0.3_1613637319338_0.7634744920365071"},"_hasShrinkwrap":false}},"readme":"# html-escaper\n\n[![Downloads](https://img.shields.io/npm/dm/html-escaper.svg)](https://www.npmjs.com/package/html-escaper) [![Build Status](https://travis-ci.org/WebReflection/html-escaper.svg?branch=master)](https://travis-ci.org/WebReflection/html-escaper) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/html-escaper/badge.svg?branch=master)](https://coveralls.io/github/WebReflection/html-escaper?branch=master) ![WebReflection status](https://offline.report/status/webreflection.svg)\n\nA simple module to escape/unescape common problematic entities.\n\n#### Go sloppy if you like!\n\nIf you'd like to deal with any kind of input, including `null` or `undefined`, and even `symbol` kind, check [html-sloppy-escaper](https://www.npmjs.com/package/html-sloppy-escaper) out: it's this very same module, except it never throws errors 👍\n\n\n## V3 ESM Only Release\n\nThe version 3 of this module ditches entirely legacy browsers and _nodejs_ with broken loaders, such as `v13.0.0` and `v13.1.0`.\n\nAs the code is basically identical, simply stick with version 2 if you have any issue with this one 👋\n\n\n### How\nThis package is available in npm so `npm install html-escaper` is all you need to do, using eventually the global flag too.\n\nOnce the module is present\n```js\nimport {escape, unescape} from 'html-escaper';\n\nescape('string');\nunescape('escaped string');\n```\n\n\n### Why\nthere is basically one rule only: do not **ever** replace one char after another if you are transforming a string into another.\n\n```js\n// WARNING: THIS IS WRONG\n// if you are that kind of dev that does this\nfunction escape(s) {\n return s.replace(/&/g, \"&\")\n .replace(//g, \">\")\n .replace(/'/g, \"'\")\n .replace(/\"/g, \""\");\n}\n\n// you might be the same dev that does this too\nfunction unescape(s) {\n return s.replace(/&/g, \"&\")\n .replace(/</g, \"<\")\n .replace(/>/g, \">\")\n .replace(/'/g, \"'\")\n .replace(/"/g, '\"');\n}\n\n// guess what we have here ?\nunescape('&lt;');\n\n// now guess this XSS too ...\nunescape('&lt;script&gt;alert(\"yo\")&lt;/script&gt;');\n\n\n```\n\nThe last example will produce `` instead of the expected `<script>alert(\"yo\")</script>`.\n\nNothing like this could possibly happen if we grab all chars at once and either ways.\nIt's just a fortunate case that after swapping `&` with `&` no other replace will be affected, but it's not portable and universally a bad practice.\n\nGrab all chars at once, no excuses!\n\n\n\n**more details**\nAs somebody might think it's an `unescape` issue only, it's not. Being an anti-pattern with side effects works both ways.\n\nAs example, changing the order of the replacement in escaping would produce the unexpected:\n```js\nfunction escape(s) {\n return s.replace(//g, \">\")\n .replace(/'/g, \"'\")\n .replace(/\"/g, \""\")\n .replace(/&/g, \"&\");\n}\n\nescape('<'); // &lt; instead of <\n```\nIf we do not want to code with the fear that the order wasn't perfect or that our order in either escaping or unescaping is different from the order another method or function used, if we understand the issue and we agree it's potentially a disaster prone approach, if we add the fact in this case creating 4 RegExp objects each time and invoking 4 times `.replace` trough the `String.prototype` is also potentially slower than creating one function only holding one object, or holding the function too, we should agree there is not absolutely any valid reason to keep proposing a char-by-char implementation.\n\nWe have proofs this approach can fail already so ... why should we risk? Just avoid and grab all chars at once or simply use this tiny utility.\n\n### Backtick\nInternt explorer < 9 has [some backtick issue](https://html5sec.org/#102)\n\nFor compatibility sake with common server-side HTML entities encoders and decoders, and in order to have the most reliable I/O, this little utility will NOT fix this IE < 9 problem.\n\nIt is also important to note that if we create valid HTML and we set attributes at runtime through this utility, backticks in strings cannot possibly affect attribute behaviors.\n\n```js\nvar img = new Image();\nimg.src = html.escape(\n 'x` `\"` `'\n);\n// it won't cause problems even in IE < 9\n```\n\n**However**, if you use `innerHTML` and you target IE < 9 then [this **might** be a problem](https://github.com/nette/nette/issues/1496).\n\nAccordingly, if you need more chars and/or backticks to be escaped and unescaped, feel free to use alternatives like [lodash](https://github.com/lodash/lodash) or [he](https://www.npmjs.com/package/he)\n\nHere a bit more of [my POV](https://github.com/WebReflection/html-escaper/commit/52d554fc6e8583b6ffdd357967cf71962fc07cf6#commitcomment-10625122) and why I haven't implemented same thing alternatives did. Good news: those are alternatives ;-)","maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"time":{"modified":"2022-06-18T21:52:34.448Z","created":"2015-04-08T09:55:12.173Z","1.0.0":"2015-04-08T09:55:12.173Z","1.0.1":"2017-06-06T20:18:48.324Z","2.0.0":"2019-07-25T21:30:21.044Z","2.0.1":"2020-03-21T12:47:45.877Z","2.0.2":"2020-03-27T13:29:45.414Z","3.0.0":"2020-03-27T13:47:22.157Z","3.0.1":"2021-02-18T07:27:04.608Z","3.0.2":"2021-02-18T07:57:37.811Z","3.0.3":"2021-02-18T08:35:19.586Z"},"homepage":"https://github.com/WebReflection/html-escaper","keywords":["html","escape","encode","unescape","decode","entities"],"repository":{"type":"git","url":"git+https://github.com/WebReflection/html-escaper.git"},"author":{"name":"Andrea Giammarchi"},"bugs":{"url":"https://github.com/WebReflection/html-escaper/issues"},"license":"MIT","readmeFilename":"README.md","users":{"webreflection":true}}