{"_id":"react-refractor","_rev":"18-6fe11abffa165eb76422d0eee64ed8f8","name":"react-refractor","dist-tags":{"latest":"4.0.0","legacy":"2.2.0"},"versions":{"1.0.0":{"name":"react-refractor","version":"1.0.0","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@1.0.0","maintainers":[{"name":"rexxars","email":"rexxars@gmail.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/Refractor.min.js","dist":{"shasum":"17f04824bd225c15faa393e11f16055e4589da7f","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-1.0.0.tgz","fileCount":33,"integrity":"sha512-5OyStM690jL3G5l69Fvk2pHRj6wLyMZqNChmwS+OX3d74XzxlpJxOPnPJrSIYp1WdUtksVhAKWF3B4hPqA+A0Q==","signatures":[{"sig":"MEUCIAEeOrQXgh3Y+8euzxygXPvbqorxchouhLjlnVK0Pa2QAiEA+WEl8SX2bPCCSRr1W5kUVp6vs8UDHv5TGr/kAuNWX10=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":361466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5fuKCRA9TVsSAnZWagAAyQgP+wb/U1WSvFr1Jss9gpQ7\nqKzoAlP0LztwYw1WOJo/Zb4duFmShtuI5gSaaLjVkJEoM3VU/XCVYHUPIUKm\nZ9iFe85eTT+wYEP9JQ3b2vJ7Xgzf2BF0Snb/EDlKQbxz3R0Pn5q1rPTuSzuw\n6TsNzg5Biy/8Q3bOQu0M7vNmvgNEgB9MQplEPMAEI16R3AaT0mXq3PSz3LVy\nJ7P9LN/s/m5hDjxPzx7a9sm2R3Je4aNAsxtlx1q1u6fBd0VkYVm6NrdizbNf\nQpTCkxAFkL1p7hSN12WWGKcMgxWhtizfDtEUPoir8RMOnIlBjLGlWVne68Tt\n3h+iITywrH7CbqcBdBX1DSxXee8mXXyQmcc8MMg7z/P2a25e3+XG7X0jTX+X\nhD+exS4Gqhlxh8usazAOndK3o+UmvsViZKKq1pCRXO2cqBpV0ALbAkHGOu3s\nhqqbLcyB7RYU9liMtzAOVU1FJxQsnB/VJMS/Q5UGXr5K+R0xjUV09Si9pein\ntfqTtVJFD4kxXGRWjtqE8M01cm0Q49nhDzT5mU8Bo7kIaHc/81zifZoXGxcG\nWLyT/x5kg+dQvl94lk/cAptp7Bh5bhJi7WDdbaUX1YmV+kj+KlTTI/CIZs6y\nzw1QzERBwQhKhWmn2aq0ADGqJbXZfhePy6QOHwDJZHTVKyaBG+STo7ZAhVQq\nZNJQ\r\n=xxpr\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"14cca3f6eff8780fad18d5768d513fe7ee40c1f6","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","deploy":"gh-pages-deploy","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack -p src/Refractor.js -o umd/Refractor.js","build:demo":"webpack --config webpack.config.demo.js","test-travis":"jest --coverage","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack -p --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"rexxars@gmail.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"5.8.0","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"8.9.1","dependencies":{"refractor":"^2.3.0","babel-core":"^6.26.3","prop-types":"^15.6.1","babel-preset-env":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","react":"^16.3.2","eslint":"^4.19.1","webpack":"^4.6.0","prettier":"^1.12.1","babel-cli":"^6.26.0","react-dom":"^16.3.2","webpack-cli":"^2.0.15","babel-loader":"^7.1.4","highlight.js":"^9.12.0","test-console":"^1.1.0","gh-pages-deploy":"^0.5.0","eslint-config-sanity":"^0.128.5","eslint-config-prettier":"^2.9.0"},"gh-pages-deploy":{"prep":["build:es5","build:demo:prod"],"noprompt":true,"staticpath":"demo"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_1.0.0_1525021577097_0.45599818874962095","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"react-refractor","version":"1.0.1","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@1.0.1","maintainers":[{"name":"rexxars","email":"rexxars@gmail.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/Refractor.min.js","dist":{"shasum":"d011a9cc32c2853134e95ddf0342d9b3b134f652","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-1.0.1.tgz","fileCount":33,"integrity":"sha512-sIT+ATDnEHtYXZ6eH6NLrzqsJS+jXgXfLm3HtB2bIwgHF47TysRIo7uh4KVMOdmgA0DFBx5fb3OpvBjck09GZw==","signatures":[{"sig":"MEUCIQC6mT2e2YX8hD67Hhz/1jH9lZz1NI52Xgug2rlCG1D4awIgeB2qvD53haiiHM4x2omBPzVwaa2RrA8T4oIga6q2Tss=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":361484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5f1kCRA9TVsSAnZWagAApTQQAKIwEWdpQiWReXp7frF6\nf6pwvpl9EpBaMgU3jHKOFUpP72+t41pi8lL6Ybe3giSc+ts5X2uD9bsduLFg\n3M2NzVLX4VnsNlKw+Y2DWiuzGqRZAoDpKMdoFiWNdZf6xM6RIBeGwLO+vXVJ\nkfiEiY1Cac4m+CbZImdVZQWTepLIqS6rovtNts/2DF+afGz67VqQWWQlyRlI\nVSZV+vsPltz/S2nLkrrKE1Jxd+hZwhtQjuu+S6t3LvTe9kG8Q2cOAFBC+43y\nfr603U5QzDCc2U+QEB+B71RGXt962knvKUxuU8umIqFJ4YGdMDMevfaevGth\n5kSVCT1WItmLM4jHS2Q7ptCJ5AoDgXZShEOY7feGApNsegr0YU0Z6Z2ke2w9\naop+v55Ign1UyQHi5iApWKhh7oMAey4XijJGKN3CkZXW/WVVDe3H8tRorHfg\nFmgDUv6F7atiei5eSCEbk9qv8jW/L9bgC5KLNOGvF/cZ6IEM+u741kMyfyE0\njAMdu3dB0t8KAmOUX/MBQAFPHaF0U9FIIMlldMZHJw33n4M+uTXNvwRdONTK\n6N98ZD5i/gp6QnwWok7prDm6gdZL8DEyvqi6x3PFTbDNEUor3CNk6uORBCDg\nLvkXxHqPf/I7RuBdWKtwAfmSiK+ZnQkfwb1T86ri8rPFBafiRufv06fFNWxt\nrSDI\r\n=5wPa\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"efbfefd41e32dd0f66cf9ecc2cbe713d9c472f01","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","deploy":"gh-pages-deploy","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack -p src/Refractor.js -o umd/Refractor.js","build:demo":"webpack --config webpack.config.demo.js","test-travis":"jest --coverage","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack -p --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"rexxars@gmail.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"5.8.0","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"8.9.1","dependencies":{"refractor":"^2.3.0","babel-core":"^6.26.3","prop-types":"^15.6.1","babel-preset-env":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","react":"^16.3.2","eslint":"^4.19.1","webpack":"^4.6.0","prettier":"^1.12.1","babel-cli":"^6.26.0","react-dom":"^16.3.2","webpack-cli":"^2.0.15","babel-loader":"^7.1.4","test-console":"^1.1.0","gh-pages-deploy":"^0.4.2","eslint-config-sanity":"^0.128.5","eslint-config-prettier":"^2.9.0"},"gh-pages-deploy":{"prep":["build:es5","build:demo:prod"],"noprompt":true,"staticpath":"demo"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_1.0.1_1525022050998_0.8224587821507978","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"react-refractor","version":"2.0.0","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@2.0.0","maintainers":[{"name":"rexxars","email":"rexxars@gmail.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/Refractor.min.js","dist":{"shasum":"ad4cb997ac368e7b193a7e2b1d1991a2b1574aa8","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-2.0.0.tgz","fileCount":34,"integrity":"sha512-1tqzGM8Xl/tW5uz1VxOYdbZnCeVI/NOsBSdkKQew9sIiYDojyVvVJwtWjP5lmJXegXBTuH72zM2rdS1aYD6hJg==","signatures":[{"sig":"MEYCIQCin+HL+bC3dtC83poki3ue3E/uI4NLv0weAfitlNZrFQIhALZ7ZTJCXFqAj8ON4aY0/bx71WcKRd9b1a0YxrZdPWiK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":162527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqPmLCRA9TVsSAnZWagAAT08P/AvG8Bg4WmZkC9GWE3d/\nm6uk8jmqQTQawINBMtJz5OnQnm5l+YtdH8Y8wxHm3UyAsEtXcaRi6/wkiafC\nPItweFBqx+MUGyJigaeyPX1wTjYiFpxe/M0D2YyYvTcYbiFkDOIJ2RT0p7lV\nI/wQBBK+pt1DVHyPtxIM6tDgm8CRzRgrnr56En+JvEtlnuqTlGgG+X8k9+sy\n0Y2SSdbsSyPr9FgfS6BPPKhKzkckj8KSh4qCkxrKAiKqnSmkxay3rT21TDBL\nnneAg5CjLQP70K2bObdthxd6jnLMwlTMn/+snNvtNU3lbzPYT/9zAARqU9hG\nCn2ZRgXa1XpjYha0Eg5bcWOct5W02RmkGmt/g4k+eGwUjROW/yvesbJ0M7cW\nUO0p7gswvZjPwN9CFXyAT+ojftAH1VIWXZ3zc9+XyJSEsd3qM7Pe+jQBiwj4\nsRZmNwHD/Ikiv98V/MKseixBQxO2FNLo66P4QsbCtg0Oyl6ci7nLNE1HeEXT\nAa2hrRm/9dwcXj/tb3cMUyzVqP1t9fxPrYj7kbyhfbYgNuKapDoODTr0fVNp\nAwD9KZyCnH5yFpBDm9ad78XWV3wH59Y0NkYAxGXzK69dKH6OVeqeLKQ5nDur\nimi3LdbKWVjyyZ4nkPblwpSS+ftEnpIehBAtEtUxVL208xVPo0J/JvM2ebEq\nS4Nn\r\n=7eRh\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"69485724419789059687f4cc0fb77fc302d39b2c","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","deploy":"gh-pages-deploy","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack -p src/Refractor.js -o umd/Refractor.js","build:demo":"webpack --config webpack.config.demo.js","test-travis":"jest --coverage","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack -p --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"6.14.4","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"14.0.0","dependencies":{"refractor":"^3.0.0","prop-types":"^15.6.1","unist-util-filter":"^2.0.2","unist-util-visit-parents":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.5.0","react":"^16.3.2","eslint":"^6.8.0","webpack":"^4.6.0","prettier":"^2.0.5","react-dom":"^16.3.2","@babel/cli":"^7.8.4","@babel/core":"^7.9.0","webpack-cli":"^3.3.11","babel-loader":"^8.1.0","gh-pages-deploy":"^0.5.1","@babel/preset-env":"^7.9.5","eslint-config-sanity":"^1.149.0","eslint-config-prettier":"^6.11.0"},"gh-pages-deploy":{"prep":["build:es5","build:demo:prod"],"noprompt":true,"staticpath":"demo"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_2.0.0_1588132234855_0.8217349554549953","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"react-refractor","version":"2.0.1","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@2.0.1","maintainers":[{"name":"rexxars","email":"rexxars@gmail.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/Refractor.min.js","dist":{"shasum":"81ffbe14081d81a1c80db6610da6cfe65513d82a","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-2.0.1.tgz","fileCount":34,"integrity":"sha512-FInItnCuaoPFwr8hJBc+QjTvBeSS3VzwDt3lEnptumaLvetJBa3eYtgQ0LQ1D7U1US/RHdFcUb/qMpVW6lt0tQ==","signatures":[{"sig":"MEYCIQCA5MfXUmC6L8ZooPl9N3KVtDZhVNhARg0y06KvZLUPygIhANPxFyp7McCmhx/DVmWnCS/3m81DLLi7RNFQ/FfJ4TC8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":162568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerzFECRA9TVsSAnZWagAAfoIP/2qJZgl4kRewHzOg3S4S\nSg7EMXgeUybwtHNdAMs/9EuzBUFLIOnK4FJe4Z/mHNnM1HvRkWBLWpogzjkw\nM+AHSmh+AprinuhGRab9U6tWM3NF8LuBNzu1VAK20HLHe3ILWQtMlCdzbRfx\nwRy6CGppagkl/IjR53XXrZp/KBIjx2H4ftK9ZC5sZsXOY6xH9Ivg87Tc7byC\nlfV5+hOsibgm52Gug/rqbISupMfNm249CXUAUQ5jNA6Gg8tZrik4wTQgfJR+\nLwFJtgIyi7tFBnAU9AKmikByiyS7iSst1QBnBaKsemxu8MRYL3zYpgXdzVkO\nPS1OxP2u2rj+/G0ouGa768vwze7babkbP6R1qOYK5/nMUSULmG6zUcGvDv9h\niPUDySHipgAtlvcB9rIkG293WmRBx9spGKoxzNgjnlVXewJSnwaUDXuM5UE1\nSQtH4H96FqWKaMPZwl9e6mTiEMuwVvmBeDhhgD6XX4Bj2uvR/FlPKxwlx3K7\nf2p8FVm89oMX7o3Qzx8JVG6Nvc9STgL35vLxOBx6wkgZQ8Phaq1qOJvDlJI7\nHEIiux3zYFvrJz1OJ+8jEZZboCkkBc/gfFhbYA1zRTE0Z199dl+j+e5BrRzu\naE9MziOQetEv/hGz27UdGD0CC0xIgwsJu/yUfUT4WVJGdHvOJpKEpLbiKzU8\nohx3\r\n=sJsw\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"0203ad23e59974a8b9cb405b930026cc2ccb79ea","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","deploy":"gh-pages-deploy","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack -p src/Refractor.js -o umd/Refractor.js","build:demo":"webpack --config webpack.config.demo.js","test-travis":"jest --coverage","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack -p --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"6.14.4","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"14.0.0","dependencies":{"refractor":"^3.0.0","prop-types":"^15.6.1","unist-util-filter":"^2.0.2","unist-util-visit-parents":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.5.0","react":"^16.3.2","eslint":"^6.8.0","webpack":"^4.6.0","prettier":"^2.0.5","react-dom":"^16.3.2","@babel/cli":"^7.8.4","@babel/core":"^7.9.0","webpack-cli":"^3.3.11","babel-loader":"^8.1.0","gh-pages-deploy":"^0.5.1","@babel/preset-env":"^7.9.5","eslint-config-sanity":"^1.149.0","eslint-config-prettier":"^6.11.0"},"gh-pages-deploy":{"prep":["build:es5","build:demo:prod"],"noprompt":true,"staticpath":"demo"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_2.0.1_1588539715956_0.9988331050574286","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"react-refractor","version":"2.0.2","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@2.0.2","maintainers":[{"name":"rexxars","email":"rexxars@gmail.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/Refractor.min.js","dist":{"shasum":"3c7997bcc459ea65e8804066293e988a555fdb57","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-2.0.2.tgz","fileCount":13,"integrity":"sha512-QGxGBsWHtr4ShcyLz1oBjQOv/eYPPmAf18DUFbUCiM3oAKtElzYX5LyufBWCOwyO+1CZWqemibSQ+9Zqip9xjQ==","signatures":[{"sig":"MEYCIQCdD4ZM6RpRpatzoqpZghsz5y6a7sXq6u24AR6yVLeeFwIhAKJozSq3uEu1QRbmO6KsmpIA2hIZbw4J/0qWNN/Q7wR7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerzHHCRA9TVsSAnZWagAAecQP/18b8dOAkDgyTbf2ZBTW\nw4ufiaGegToC2g9CSq3jS0XfUnlErIzCIRh+p4Yrnq9s3oZAqdYRkanaE9l3\nTXZ1zJtj+5JQEwSWfi8kXAfSO0WI3QmNY5HWyMWrJY353zIQ0fDamX6Mjmir\nm0reEMdBY6y1Nw3IrdZg1OeubbVeKUQIpsoQyW1zKtJrPj151sPP1M1nw+hC\n4u7MdD4QXFxznUKdu4ahdUHRdRIvDCsjORCmFzeaRUAQMCMN+6XnNc5sBAD3\nbJUO9ZFtHjpwnM5Do7OwP8zrL00oHC4f/xJ73pKE+TNFL0NDaFdlL5BFj8w4\nbQzvwSv0wNo9J0ub3H+CXbOYg3aHA6rwMivdA3n/4VSe6Wvi8FrvQhs78T/x\nmXZDZHKmQ3lWB2T0VTOBLAh9sTP/1YcrRgCtu1Zi/4uySaIFpg9/d5ZPGMTd\ngU/dJ3ZlJWe3uodWjdTb4d48v/cmeqg25v38CoxbWVHacu10G8O/bY72qk+B\n1tQTc8ZJmdjHrzs7QyaXhdVj5rrUrPKybjD/qUdOpCuLvuqA1/rZibZmMCpl\nmAADLfYKxh0ZQ5CkXaSzUjSSj1Co/Mv13vEX2q2ydeMgPe9bmWtw4oZNAw0W\nA5aqepu/d83J/dX44yFyFmmFnW+hfDLqyGLFnfIioNwaerRQ/2bhtiXRddd5\ng4SY\r\n=Yw4k\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"95e6d8ee5eaa98fa16ab5d4babe809235315cda7","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","deploy":"gh-pages-deploy","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack -p src/Refractor.js -o umd/Refractor.js","build:demo":"webpack --config webpack.config.demo.js","test-travis":"jest --coverage","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack -p --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"6.14.4","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"14.0.0","dependencies":{"refractor":"^3.0.0","prop-types":"^15.6.1","unist-util-filter":"^2.0.2","unist-util-visit-parents":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.5.0","react":"^16.3.2","eslint":"^6.8.0","webpack":"^4.6.0","prettier":"^2.0.5","react-dom":"^16.3.2","@babel/cli":"^7.8.4","@babel/core":"^7.9.0","webpack-cli":"^3.3.11","babel-loader":"^8.1.0","gh-pages-deploy":"^0.5.1","@babel/preset-env":"^7.9.5","eslint-config-sanity":"^1.149.0","eslint-config-prettier":"^6.11.0"},"gh-pages-deploy":{"prep":["build:es5","build:demo:prod"],"noprompt":true,"staticpath":"demo"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_2.0.2_1588539846727_0.38947421735611565","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"react-refractor","version":"2.1.0","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@2.1.0","maintainers":[{"name":"rexxars","email":"rexxars@gmail.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/Refractor.min.js","dist":{"shasum":"f33993bc07a43be6eb4b4b85be971df6ebe11dcc","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-2.1.0.tgz","fileCount":18,"integrity":"sha512-Zfhzgup/nptkBBeiAj91P7QOVjzhrJEKRX0P1/d29wzw8k7OlHZu4HzczBobD0tH3WJ8ZdHtwfEZ3IgV6bE62A==","signatures":[{"sig":"MEQCIBIVxBwjBB61hqFF3c4oqnd26tRpyH9nuRKatvgtaJzmAiBfkOHovY6UOS55X9KVNHeSjPsI3e27KdpZFL9IgBVPFA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":93414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJer0sRCRA9TVsSAnZWagAA3AIP/1aj8PDGdd8A7qj7akY7\nRRTaK353mlQba8KdnMlTGkha79EHQnZ4zV8fcO8CTjDIWZehpL5ZjWRz/DOy\n4rvcuVp7ncvxSkelGBlAh/rKxuwU5in0KH1rJ5oT8+PNYHwbnw6X13A6mjeW\ngrdhE0eZx3Fc0NXIUnPmsFAKzIUe+jidUZcWMDUEaOGVHVsO2VxOx3cCMA/+\nInonJ5y10rvNWinosz3+czW0st6Dx6H981u1GtPSQMmIFviV1rB8hcENfGs1\nZ5tHqR1HeqVV5XNUafSLG63I/Nn+lX3DvifqH0wdB1E3YghszUMLFCGr8xrG\nyR2Q54JWZlcpCsEIu6TK2GA7/tuhGoPFqA0kAOlb+mWGj7IWbzJ3KkcsPqAg\nN+IXNY1XQ7b4jxV+HCYKWKj0AEuibWwrYpvaY3KYiFPvg+PELZ0DfAQemZWT\nbrSvl8ZdKZl+JsA7Tg7CKzfc5eddeauK0OG4u3tInG3wh4ke+REv694lviaY\nXyxW3l62d0k0Ugb879cKlbBGD9+1FqpqpQHhpNEuGotvpq7eTpkDrbHKzzKc\nvRKFsCOs18zA9nqAGL1wRHwUM6IKR0u3tvKWN8uNY/yWYpeP/YpRisKCokgg\nA+hXHuaU0mUYsik/Onje6rHaXMsAAUFu8UVHibGt1e5IcaZ4XDKi/HDS+o3z\nlda+\r\n=2Qpu\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"0ba530963b9aa0c0ad162c650c229f1dbdc8bc3a","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","deploy":"gh-pages-deploy","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --source-maps --delete-dir-on-start --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack -p src/Refractor.js -o umd/Refractor.js","build:demo":"webpack --config webpack.config.demo.js","test-travis":"jest --coverage","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack -p --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"6.14.4","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"14.0.0","dependencies":{"refractor":"^3.0.0","prop-types":"^15.6.1","unist-util-filter":"^2.0.2","unist-util-visit-parents":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.5.4","react":"^16.3.2","eslint":"^6.8.0","webpack":"^4.6.0","prettier":"^2.0.5","react-dom":"^16.3.2","@babel/cli":"^7.8.4","@babel/core":"^7.9.6","webpack-cli":"^3.3.11","babel-loader":"^8.1.0","gh-pages-deploy":"^0.5.1","@babel/preset-env":"^7.9.6","eslint-config-sanity":"^1.149.0","eslint-config-prettier":"^6.11.0"},"gh-pages-deploy":{"prep":["build:es5","build:demo:prod"],"noprompt":true,"staticpath":"demo"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_2.1.0_1588546320462_0.25424486658552614","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"react-refractor","version":"2.1.2","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@2.1.2","maintainers":[{"name":"rexxars","email":"rexxars@gmail.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/Refractor.min.js","dist":{"shasum":"adf239ac7f8e645ca9767a2f1ecdec4547de3815","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-2.1.2.tgz","fileCount":18,"integrity":"sha512-ITSefeEgj6jYKwWEikX3cOaYvbhLacD8v7uuzKBsFI8uYhwzGHV4pemtFOVlmTCzD78ior8i6CR/qXsJzyZHDw==","signatures":[{"sig":"MEYCIQCAF7osRcZBqAzd+5NXiW3BK8v2DH7/SmsfThdukW4hkQIhAICAZ+ZZmsq0paae+gwiPmtRmqWRDqI3mgfs1KVH4aKS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":94861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUVwxCRA9TVsSAnZWagAA8PsP/RbnyfU+JCN8h9GdF1gc\nG/Boxl6zL7A/kturcxyCAmBUP9d9nK/w4c89syFcMT8woZ9e/2eVLDK7HFEJ\nPoIgemB+pXWf+pDUXv6ytQGHTb7hHrrp99ZtVavCl5WcDSYO+lp+av/NJ2F0\nA/PZp282THIpWXa7V80SonLeYyc0qG/NykEiesSKs1P3AEvnhKeIIRRrsJuG\np6nlthqbjR60soNj17aZdFB33j9ICMmRYNP6g/uJD1LIxRMVdcE4x8RpT5Cd\nvGCo2jlLjF2wlTLm2eC0Efcf5oKK53n0Khnh6NKLtMbbwZZrOhPNGjVyAe0L\nepKYZEAcPHm4HANCFZuSxt4P7evke1AhbjEriUM56KSpzQ8OGE6u/9+zQw9u\nXTWP8k0z0McWRkw8cRnpqBbI/Ue0hv743V3k2O30HGDWvqQ0zo78NEi7lVXO\n0BNk7SGJurMeheRzu4bo7NuU6pkMLqmplfSD7DaHz3dPiPGFtcc9KqUekWcp\nHGt5/qGcqUIk+7eY5bCxLnM4ikti9EQdImH4qtIe2HaRH2g4zn70rhkkHppz\nE7JWSnqgaun6lGCIokTLRJA1kR/dlp0fgTSYEV02Cx8gaouU+o1q7rDYlkT/\nXbBAvkWXxVDiD0kQg8mJhgs67KBSWwuMO0VrNXaonn3bfMHf1ncOLebO1diO\n3P+k\r\n=+qTu\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"287ae7618df9e3648b33c9983a8a53432a0ac287","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","deploy":"gh-pages-deploy","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --source-maps --delete-dir-on-start --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack -p src/Refractor.js -o umd/Refractor.js","build:demo":"webpack --config webpack.config.demo.js","test-travis":"jest --coverage","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack -p --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"6.14.8","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"14.4.0","dependencies":{"refractor":"^3.1.0","prop-types":"^15.6.1","unist-util-filter":"^2.0.2","unist-util-visit-parents":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","react":"^16.3.2","eslint":"^7.8.1","webpack":"^4.6.0","prettier":"^2.1.1","react-dom":"^16.3.2","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","webpack-cli":"^3.3.11","babel-loader":"^8.1.0","gh-pages-deploy":"^0.5.1","@babel/preset-env":"^7.11.5","eslint-config-sanity":"^1.150.1","eslint-config-prettier":"^6.11.0"},"gh-pages-deploy":{"prep":["build:es5","build:demo:prod"],"noprompt":true,"staticpath":"demo"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_2.1.2_1599167537386_0.8559902253057314","host":"s3://npm-registry-packages"}},"2.1.4":{"name":"react-refractor","version":"2.1.4","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@2.1.4","maintainers":[{"name":"rexxars","email":"espen@hovlandsdal.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/Refractor.min.js","dist":{"shasum":"27bc2ed11e6622e2281db6e817c2861eb56af84c","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-2.1.4.tgz","fileCount":18,"integrity":"sha512-bjFJ6IxBai2FDIdmypvVUQ74OD37YkF9tYBYMrVKOUvd3eyUosVab6PtwqmnYj5MvUjBd956NHzHyYb1jlZ/hA==","signatures":[{"sig":"MEQCIFAvsAr3dusK4sCqIironnKQkruVa70s2iE2g59Q454+AiAm0GsrGAVKoPp0mZno0Rm0PO6F6IO6tsyswFPdPrIJmg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCjEUCRA9TVsSAnZWagAA2gAP/j75Xvk/qaWDYw6h0sS7\ndVDMD+oJFYyYIjDHXrW5Pa8VT6i8mmagHqiIUigWxA4605NMDBX4Xfu5LQ63\njrN2yq5yTQwy3UOuDqvC7iq721vwQIUT/zaiuWpSHx1Ao2e6yhpY9THlMH9I\nJRg8SIIbHG0xinp8d49Bd8DbHMwnyQGk5wl3yExggPE8v5q8hIwiU5nGRJR0\nytG482/W+o3LBQaZJhJTeow8SjHdmJnk39qANhIgZr7T9EAhXtCzpFFpGIBx\nowwjVQkvAyRk1t1J5qP/z1T4koQiMD4jur7E9wtH0JDXG+HE267yKzWMORAo\nVEKjOBNfDVe3cbjQ8drep2Hxsv1wHe6ZnEBMuqVuBHg0Ff0hpx8BDXGG2by1\nFpoAbIl56/BwSzoUPLqF6qRHJb2VBqpc7lefZkHUQ0YCah6h5lhryLmeruun\nIrmsAKDlnOGxNcflZMBK1DaBJViPzklIFTI5iOajaboV4rvYAwmeg8L43y3i\nKQCXpViziySMiEeNyZ64zC20VBPGVClriuYFG/DiklvZPLthgsIAs1665Er5\nhmnrtz08IU0nFsYOlrDmdYSfL5rGNBmeKtcEDL3wCZvVa4w0UY94MedxrXns\nUmupKr4fumgiicPwEVpf+TyQseJn8Mn42FSeSNmDE3DyQhszUlpP0SRojunY\nNa1l\r\n=El2L\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"3f2fcd0a44dc4f08bf5b1844183164a9b9e5093e","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","deploy":"gh-pages-deploy","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --source-maps --delete-dir-on-start --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack -p src/Refractor.js -o umd/Refractor.js","build:demo":"webpack --config webpack.config.demo.js","test-travis":"jest --coverage","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack -p --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"6.14.11","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"14.15.1","dependencies":{"refractor":"^3.3.0","prop-types":"^15.6.1","unist-util-filter":"^2.0.2","unist-util-visit-parents":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.4.2","react":"^16.3.2","eslint":"^7.8.1","webpack":"^4.6.0","prettier":"^2.1.1","react-dom":"^16.3.2","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","webpack-cli":"^3.3.11","babel-loader":"^8.1.0","gh-pages-deploy":"^0.5.1","@babel/preset-env":"^7.11.5","eslint-config-sanity":"^1.150.1","eslint-config-prettier":"^6.11.0"},"gh-pages-deploy":{"prep":["build:es5","build:demo:prod"],"noprompt":true,"staticpath":"demo"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_2.1.4_1611280659134_0.7118774950294835","host":"s3://npm-registry-packages"}},"2.1.5":{"name":"react-refractor","version":"2.1.5","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@2.1.5","maintainers":[{"name":"rexxars","email":"espen@hovlandsdal.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/main.min.js","dist":{"shasum":"e7ab2d59f742cbc68fae687f9c3c015f8f0fc188","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-2.1.5.tgz","fileCount":20,"integrity":"sha512-HhZQfZhFvscgx97rvT33+QKniQxyQ6QqVY0pjPR2i4RAcy0PW6/5N6/uEBKc9d5Ioivfd1QkUZ8UI0ivuk7vbA==","signatures":[{"sig":"MEUCIH51NDEub0+TIBGaewGxVN5714hl+riTjdMe1VIFXtdSAiEA6YUT2aYAA8AMRzR2C/ev2vX2FICw66VRkxU9oY8DdRw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95518,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh25E5CRA9TVsSAnZWagAA1kQP/RiXKXjyBRRs1wAjWa0Z\nuH5yt/PkHMoACAkwKrzPd9LHmSz0VTHYTjOG4xdp7gLwTD2hipBBzDWIVCfu\nNMb/CkUVGl+BCOxnfMqJDvYhMXiEotweLk7UHGen8Kwi3Sy7icfdh0AjeQuw\nYRIJerAk+Pgem/KiKUkDyG/9BP1Okhlk1KVIB0r50mqSVHjTQF9ycDTbMRz/\nAbYPY42QbgRwSU0OxDQ7tsakzXimKngfbVfOu4jxBpbg3s8wZ7kiT4SB6MQB\nDf+zoimLkGf/Zicaz0fRnYIZq66BJr6LRbEQjuumLzsIQqQcgU/3tKGU1A3P\nlPfZTnfYWddt1pL7W2lCPsh6nivA2rx14tMUsILUyY3HBp3SslGbDML5RB2o\nR7jKlnfAeSIil8HsQfMKEmOF5W7ng30SNC2FS0ZENlIQkEgwt4tnL1lmwtvR\nbQ5QiGozMUGo3zmgt/QqI2QGM70phFWcT/cP2R6tVjCsVPtdfwd7hFZ5EW1q\npEqsPxwNM8asot92NvLD8TuIPZTAVTFyxkDa5a0esw9UXrap/tq0zlT1iUKn\nfHhaZbwVFc7bhNLdEEkX0jzwQx8lWWDszS/6iU5rFVqOp88Y/5KR10UmN/PF\nU91o8PyUiacCq8IRhTrdzl2oDagDKqWbhv9PjytKR2ejNTvIzsAQL0SMOZ6n\nkbpV\r\n=G7gH\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"3a631a2f520e08bf9ab039a02aac8ef767eac485","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","deploy":"gh-pages-deploy","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --source-maps --delete-dir-on-start --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack --mode=production --entry=./src/Refractor.js --output-path ./umd","build:demo":"webpack --config webpack.config.demo.js","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack --mode=production --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"7.17.0","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"14.15.4","dependencies":{"refractor":"^3.3.0","prop-types":"^15.6.1","unist-util-filter":"^2.0.2","unist-util-visit-parents":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.1","react":"^17.0.2","eslint":"^7.32.0","webpack":"^5.53.0","prettier":"^2.4.1","react-dom":"^17.0.2","@babel/cli":"^7.15.7","@babel/core":"^7.15.5","webpack-cli":"^4.8.0","babel-loader":"^8.1.0","@babel/preset-env":"^7.15.6","eslint-config-sanity":"^5.1.0","eslint-config-prettier":"^8.3.0","@rexxars/gh-pages-deploy":"^0.5.3"},"gh-pages-deploy":{"prep":["build:es5","build:demo:prod"],"noprompt":true,"mainBranch":"main","staticpath":"demo"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_2.1.5_1632211664150_0.8071280380423589","host":"s3://npm-registry-packages"}},"2.1.6":{"name":"react-refractor","version":"2.1.6","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@2.1.6","maintainers":[{"name":"rexxars","email":"espen@hovlandsdal.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/main.min.js","dist":{"shasum":"5f6f0048ecbc032b3066f794c5904d58eaaa0fa2","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-2.1.6.tgz","fileCount":20,"integrity":"sha512-8TwzzzucB38YApaT6A5VEeNJ8e5Zr1CH+JHnsu9gTiNaiavceNeV8BlLSGoCRnkbK6ZRbpsZ72A1Z2YR86jBpw==","signatures":[{"sig":"MEUCIQDeMnzrAiKqpYuyupH1RYpThBq++BY/gX+HjPQDL/4S/wIgIaqMTBNH9833IFoXGq+tkxeWupJcphJDq093QWBfCnw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":96165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHpTaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHgBAAlrgV3MYgDdUasMv7r1B5uvcSIforG8HcFg/jMsTqbMo6K5sQ\r\nACtzS04UIRNk78GHx0Cm+4kAm14AHJ+mTXk888sr0PrpLfrWT5/OGanODUzx\r\nD7MFE+TZNVwDBokX3KNL/xdx5/yugrJPKSCWsMU51tbFhptY1QTF1nfOOrk0\r\nbtO+bOmAF6NLxJkXuZmvHHaf480XFU+pF2tnOjsjSHgX2Zy5UuHCLZ5/bw+A\r\nRHhosroAhLBuXw7phnbkzZcJAkXKAIBI8VJdBmCqGnNf70lvXvyssDFS7SSK\r\nU+DUk1BqwTe+zjeVyK6G5LavDjjcnm4lcUePm8nqAYeY4T7JXVHWxzI2TDxw\r\n76kGchveFTJTExW9obYYD6xPAtP3WI9nmhMeF7WCLIdglbjMzeqdSWK5JlAX\r\nlXVbv3+CjzNJVulFEBQyDofraNgi9R3BD+MWu5H636pHDSedq7HKIF8SX2rQ\r\nR+6oFbKpxcY2+3V0XCHSo5VRyrBe0Lczvi/ER9fRDimFDyhQ+m3eR4EQlmCU\r\n6KbwGNbxOJbjj8CdlvES+bBVWNU5XZmyG6729mkKgL89qwYM4PVsErHQ49/I\r\nuXWy/+iidxd7Ed3zX4cZ3KASlzjc5j84I1PdQfQUNkHSAyu1gCW/hoadsrRO\r\nsKbKnIa8w4uq25RZO3Px+sDJsbO+mHy+TUs=\r\n=sqo9\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"d05454205e02028535b9ce4ea332d6dfc7e15288","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","deploy":"gh-pages-deploy","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --source-maps --delete-dir-on-start --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack --mode=production --entry=./src/Refractor.js --output-path ./umd","build:demo":"webpack --config webpack.config.demo.js","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack --mode=production --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"8.3.0","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"16.13.0","dependencies":{"refractor":"^3.6.0","prop-types":"^15.6.1","unist-util-filter":"^2.0.2","unist-util-visit-parents":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.1","react":"^17.0.2","eslint":"^7.32.0","webpack":"^5.53.0","prettier":"^2.4.1","react-dom":"^17.0.2","@babel/cli":"^7.15.7","@babel/core":"^7.15.5","webpack-cli":"^4.8.0","babel-loader":"^8.1.0","@babel/preset-env":"^7.15.6","eslint-config-sanity":"^5.1.0","eslint-config-prettier":"^8.3.0","@rexxars/gh-pages-deploy":"^0.5.3"},"gh-pages-deploy":{"prep":["build:es5","build:demo:prod"],"noprompt":true,"mainBranch":"main","staticpath":"demo"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_2.1.6_1646171354827_0.4253519050144068","host":"s3://npm-registry-packages"}},"2.1.7":{"name":"react-refractor","version":"2.1.7","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@2.1.7","maintainers":[{"name":"rexxars","email":"espen@hovlandsdal.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/main.min.js","dist":{"shasum":"a7752bb774abed2735e37945aa211a1e1059b976","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-2.1.7.tgz","fileCount":20,"integrity":"sha512-avNxSSsnjYg+BKpO8LVCK14KRn5pLZ+8DInMiUEeZPL6hs0SN0zafl3mJIxavGQPKyihqbXqzq4CYNflJQjaaw==","signatures":[{"sig":"MEUCIEbwpeXY6IM0rr808fpvaiYfZl4lLi9d47Ds3hpQekZ9AiEAkcm/l0u89d5BOLi1vTq2AnQatjLzZeKjIIi1U9e0+S0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":96127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiUbSgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjCw//UOdiTEBh4F5/aMNdWmz8jCY5IBlFpwIwGEZWBu5bbS3BZUUE\r\nS8PSbClzzfjkzR34chvJiMz6IKuMI/BAoHpn7jvV69Id20YrBodhz6kHEl+8\r\nK6voDVW4lEqTwwiwxqElNVdxIihyqy/N6uQihSLBZAoKoqNx+3noXnkxrWjr\r\nL6aNJibMAvG9NWZDtu6IC8BrFcrsALkw0kMJsSFfQoesngIz4oRIEKRxBjWe\r\n/NfICRjD7JKBvUzh0FMnC56GSG208Y2OdP+vQS4PPXjsix5YVBhrQ7UtoOZQ\r\nvjeb8Z+OPcAHQ6w0quXlARu4Mx0ytTowEkgRAdbnEzK7THM/fRGvd5xG6Gk1\r\nmGU+UFCQbdgFIMit6faR8LK6o2Noma3H1mnJ0dVi+XfhKDc/BRHSqjI4xmRU\r\nsZQU6o2/+zfKek61VwxJXsLjzlhKoDzc3+/gg+lNko1mWQSlPfrxE5pe/fqv\r\n8yiSIqvG+gP7KFy7KDIoJlMzLOnlxGaFHiQB2EYufTlRBfa9oghHSxlAseSy\r\nueCO5tM7S6H5mbBlN1T5BT1aCNIe4lqH8fMTdMU2q4fjcVuKNu+Qkyr/9PS+\r\npUsbpiDRpweClC6Ys7idXFIpsIPzAgOgXAhO6Ys4XBJJG5eUn/BnZ90LyCKU\r\np9MFeJwdV0jpSf12uDFegfabpZCcW99P0iI=\r\n=SrfW\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"dea5c37390243f4b7ec72997ea7711be1c53c687","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --source-maps --delete-dir-on-start --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack --mode=production --entry=./src/Refractor.js --output-path ./umd","build:demo":"webpack --config webpack.config.demo.js","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack --mode=production --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"8.3.1","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"16.14.0","dependencies":{"refractor":"^3.6.0","prop-types":"^15.8.1","unist-util-filter":"^2.0.2","unist-util-visit-parents":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","react":"^17.0.2","eslint":"^8.13.0","webpack":"^5.72.0","prettier":"^2.6.2","react-dom":"^17.0.2","@babel/cli":"^7.17.6","@babel/core":"^7.17.9","webpack-cli":"^4.9.2","babel-loader":"^8.2.4","@babel/preset-env":"^7.16.11","eslint-config-sanity":"^6.0.0","eslint-config-prettier":"^8.5.0"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_2.1.7_1649521824536_0.08471567262093815","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"react-refractor","version":"3.0.0","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@3.0.0","maintainers":[{"name":"rexxars","email":"espen@hovlandsdal.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"dist":{"shasum":"ff3de3c2d28209876ad00ea3fc581ad989a4b2ea","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-3.0.0.tgz","fileCount":11,"integrity":"sha512-2EPqCSeMRcCBMkiInaeft6euWdBh4ItFIS2lyFz08iiOJQuSBOQZ/o9VICR7aLmsSOtzweL7fgFo9/Jm6ZOvVA==","signatures":[{"sig":"MEQCIFxbaKjRNmhNI4kIsfBK/aJRWus0KQzzI/gNlHw6GZzlAiBcBWmee5NPmUa67Tb9TpqkYYdeGodbg5axFo4iRx2wsg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46537},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./dist/index.js","source":"./src/index.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"e4691c4822ab5cdb66b1075b1c07ccf1cc478182","scripts":{"dev":"vite demo","lint":"eslint .","test":"vitest && pkg-utils --strict","build":"npm run clean && pkg-utils build --strict && npm run build:demo","clean":"rimraf dist","coverage":"vitest --coverage","posttest":"npm run lint","build:demo":"vite build","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"10.2.4","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","browserslist":["fully supports es6-module","node 18"],"dependencies":{"refractor":"^4.8.1","unist-util-filter":"^5.0.1","unist-util-visit-parents":"^6.0.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.8","react":"^18.0.0","eslint":"^8.49.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","react-dom":"^18.0.0","@babel/cli":"^7.24.1","typescript":"5.4.2","@babel/core":"^7.24.4","@types/react":"^18.2.74","@types/react-dom":"^18.2.24","semantic-release":"^23.0.7","@babel/preset-env":"^7.24.4","@sanity/pkg-utils":"^5.1.12","@vitejs/plugin-react":"^4.2.1","eslint-config-sanity":"^6.0.0","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^6.7.2","@sanity/semantic-release-preset":"^4.0.2","@typescript-eslint/eslint-plugin":"^6.7.2"},"peerDependencies":{"react":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_3.0.0_1712617666585_0.1965489722068876","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"react-refractor","version":"3.1.0","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@3.1.0","maintainers":[{"name":"rexxars","email":"espen@hovlandsdal.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"dist":{"shasum":"4fb62989862b54251d11a310a67f560c2d2f71a7","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-3.1.0.tgz","fileCount":11,"integrity":"sha512-Rx9lDi7ami3MZEBoYXoD02+obACC2+4jBQoVy/dzNNHglNcbNaomupexdsqJq5MJG6f7XLUf0oBic+xwkqjo/Q==","signatures":[{"sig":"MEUCIFC/OrOZ19k3JplZFdBn4+k6S6M0cUq9vGPo011t4YvgAiEA3xOo7kZzUDd0zyhaPwyXlT1awQkYKAOMF+5sYmKwQrA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48539},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./dist/index.js","source":"./src/index.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"9a39794fee31275f9e06061232076d0c3421caff","scripts":{"dev":"vite demo","lint":"eslint .","test":"vitest && pkg-utils --strict","build":"npm run clean && pkg-utils build --strict && npm run build:demo","clean":"rimraf dist","coverage":"vitest --coverage","posttest":"npm run lint","build:demo":"vite build","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"10.5.1","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"sideEffects":false,"_nodeVersion":"20.12.0","browserslist":["fully supports es6-module","node 18"],"dependencies":{"refractor":"^4.8.1","unist-util-filter":"^5.0.1","unist-util-visit-parents":"^6.0.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.8","react":"^18.0.0","eslint":"^8.49.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","react-dom":"^18.0.0","@babel/cli":"^7.24.1","typescript":"5.4.2","@babel/core":"^7.24.4","@types/react":"^18.2.74","@types/react-dom":"^18.2.24","semantic-release":"^23.0.7","@babel/preset-env":"^7.24.4","@sanity/pkg-utils":"^5.1.12","@vitejs/plugin-react":"^4.2.1","eslint-config-sanity":"^6.0.0","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^6.7.2","@sanity/semantic-release-preset":"^4.0.2","@typescript-eslint/eslint-plugin":"^6.7.2"},"peerDependencies":{"react":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_3.1.0_1712619037291_0.664571537632469","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"react-refractor","version":"3.1.1","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@3.1.1","maintainers":[{"name":"rexxars","email":"espen@hovlandsdal.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"dist":{"shasum":"becd5a320f13fe8c422aef9fb5faf4c77046e432","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-3.1.1.tgz","fileCount":11,"integrity":"sha512-BX8kHFC+APBshZFjWSkE01OlldY6VReuXSom0N45l4ALbj118tx2d7ybxhDeK8VsDSMYCMv2RD2P2vjFonMJ8w==","signatures":[{"sig":"MEUCIDS2HOnLs6CZGuc9/VhJqtwSJdM5+yA4S7wvsj9n9rZ4AiEAjZL8RyPNUegpZbAt+U8snL3KN1QGZZsS3IPEu+MAckw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48567},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./dist/index.js","source":"./src/index.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"0ec8052ad998c13fec0897f2856d612bbef7e7b1","scripts":{"dev":"vite demo","lint":"eslint .","test":"vitest && pkg-utils --strict","build":"npm run clean && pkg-utils build --strict && npm run build:demo","clean":"rimraf dist","coverage":"vitest --coverage","posttest":"npm run lint","build:demo":"vite build","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"10.5.1","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"sideEffects":false,"_nodeVersion":"20.12.1","browserslist":["fully supports es6-module","node 18"],"dependencies":{"refractor":"^4.8.1","unist-util-filter":"^5.0.1","unist-util-visit-parents":"^6.0.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.8","react":"^18.0.0","eslint":"^8.49.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","react-dom":"^18.0.0","@babel/cli":"^7.24.1","typescript":"5.4.2","@babel/core":"^7.24.4","@types/react":"^18.2.74","@types/react-dom":"^18.2.24","semantic-release":"^23.0.7","@babel/preset-env":"^7.24.4","@sanity/pkg-utils":"^6.1.0","@vitejs/plugin-react":"^4.2.1","eslint-config-sanity":"^6.0.0","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^6.7.2","@sanity/semantic-release-preset":"^4.0.2","@typescript-eslint/eslint-plugin":"^6.7.2"},"peerDependencies":{"react":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_3.1.1_1712674626357_0.6889261380745841","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"react-refractor","version":"2.2.0","keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","_id":"react-refractor@2.2.0","maintainers":[{"name":"rexxars","email":"espen@hovlandsdal.com"}],"homepage":"https://github.com/rexxars/react-refractor#readme","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"umd":"umd/main.min.js","dist":{"shasum":"541c282557253a8775a08036dc7928d20c0070b4","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-2.2.0.tgz","fileCount":20,"integrity":"sha512-UvWkBVqH/2b9nkkkt4UNFtU3aY1orQfd4plPjx5rxbefy6vGajNHU9n+tv8CbykFyVirr3vEBfN2JTxyK0d36g==","signatures":[{"sig":"MEQCIC8vryc+lmuZavMSiX9MM8EX9wDbE3DUfhlWXJ3j1sP+AiAMVhgbgW46+VvmxB4yf+HMiGO66LG7w83V2nmJ6UiHag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92490},"jest":{"verbose":true},"main":"lib/Refractor.js","gitHead":"08aaa8b206054e21da4b1c8a84165816cdb2471f","scripts":{"lint":"eslint .","test":"jest","build":"npm run build:es5 && npm run build:umd && npm run build:demo:prod","coverage":"jest --coverage","posttest":"npm run lint","build:es5":"NODE_ENV=production babel --source-maps --delete-dir-on-start --copy-files -d lib/ src/","build:umd":"NODE_ENV=production webpack --mode=production --entry=./src/Refractor.js --output-path ./umd","build:demo":"webpack --config webpack.config.demo.js","prepublishOnly":"npm test && npm run build","build:demo:prod":"NODE_ENV=production webpack --mode=production --config webpack.config.demo.js"},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"repository":{"url":"git+https://github.com/rexxars/react-refractor.git","type":"git"},"_npmVersion":"10.2.4","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","directories":{},"_nodeVersion":"20.11.1","dependencies":{"refractor":"^3.6.0","unist-util-filter":"^2.0.2","unist-util-visit-parents":"^3.0.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","react":"^18.3.1","eslint":"^8.13.0","webpack":"^5.72.0","prettier":"^2.6.2","react-dom":"^18.3.1","@babel/cli":"^7.17.6","@babel/core":"^7.17.9","webpack-cli":"^4.9.2","babel-loader":"^8.2.4","@babel/preset-env":"^7.16.11","eslint-config-sanity":"^6.0.0","eslint-config-prettier":"^8.5.0"},"peerDependencies":{"react":">=15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-refractor_2.2.0_1716499895336_0.31635167040660006","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"react-refractor","version":"4.0.0","description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","type":"module","exports":{".":{"source":"./src/index.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"main":"./dist/index.js","types":"./dist/index.d.ts","browserslist":["fully supports es6-module","node 20"],"sideEffects":false,"scripts":{"build":"npm run clean && pkg-utils build --strict && npm run build:demo","build:demo":"vite build","clean":"rimraf dist","coverage":"vitest --coverage","dev":"vite demo","lint":"eslint .","prepublishOnly":"npm run build && npm test","posttest":"npm run lint","test":"vitest && pkg-utils --strict"},"repository":{"type":"git","url":"git+https://github.com/rexxars/react-refractor.git"},"keywords":["react","highlight","syntax","refractor","vdom"],"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"homepage":"https://github.com/rexxars/react-refractor#readme","dependencies":{"refractor":"^5.0.0","unist-util-filter":"^5.0.1","unist-util-visit-parents":"^6.0.1"},"devDependencies":{"@sanity/pkg-utils":"^7.9.9","@sanity/semantic-release-preset":"^5.0.0","@types/hast":"^3.0.4","@types/react":"^19.1.8","@types/react-dom":"^19.1.6","@typescript-eslint/eslint-plugin":"^6.7.2","@typescript-eslint/parser":"^6.7.2","@vitejs/plugin-react":"^4.7.0","eslint":"^8.49.0","eslint-config-prettier":"^9.0.0","eslint-config-sanity":"^6.0.0","prettier":"^3.6.2","react":"^19.1.0","react-dom":"^19.1.0","rimraf":"^6.0.1","semantic-release":"^24.2.7","typescript":"5.8.3","vite":"^7.0.5","vitest":"^3.2.4"},"peerDependencies":{"react":">=18.0.0"},"engines":{"node":">=20.0.0"},"_id":"react-refractor@4.0.0","gitHead":"4df527f299f4f9dd437e2407f3f2c41d693acf5b","_nodeVersion":"22.17.1","_npmVersion":"10.9.3","dist":{"integrity":"sha512-2VMRH3HA/Nu+tMFzyQwdBK0my0BIZy1pkWHhjuSrplMyf8ZLx/Gw7tUXV0t2JbEsbSNHbEc9TbHhq3sUx2seVA==","shasum":"c35e241db9b482f5cfdad4bb8661bb554b233190","tarball":"https://registry.npmjs.org/react-refractor/-/react-refractor-4.0.0.tgz","fileCount":11,"unpackedSize":50158,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDyoU+BGZpT/EEVmo/6hvMJwyWFu0NnS51eDQj0jFFbfAiBLFvDXErZRF47GNAJF6yAtIMWXj5zXiLBD5M29dxQdAw=="}]},"_npmUser":{"name":"rexxars","email":"espen@hovlandsdal.com"},"directories":{},"maintainers":[{"name":"rexxars","email":"espen@hovlandsdal.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-refractor_4.0.0_1753296091396_0.8716275328761032"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-29T17:06:17.096Z","modified":"2025-07-23T18:41:31.741Z","1.0.0":"2018-04-29T17:06:17.229Z","1.0.1":"2018-04-29T17:14:11.113Z","2.0.0":"2020-04-29T03:50:34.965Z","2.0.1":"2020-05-03T21:01:56.066Z","2.0.2":"2020-05-03T21:04:06.831Z","2.1.0":"2020-05-03T22:52:00.620Z","2.1.2":"2020-09-03T21:12:17.608Z","2.1.4":"2021-01-22T01:57:39.274Z","2.1.5":"2021-09-21T08:07:44.287Z","2.1.6":"2022-03-01T21:49:14.987Z","2.1.7":"2022-04-09T16:30:24.788Z","3.0.0":"2024-04-08T23:07:46.822Z","3.1.0":"2024-04-08T23:30:37.449Z","3.1.1":"2024-04-09T14:57:06.547Z","2.2.0":"2024-05-23T21:31:35.560Z","4.0.0":"2025-07-23T18:41:31.591Z"},"bugs":{"url":"https://github.com/rexxars/react-refractor/issues"},"author":{"name":"Espen Hovlandsdal","email":"espen@hovlandsdal.com"},"license":"MIT","homepage":"https://github.com/rexxars/react-refractor#readme","keywords":["react","highlight","syntax","refractor","vdom"],"repository":{"type":"git","url":"git+https://github.com/rexxars/react-refractor.git"},"description":"Super-thin React wrapper for refractor (Syntax highlighting using VDOM)","maintainers":[{"name":"rexxars","email":"espen@hovlandsdal.com"}],"readme":"# react-refractor\n\nSyntax highlighter for React, utilizing VDOM for efficient updates\n\n[![npm version](http://img.shields.io/npm/v/react-refractor.svg?style=flat-square)](http://browsenpm.org/package/react-refractor)\n\n- Thin wrapper on top of [refractor](https://github.com/wooorm/refractor) (Syntax highlighting using VDOM)\n- refractor uses [Prism](https://github.com/PrismJS/prism) under the hood, thus supports all the same syntaxes\n- About 14kB minified + gziped when using a single language syntax. Languages tend to add a bit of weight, see [unpkg](https://unpkg.com/refractor/lang/) for some pointers on how much.\n\nFeel free to check out a [super-simple demo](http://rexxars.github.io/react-refractor/).\n\n## Installation\n\nThis package is [ESM only][esm] and requires React 18 or higher.\n\n```\nnpm install --save react-refractor\n```\n\n## Usage\n\n```js\nimport {Refractor, registerLanguage} from 'react-refractor'\n\n// Load any languages you want to use from `refractor`\nimport js from 'refractor/javascript'\nimport php from 'refractor/php'\n\n// Then register them\nregisterLanguage(js)\nregisterLanguage(php)\n\nReactDOM.render(\n  <Refractor language=\"js\" value=\"/* Code to highlight */\" />,\n  document.getElementById('target'),\n)\n```\n\nYou'll need to register the languages you want to use - I've intentionally left all languages out of the default bundle in order to reduce the bundle size out of the box. Load and register them from [refractor](https://unpkg.com/refractor/lang/) using something like this:\n\n```ts\nimport docker from 'refractor/docker'\n\nregisterLanguage(docker)\n```\n\n## Styling\n\nStylesheets are **not** automatically handled for you - but there is [a bunch of premade themes](https://github.com/PrismJS/prism/tree/gh-pages/themes) for Prism which you can simply drop in and they'll \"just work\". You can either grab these from the source, of pull them in using a CSS loader - whatever works best for you. You can also download a customized stylesheet from Prism's [download customizer](http://prismjs.com/download.html).\n\nNote that when using the `markers` feature, there is an additional class name called `refractor-marker` which is not defined by Prism, as it's not a part of its feature set. You can either set it yourself, or you can explicitly set class names on markers.\n\n## Props\n\n| Name        | Description                                                                           |\n| :---------- | :------------------------------------------------------------------------------------ |\n| `className` | Class name for the outermost `pre` tag. Default: `refractor`                          |\n| `language`  | Language to use for syntax highlighting this value. Must be registered prior to usage |\n| `value`     | The code snippet to syntax highlight                                                  |\n| `inline`    | Whether code should be displayed inline (no `<pre>` tag, sets `display: inline`)      |\n| `markers`   | Array of lines to mark. See section on markers below                                  |\n| `plainText` | Set to `true` to skip highlighting and render the passed value as-is                  |\n\n## Differences to Prism\n\nPrism.js operates directly on the DOM, while refractor generates an AST which react-refractor walks over and converts into virtual DOM nodes. The benefit of the AST approach is that we can easily reuse this across different platforms, highlight on both the server and the client using the same code base and benefit from Reacts virtual DOM diff algorithm to only update the nodes that change.\n\nThe drawback to this approach is that you cannot use Prism plugins, since they _also_ work and depend directly on the DOM.\n\n## Markers\n\nIt's quite common to want to highlight lines when doing syntax highlighting, but Prism uses a very DOM-centric approach to achieve this. In order to make up for this, react-refractor provides a custom plugin that lets you define \"markers\". Since this is a non-standard feature, you will have to provide your own styling for the `refractor-marker` class name. To highlight lines, simply provide the line numbers in the `markers` property:\n\n```js\nconst source = `\nconst foo = 'bar'\nconst bar = 'foo'\nconst baz = foo + bar\n`\n\n// Highlight line 1 and 2, but not 3\n<Refractor\n  language=\"js\"\n  value={source}\n  markers={[1, 2]}\n/>\n```\n\nYou are also able to provide greater customization by specifying an object for each marker, which can include either a `className` or a `component` property. This allows you to render basically anything you want:\n\n```js\nconst source = `\nconst foo = 'bar'\nconst bar = 'foo'\nconst baz = \"bar\" + bar\n`\n\n// Highlight line 1 and 2, but not 3\n<Refractor\n  language=\"js\"\n  value={source}\n  markers={[\n    {line: 1, className: 'no-not-use-foo-in-examples'},\n    {line: 3, component: props => (\n      <TooltipedLine tooltipText=\"Prefer template for string concatenation\">\n        {props.children}\n      </TooltipedLine>\n    )}\n  ]}\n/>\n```\n\n## License\n\nMIT-licensed. See LICENSE.\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n","readmeFilename":"README.md"}