{"_id":"@aleph/react-router-hijack-a","_rev":"6-89f5b53b74972c4c1415cff3dd38af19","name":"@aleph/react-router-hijack-a","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@aleph/react-router-hijack-a","version":"1.0.0","description":"Watches HTML <a>-tag clicks and passes them to React Router if needed","repository":{"type":"git","url":"git+https://github.com/AlephSF/react-router-hijack-a.git"},"author":{"name":"Aleph Incorporated"},"license":"MIT","bugs":{"url":"https://github.com/AlephSF/react-router-hijack-a/issues"},"homepage":"https://github.com/AlephSF/react-router-hijack-a","keywords":["react-component","react-router","react"],"files":["/index.js","/dist"],"jest":{"setupTestFrameworkScriptFile":"<rootDir>/setupTest.js","testURL":"https://www.test.com"},"publishConfig":{"access":"public"},"scripts":{"build":"rimraf ./dist && BABEL_ENV=production babel src --out-dir ./dist","dev":"babel src --out-dir ./dist --watch","lint":"eslint ./src ./index.js","release":"semantic-release","test":"jest"},"devDependencies":{"@aleph/eslint-config":"1.1.0","babel-cli":"^6.6.4","babel-core":"^6.7.4","babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","babel-preset-minify":"^0.5.0-alpha.a24dd066","babel-preset-react":"^6.5.0","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-config-standard-react":"^6.0.0","eslint-plugin-babel":"^5.1.0","eslint-plugin-import":"^2.12.0","eslint-plugin-jest":"^21.17.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.8.0","eslint-plugin-react":"^7.9.1","eslint-plugin-standard":"^3.1.0","jest":"^23.1.0","react":"^16.0.0","react-dom":"^16.0.0","react-router-dom":"^4.0.0","rimraf":"^2.6.2","semantic-release":"^15.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","react-router-dom":"^4.0.0"},"dependencies":{"babel-runtime":"^6.6.1"},"gitHead":"5027b99b9082d50bb20989771211b2512bec74c4","_id":"@aleph/react-router-hijack-a@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"alephsf","email":"ping@alephsf.com"},"dist":{"integrity":"sha512-s6b/j9HDqkED7XrPoTbdjhWITwK1XBE+PzFnPL99FKDpwHvYk9NkFDEbTupxem6VL6kiJntfDxAnRIRT/TozZg==","shasum":"fba6a55fd54f375ac8fa23dc454dcc2845ed5b3f","tarball":"https://registry.npmjs.org/@aleph/react-router-hijack-a/-/react-router-hijack-a-1.0.0.tgz","fileCount":4,"unpackedSize":6021,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJBswCRA9TVsSAnZWagAATK8P/jpPz6WayT6YeGE0vsX1\nkrZ5V/FebpSzoi6S/KAYJKEq4iVliJR1ppEniK2BLFYXfyg87HnAFgy/UcWC\n5ffohcfO8sg1fk77bdWJB6fJsWSCE2YPbUqMevoC8TT7ok6dyZtGMswzuXay\nQbHdDUcJkG7aCE3YdCmzzTgGQ9kcNYJi8eZkF5JwJiWriOJVX4HGIEbMy3SG\nnAc8Ampy5z7NemOq8pfnkECcFKgXMiWVuV/5a6AYO+y/6Do8CsCbNyA72MeS\nYlvJzvcGNqJckSsVyW+HX2bMtanlSuGwH9v6WjWhrgRRae7HLW2oIZQ+XiXw\nfznbhLHbKkmNAkbYxPJXNKwkuJExatG/TR5Pg0vpYFwJRrkrhWR5YVVc6TDU\n8ywQiKGHQ1+gR2J7u5Csf7apHZ+RzR6xRn+vWS8iJiOOurT5WdVMB5J8lO03\nMN8NhmkQ46xaADlMIfPuf3Nq0W34eP9re0a9C3g4QTYyLk2JDcKrxU+5RU22\n71yTOkSDJIvZInqWnXz05pcfw47QLDr9d4VY3ntbinNgRBp2ComyC1P4ANBf\njbnxkIoRWT2r0scriwJrVR184KANldHqpuXMKcK4Lpvl4NIXsDUc8INt5i8L\nrxfSGE48l0Whl0fn/qyfxtczxAvXkyYB+0HmJCRm5KcG1g97qtvJ/b9EVX6z\neQZd\r\n=hVFJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdQShsSQqiGxlsT6YTQi1MJGgZFRMEwdjrxW8GwOH7BgIgWZkhFZwiUuDblH3m8181VL2WT5P9RqOYqsg2ih9CVwc="}]},"maintainers":[{"name":"alephsf","email":"ping@alephsf.com"},{"name":"jordanburk","email":"jordan.g.burk@gmail.com"},{"name":"oppodeldoc","email":"matt@alephsf.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-hijack-a_1.0.0_1529092911622_0.5043167391527317"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aleph/react-router-hijack-a","version":"1.0.1","description":"Watches HTML <a>-tag clicks and passes them to React Router if needed","repository":{"type":"git","url":"git+https://github.com/AlephSF/react-router-hijack-a.git"},"author":{"name":"Aleph Incorporated"},"license":"MIT","bugs":{"url":"https://github.com/AlephSF/react-router-hijack-a/issues"},"homepage":"https://github.com/AlephSF/react-router-hijack-a","keywords":["react-component","react-router","react"],"files":["/index.js","/dist"],"jest":{"setupTestFrameworkScriptFile":"<rootDir>/setupTest.js","testURL":"https://www.test.com"},"publishConfig":{"access":"public"},"scripts":{"build":"rimraf ./dist && BABEL_ENV=production babel src --out-dir ./dist","dev":"babel src --out-dir ./dist --watch","lint":"eslint ./src ./index.js","release":"semantic-release","test":"jest"},"devDependencies":{"@aleph/eslint-config":"1.1.0","babel-cli":"^6.6.4","babel-core":"^6.7.4","babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","babel-preset-minify":"^0.5.0-alpha.a24dd066","babel-preset-react":"^6.5.0","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-config-standard-react":"^6.0.0","eslint-plugin-babel":"^5.1.0","eslint-plugin-import":"^2.12.0","eslint-plugin-jest":"^21.17.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.8.0","eslint-plugin-react":"^7.9.1","eslint-plugin-standard":"^3.1.0","jest":"^23.1.0","react":"^16.0.0","react-dom":"^16.0.0","react-router-dom":"^4.0.0","rimraf":"^2.6.2","semantic-release":"^15.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","react-router-dom":"^4.0.0"},"dependencies":{"babel-runtime":"^6.6.1"},"gitHead":"e05e774b38fbd906f7d575e74c4dedb162483c2f","_id":"@aleph/react-router-hijack-a@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"alephsf","email":"ping@alephsf.com"},"dist":{"integrity":"sha512-pbfnXWPINccB/WHaSNJcRQ2WS8DHtpLR2pW00DNt/MiWzJ7kCvtoqN9KALcLulCnNjLHxG9kS7wngwdlYzsrDQ==","shasum":"4375ec131bbab29ccce69260786bcf8fa9a469d1","tarball":"https://registry.npmjs.org/@aleph/react-router-hijack-a/-/react-router-hijack-a-1.0.1.tgz","fileCount":4,"unpackedSize":6174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJCejCRA9TVsSAnZWagAAe1EP/24n7Ay62+nndOUTiZqO\n027wp3Aw2F8tHtk5EcZln0M+iGD1b8mkG1qEevEEuAYKU/z5a/FdOTn+AlGs\nc9duXPmcuH6Ndim9B6M61S532sLZtHFtk5ihc2vdPSGZFde0WgjVBnHP+jTy\n2OzFsw4rBSj09jrvSUKCQ+U+KTkC5KVCLuXDAm0kRJoqcAoLGD15AYHmr5jJ\n1xleglgZ1frtFWouCQ/1e5QW7mlV3x+zNc/iqjSBYr5XcojxhpZDHK7EnOfS\nHcgFibRf4HtjL6bQSZFMCQzDw5V3LcwsI1anXrAX2/yVbilRJPFpE/ETF96h\nToaPK4Pk1NNayY4Xe7lJ3unVZ7RF6ZFdZuGiwTPVlQ9DPkubrtzA7yDtDN8l\nHR1/vXrddfIRFh96yMivAZwVvEY4yRKH7hkMNqI7G5W93/8U1CULCA8Hesk0\n0Foa89N6vd6E8sQ/NPCclNFizQ1aTMIFGHWwiLU7dgWAkjphMIQPO6gprFz3\nflZyRXOiMZqbwXzVyWfqIIr1IpCutFPzyqmJ7ZPWtuE5P4VtnzlsH3W8xuVX\nA/Rp0aHBfAwcva+ew3BeUGH+zZp9JKiPZCIjljiZhKNWCaSz9d4JUHkPp1SN\n2djGaM0NPmRDLCDss/QjjrncQtZRoalsENEDaAGGYA/JimcxQkFGDNvXr4F+\nMBU6\r\n=LfEn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDzIlMPH9lBZg+h9qJYjXFpRQeoa8oUJv+UpgM6p5AhuAiAw51amWRzZKVwx/rcj5CDrQmeKYLNb5/Q0lKtOmPMoKQ=="}]},"maintainers":[{"name":"alephsf","email":"ping@alephsf.com"},{"name":"jordanburk","email":"jordan.g.burk@gmail.com"},{"name":"oppodeldoc","email":"matt@alephsf.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-hijack-a_1.0.1_1529096098389_0.6955586272900749"},"_hasShrinkwrap":false},"1.1.0":{"name":"@aleph/react-router-hijack-a","version":"1.1.0","description":"Watches HTML <a>-tag clicks and passes them to React Router if needed","repository":{"type":"git","url":"git+https://github.com/AlephSF/react-router-hijack-a.git"},"author":{"name":"Aleph Incorporated"},"license":"MIT","bugs":{"url":"https://github.com/AlephSF/react-router-hijack-a/issues"},"homepage":"https://github.com/AlephSF/react-router-hijack-a","keywords":["react-component","react-router","react"],"files":["/index.js","/dist"],"jest":{"setupTestFrameworkScriptFile":"<rootDir>/setupTest.js","testURL":"https://www.test.com"},"publishConfig":{"access":"public"},"scripts":{"build":"rimraf ./dist && BABEL_ENV=production babel src --out-dir ./dist","dev":"babel src --out-dir ./dist --watch","lint":"eslint ./src ./index.js","release":"semantic-release","test":"jest"},"devDependencies":{"@aleph/eslint-config":"1.1.0","babel-cli":"^6.6.4","babel-core":"^6.7.4","babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","babel-preset-minify":"^0.5.0-alpha.a24dd066","babel-preset-react":"^6.5.0","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-config-standard-react":"^6.0.0","eslint-plugin-babel":"^5.1.0","eslint-plugin-import":"^2.12.0","eslint-plugin-jest":"^21.17.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.8.0","eslint-plugin-react":"^7.9.1","eslint-plugin-standard":"^3.1.0","jest":"^23.1.0","react":"^16.0.0","react-dom":"^16.0.0","react-router-dom":"^4.0.0","rimraf":"^2.6.2","semantic-release":"^15.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","react-router-dom":"^4.0.0"},"dependencies":{"babel-runtime":"^6.6.1"},"gitHead":"1b94e3ba53869c04f470c1ed9b2ae4f29e32652c","_id":"@aleph/react-router-hijack-a@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"alephsf","email":"ping@alephsf.com"},"dist":{"integrity":"sha512-kjMRan81hyrfKQFPsBrvJSTtBF3kqNUtnTHHDisUOGdgCVUkw1rvijQCb8Dv9F18gVYFE2t/vqnXyZbLdKiL9A==","shasum":"8ccde570098972611eb539c0f7c83b9985d6d1d2","tarball":"https://registry.npmjs.org/@aleph/react-router-hijack-a/-/react-router-hijack-a-1.1.0.tgz","fileCount":4,"unpackedSize":7636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKZh0CRA9TVsSAnZWagAAGkoP/A9/mcV+TjjxeLEdKQqx\nVtiwtdLt8e+g/h0RVxe1/FdEPCz+S2IbhW+l2+OtxqRAaJiuozuVSLKefwPN\nuxwUP+q9njulD/MRtnkC8gMu5vRbMESLQ8f7l/5PmKOPvrBov1wkhlAlLzgt\n7smUwDereDVtcGrvc2+RTFlg2husdZkPApvS/dAXoWz6dc4x95ovKk/AoU/B\n56KujaE/wUtfu70rXQBhUbb1AJA9F/U2cyGdzx3WIB1h7Egfqq1xxPx5iO17\nGb9QumSsX43eH9/OMKIcnzaw2RjhlauTXDu17KGBBAPOnzg3Ym/3r3aCRDFz\neKX6rzcpw0YtaFeXKgyT+GDJT/7Jx7r40w4G3GiXTUtnukf5BhxresX9Qth/\nR9ZI6i+w9gcSJzjaMstBO21oAUSrM7FdGUAIf/2VhKyk/8m6/8K+ruJdHrAF\n5nTxXG09yOWbLkGZdqnIAlveg/96TOBRC4gAQc936XiD5w45HhCpycFq3Y5/\nStSess3V1atHJ3l+EZvFeExftgG/tAwjCOgn6t7IMPE891pArjhmZ5xUgU3F\nrwkU6KtfpenjS+3vmYWLL80yBWZ51Bwb3301ZH8kQcCU66qckvH5tgyt0w4M\np7A4NtcEITsPPZ5H8dh6lYJ3FMbS+Lt3nhTkbQX56jQAYrfSmAgzbICYykaS\nXXOx\r\n=twLd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmgKTDXGtwL/AHRxzBw880dRshGDwlwsAGwv459gFMvAIhAPmdX7+r4UjTyZmxxsi7ec2gZdUjTvADNWYgTlUEIZTJ"}]},"maintainers":[{"name":"alephsf","email":"ping@alephsf.com"},{"name":"jordanburk","email":"jordan.g.burk@gmail.com"},{"name":"oppodeldoc","email":"matt@alephsf.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-hijack-a_1.1.0_1529452659054_0.03283066776432819"},"_hasShrinkwrap":false},"1.2.0":{"name":"@aleph/react-router-hijack-a","version":"1.2.0","description":"Watches HTML <a>-tag clicks and passes them to React Router if needed","repository":{"type":"git","url":"git+https://github.com/AlephSF/react-router-hijack-a.git"},"author":{"name":"Aleph Incorporated"},"license":"MIT","bugs":{"url":"https://github.com/AlephSF/react-router-hijack-a/issues"},"homepage":"https://github.com/AlephSF/react-router-hijack-a","keywords":["react-component","react-router","react"],"files":["/index.js","/dist"],"jest":{"setupTestFrameworkScriptFile":"<rootDir>/setupTest.js","testURL":"https://www.test.com"},"publishConfig":{"access":"public"},"scripts":{"build":"rimraf ./dist && BABEL_ENV=production babel src --out-dir ./dist","dev":"babel src --out-dir ./dist --watch","lint":"eslint ./src ./index.js","release":"semantic-release","test":"jest"},"devDependencies":{"@aleph/eslint-config":"1.1.0","babel-cli":"^6.6.4","babel-core":"^6.7.4","babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","babel-preset-minify":"^0.5.0-alpha.a24dd066","babel-preset-react":"^6.5.0","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-config-standard-react":"^6.0.0","eslint-plugin-babel":"^5.1.0","eslint-plugin-import":"^2.12.0","eslint-plugin-jest":"^21.17.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.8.0","eslint-plugin-react":"^7.9.1","eslint-plugin-standard":"^3.1.0","jest":"^23.1.0","react":"^16.0.0","react-dom":"^16.0.0","react-router-dom":"^4.0.0","rimraf":"^2.6.2","semantic-release":"^15.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","react-router-dom":"^4.0.0"},"dependencies":{"babel-runtime":"^6.6.1"},"gitHead":"2a0f290c47ff519ebf130634860632367c59eecf","_id":"@aleph/react-router-hijack-a@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"alephsf","email":"ping@alephsf.com"},"dist":{"integrity":"sha512-jZA2sjCZOYmdcDVciiw+nWl2Udkqfi0UxTfGL4gicS7eOKShBcTt8CNL7Uu+Xet+VaRA3Unx1OHD5941Ahqa4A==","shasum":"7f73dcc19dbac341f9c504a22d05942920cc26d9","tarball":"https://registry.npmjs.org/@aleph/react-router-hijack-a/-/react-router-hijack-a-1.2.0.tgz","fileCount":4,"unpackedSize":7709,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLYBvCRA9TVsSAnZWagAA718P/iaQ9Nd+byNDJjR/tkCJ\nappQQZx1qGgi/ZweF03352OaJ63crK4/wiMt2xD5GBzvxNv1CnHM957JI7sP\n2WgtKETN89ujhr/+lBeL03GmTnkGYpKrB6+y9jeC8ekJ6zWdZnhF+lHbMDaB\naa5UdYP6o0V5G5CcusQa4tERzKwb7aFOt2kt3eMVcbGHTti7UbtNmS3/2sO3\nJT3KRBBmlUErNyqXP5tsLGIjABBqWQjVaFADAI4hZxuuAzcLYQNEHLOkW7nR\nIG4GI/zo5K7OZ6jR5bBEDEOvVpPN/9EpTyGiRhN08ep2gCL3kLxmhKx2DGhQ\nasTu98LPmQTyFKrKPhj1IUzd+jstYwNdFsnAmUZpLeSacOElzq/QTbnwMmgH\nlGm2dzGhKJV/uhAA+TbWE/JDqiJfitHVv9xYE+E75EOZUk5pnfslEDxNxeUx\nEcw8C8glJo3hFvnfppgddZUZwJQF1s12isHSRACXEvr5oOx3nfLmDENhrP95\nvbkL0H3hGqhQkNtMK7Z3bBc2VaDdCbBoZD9qx3bY3YV22bqZ5ewn+kgSqtLj\nwax+RJFFSFsgTQ7XNfEMjt/ULe6UMBJSIeAtJ7j9Hm2FkV8yiFIlQ60H3wod\nrTP5gSNZ9Apy554bdoQEl9TUgNDJtS4abmGF+q1mh7wzorzI8zZLdHb/xjtW\nUgb3\r\n=Mshd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEuUNqjeWPrEBIVz4+mj8O/morFfhhSSyEBfR9pnawUXAiAbrqkBnFwSsJP+8JAoFoaj1XgrwCSjnp68cV/ovIFnwA=="}]},"maintainers":[{"name":"alephsf","email":"ping@alephsf.com"},{"name":"jordanburk","email":"jordan.g.burk@gmail.com"},{"name":"oppodeldoc","email":"matt@alephsf.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-hijack-a_1.2.0_1529708655501_0.13177614997144405"},"_hasShrinkwrap":false}},"time":{"created":"2018-06-15T20:01:51.366Z","1.0.0":"2018-06-15T20:01:51.688Z","modified":"2023-04-07T18:32:09.221Z","1.0.1":"2018-06-15T20:54:58.469Z","1.1.0":"2018-06-19T23:57:39.117Z","1.2.0":"2018-06-22T23:04:15.555Z"},"maintainers":[{"email":"amanda@alephsf.com","name":"tusinga"},{"email":"ping@alephsf.com","name":"alephsf"},{"email":"matt@alephsf.com","name":"oppodeldoc"}],"description":"Watches HTML <a>-tag clicks and passes them to React Router if needed","homepage":"https://github.com/AlephSF/react-router-hijack-a","keywords":["react-component","react-router","react"],"repository":{"type":"git","url":"git+https://github.com/AlephSF/react-router-hijack-a.git"},"author":{"name":"Aleph Incorporated"},"bugs":{"url":"https://github.com/AlephSF/react-router-hijack-a/issues"},"license":"MIT","readme":"# React Router Hijack <a>\n\nThis React component allows React Router to handle raw HTML. It handles clicks\non its children, checks if an `<a>` tag was clicked, and determines whether to\nprocess it as an internal react-router link or an external link.\n\n## Usage\n\n```jsx\nimport Hijack from '@aleph/react-router-hijack-a'\n\n<Hijack>\n  <div dangerouslySetInnerHTML={{ __html: `\n    <a href='https://www.test.com'>internal link</a>\n    <a href='https://www.google.com'>external link</a>\n  ` }} />\n</Hijack>\n```\n\n## Props\n\nThe component accepts a `protocols` prop, which is a list of protocols that\nshould be handled natively by the browser. By default, the component only\nexpects `'mailto'` and `'tel'` protocols, so less common protocols such as\n`'ftp'` will be handled incorrectly. Simply add any necessary protocols like so:\n\n```jsx\nimport Hijack from '@aleph/react-router-hijack-a'\n\n<Hijack protocols={[ 'other' ]}>\n  <div dangerouslySetInnerHTML={{ __html: `\n    <a href='mailto:ping@alephsf.com'>email</a>\n    <a href='other://example'>other protocol</a>\n  ` }} />\n</Hijack>\n```\n\nThe component accepts a `hostnames` prop, which is a list of hostnames that\nshould be interchangeable when referring to your app. If your site is available\nat a single hostname, there is no need to use this prop. Most often, it should\nbe used to account for the `www` subdomain and bare domain being interchangeable:\n\n```jsx\nimport Hijack from '@aleph/react-router-hijack-a'\n\n<Hijack hostnames={[ 'test.com', 'www.test.com' ]}>\n  <div dangerouslySetInnerHTML={{ __html: `\n    <a href='https://test.com/home'>homepage</a>\n    <a href='https://www.test.com/home'>homepage</a>\n  ` }} />\n</Hijack>\n```\n","readmeFilename":"README.md"}