{"_id":"react-router-scroll-memory","_rev":"30-c8b4308c0e1fd29ecb942fb7b22ffe18","name":"react-router-scroll-memory","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","dist-tags":{"latest":"2.0.7","beta":"2.0.4-beta"},"versions":{"0.0.0":{"name":"react-router-scroll-memory","version":"0.0.0","description":"Simple react component to keep the scroll of the page and to restore it if the user clicks on the back button of its browser","main":"./dist/bundle.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{"react":"^15.6.1","react-router-dom":"^4.1.2"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"30ba5a703a70392692f9c63295bbf121ea94e3ec","_id":"react-router-scroll-memory@0.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-fd0fUuWBTBu6GhJuhX6xL/8Z6qtsAmdX8STjiF81/VNooe42xHsBiX7iBCgG1JUgRlfxgUYD05K/HS2gzKMVlg==","shasum":"025ecd400b0acc675be1cca83594db753c2db4df","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-0.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFcnyLWFCndlN6ryh0LS+ojyFh5XAU9nwEdvMVTXpaM2AiAuFnAJjC6j8EaZvVJ8Wp/Kw8cTQslQS/OuNZviSqSuFA=="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-0.0.0.tgz_1503071953404_0.8855559579096735"},"directories":{}},"0.0.1":{"name":"react-router-scroll-memory","version":"0.0.1","description":"Simple react component to keep the scroll of the page and to restore it if the user clicks on the back button of its browser","main":"./dist/bundle.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{"react":"^15.6.1","react-router-dom":"^4.1.2"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"1b83a14655deefc638a9165314abce1a6239f9a0","_id":"react-router-scroll-memory@0.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-JM/vWD70UUo9uAn04gPkaJ8a1L8JtaX/DneH1EjgM6GS1WiJsorYdOLwDZGSznqmEyOB8eceClhB9eYQRsPbig==","shasum":"63f48432c40d1118bbbae5e57d9fdc491582eea8","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKiJa/7QLjakrKAoqrOBwhQ+na1hPZQBi7INjEcXxC7wIgC0JJUWbUbJIwCZ9VO+3My80LktUw4tmHi0zy/Q3VbFY="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-0.0.1.tgz_1503073217114_0.8051712715532631"},"directories":{}},"0.0.2":{"name":"react-router-scroll-memory","version":"0.0.2","description":"Simple react component to keep the scroll of the page and to restore it if the user clicks on the back button of its browser","main":"./dist/bundle.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{"react":"^15.6.1","react-router-dom":"^4.1.2"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"ad7f21ffba6965bda181a84e03b1154ab9223335","_id":"react-router-scroll-memory@0.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-/07a7+5X/V0g4Jjhpha/BTY0eTcsK2bohAH1Yy8qL4NXXvtlClmwE59lEscz4ELFg0bnCk36mUIL72VhzbFzww==","shasum":"fa5b4d251375c473107aedf09018bc8122052f39","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA/tVAcjwth7GXCRnVD2fvUbKiTVo3O8+SrAVqB8g+XeAiAWu1VZkCk6VKE/jxap7wkGEd+FOQWaQ6MZvY8bn6Z+4A=="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-0.0.2.tgz_1503073610666_0.5622222719248384"},"directories":{}},"0.0.3":{"name":"react-router-scroll-memory","version":"0.0.3","description":"Simple react component to keep the scroll of the page and to restore it if the user clicks on the back button of its browser","main":"./dist/bundle.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{"react":"^15.6.1","react-router-dom":"^4.1.2"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"d9fe1c7f89231e6a3a0d1e676e34b275a42b08d8","_id":"react-router-scroll-memory@0.0.3","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-Pe5gLSsy9TMuUMenzvZX9wvlELXVdUDxcaTLF2EPcvzlQM8uRu1FppTE15VKyuKZrIdhyPTkfsrmIiWxHLi8Kg==","shasum":"c4e570cd95c831968081c60dfb2d953ab0e91ae5","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-0.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0/9IE6SdyaNKXOLGdk4GQcmUYprok2raSZOOwPSc5rgIhAL9p2rPRKm4/aznVr0krzIHXwS0WC59sye6kAjTq6pRE"}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-0.0.3.tgz_1503076398983_0.9691529683768749"},"directories":{}},"0.0.4":{"name":"react-router-scroll-memory","version":"0.0.4","description":"Simple react component to keep the scroll of the page and to restore it if the user clicks on the back button of its browser","main":"./dist/bundle.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{"react":"^15.6.1","react-router-dom":"^4.1.2"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"1aca1ae4dd215eb03638ad6bfd46487a431c5d8b","_id":"react-router-scroll-memory@0.0.4","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-Rnmv+qU0TVURWWxs6C3GzycgUQizO6X6pcMydSAG6qlrqlTIHBvGdZArky7rebdgiYGwwEJKqdn/UcC74fjzWQ==","shasum":"a29e426a5ded3c247cd209fdaf7f5e42444136aa","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-0.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTrBHFXUFIc5j3a8UbyKrWxQO0INtkuKTNxdjRRvp2eAiB/Z28l9p+x9/TdGgGkwHCttmXArjna6JLEWTWqm4+MBQ=="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-0.0.4.tgz_1503156603416_0.05630469415336847"},"directories":{}},"0.0.5":{"name":"react-router-scroll-memory","version":"0.0.5","description":"Simple react component to keep the scroll of the page and to restore it if the user clicks on the back button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{"react":"^15.6.1","react-router-dom":"^4.1.2"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"f762c016f5bc1c08c43b547a540ffbb1aee16305","_id":"react-router-scroll-memory@0.0.5","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-7GbZPhiwNK76hZv60++9Ng9rpKx4qOIj7tfB0Q3ICBrAkJuoOiK2ZmL16zOFeAhYzcf0uwKsI5FLyrGPn47j7A==","shasum":"127830efaebb214cc2b00d5312657accc2133f19","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-0.0.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMulVi0kunuQBiI9EMbvVw+QZD9/XIF06tjgHzwFxJ5AiAw9DDEcF80uIfoCY0vIxa1B3gCiGlasStP15gZltFEMQ=="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-0.0.5.tgz_1503304998735_0.3675922150723636"},"directories":{}},"0.0.6":{"name":"react-router-scroll-memory","version":"0.0.6","description":"Simple react component to keep the scroll of the page and to restore it if the user clicks on the back button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{"react":"^15.6.1","react-router-dom":"^4.1.2"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"f0e2f8107e4df650981ea993707b0aa60f1529b4","_id":"react-router-scroll-memory@0.0.6","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-8PKXU/MpfAE6gXO8MuHAIuSZ4EiDjxc8/5Bj626Z7Dfx2ZCGsgkTe9XFEND8O+B0hpJiWQhILZebfi7hg76KCw==","shasum":"50c2f8ec6851d85f08dd8f5619f5f67bf905ae90","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-0.0.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIELD3ZUpmXarRZnfW+U2kgSH5W8/SR/I86tzWxRe1m6QAiASqhxfWFU8FHboom0ZcnulLmmNHp8S1cK3QI5Hi1wh/g=="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-0.0.6.tgz_1503306400169_0.33367521734908223"},"directories":{}},"0.0.7":{"name":"react-router-scroll-memory","version":"0.0.7","description":"Simple react component to keep the scroll of the page and to restore it if the user clicks on the back button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"ebf3befbf79fdfe54842556a4954a90071a87a55","_id":"react-router-scroll-memory@0.0.7","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-8N/OrCv7Bv8Yt99sxi4b0vTD5t1lP0VqTxUML6oFTNGZn07U7SIN1EdoMXOphY3NtQKfCMz1NJXsWZbSGqCcOw==","shasum":"d0ed15fdedd6e4ff9fc18c4fd894ea8147c9c94e","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-0.0.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID5DQa17XdEWU77VkSIMkl2ADWURxj65AQnXc3UVnOjaAiEAv3O0mLkH6dbTPbhjbEVMZesXA1cgrOxbaC/+yW7WZEc="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-0.0.7.tgz_1503307224488_0.22182935290038586"},"directories":{}},"0.0.8":{"name":"react-router-scroll-memory","version":"0.0.8","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"2dc8246ba27b7e83efdd241a6b384f55493a3917","_id":"react-router-scroll-memory@0.0.8","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-KcjJLqB1G/vk8eM6/YvH/Mg9VX2lQbHkQ83J4qTPwNbfbAnTrLwkp16MdCvGiaoToYNQlIEQwg7+RT4M4kWPYQ==","shasum":"54ad8c8416b46c0afdb864ef4137e5d234a40958","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-0.0.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH1U6TTpzTHy+przoWo/qAj1gAdwJYIhLvc9+ETg+aOYCIFDL2uTe8p8PS7Pwe6qY2NygwROF/XCxRNE8ErUd/kDh"}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-0.0.8.tgz_1503471526080_0.31494056317023933"},"directories":{}},"0.0.9":{"name":"react-router-scroll-memory","version":"0.0.9","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"80abf8d5116ce5b002162ecb084288cbf11cf175","_id":"react-router-scroll-memory@0.0.9","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-JL0zz9kksCpKrmr96ZD6+fF5K+UbUV4RgRgy7+pTlhdj0EQDvL0hAQxkcIlJuoOa16/0FgodsuXgzpvFFMHfiA==","shasum":"72519ee891598ab6acef2ac4461818acde631d52","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-0.0.9.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrbsPkBzERXOq+NaqRxLbQuHsmoMYq8iB1m7VClO915QIhAMXaAW6h+yMKD+aOCx5d0zY6FSDsNzVxQHvz6IEmHPUX"}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-0.0.9.tgz_1503471887978_0.02631603111512959"},"directories":{}},"1.0.0-beta":{"name":"react-router-scroll-memory","version":"1.0.0-beta","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"ec921e6dfef9ac3c012b87ff517d2cfa21dd8696","_id":"react-router-scroll-memory@1.0.0-beta","_npmVersion":"5.4.0","_nodeVersion":"8.4.0","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-bqlRjzU37hAVO+OzFXpEDQnPvAuZxW4a9ilztEZlyKVp/b+oOhI7ni7O3RNNs1wkh8WigUaVDAjn3TfjhVAOYQ==","shasum":"e1a37b4d7c80b9731fee18a14d2354b7cf35e46d","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-1.0.0-beta.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBVzJ43dXKTmGI7U1ICmKY3YOzCy9mSGG4fGLHk/IUIjAiB2mpiiqDbpFFOKoO/wwsXnAP9Mx7YPb7UvbC1tHJHypg=="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-1.0.0-beta.tgz_1505127910271_0.4613695873413235"},"directories":{}},"0.1.0":{"name":"react-router-scroll-memory","version":"0.1.0","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"fe2576d29d6a90bb98692e7416aad6db84c17dc4","_id":"react-router-scroll-memory@0.1.0","_npmVersion":"5.4.0","_nodeVersion":"8.4.0","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-9WNgRb+K8a0ZnXLQS5kR8Ifd0WqPWDV/zyHN7sDV14cLuj9/C7nA8GX45batjwChYf5FG4J31wh9VpbQOaiDwA==","shasum":"2e478b8f865baa40adf4056d2ecb66484c634b85","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFc/y8CVmBE04dbDyQ5DhQTor82OVNA8s2kZ/U5YtIxvAiA9P0zzlog80fVQCa5wb1Y2i/6zN+OnQ4YxyxfwLhHjNQ=="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-0.1.0.tgz_1505759438317_0.8040977092459798"},"directories":{}},"1.0.1-beta":{"name":"react-router-scroll-memory","version":"1.0.1-beta","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"714cbc49cc00cadfaa885642871ee16248772df4","_id":"react-router-scroll-memory@1.0.1-beta","_npmVersion":"5.4.0","_nodeVersion":"8.4.0","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-vv6asbtd7Hdyh1HC+1m2PYgUVLDU5qD2VvxByM9Lw6EPJnfGsUMkkLQh/yV/VCkBnezcSnvjMTnabB05+HxNvg==","shasum":"f004c550062462a44d32eb8fe9401dbcd56ff536","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-1.0.1-beta.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEnVcAyaXpSz7QaVvRvlLl6D9J4SrIIqi5kIspzb0gVwIgTDQBYFEUMr05lVRoUwkkVJqwIfx9KofecsVKnMzdCfE="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-1.0.1-beta.tgz_1507039645027_0.38377704471349716"},"directories":{}},"1.0.0":{"name":"react-router-scroll-memory","version":"1.0.0","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"452045c8b8ab3c244077fb268c65690d91d13bc1","_id":"react-router-scroll-memory@1.0.0","_npmVersion":"5.4.0","_nodeVersion":"8.4.0","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-Tz8Pyt/h6rHoB7LizJTgOxICO2EdsXzkPQor3Z4kkaTw/CMS3N4euhzlo4rjoE9H0aIaFrVHqzAK+a05O2pJBQ==","shasum":"e084a4c308c19e853cf35803819250b3353b8bad","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC0bRNbFLJMRPdWf9a+Pck8vrb7NtvDNRynhKZMqllveAiEAvu5PHTmys7XjpAPXOgcBpReoiQNaNYgNJWXv2cBJ8bE="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-1.0.0.tgz_1507052391996_0.3215293590910733"},"directories":{}},"1.0.1":{"name":"react-router-scroll-memory","version":"1.0.1","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"ab4966e556248ae4873eef956d819864b7c03c63","_id":"react-router-scroll-memory@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-Bmh3O4Zv28CmfpAGMi34pa5jZq86Y5gcBUih77ofUwNRvkiAE22Wh6B3D4IAUZV9TiC8yiJIeShxaRFjbBOlPA==","shasum":"75d24111a4e6c85564a011ca47c2e81e54c19b94","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBOhw32R7dKW+fPV9n6POR9yaAGJbG5DGvTcSuV4s+SwIhALnXuSkAhtLwuQ3+LWOxnHPJx8G4MI0Flp+3ks04VBZF"}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory-1.0.1.tgz_1512139082564_0.1781935254111886"},"directories":{}},"1.0.2":{"name":"react-router-scroll-memory","version":"1.0.2","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"56cbdd67111fcb5683c4ea5797d9aebbae9eb12d","_id":"react-router-scroll-memory@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-2V7XgeUUpTtuzqVJvlgRaDtjY717DVTLdRjVmZgJ7d/2HVBP+jJI5b0D5x+CvoREYLKJNuMXHz35+eBMLZtCBw==","shasum":"59817dffe4537fe226945193c8cfa28a6b243d9f","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-1.0.2.tgz","fileCount":35,"unpackedSize":2027056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKnAWCRA9TVsSAnZWagAAZQkP/22KzGwKDgkzyU5RNR21\nxUg/h3f4dIctz0rMyyPl6/bgW92+5otdCV10n5IuS9AE3hkAiepwFrEkCS2h\njEOsfdf6yVW5NBuWTFhq3RECoRu+SaVJbndq4/G2NlNe1M+k4s7OnxrmbM/S\nUA5MuYkvXtaaStchxPnZ3nAxltv3kNENohkd9dcmLs6CqxWU2IV979krg/rg\nllo/2hpN0eTyjujhUsgM/Dge+ohAFObHKUrewkgbr55izkxSIhkZfSwEFk+8\n35oO94q383+QwoYf2uj9rudJUi1CFHWXDKc4JKKhJT8/pG4KpQEeLgl3imQ3\nAsUlDW6Sd6OkPL0fvmXF/1JqyKxSP/6n+Lj4xM8mQBYDKpNm4Kbl6C+jlJKy\n4f6v/TqXnygP0r3RprqutFeiWuDeZ5Yxv20Lx/jKmVz7y1vWLdC6HhJLcPnH\ni2j9iOsKGnoLojA7AL0tYdyALUKZsOf5XsESDVQyRrbqXyluJ066COdedjZQ\n3OIsRYiFg6FHIFbYN/e1tnQLRdbWsFqVKqswq1FGJpLGN1lflX/xhsUsSEUs\nGaI77u8+QYB7prnlwZKKgmeQtN3RKH/zs2Cs+K7dTChiLZdvfyHegPQfg12Y\nWsugwVHAgllN7jp9J3dgcGsK4a3OXxfuT8q+EPlP8va4HSKNkI2bH34dGsCz\nTSoP\r\n=HLE2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVSdoIzDyCwR9jZUe6GJnOJG6+qPqRLy0sq+HzXcmragIhAN3OX740wE/SeMdFG0axigTqw9VxCO/Fr+9RXhMLOCEw"}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_1.0.2_1529507861030_0.5314941079874742"},"_hasShrinkwrap":false},"1.0.3":{"name":"react-router-scroll-memory","version":"1.0.3","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"readme":"[![Build Status](https://travis-ci.org/ipatate/react-router-scroll-memory.svg?branch=master)](https://travis-ci.org/ipatate/react-router-scroll-memory)\n\n## For correction hash bug, download beta version\n\n### For React Router V4 only. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser\n\nThe React Router V4 has no concept of router middlewares. The package react-router-scroll not work with React Router V4.\n\nYou have solution in this page [https://reacttraining.com/react-router/web/guides/scroll-restoration](https://reacttraining.com/react-router/web/guides/scroll-restoration) for just scrolling to top on navigation on every transition. But if you click on the previous button, the page is also at the top even if you had scrolled on the page.\n\nI did this package because I was frustrated that the new react router (4) does not restore the scroll when I click on the back button of my browser. By default, the component execute window.scrollTo(0,0), if the url not exist in memory.\n\nonly work with react and react router v4\n\n#### Npm page\n\n[https://www.npmjs.com/package/react-router-scroll-memory](https://www.npmjs.com/package/react-router-scroll-memory)\n\n#### Installation\n\n * install package\n\n    $ npm i -S react-router-scroll-memory\n\n\n\n\n * import component in your main page.\n\n```javascript\nimport ScrollMemory from 'react-router-scroll-memory';\n````\n\n* add the component after the Router.\n\n```jsx\n  <BrowserRouter>\n    <div>\n      <ScrollMemory />\n      <App />\n    </div>\n  </BrowserRouter>\n```\n\n### New Feature\n\nIf you use your app inside a element, you can use props \"elementID\" for memorise scroll position of your element instead body scroll.\n\n#### Tested on Browser:\n\n* Chrome\n* Explorer 11\n* Edge\n* Safari\n* Firefox\n\n#### Online exemple\n\n[https://simple-react-app-with-router.stackblitz.io](https://simple-react-app-with-router.stackblitz.io)\n\n#### Screenshots\n* Without the component\nThe scroll keep the position on transition and the scroll of new page is not to top.\n![./without_scroll_memory](./without_scroll.gif)\n\n* With the component\nThe new page is top and if i click previous, the scroll is restored.\n![./with_scroll_memory](./with_scroll.gif)","readmeFilename":"README.md","gitHead":"cc86d9e05b7d3079661d764cd34fc66b30e92026","_id":"react-router-scroll-memory@1.0.3","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-ieucwk8zr0uWEjrLC9Zu8twJwAxy5S+02eAi5l6B7DCd4aiV3MDR7MP1kod6FEif954vp/T/4kN5GDF+BtTeCA==","shasum":"22db1c86b38c6185c88c141341501b3322b33ef0","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-1.0.3.tgz","fileCount":35,"unpackedSize":2027422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbuiDICRA9TVsSAnZWagAAlkoP/1jlvYjkOhc0bxtH/Yn+\nxbUoYOxbneaM/5BiCxfkNSeDhECoYev66FjJKZeN3JeuVNbjzj34///6Ae+g\np7in9IZ6HoOVvYooLyIz8gesOLD875qlyyqsEHECPTA9md3mK7SQUcM24zeH\nQBUrnUvtm9Xz6EwSWCOtFWfpEphgJnRE2DvpVicED201eKPv+BF5dfiuWzv0\n9jliKXS9mR9ysSzbVrIngJW5ivI4SirmUvxH3gdiq299WbFhpmIcEk2pAYpG\nMIaFCheACLKvjmS49wsoOtn88twbGLSq9o/sGBD8Da6EXQQ3H4iHRv+XX5ay\n0Y5qsAS/zXSIk8b2zDH49qchDBqcV+QLb0LdoLiTY3ZUDMFvrkErmxATHQ1o\nTR8GyCHa+pTJYdtCPs+a1N8NvDH6IgelUlWfq1C1dNd2+G3wN34J87Qo/l53\npVeKjOX896xdu09Ih19mEtjU00ZfM3BIQV6rLoZ7G+iCoRQ4SOL7mGfKYiUM\nL2Kh8ndafq7iUnWlPueLAGCDLViw+GGO98voHtQ5nF3VEcBK2vSDAiYwfsg+\nrMAlRlBAPHa0IP3hYynazi5R3oAtZCTJ/5euYzRG1aJ4/JC9K1WY4uD2AtNW\nyqnfayEZHY3ohshdX8VuBAbbC6BgMU3Cd1BB4SNQmpWxk6BvIpitHUXcNrlR\nO5Vx\r\n=qItM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICoU8q3ETd7FsZ/Xmu7Nvjnn69+SlmpMwVfw4u1e3KohAiEA5QHY0g6aga84+MvLBu3QMamw9BX1jLXkNlrF4ep3Frc="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_1.0.3_1538924744064_0.5339604184193871"},"_hasShrinkwrap":false},"1.0.3-beta":{"name":"react-router-scroll-memory","version":"1.0.3-beta","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"readme":"[![Build Status](https://travis-ci.org/ipatate/react-router-scroll-memory.svg?branch=master)](https://travis-ci.org/ipatate/react-router-scroll-memory)\n\n## For correction hash bug, download beta version\n\n### For React Router V4 only. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser\n\nThe React Router V4 has no concept of router middlewares. The package react-router-scroll not work with React Router V4.\n\nYou have solution in this page [https://reacttraining.com/react-router/web/guides/scroll-restoration](https://reacttraining.com/react-router/web/guides/scroll-restoration) for just scrolling to top on navigation on every transition. But if you click on the previous button, the page is also at the top even if you had scrolled on the page.\n\nI did this package because I was frustrated that the new react router (4) does not restore the scroll when I click on the back button of my browser. By default, the component execute window.scrollTo(0,0), if the url not exist in memory.\n\nonly work with react and react router v4\n\n#### Npm page\n\n[https://www.npmjs.com/package/react-router-scroll-memory](https://www.npmjs.com/package/react-router-scroll-memory)\n\n#### Installation\n\n * install package\n\n    $ npm i -S react-router-scroll-memory\n\n\n\n\n * import component in your main page.\n\n```javascript\nimport ScrollMemory from 'react-router-scroll-memory';\n````\n\n* add the component after the Router.\n\n```jsx\n  <BrowserRouter>\n    <div>\n      <ScrollMemory />\n      <App />\n    </div>\n  </BrowserRouter>\n```\n\n### New Feature\n\nIf you use your app inside a element, you can use props \"elementID\" for memorise scroll position of your element instead body scroll.\n\n#### Tested on Browser:\n\n* Chrome\n* Explorer 11\n* Edge\n* Safari\n* Firefox\n\n#### Online exemple\n\n[https://simple-react-app-with-router.stackblitz.io](https://simple-react-app-with-router.stackblitz.io)\n\n#### Screenshots\n* Without the component\nThe scroll keep the position on transition and the scroll of new page is not to top.\n![./without_scroll_memory](./without_scroll.gif)\n\n* With the component\nThe new page is top and if i click previous, the scroll is restored.\n![./with_scroll_memory](./with_scroll.gif)","readmeFilename":"README.md","gitHead":"00c81d5924017aa99ed455fa61ce516de798cec6","_id":"react-router-scroll-memory@1.0.3-beta","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-VWfvYoEhmUxRXncvpKrdD+v4kwZziwgQz5T7FFd8g6cwhyvKVjybIsD+DffR28Bg37YM1DEGyzw2xOwjnhA1Zg==","shasum":"62727763a87324c6e50f3998a31d9ecdde3ae555","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-1.0.3-beta.tgz","fileCount":35,"unpackedSize":2027408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzH/NCRA9TVsSAnZWagAA4i8P/2KrvlZSrIVTw1QPhn9+\nwHz65r+PR3dLj/8mgiiieVsDYro7sITUovYl28Q2MC3GzCMRqnC73yN8Uhc4\n62MwKfJoGEqi2GsyPN79J6HppSXx3KPGEzvUbk9jJ5zI/Ci3DDhKMAseU5hQ\nd7ax+0C0Tvom40XlL+CYDY2yIo8HOd6Fijo53HI61bKzMKD9rZPvMUVN3C4R\ns+jyVj883/zI51+ZOhYery4CHERBYnUAeVamD0DQEjACUCdT6g/Y/1gH5CN+\njNAxRdb0yny2dzEldAQE347Cr93mTuP8fQxV+iLbysZSyI0PRpvAv5wfj4kn\nFwzH2GNKvd1cy7Qc8wH7iB115s77FXZAkitcQVHKA9/PH4mLKY2D3M1O0kK1\nPtG2idMx2J9rqebPUNQkXjhUVR1Rp55ME3f+tsEdrQCcXIaP1aeyLPdFpmtT\nzZGRshHmiFMoHXyJkb7X2A4SgRhNcK4dzwc7tdqE7wWHFR2OsYM9PrY9m+A1\nmq2ItzOar8sFcP+RYzjC/pY007mWwysR8CAFkeujh5D0X9eMdmNqlcZZxYAi\n197bpqXfdn0zHBRpNn8LBW5mljAMEljumafyuDh+pLUR7APGyPkJ8CMIL3UG\n8L2Io2zaKQjiZGtjn3I1lAHOadJrREpICOCfhZlHGuYh/35sGj7CsEcxWgwR\n//4C\r\n=iTRi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGuEWrsK8OqNy9hU9w9a2BqhTNaM20G2zWzrwGPAmoglAiEAiJiBLP4zvZKFjVOokretzXHdp0Sc9Ej8yhnqRRvmNiE="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_1.0.3-beta_1540128716199_0.9234528921722176"},"_hasShrinkwrap":false},"1.0.4":{"name":"react-router-scroll-memory","version":"1.0.4","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-loader":"^7.1.1","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","eslint":"^4.4.1","eslint-config-airbnb":"^15.1.0","eslint-config-prettier":"^2.3.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-prettier":"^2.2.0","eslint-plugin-react":"^7.2.1","flow-bin":"^0.53.1","jest":"^20.0.4","react-test-renderer":"^15.6.1","rollup-plugin-babel":"^3.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1"},"gitHead":"da694432b15ac984886b54180cece5791c6c7714","_id":"react-router-scroll-memory@1.0.4","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-HVg1wJTki1pDIb7DgwcrOSkXDTLDzBDwDbSaHX3aoXNuzRp4bTUQ+jyEGqowhrvJdM7cQ2OlPOwxlUV+E8UK7Q==","shasum":"2c2a526dce641db6693793857d3fb644e0233d75","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-1.0.4.tgz","fileCount":35,"unpackedSize":2027403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0ubYCRA9TVsSAnZWagAAh9sP/0sg4Ii55fCB2J0QzUD7\nsMYb+d9LK2zWM5mlYJIHOVvc7Zz5DGLnKcHU5WNXydsrkH43AXFGG04baDlZ\nwh3Qq5we7AH+VaCn0gctDX5QLSmqjWVMppbQSUKkj4VWPiLGX1YPZlZ3bYRr\nsafuw5qIfrCuobGhY2SKVCxhOPLqncypYJPKfVdeNSwCKtJ7JWxTwr6+HH7x\nRysTv1r9S03Y6o/n15QXKLDlBbUY4Ou7J5HcTO+HsiAfZP340chHTl874srv\nAHtfYDfZsm3Eo9Jwqe9Ur5htpOLEe7dvBJfWLYvBOFd+PbS2JAsNLnbYNXPS\nsNyZBIOIYPDsN3dxsnSyaoZMLAj5C2PR9JYe3o5ynRP5hRxDWewH3nxqgvUT\nc2dqu6tQNYvQSG6grxZTNZnYMII+4F458AIYYDpaiPxsqT4xTZY9haCRzS9c\ntyvkusP/qzO6R9b8iiC6Ls4tz72GME9CCNfFxo5Y/Zg0SRN5BW0Uo/0EyS2d\nO4RbO4Dx8K61U2b+WtM1HvxORDuqcDg9kHgk0akhyNxHmFwunTLiEn8Q+gJo\nQ5H3nBWvDGHc54e/XVYGfaPD+IpetwFtBgSr43oms/PpkhzFfjjx43rfyXTm\noM9RWt8NGWn/Ucsl2tAz8E5znPo8T0EapOHQ7o1pDJOI2dnX49XAlsLr9Un3\naLbc\r\n=fyE6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMUNf9LK2v7f+mSmcvskh8NQ2+EUDx8DH38B3D1L1/jAIgCMbxQxyWl06IjmICOD/3RjzXUaIyj8RnouZfLHqh6Mw="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_1.0.4_1540548311848_0.8149415957858419"},"_hasShrinkwrap":false},"2.0.0":{"name":"react-router-scroll-memory","version":"2.0.0","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","peerDependencies":{"react":"15.x","react-router-dom":"4.x"},"dependencies":{"react":"^16.6.0","react-router-dom":"^4.3.1"},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-flow":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/register":"^7.0.0","@babel/runtime":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","babel-loader":"^8.0.2","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","eslint":"^5.6.0","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.0.1","eslint-loader":"^2.1.1","eslint-plugin-flowtype":"^3.0.0","eslint-plugin-html":"^4.0.6","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^21.22.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","flow-bin":"^0.85.0","jest":"^23.6.0","react-test-renderer":"^16.6.0","rollup-plugin-babel":"^4.0.3","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-uglify":"^6.0.0"},"browserslist":["last 2 version","> 1%","IE 11"],"readme":"[![Build Status](https://travis-ci.org/ipatate/react-router-scroll-memory.svg?branch=master)](https://travis-ci.org/ipatate/react-router-scroll-memory)\n\n## For correction hash bug, download beta version\n\n### For React Router V4 only. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser\n\nThe React Router V4 has no concept of router middlewares. The package react-router-scroll not work with React Router V4.\n\nYou have solution in this page [https://reacttraining.com/react-router/web/guides/scroll-restoration](https://reacttraining.com/react-router/web/guides/scroll-restoration) for just scrolling to top on navigation on every transition. But if you click on the previous button, the page is also at the top even if you had scrolled on the page.\n\nI did this package because I was frustrated that the new react router (4) does not restore the scroll when I click on the back button of my browser. By default, the component execute window.scrollTo(0,0), if the url not exist in memory.\n\nonly work with react and react router v4\n\n#### Npm page\n\n[https://www.npmjs.com/package/react-router-scroll-memory](https://www.npmjs.com/package/react-router-scroll-memory)\n\n#### Installation\n\n * install package\n\n    $ npm i -S react-router-scroll-memory\n\n\n\n\n * import component in your main page.\n\n```javascript\nimport ScrollMemory from 'react-router-scroll-memory';\n````\n\n* add the component after the Router.\n\n```jsx\n  <BrowserRouter>\n    <div>\n      <ScrollMemory />\n      <App />\n    </div>\n  </BrowserRouter>\n```\n\n### New Feature\n\nIf you use your app inside a element, you can use props \"elementID\" for memorise scroll position of your element instead body scroll.\n\n#### Tested on Browser:\n\n* Chrome\n* Explorer 11\n* Edge\n* Safari\n* Firefox\n\n#### Online exemple\n\n[https://simple-react-app-with-router.stackblitz.io](https://simple-react-app-with-router.stackblitz.io)\n\n#### Screenshots\n* Without the component\nThe scroll keep the position on transition and the scroll of new page is not to top.\n![./without_scroll_memory](./without_scroll.gif)\n\n* With the component\nThe new page is top and if i click previous, the scroll is restored.\n![./with_scroll_memory](./with_scroll.gif)","readmeFilename":"README.md","gitHead":"fa3318dc889eb35f1b5fa36a6c68150eb8dc8c40","_id":"react-router-scroll-memory@2.0.0","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-MRTmNeapVeYFcH+xk4vCoSzMjRHH8Jx3VJptUGZi3/xlk+d5D/lNK2P+hWn5C7XvQQ4nlwfzwV+IpLnPMZBh/g==","shasum":"6ea0a98595b75e5ef343a62e73c18fcc32ae21e2","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-2.0.0.tgz","fileCount":30,"unpackedSize":2038894,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4alxCRA9TVsSAnZWagAANw4P/1iQNBlp9/CY6Tm44sFe\nxtpeScEig5jCid86PfZXc0pVrdnZa+l4LX2fMunqawPauCUKEJfZayxVCegQ\nTGpkyHQU8Q+/zff3P9sDWLStv4OmeT75NSEo8wuatknxZ3KTJy51A1i/Wf/P\ntkhE1e0WaUYWQ67dm9/gtLpMmMwqyQuBu+A/Lzic1fHR89QIZaSALXdAE/aZ\nGaPN7d6T+x2x3ptUVlIc6o47jnyXdMl82fDICJj5QhHmK7lmJ6tsMapa0wKc\nV6L6tRMd/Q9FPscJv3iN/hjOT9ZF+YeEX4wwtRKJeZV/9M6e459VAe5OmhYI\ndzOrgeeEsqKFA46TfdgiBhrdrUlKWkv6AFqyOJZxNbhEBpqJC8Z0NL8Y4HtF\nVc96WuVXRoX0vsAil9JuQxCEzuhw+MqETvEi8T9EKyMfqrndKRpCuqA3ZZQz\nNEYEMdyND3ljDTsArfvw2sPPBq/8slPp+YyEtdlI8FmCvU047kVJyvUBvIaU\nQpUNMF4AMHO3DFmFQ8gA+9L8iacsDVOVKo6FAce9eLla+fhZ5EhB8YuCZXth\neo11LgCkCYSVSTHXopcckHF04boqx2S+1EgUnQMuBUcvRar39QojpVh59bLm\nFlWlvixbDvkTQp1218zGtKf40ZSxPIxa3VuSyulmzn/r5WOW+vhOwUmPBj2K\naizv\r\n=1IfM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPn8c2iYxD9+2rKM0GgoLnxyCzB+RSvLyhuoCxawBB7AIhAJRDPIKawTB9t+pTe4JmzhNiXZIyvUiEjYvrXwZTxU5U"}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_2.0.0_1541515632594_0.6566708696689945"},"_hasShrinkwrap":false},"2.0.1":{"name":"react-router-scroll-memory","version":"2.0.1","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build","lint":"eslint src","format":"prettier --write \"src/*.+(js|jsx||json|yml|yaml|css|scss|ts|tsx|graphql|vue|mjs)\" ","validate":"npm run lint && npm run test && npm run flow","precommit":"lint-staged && npm run test && npm run flow"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","peerDependencies":{"react":"15.x","react-router-dom":"4.x"},"dependencies":{"react":"^16.6.0","react-router-dom":"^4.3.1"},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-flow":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/register":"^7.0.0","@babel/runtime":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","babel-loader":"^8.0.2","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","eslint":"^5.6.0","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.0.1","eslint-loader":"^2.1.1","eslint-plugin-flowtype":"^3.0.0","eslint-plugin-html":"^4.0.6","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^21.22.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","flow-bin":"^0.85.0","husky":"^1.1.3","jest":"^23.6.0","lint-staged":"^8.0.4","react-test-renderer":"^16.6.0","rollup-plugin-babel":"^4.0.3","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-uglify":"^6.0.0"},"browserslist":["last 2 version","> 1%","IE 11"],"gitHead":"ab95ddb14886ce00ef14f5315bdcc5ed6d71ba86","_id":"react-router-scroll-memory@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"dist":{"integrity":"sha512-wCGj08vDXreeOUOp0L9ExN0XSyMY1D4crO5iF1lFNFqb/Hya/J/NUL7fF7jfrbP5Pmd42ZmlTrPUBKG2f8k0vA==","shasum":"3cba23494e27f233be1bf46a522f4bcc35cad031","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-2.0.1.tgz","fileCount":33,"unpackedSize":2039582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+tILCRA9TVsSAnZWagAACQEP/0fJx18/wkXNCLsqLu2j\nlZA0rhYl4blJChuLDWomAU/FCQ5QjzjvukijsWn7VZE6YrNxFlCE0AA8/GmO\nUDiy8VN+/UO0fwMKliPl47uNGyzRoz7bjvd2bjYGDcLnufgAtZyCJPIMLIqc\nHagHsux6QL9RhsMr742C3JKBjpQR+wsHZQsq9VnzGdRDJoHWIiyp5FVH8Wgo\nWT0YQ0rVsmm61D8H9mQ+JsvFKV3VPRWiGAJVPcd0t+Rndpk7BEm92xQUpYd4\nyNYD/3b9TykqMNYTaKZnzacnvHzKzMUux47w4rzwEVUJi7W60F446F9SrLVQ\nfg5RdI4Coo4AqcsNKOcutKHQ/p0Kbfb87idiwuDQOxgtgZsEIXXhmYehn9M1\nDwgPxpqtB7QzkCwfRbEpSy1t9H+Br6eu1SqxQVKP/g2m/8S2w31XjSLxNhkj\nNo+aM4WmR9xkzRTa2uRw4G35Ew3lIgtrgWfo8MpFJM3KdQbVgqqngSiQrSOV\nj/thex4OXzNeeuBDvKDjPw/YEc3+2kNMJaRQ2fvpY+GrOTqOm4EnC5RbXWtg\n7WFcn+4jIZFp6rPRorfG/jSYUdsYyyIUufKn4IlcG31zlMaK/tOmuPAdOxvA\n5KEsC3SzyFmkufJlBZveQU0AhrBa1W7JtFuccHeHk4/fmSLlA75wMibOy2kW\nAlDo\r\n=Q1Vz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1U2DlU1Aw6Bd/+06TIy+Pz7YBVI4nVc9JivPeuRqugQIhAK6Y3kIrBhg4ctU9AaF+8+fY0GUFC/jSTMP66nxMOdmD"}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_2.0.1_1543164427134_0.16595277250851637"},"_hasShrinkwrap":false},"2.0.2":{"name":"react-router-scroll-memory","version":"2.0.2","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build","lint":"eslint src","format":"prettier --write \"src/*.+(js|jsx||json|yml|yaml|css|scss|ts|tsx|graphql|vue|mjs)\" ","validate":"npm run lint && npm run test && npm run flow","precommit":"lint-staged && npm run test && npm run flow"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","peerDependencies":{"react":">=15.x","react-router-dom":">=4.x"},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-flow":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/register":"^7.0.0","@babel/runtime":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","babel-loader":"^8.0.2","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","eslint":"^5.6.0","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.0.1","eslint-loader":"^2.1.1","eslint-plugin-flowtype":"^3.0.0","eslint-plugin-html":"^4.0.6","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^21.22.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","flow-bin":"^0.85.0","husky":"^1.1.3","jest":"^23.6.0","lint-staged":"^8.0.4","react":"^16.6.0","react-router-dom":"^4.3.1","react-test-renderer":"^16.6.0","rollup-plugin-babel":"^4.0.3","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-uglify":"^6.0.0"},"browserslist":["last 2 version","> 1%","IE 11"],"readme":"[![Build Status](https://travis-ci.org/ipatate/react-router-scroll-memory.svg?branch=master)](https://travis-ci.org/ipatate/react-router-scroll-memory)\n\n### For React Router V4 only. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser\n\nThe React Router V4 has no concept of router middlewares. The package react-router-scroll not work with React Router V4.\n\nYou have solution in this page [https://reacttraining.com/react-router/web/guides/scroll-restoration](https://reacttraining.com/react-router/web/guides/scroll-restoration) for just scrolling to top on navigation on every transition. But if you click on the previous button, the page is also at the top even if you had scrolled on the page.\n\nI did this package because I was frustrated that the new react router (4) does not restore the scroll when I click on the back button of my browser. By default, the component execute window.scrollTo(0,0), if the url not exist in memory.\n\nonly work with react and react router v4\n\n#### Npm page\n\n[https://www.npmjs.com/package/react-router-scroll-memory](https://www.npmjs.com/package/react-router-scroll-memory)\n\n#### Installation\n\n * install package\n\n    $ npm i -S react-router-scroll-memory\n\n\n\n\n * import component in your main page.\n\n```javascript\nimport ScrollMemory from 'react-router-scroll-memory';\n````\n\n* add the component after the Router.\n\n```jsx\n  <BrowserRouter>\n    <div>\n      <ScrollMemory />\n      <App />\n    </div>\n  </BrowserRouter>\n```\n\n### New Feature\n\nIf you use your app inside a element, you can use props \"elementID\" for memorise scroll position of your element instead body scroll.\n\n#### Tested on Browser:\n\n* Chrome\n* Explorer 11\n* Edge\n* Safari\n* Firefox\n\n#### Online exemple\n\n[https://simple-react-app-with-router.stackblitz.io](https://simple-react-app-with-router.stackblitz.io)\n\n#### Screenshots\n* Without the component\nThe scroll keep the position on transition and the scroll of new page is not to top.\n![./without_scroll_memory](./without_scroll.gif)\n\n* With the component\nThe new page is top and if i click previous, the scroll is restored.\n![./with_scroll_memory](./with_scroll.gif)","readmeFilename":"README.md","gitHead":"6dd6430d5bd17b0c05a8d38ec84e2c3b6b6326e5","_id":"react-router-scroll-memory@2.0.2","_nodeVersion":"11.10.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-J3LhjUSUXycqg9jzVnZT5UVPSyqbO5/GZLAg+ty5vVqXYEoavIJ/THAePWQCjUZ2lu71MLAk7jKrj8UpioSm9Q==","shasum":"c88f8fcddbecba96531a7d7fd5e822e90b033e1c","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-2.0.2.tgz","fileCount":34,"unpackedSize":2670120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuGOhCRA9TVsSAnZWagAA6McQAIXcJDGvgJD+8YLl6rXR\nSMGk7LRjj4w/wmkotG+EtHk/k2WgG2RbetiCRnyZsF1N9nGoemhNc9CdRHP7\nCormJQFScRqjcwAJAXyAxytANr0MXJzAM07QmqubyFvTA9UnYvLbW8bAJ2Pq\nzg0KJ5kEzYwUrVjg8QoF4Pox8HNL8dZYRMmoGtrT0MWi8JiCp2I2hom0XMZ6\nF/5CFnyFSrpXBE63YRBWF4WPcIdigcWA9QgBA3rzZvvERUhafNUgIkU0cBEl\nGQJYqk3Mm6RmJT+guILSss4+JLJ1uEzyuX1YjYHWReLJlGguzF4gcUWO0xoX\nWYfRp9yZTwgwCJPfP7wIeBV8fAzgexnGzEMEL4LWif1CLvatwp6UkDWR0fX9\neIYQF+WbqA+yae5c059lHcGhKwX1WPoGSDEk1elBw/YvLyWrWgSC8V1stjVv\nDwOZqgylfIwKBMspXozsILF912P92L2fMc/XCKw53V2po3I25FNBBNp2l2JO\n7XTPoHdl0pleVcWTMtHwXO2Q1KGP3cvaqDYlN7SzGqUIuYu4WkPT8TJ9eetT\nEwY8xR2lDvz1PQ+tJrOSU07Mtt7UGoyuNKRG18icjPHjbUXP1aQMlBFV6FdN\nPctZOfJwFyhT1eLdIMesmIaH3ZslInwWjnCQvGQhSgq/fjMTBWVMgGZQT84B\nMhMj\r\n=saLh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5765OIQnY46fo4wBE5RZD3jJhcrVSHirbaiq+5q9vbAiEAhGv2Pn2Y7jZ6vegEiEdhD0RvsTXvvTNuPZd4J3uwM+A="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_2.0.2_1555588000727_0.13385020767261513"},"_hasShrinkwrap":false},"2.0.3":{"name":"react-router-scroll-memory","version":"2.0.3","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build","lint":"eslint src","format":"prettier --write \"src/*.+(js|jsx||json|yml|yaml|css|scss|ts|tsx|graphql|vue|mjs)\" ","validate":"npm run lint && npm run test && npm run flow","precommit":"lint-staged && npm run test && npm run flow"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","peerDependencies":{"react":">=15.x","react-router-dom":">=4.x"},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-flow":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/register":"^7.0.0","@babel/runtime":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","babel-loader":"^8.0.2","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","eslint":"^5.6.0","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.0.1","eslint-loader":"^2.1.1","eslint-plugin-flowtype":"^3.0.0","eslint-plugin-html":"^4.0.6","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^21.22.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","flow-bin":"^0.85.0","husky":"^1.1.3","jest":"^23.6.0","lint-staged":"^8.0.4","react":"^16.6.0","react-router-dom":"^4.3.1","react-test-renderer":"^16.6.0","rollup-plugin-babel":"^4.0.3","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-uglify":"^6.0.0"},"browserslist":["last 2 version","> 1%","IE 11"],"gitHead":"110a6898b541a3268caf894fa67529dfc3515efe","_id":"react-router-scroll-memory@2.0.3","_nodeVersion":"11.10.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-JSInrXVbFcRJ4jb2Q8nWApSvE/zf+H3pB73Th7uYQsypPDka9RGoobGWxuSVQDLURrPvQ8DOED+5r68He22qoQ==","shasum":"b3ad3e2d147688e05242abb68002378e674396da","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-2.0.3.tgz","fileCount":34,"unpackedSize":2670120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuGVhCRA9TVsSAnZWagAA5NQP/1emlBK90aetLNA2J+if\naMIbYEGVnBeG50errLnJLE/R9HjSM2g3JXx5N/T06gRWtApgGkMy1QN473pX\nJT40wXcF+R2m1wXgKOtx1ixecNLnL/S4BsDoLQhmvahmdwu7sM1Su2kq7Qga\n0r9EAFT1GXuqODMGby7agdbTv39oxdjUZP91rxgu0JUbV2zQ84vqZlXcBbWD\nPTkMGC5jFJ98Z5HcWqObqzK/Le9AQSptDed0PJ3SIjBeIcn6u0IZ16fAl3+B\n7iehp6f7JHqLNyhO2uHYuqXz9+jyLIftaJaTlZ4ZeASJJTQgqn29zJYEm4kW\nDKEuVzMr8sY/tzyG/Go8V7r9nwWPQ6MNDCREye/J1FMUDgvy9goD1Ef+39mT\n2udseHjxS/NNUK42tG5BVqS31jDAq+ank0PzxFey4JPV99OsY3F/RhXHWY9i\nCVPXutM42CjN6T2XAuQVRgHJdG7ykf1qdrwIqGriYrv5PSSJ5tYC9vOhoOue\nfCgkbqMTS+1FsEmja4VwXBulDQ28NuI4uTr78/xP+palnIIiuOzlgU3ocYrZ\n1O+uy8nIpBbFFPH1T7EyF7PqNdumkBxXaVkgodmwq2DhXjtqJ+39bOo0N87+\nb4HFn/lZZriNmtR8VCE1z4hBXnrWgsI0UwycDGYvTrXDZn7nsqQhjQQUeyOd\n/ATB\r\n=m0fE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCf2UIxzmVlYXMi4rK6phu6bnb2jdVYQ46v9UQUSJt2kQIhAIfyt5i/NlmbHqg06X9fqeq+g/WLPwvpp2kKJIOxjjRD"}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_2.0.3_1555588448838_0.4128841152049427"},"_hasShrinkwrap":false},"2.0.1-beta":{"name":"react-router-scroll-memory","version":"2.0.1-beta","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build","lint":"eslint src","format":"prettier --write \"src/*.+(js|jsx||json|yml|yaml|css|scss|ts|tsx|graphql|vue|mjs)\" ","validate":"npm run lint && npm run test && npm run flow","precommit":"lint-staged && npm run test && npm run flow"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","peerDependencies":{"react":"15.x","react-router-dom":"4.x"},"dependencies":{"react":"^16.6.0","react-router-dom":"^4.3.1"},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-flow":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/register":"^7.0.0","@babel/runtime":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^24.8.0","babel-loader":"^8.0.2","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","eslint":"^5.6.0","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.0.1","eslint-loader":"^2.1.1","eslint-plugin-flowtype":"^3.0.0","eslint-plugin-html":"^4.0.6","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^21.22.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","flow-bin":"^0.85.0","husky":"^1.1.3","jest":"^24.8.0","lint-staged":"^8.0.4","react-test-renderer":"^16.6.0","rollup-plugin-babel":"^4.0.3","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-uglify":"^6.0.0"},"browserslist":["last 2 version","> 1%","IE 11"],"readme":"[![Build Status](https://travis-ci.org/ipatate/react-router-scroll-memory.svg?branch=master)](https://travis-ci.org/ipatate/react-router-scroll-memory)\n\n### For React Router V4 only. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser\n\nThe React Router V4 has no concept of router middlewares. The package react-router-scroll not work with React Router V4.\n\nYou have solution in this page [https://reacttraining.com/react-router/web/guides/scroll-restoration](https://reacttraining.com/react-router/web/guides/scroll-restoration) for just scrolling to top on navigation on every transition. But if you click on the previous button, the page is also at the top even if you had scrolled on the page.\n\nI did this package because I was frustrated that the new react router (4) does not restore the scroll when I click on the back button of my browser. By default, the component execute window.scrollTo(0,0), if the url not exist in memory.\n\nonly work with react and react router v4\n\n#### Npm page\n\n[https://www.npmjs.com/package/react-router-scroll-memory](https://www.npmjs.com/package/react-router-scroll-memory)\n\n#### Installation\n\n * install package\n\n    $ npm i -S react-router-scroll-memory\n\n\n\n\n * import component in your main page.\n\n```javascript\nimport ScrollMemory from 'react-router-scroll-memory';\n````\n\n* add the component after the Router.\n\n```jsx\n  <BrowserRouter>\n    <div>\n      <ScrollMemory />\n      <App />\n    </div>\n  </BrowserRouter>\n```\n\n### New Feature\n\nIf you use your app inside a element, you can use props \"elementID\" for memorise scroll position of your element instead body scroll.\n\n#### Tested on Browser:\n\n* Chrome\n* Explorer 11\n* Edge\n* Safari\n* Firefox\n\n#### Online exemple\n\n[https://simple-react-app-with-router.stackblitz.io](https://simple-react-app-with-router.stackblitz.io)\n\n#### Screenshots\n* Without the component\nThe scroll keep the position on transition and the scroll of new page is not to top.\n![./without_scroll_memory](./without_scroll.gif)\n\n* With the component\nThe new page is top and if i click previous, the scroll is restored.\n![./with_scroll_memory](./with_scroll.gif)","readmeFilename":"README.md","gitHead":"06b48c3ef2398626b3a198a900cc73d0c5079b7f","_id":"react-router-scroll-memory@2.0.1-beta","_nodeVersion":"11.10.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-LjuNX2LQgujJbxZe7cYiqGUKi8ff4WwRoIZB4w3XiHyAKpwMoPJd8xu3qtxF2vJGzZKFSnEATXBrpsCYsM4pEg==","shasum":"e956e549a5505c1504c7ba1b30786a7c2980a9db","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-2.0.1-beta.tgz","fileCount":33,"unpackedSize":2670052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/26SCRA9TVsSAnZWagAATdUP/RnTRCmqZ08ksqG55Abr\nbHvVgu2lZUh1ndPz44lAzpy6vAMyemrVKHLtTtY2aLq9FVSqe9N+sjEGbbaC\nU8e9go9vksTpKjOiAL7VhmGxzcIb+TpFID2AHcyd3z6NldMt3Ooo49Cox9Fa\nfbQKvbYFKASJNjhBbzHNdGHw8SnsH9cb/lwhKWNlMTszPbVQdQvQKCWRpIJZ\ncK9OqA4wWWBQyxIFBzALR3em5DKKd0rky7OcKvAXBjaopQlwefi0V5Zj9dOX\n3nm4s4Vx/CV5cjQ4xHKUohKdE3qojwy6+wMXN/G0/U2KuVZu5D2pxn5TjsRB\nKj8PbPnyHUyKLVcLoBfIKn+bv+jXEeYpwWzZtvdslsjAdecH/49nNLvm7IOp\nnpQd2aZ639adShLUvH+/8nXC+IzIUp7/nElAqG2lmN2WnP1aVUkGuVRxyaSN\nZQOQJ21QQMw5US9EJG12bQN0KX+qzuykOZ7fWRiA20utbW6y3cmiLIxnoFEi\nRo0FFR/Er7zefQF1zbNvs7R6mnWh88RrMioGQYPQxPofoT6A6BHnZWpUgCKV\nKJ7TK/OqUqJkwpYXw+41MIRN9N0SWGKUaRHbHUydCmFpFSJbwtzw2k7SpR3k\nUaOVjcgELqyYL0znF40si6rtpaIuNX0/tvNx5CW2O+kocpWYcXgh9xlX381Z\nlKgx\r\n=yRiU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjInc63aCJvjlmIzpuubO1Ds7SjvxlPeCnBzt6AaY39AiEAkVOgeKomsais6k0+FI38GY2a0EZLAWQDySPGA/riNBE="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_2.0.1-beta_1560243857732_0.7324343318359599"},"_hasShrinkwrap":false},"2.0.4-beta":{"name":"react-router-scroll-memory","version":"2.0.4-beta","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build","lint":"eslint src","format":"prettier --write \"src/*.+(js|jsx||json|yml|yaml|css|scss|ts|tsx|graphql|vue|mjs)\" ","validate":"npm run lint && npm run test && npm run flow","precommit":"lint-staged && npm run test && npm run flow"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","peerDependencies":{"react":">=15.x","react-router-dom":">=4.x"},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-flow":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/register":"^7.0.0","@babel/runtime":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^24.8.0","babel-loader":"^8.0.2","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","eslint":"^5.6.0","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.0.1","eslint-loader":"^2.1.1","eslint-plugin-flowtype":"^3.0.0","eslint-plugin-html":"^4.0.6","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^21.22.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","flow-bin":"^0.85.0","husky":"^1.1.3","jest":"^24.8.0","lint-staged":"^8.0.4","react":"^16.6.0","react-router-dom":"^4.3.1","react-test-renderer":"^16.6.0","rollup-plugin-babel":"^4.0.3","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-uglify":"^6.0.0"},"browserslist":["last 2 version","> 1%","IE 11"],"readme":"[![Build Status](https://travis-ci.org/ipatate/react-router-scroll-memory.svg?branch=master)](https://travis-ci.org/ipatate/react-router-scroll-memory)\n\n### For React Router V4 only. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser\n\nApparently, it work with react router v5. I haven't test all feature. But it work in the exemple with the v5.\n\nYou have solution in this page [https://reacttraining.com/react-router/web/guides/scroll-restoration](https://reacttraining.com/react-router/web/guides/scroll-restoration) for just scrolling to top on navigation on every transition. But if you click on the previous button, the page is also at the top even if you had scrolled on the page.\n\nI did this package because I was frustrated that the new react router (4) does not restore the scroll when I click on the back button of my browser. By default, the component execute window.scrollTo(0,0), if the url not exist in memory.\n\nonly work with react and react router v4\n\n#### Npm page\n\n[https://www.npmjs.com/package/react-router-scroll-memory](https://www.npmjs.com/package/react-router-scroll-memory)\n\n#### Installation\n\n * install package\n\n    $ npm i -S react-router-scroll-memory\n\n\n\n\n * import component in your main page.\n\n```javascript\nimport ScrollMemory from 'react-router-scroll-memory';\n````\n\n* add the component after the Router.\n\n```jsx\n  <BrowserRouter>\n    <div>\n      <ScrollMemory />\n      <App />\n    </div>\n  </BrowserRouter>\n```\n\n### New Feature\n\nIf you use your app inside a element, you can use props \"elementID\" for memorise scroll position of your element instead body scroll.\n\n#### Tested on Browser:\n\n* Chrome\n* Explorer 11\n* Edge\n* Safari\n* Firefox\n\n#### Online exemple\n\n[https://simple-react-app-with-router.stackblitz.io](https://simple-react-app-with-router.stackblitz.io)\n\n#### Screenshots\n* Without the component\nThe scroll keep the position on transition and the scroll of new page is not to top.\n![./without_scroll_memory](./without_scroll.gif)\n\n* With the component\nThe new page is top and if i click previous, the scroll is restored.\n![./with_scroll_memory](./with_scroll.gif)","readmeFilename":"README.md","gitHead":"e5b1305f12a3ed0874af24305ed6753075d918db","_id":"react-router-scroll-memory@2.0.4-beta","_nodeVersion":"11.10.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-EcL2H9iD9MV1caF9OnXgZwOEVQm9NJJGcKBsVXXHm2Gg5ZwhErzDoEiR2FwRQj9xJABJlSLrGIeB3xm7mTysYg==","shasum":"df3e19b9b2a46d7c68e1ee107af6308faa95d94d","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-2.0.4-beta.tgz","fileCount":34,"unpackedSize":2637042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/3X9CRA9TVsSAnZWagAAvGMP/0CMHdxDFxaRPS0sk3+t\n7qa3+0rJzyzdSPXIzDMICcFAgT3VAHoHZldnV4dgmIQoB4uTAQBelBWN1t1F\nx0m+3pijflUPYjM61BMO9+cTcTLt3mTuHhITmRUArR0exPVfBBmDuXmUdUu8\nESTLtlbqns0nkrQprv9NEkzQMUaidiQ25cm351vZ/8CDxpaJdrkKIcO4dumG\nhwEdt/aBd9wGnEPIqvhIw9bFMK/rVgkcVwcBqufloIa8l9uKIzpLVzaNaSe8\nF72gkszHCNumOedVyBtDTXJxdsih4voy/SzK/3I45apyURj9h4PHY7qh10DJ\nx7xUew89sP7PRwFlvRLDRD5Afs+5rAG/dzTYtxkSr7FABSRMuFlcEoNLMpNv\nuSIaWqmOKOWe3nwrgSyM72DUftMKqLW3c1FxLvufGcE7m10Mb2aGAxFFUsCT\nRyvYDCO+hvhX2/Mh8YCXGjA1JbkmjnvcbjSCwFCLlUmMicqzz7HDYpoGY5Y2\n2xvMttn0Y+jZNP7LhlFdbemyIVQIScXNFg0UK5flbiRSlN5wx6kr4A+RJx2B\n8uSl0oFLU17crJ8rtfJPJA85abLsmFJrEH89HkwOjIXBImqgYa0+RJ4+RPh1\n/6nyexfsi10wl5UD2xhkdd01xJZvuAQnCen+lRAx+ARvKC4t0KQ0SyGUXzoc\nrVBJ\r\n=Dxky\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID4vD7xQSg0k2bKn3UORqigC60iPqXI/3vIpNZVMOIclAiAx2fzGSFVhAklFODucja5GWlhZ0BT9AnPc/q6lDnFAKA=="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_2.0.4-beta_1560245756589_0.13631705255182225"},"_hasShrinkwrap":false},"2.0.4":{"name":"react-router-scroll-memory","version":"2.0.4","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build","lint":"eslint src","format":"prettier --write \"src/*.+(js|jsx||json|yml|yaml|css|scss|ts|tsx|graphql|vue|mjs)\" ","validate":"npm run lint && npm run test && npm run flow","precommit":"lint-staged && npm run test && npm run flow"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","peerDependencies":{"react":">=15.x","react-router-dom":">=4.x"},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-flow":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/register":"^7.0.0","@babel/runtime":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^24.8.0","babel-loader":"^8.0.2","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","eslint":"^5.6.0","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.0.1","eslint-loader":"^2.1.1","eslint-plugin-flowtype":"^3.0.0","eslint-plugin-html":"^4.0.6","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^21.22.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","flow-bin":"^0.85.0","husky":"^1.1.3","jest":"^24.8.0","lint-staged":"^8.0.4","react":"^16.6.0","react-router-dom":"^4.3.1","react-test-renderer":"^16.6.0","rollup-plugin-babel":"^4.0.3","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-uglify":"^6.0.4"},"browserslist":["last 2 version","> 1%","IE 11"],"gitHead":"562b4deae3f00fb3b380e40095bc4719179c9923","_id":"react-router-scroll-memory@2.0.4","_nodeVersion":"11.10.1","_npmVersion":"6.12.0","dist":{"integrity":"sha512-6B/p86Fx0J9njCamvC3igK4CKKunog+jHPBP/+Z4HT++Fg2g3s78DHztjeUb7QjxCEnupKlOlLea5G6YZwzTnw==","shasum":"048a59ec35de17f1f41e6dd8833b87bbce62f9ae","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-2.0.4.tgz","fileCount":34,"unpackedSize":2637271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/OhNCRA9TVsSAnZWagAAdk4P/iWdKs8YGe7p4yvfkNAU\nq56+Z2rHRABG8KPYwnEEhDd2CCfPrkdVVg+Pb9VROEcgEyppZcy9UWug/5vB\nO6VxV16XjzWwfQp6gxoMubFHvJVOZrlnKFkfHEccMBz+ro8KFTXFos6wMAuO\nw9fvenW8HF03HUYoZa3esiOKrAnE2s92RUqXn5ha4sa0psDJUzhJFxfY2iue\njc/q+Pdq6kS9alWGm+y6NAVlwd+0T5dlvQqms0Sh3hm3QnRzjiBsBdyLfWo4\nHaZ+cbvWwadBHjJH6RifVuKL2SSt38xD9pRgg4tSGJMuOsnXKppv6Z+lkFeZ\nnGiporDBk43Bl71jWc2ADO5yUHLm2NGWmKS9ji17qsmnKG0jOka702R/HwD+\n8DQdjLOraLmcTJjZqhPhdtgqRDbE65ZmKvqJ7tdHaCNrDaOVTsXWXCA+SJCA\nEioywu0K0LdcpBxWMd0B0ZD8ngQTwvqXWdqVvbAFhg1WJqLJmzgkPIpUpeBp\ntcDrqTsb4BvhjlcxCkYvqKxBOx3L9QJp6yZdMjBX7oeBn/5nNWscqorlx7E5\nr7sxMTvMzfIdm4qkGHU4Cqm7PIyVE9P0/kwoTRcujAgwrMhxMAuVccSDy0HB\nN4iynUtWebz5wuD8yoDBA7VhjHnfeUrqxzquItdBRRE/r7OXcXeTvVB3OBgf\nFE7i\r\n=XcC1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi2GppgSglCRNkzgVUu7KpNYTJSaLbg4O4mHe84vvK/wIgBxypRCpcR4or76PKv1LDixVPHwEkS72rQyqX7OiN7hM="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_2.0.4_1576855628667_0.22002026916858486"},"_hasShrinkwrap":false},"2.0.5":{"name":"react-router-scroll-memory","version":"2.0.5","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build","lint":"eslint src","format":"prettier --write \"src/*.+(js|jsx||json|yml|yaml|css|scss|ts|tsx|graphql|vue|mjs)\" ","validate":"npm run lint && npm run test && npm run flow","precommit":"lint-staged && npm run test && npm run flow"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","peerDependencies":{"react":">=15.x","react-router-dom":">=4.x"},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-flow":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/register":"^7.0.0","@babel/runtime":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^24.8.0","babel-loader":"^8.0.2","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","eslint":"^5.6.0","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.0.1","eslint-loader":"^2.1.1","eslint-plugin-flowtype":"^3.0.0","eslint-plugin-html":"^4.0.6","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^21.22.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","flow-bin":"^0.85.0","husky":"^1.1.3","jest":"^24.8.0","lint-staged":"^8.0.4","react":"^16.6.0","react-router-dom":"^4.3.1","react-test-renderer":"^16.6.0","rollup-plugin-babel":"^4.0.3","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-uglify":"^6.0.4"},"browserslist":["last 2 version","> 1%","IE 11"],"gitHead":"b0a8e1c89e33986966ca2d78f70b5e347beecad9","_id":"react-router-scroll-memory@2.0.5","_nodeVersion":"11.10.1","_npmVersion":"6.12.0","dist":{"integrity":"sha512-UI3NvDR7GktewfaeI05BKgKQ4nEhhf9M5sFhIBxhu8ZYOmlRQqsXy16EabHOEPEPzwQZXSb1swKucwsN8zy3bA==","shasum":"3afcdf2e7c51310f95950c40f6a2d316e8cb0641","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-2.0.5.tgz","fileCount":34,"unpackedSize":2653640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/OprCRA9TVsSAnZWagAAgOQP/1JNWM3uSxA1634imGPp\nMkiNzZVZ3Eu21MkBqGLHRKbg25O5Ru5SngqX5oIlZ6RvJYs5NUwJAuEPQ6vZ\nTldnF1hOhtIAepkoEDhmfwBc8kU1dZ5yeYMAKcq4CXIqWSOf1OeBuBAUp2M8\nDZ8L4U1XR6/KKjogyxW9Ve9nycCHrKXIIOm8H4KVvQhFLEhRXYAt4qj3EXvZ\nKUMyBD20eE/Jdf20b08nPv+FEG2GSSAwMvfDrcoOnccHk8g4P8UnPGy5RgeK\nRhAct23U31oPk45OPDHllmlmt8HbBOMDxbfKs8vaFwgeV2tX7dzvPGzmR9WC\nUikTzzmNYCrK2r2O6Lo4UGbf/Jl0WcFJxzUsxNwzn1ffK4p9q/2z2M9zI2qT\n3Ukp1R5Fn2dBv8sZjIVOBkEMi4k500S8R+d3oWJNEDxHVCHRcQE0yB+ntd+G\nRdxPkM2I3/Cq+pYE7gotM/2hKtlLn/PVxzdY+R9px0b9N1rB4NtyLwKIYces\n0WS1zPNTVlsCeA0enqfoYJkzAmT8w1uF2zSCYBUKneKciouqKZyqiO/4C1jt\nWRVTBgKsOplMvzmyZ9HgGKSrxii2Bews963wLjRzexh/dfWqqseljt4e4Gta\nSYMacmCFD5ixp6zUtItoZTXHxJpLx6lbDaIHDy1807QSwfccngIIPZcO/Loi\nX/yG\r\n=y2I1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF70uHcJYWhUd74GXNomedom2ElD1DfhPktK6t0KCd0yAiA8+KjsS6u6BeZ7MToQlYiXilcXaIwlWgaZsqShazitmQ=="}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_2.0.5_1576856170733_0.07892258693562604"},"_hasShrinkwrap":false},"2.0.6":{"name":"react-router-scroll-memory","version":"2.0.6","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build","lint":"eslint src","format":"prettier --write \"src/*.+(js|jsx||json|yml|yaml|css|scss|ts|tsx|graphql|vue|mjs)\" ","validate":"npm run lint && npm run test && npm run flow","precommit":"lint-staged && npm run test && npm run flow"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","peerDependencies":{"react":">=15.x","react-router-dom":">=4.x"},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-flow":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/register":"^7.0.0","@babel/runtime":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^24.8.0","babel-loader":"^8.0.2","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","eslint":"^5.6.0","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.0.1","eslint-loader":"^2.1.1","eslint-plugin-flowtype":"^3.0.0","eslint-plugin-html":"^4.0.6","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^21.22.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","flow-bin":"^0.85.0","husky":"^1.1.3","jest":"^24.8.0","lint-staged":"^8.0.4","react":"^16.6.0","react-router-dom":"^4.3.1","react-test-renderer":"^16.6.0","rollup":"^1.27.13","rollup-plugin-babel":"^4.0.3","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-uglify":"^6.0.4"},"browserslist":["last 2 version","> 1%","IE 11"],"gitHead":"92ec88655d333c893071cc39fb336f8a36b09327","_id":"react-router-scroll-memory@2.0.6","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-RPwVuozkP6bbuJr+EMS2BIPxLQ80C8dMFNiiIDW19+8G2uGCFKb0iy+qvMXgriRDoFoTWXCExbgV4q3vYK38Lg==","shasum":"49daff19f62ad1a85af34c16ea06d9825d9387e2","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-2.0.6.tgz","fileCount":4,"unpackedSize":8757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJepXMmCRA9TVsSAnZWagAAwzEP+wQzfdTlsuymkBD/JAEN\nR7O42ESC37joS0LRHAjZhzUXAHJE7qmDAdGmwBJS8CCqgSa8jNcK+EroKC8+\nsNRZx4HuOlwNAjzNmBGBQ6Z8+hWhp7P9iWICdWz9TjVd7I/iIR3ekcbqCQVz\nJpzrQN8NN2S9MLyQCXiTswZFPRVeQFMi4JclyK2kVEl2iLSPOhypzmck2/OZ\nzJKAIjT0GQOCxZqw3KgpqTkc+d623Mnd4C1nUgzNKxc8orKtyKfnA6Io0/4O\nx+DjMU7/Aut093ksaqRdo8T/JqxXsDg9aTsiuGDu2CYbiBcMtEzhAqc9H+a+\niFS8Gr53ctirrsoHAOIlwTLBduVtIFXOKl4sHAqHW/hbBr1v9PSN7jKIKWjT\nuWOXv4hwCX/Jy4AbYrMiLWt8wtDUe4aiMwhv/9/0bOrzOk2k8GaWp5as5AHH\nQL0trpyLErgSmgdwLoU7frwze/0onYBQbGd6Mh8QR3y8AZafhb2QOt2Z1rsm\nFpLnBrUxS3qrshjxMrVlV0zYQ3fmfn9blLrmfaGAlSm7GEI1wqNxFQw8oi7W\nPSr/WNWKumS5cPopc5Loh9eCujK9mtM2ZEi/9MZ/mVc0An7zNMh0ZN9WajRK\nuJF/ud2fyIEv8U5bwAUpvDPyGCZBgvVPGO59v/MccY47s2tHBvbKxJs3ewS5\nSEr8\r\n=V5E5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsx9jv2H+wfHITKG7hRgcDWSKY9hayImCZYK+HGKP9oAIhAPozMHotWj1aesNvL9s1aCBn8A05reQCBSZ9h1zZfzeo"}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_2.0.6_1587901222090_0.8400437106414143"},"_hasShrinkwrap":false},"2.0.7":{"name":"react-router-scroll-memory","version":"2.0.7","description":"For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser","main":"./dist/ScrollMemory.min.js","scripts":{"test":"jest","flow":"flow","build":"rollup -c","prepublishOnly":"npm run build","lint":"eslint src","format":"prettier --write \"src/*.+(js|jsx||json|yml|yaml|css|scss|ts|tsx|graphql|vue|mjs)\" ","validate":"npm run lint && npm run test && npm run flow","precommit":"lint-staged && npm run test && npm run flow"},"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"keywords":["react","router","scroll","history"],"author":{"name":"Faramaz Patrick"},"license":"ISC","bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","peerDependencies":{"react":">=15.x","react-router-dom":">=4.x"},"devDependencies":{"@babel/cli":"^7.1.0","@babel/core":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-flow":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/register":"^7.0.0","@babel/runtime":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^24.8.0","babel-loader":"^8.0.2","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","eslint":"^5.6.0","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.0.1","eslint-loader":"^2.1.1","eslint-plugin-flowtype":"^3.0.0","eslint-plugin-html":"^4.0.6","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^21.22.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","flow-bin":"^0.85.0","husky":"^1.1.3","jest":"^24.8.0","lint-staged":"^8.0.4","react":"^16.6.0","react-router-dom":"^4.3.1","react-test-renderer":"^16.6.0","rollup":"^1.27.13","rollup-plugin-babel":"^4.0.3","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-uglify":"^6.0.4"},"browserslist":["last 2 version","> 1%","IE 11"],"gitHead":"688c64608ea3bf715b3af2c227222b6ceff0af86","_id":"react-router-scroll-memory@2.0.7","_nodeVersion":"13.12.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-1M7LxVBBVrE4oIS/+enQwCRdg2EapF/RnZaL2pXpPb7HVjJsI83MhMuGAzKtd1YOdB4ekwdtMX7t5T9FvQBC6Q==","shasum":"afd5627d5378df7c8490935c9a1585362a7c850a","tarball":"https://registry.npmjs.org/react-router-scroll-memory/-/react-router-scroll-memory-2.0.7.tgz","fileCount":4,"unpackedSize":8757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKmUWCRA9TVsSAnZWagAAJMQP/0HhGlgSt2Fe/V+Lp0p9\n11+uGxpuYaPwO839TeNYXec5+guo9nrILu3NmLXFdVWqc27DLG37BtUoW26/\nfqLcXe5v1/knIuWgyWmqpmehfsQAMxNtibvbupItw5zJUI248KkRklKPmxQt\nSrSDuM0l1rHmFzJgrtkyfdz7ZvQL0irPsb8IPo9ovf+GsRtqb+cz7c1YvmpC\nEKWZGJ/fJNyQFsbl/cyyntPIUofyiIQ/2niFMYJ9M+26DCle+SsAEB1tYMsH\nKhy6Fuwwl9FlQ7+peUQwqW1zA1ePu7ko4AdsyAT9H9XwgEU+h+DrQ/QQLC3H\nSf3jc3xY9fkVD7sA9I33k6F0z8kGgKtxUWm1MyT6GABCY5cdhuxRe8IrW3Uz\nh1D/w3yjO20aXn4hId7XZVEa40JMG3+qhJ1+lzhq8/YjFiiFMxDUKpmrjiQK\nCugTfm4VRGrMUQ1reH62HpPEe/nyqGCS2VAFXd0B8s8SSlqWlfZ4jBH5k9Yw\nmCgKZ2mSzDzfvC0KVyYBIhaOeQURTE6HiwNUa3PR/m6t5+h7AOgbT8VK6wpl\ntEmKGkCZWDM9gSfgXTmd6rP8UReGf0lJ1dIrTTbAqBhfL17m6DbVA+7/pBhb\nIMVgOj+aAP8wKnAUJFi/IRDbPUSh17NHpjLB67EiJj6w8tr/3VUWYpb5BD+c\ny0vp\r\n=C4jj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjO5/1yRtQEFZ0jotGoadw/gCRzHgQVMTE0dKWyHTw4gIhANrtbikmWKZCp6K+sTaen7Pjvh2B89itmzBGCsYciIxM"}]},"maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"_npmUser":{"name":"faramazpat","email":"infos@goodmotion.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-router-scroll-memory_2.0.7_1596613910218_0.44310832266370426"},"_hasShrinkwrap":false}},"readme":"[![Build Status](https://travis-ci.org/ipatate/react-router-scroll-memory.svg?branch=master)](https://travis-ci.org/ipatate/react-router-scroll-memory)\n\n### For React Router V4/V5. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser\n\nYou have solution in this page [https://reacttraining.com/react-router/web/guides/scroll-restoration](https://reacttraining.com/react-router/web/guides/scroll-restoration) for just scrolling to top on navigation on every transition. But if you click on the previous button, the page is also at the top even if you had scrolled on the page.\n\nI did this package because I was frustrated that the new react router (4) does not restore the scroll when I click on the back button of my browser. By default, the component execute window.scrollTo(0,0), if the url not exist in memory.\n\nonly work with react and react router v4 and v5\n\n#### Npm page\n\n[https://www.npmjs.com/package/react-router-scroll-memory](https://www.npmjs.com/package/react-router-scroll-memory)\n\n#### Installation\n\n * install package\n\n    $ npm i -S react-router-scroll-memory\n\n\n\n\n * import component in your main page.\n\n```javascript\nimport ScrollMemory from 'react-router-scroll-memory';\n````\n\n* add the component after the Router.\n\n```jsx\n  <BrowserRouter>\n    <div>\n      <ScrollMemory />\n      <App />\n    </div>\n  </BrowserRouter>\n```\n\n### New Feature\n\nIf you use your app inside a element, you can use props \"elementID\" for memorise scroll position of your element instead body scroll.\n\n#### Tested on Browser:\n\n* Chrome\n* Explorer 11\n* Edge\n* Safari\n* Firefox\n\n#### Online exemple\n\n[https://simple-react-app-with-router.stackblitz.io](https://simple-react-app-with-router.stackblitz.io)\n\n#### Screenshots\n* Without the component\nThe scroll keep the position on transition and the scroll of new page is not to top.\n\n![./without_scroll_memory](./without_scroll.gif)\n\n* With the component\nThe new page is top and if i click previous, the scroll is restored.\n\n![./with_scroll_memory](./with_scroll.gif)","maintainers":[{"name":"faramazpat","email":"infos@goodmotion.fr"}],"time":{"modified":"2022-05-15T03:10:18.532Z","created":"2017-08-18T15:59:14.638Z","0.0.0":"2017-08-18T15:59:14.638Z","0.0.1":"2017-08-18T16:20:17.982Z","0.0.2":"2017-08-18T16:26:51.699Z","0.0.3":"2017-08-18T17:13:19.955Z","0.0.4":"2017-08-19T15:30:04.338Z","0.0.5":"2017-08-21T08:43:19.559Z","0.0.6":"2017-08-21T09:06:41.225Z","0.0.7":"2017-08-21T09:20:25.575Z","0.0.8":"2017-08-23T06:58:47.880Z","0.0.9":"2017-08-23T07:04:49.821Z","1.0.0-beta":"2017-09-11T11:05:12.084Z","0.1.0":"2017-09-18T18:30:38.530Z","1.0.1-beta":"2017-10-03T14:07:26.832Z","1.0.0":"2017-10-03T17:39:53.682Z","1.0.1":"2017-12-01T14:38:04.365Z","1.0.2":"2018-06-20T15:17:41.156Z","1.0.3":"2018-10-07T15:05:44.348Z","1.0.3-beta":"2018-10-21T13:31:56.423Z","1.0.4":"2018-10-26T10:05:12.135Z","2.0.0":"2018-11-06T14:47:12.825Z","2.0.1":"2018-11-25T16:47:07.354Z","2.0.2":"2019-04-18T11:46:40.958Z","2.0.3":"2019-04-18T11:54:09.051Z","2.0.1-beta":"2019-06-11T09:04:17.922Z","2.0.4-beta":"2019-06-11T09:35:56.814Z","2.0.4":"2019-12-20T15:27:08.918Z","2.0.5":"2019-12-20T15:36:11.006Z","2.0.6":"2020-04-26T11:40:22.242Z","2.0.7":"2020-08-05T07:51:50.372Z"},"homepage":"https://github.com/ipatate/react-router-scroll-memory#readme","keywords":["react","router","scroll","history"],"repository":{"type":"git","url":"git+https://github.com/ipatate/react-router-scroll-memory.git"},"author":{"name":"Faramaz Patrick"},"bugs":{"url":"https://github.com/ipatate/react-router-scroll-memory/issues"},"license":"ISC","readmeFilename":"README.md","users":{"faramazpat":true}}