{"_id":"@react-hook/latest","_rev":"4-d93690e127cdd4a3ffb8242e0ac6956d","name":"@react-hook/latest","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@react-hook/latest","version":"1.0.0","homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/latest#readme","repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com"},"license":"MIT","description":"A React hook that updates useRef().current with the most recent value each invocation","keywords":["react","react component","use-ref","use-latest","use-effect-callback","useeffect callback"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/use-latest.js","source":"src/index.tsx","types":"types/index.d.ts","exports":{".":{"browser":"./dist/module/index.js","import":"./dist/esm/index.mjs","require":"./dist/main/index.js","umd":"./dist/umd/use-latest.js","source":"./src/index.tsx","types":"./types/index.d.ts","default":"./dist/main/index.js"},"./package.json":"./package.json","./":"./"},"sideEffects":false,"scripts":{"build":"lundle build --umd-case camel","check-types":"lundle check-types","dev":"lundle build -f module,cjs -w","format":"prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,tsx,js,jsx,md,yml,json}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"lundle check-types && npm run lint && jest --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["lundle build -f types","eslint","prettier --write"],"**/*.{md,yml,json}":["prettier --write"]},"eslintConfig":{"extends":["lunde"]},"eslintIgnore":["node_modules","coverage","dist","test","*.config.js"],"jest":{"moduleDirectories":["node_modules","src","test"],"testMatch":["<rootDir>/src/**/?(*.)test.{ts,tsx}"],"collectCoverageFrom":["**/src/**/*.{ts,tsx}"],"setupFilesAfterEnv":["./test/setup.js"],"snapshotResolver":"./test/resolve-snapshot.js","globals":{"__DEV__":true}},"prettier":{"semi":false,"singleQuote":true,"jsxSingleQuote":true,"bracketSpacing":false},"devDependencies":{"@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@testing-library/user-event":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","babel-jest":"latest","eslint":"latest","eslint-config-lunde":"latest","husky":"latest","jest":"latest","lint-staged":"latest","lundle":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","typescript":"latest"},"dependencies":{},"peerDependencies":{"react":">=16.8"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@react-hook/latest@1.0.0","dist":{"shasum":"8a5b1b62ef3c7ecd1ee36393421e9a5caee9ad9c","integrity":"sha512-4RDESQzoO0E2LAH9XwU2x8g7H73POs9V+/mwHC0EReg7IWmdOOQ7M8mzXR5bg/OxFmS4xydyj0X5y4mRFYRrTg==","tarball":"https://registry.npmjs.org/@react-hook/latest/-/latest-1.0.0.tgz","fileCount":20,"unpackedSize":10366,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2dUACRA9TVsSAnZWagAAQ7EP/RmzYrghWSlxyTjIdcxu\ng2wVxWmpr7EzYjWu48Ko2+i7+Zs74SyCOgLkei5ZE3iRhaoSYRrvbYAU8JOJ\nlwcjJfdWk/YxvOK03C/MAsyo1QlNfIP5xKtuMe0tfFGzvYEOo5CDwn3xh+EN\nNbSWmQC81KfSwo8Ibo1jJra03MHOHeR2sMyPnTKENeya3A9f2JQ88nkXCNuL\nLsXLU2NiZNT4kC9qzE84MtNpLI94JiJ7qETtsXSElQOc7FewKJ9d7Tf4qRu7\ndc8OvpgSt+J71EC7DF9Uf7ZZGexxghv6A95risoGP1a1Qomnu+AuaP8n2WSb\naFu8Wrhl9uaVQ7ejGlkFePP4VIk3tUs9xrG5vU8AuuxEmD1oillU68gD/QZg\nwhWHTKBPMImxNBtJk3BGFnireFijaLo23ZcG8/SSKlp3DSFgulXIXfesmwza\n6RW8XLmQWXy9byn2ibjdOcVxSLTv1dcuOzmiO7s5RBUPftvpXt/J3ynj0GmV\nUNEtuBy45A4Icq33iO8SflO5uQ8Wuk25lmJoXIQMvv8bUAm60UlOcdCoeoYv\nUNvb01k21fyl/MPBDJj3Cw63lphIEC4TrrgL7f99I/tdctSzFav3k31BkP45\nw2g5ZKC2lbCD4GG6QIpkTKSmvzraYjlETDmNEWYWzSQ1mJb21I4x5vi1miAG\n4iFj\r\n=ZOeu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+E8WAYyOEVz7tcu93jYwUb0O4kxCLrobezXiA1Pqy8AIgELUf/eZx9JdjEuYLLLtz9OWonVtckCue6WGcarbMaSM="}]},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"_npmUser":{"name":"jaredlunde","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/latest_1.0.0_1591334144497_0.35714008597225755"},"_hasShrinkwrap":false},"1.0.1":{"name":"@react-hook/latest","version":"1.0.1","homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/latest#readme","repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com"},"license":"MIT","description":"A React hook that updates useRef().current with the most recent value each invocation","keywords":["react","react component","use-ref","use-latest","use-effect-callback","useeffect callback"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/use-latest.js","source":"src/index.tsx","types":"types/index.d.ts","exports":{".":{"browser":"./dist/module/index.js","import":"./dist/esm/index.mjs","require":"./dist/main/index.js","umd":"./dist/umd/use-latest.js","source":"./src/index.tsx","types":"./types/index.d.ts","default":"./dist/main/index.js"},"./package.json":"./package.json","./":"./"},"sideEffects":false,"scripts":{"build":"lundle build --umd-case camel","check-types":"lundle check-types","dev":"lundle build -f module,cjs -w","format":"prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,tsx,js,jsx,md,yml,json}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"lundle check-types && npm run lint && jest --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["lundle build -f types","eslint","prettier --write"],"**/*.{md,yml,json}":["prettier --write"]},"eslintConfig":{"extends":["lunde"]},"eslintIgnore":["node_modules","coverage","dist","test","*.config.js"],"jest":{"moduleDirectories":["node_modules","src","test"],"testMatch":["<rootDir>/src/**/?(*.)test.{ts,tsx}"],"collectCoverageFrom":["**/src/**/*.{ts,tsx}"],"setupFilesAfterEnv":["./test/setup.js"],"snapshotResolver":"./test/resolve-snapshot.js","globals":{"__DEV__":true}},"prettier":{"semi":false,"singleQuote":true,"jsxSingleQuote":true,"bracketSpacing":false},"devDependencies":{"@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@testing-library/user-event":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","babel-jest":"latest","eslint":"latest","eslint-config-lunde":"latest","husky":"latest","jest":"latest","lint-staged":"latest","lundle":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","typescript":"latest"},"dependencies":{},"peerDependencies":{"react":">=16.8"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@react-hook/latest@1.0.1","dist":{"shasum":"3ce46f0bd4a76b1415bf6aa6cf68cce2d4a6ed77","integrity":"sha512-QLYmUhrvXHyLbCgoDEmQKszEV/Pbi/BO8xwywapqznb5yOcHQmzorroSnstc8awvFq+vw5TNYi/4cO4uEQBQlw==","tarball":"https://registry.npmjs.org/@react-hook/latest/-/latest-1.0.1.tgz","fileCount":20,"unpackedSize":10798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2dbFCRA9TVsSAnZWagAAFpIP/RJUU+sN7qQ4Y/JPih52\nfzlO7hwBh6QVSeRUWFPTeVntse1PBWLWr6mIsBU1NYpX1FJXV+E/ncA7AFUq\n1nmJ2iHZSYuIo5UkW5OsE2EzDGR85VTNF8tiHT7f2SymhulSS4HIXHTlO96D\n8ctYdK1wyOg3QQ7RMjwR/Q/Euptxk2OwL9MXVZoec/rh0CrFXbYvAUxiT6AV\n98RcIHDf8GrSb5XKqMYX099iohXrhYt0VFsx6HTLQbqv6Kx46PP96yCespGa\njda+BPMdLICP2wYZUoBjiDIGs/rGdHhyc2wjQx0yx24Y+59P5BX2M0VrUa79\nhF4QKeSQ13UWqUdkCN2W3yMukj7fcHyxt074YBpG42+w7Ohq+dehqn3+dmgq\n2pETOAOFp6ruGwPmdnqR/vuFeXjVuTMKmmrprGzGWLDPkp+RqNNTpGOg2CVQ\n3fP49cgNk5S/1RSAg4UXqNZOOqH5WrMVrHUJvGKGp++0dsICeBPmja/2m8U+\nCk0jtkf2a5trGEesEmcHn0JWzfW5pNjgxEuK5Ma6uxBy8l/XMFohiU1Wuygw\nO6LoF5+coqhaa7gB0+TZuTX5QGlsqXpqoSykxW+HefDogY6TRCmMUidSRfxp\n6HAlmKBfF+nmh71lPFym1G57ftdzcLGPinRx8+i/hM/FGYHQYAy9PzGBk0Y1\nY9LH\r\n=yPK1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaUWpOw31Nfv5NqosUVs86InwqPcN2nFs0eXIQx3o0uAiA8i7o6S+1QldZpYux8ZzF1xYDsTMUGwKe1oHlolLVviA=="}]},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"_npmUser":{"name":"jaredlunde","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/latest_1.0.1_1591334596876_0.6979405579432663"},"_hasShrinkwrap":false},"1.0.2":{"name":"@react-hook/latest","version":"1.0.2","homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/latest#readme","repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com"},"license":"MIT","description":"A React hook that updates useRef().current with the most recent value each invocation","keywords":["react","react component","use-ref","use-latest","use-effect-callback","useeffect callback"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/use-latest.js","source":"src/index.tsx","types":"types/index.d.ts","exports":{".":{"browser":"./dist/module/index.js","import":"./dist/esm/index.mjs","require":"./dist/main/index.js","umd":"./dist/umd/use-latest.js","source":"./src/index.tsx","types":"./types/index.d.ts","default":"./dist/main/index.js"},"./package.json":"./package.json","./":"./"},"sideEffects":false,"scripts":{"build":"lundle build --umd-case camel","check-types":"lundle check-types","dev":"lundle build -f module,cjs -w","format":"prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,tsx,js,jsx,md,yml,json}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"lundle check-types && npm run lint && jest --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["lundle build -f types","eslint","prettier --write"],"**/*.{md,yml,json}":["prettier --write"]},"eslintConfig":{"extends":["lunde"]},"eslintIgnore":["node_modules","coverage","dist","test","*.config.js"],"jest":{"moduleDirectories":["node_modules","src","test"],"testMatch":["<rootDir>/src/**/?(*.)test.{ts,tsx}"],"collectCoverageFrom":["**/src/**/*.{ts,tsx}"],"setupFilesAfterEnv":["./test/setup.js"],"snapshotResolver":"./test/resolve-snapshot.js","globals":{"__DEV__":true}},"prettier":{"semi":false,"singleQuote":true,"jsxSingleQuote":true,"bracketSpacing":false},"devDependencies":{"@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@testing-library/user-event":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","babel-jest":"latest","eslint":"latest","eslint-config-lunde":"latest","husky":"latest","jest":"latest","lint-staged":"latest","lundle":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","typescript":"latest"},"dependencies":{},"peerDependencies":{"react":">=16.8"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@react-hook/latest@1.0.2","dist":{"shasum":"767eb6974f91eef353981b8b60a87147dadecb18","integrity":"sha512-zLtOIToct1EBTbwldkMJsXC2eCsmWOOP7z6UG0M/sCgnPExtIjvVMCpPESvPnMbQzDZytXVy0nvMbUuK2gZs2A==","tarball":"https://registry.npmjs.org/@react-hook/latest/-/latest-1.0.2.tgz","fileCount":20,"unpackedSize":10811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2dckCRA9TVsSAnZWagAA0rEP/jCc9jAdkB6HA3kZmtRi\nvZji2o4mJkCk3UtyX3lwKJw+DevNVEno2D2tXPg3EKbR3KyqTEhRjrqRov4f\nisJK5QKXpkG/I3PaA9FDcR31Riq6SstLzpqiDQCPaa1bew/yOintCSt0xWas\nE5rjEg01ymRVNjP8oXEfb8t5BU3jG7fBjpYxzucbyWEi9xF92w7q94si9qDR\nrWvxlFL5E60ZxIryr/9RCkaRFkXMgirCFnSCTQxuoZvzreey4Ietp4KZFFLU\n50nZoa76/dj9c+uxxc0HlTuGLO5F14b4XWk8np4rTesh1nDd/SZwa43L3qUE\n4LI4XDcbdc2VN08elR9loCI5U73Crydj9S/C2FSlqErnVx17GTegOJVMjIff\nnqgd1GaO4v2dGGWN18b+BIyHf1tZbOpIqoggT8X2ph1w0FcKU7KIJ+FNquKK\nTwaMH415/btkWVp3HYks/leMH/7gEQ1lWGvWYZUyQ6MySNqHpVxwhLbc6rdB\n0Nw7Cjt6ltB5Kwgm111tgg8sNWkM6wXBv6hDP4iBZmCnk6dutqNwGBn02Q+s\nKme+ESmWwi+hG6dDalycDMBlzkouTNzncMAGV3ipVMYwJ76Huyp84B0oYwkL\ni99eoYVE7GhTAG6bdQNj01TPWgQ4f3UJoW0OovbEjpsspgxYIF2vUQKoP7pm\n+9wB\r\n=LRzp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF8r3sCx2BXM35xbbrRHisT04h0v8vAe073fuiCitF4qAiBJ7XiAz+uMSGYQeO3gZoZae0gTD3Rii03BmfMwGEhI1Q=="}]},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"_npmUser":{"name":"jaredlunde","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/latest_1.0.2_1591334692609_0.017814687919968986"},"_hasShrinkwrap":false},"1.0.3":{"name":"@react-hook/latest","version":"1.0.3","homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/latest#readme","repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com"},"license":"MIT","description":"A React hook that updates useRef().current with the most recent value each invocation","keywords":["react","react component","use-ref","use-latest","use-effect-callback","useeffect callback"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/use-latest.js","source":"src/index.tsx","types":"types/index.d.ts","exports":{".":{"browser":"./dist/module/index.js","import":"./dist/esm/index.mjs","require":"./dist/main/index.js","umd":"./dist/umd/use-latest.js","source":"./src/index.tsx","types":"./types/index.d.ts","default":"./dist/main/index.js"},"./package.json":"./package.json","./":"./"},"sideEffects":false,"scripts":{"build":"lundle build --umd-case camel","check-types":"lundle check-types","dev":"lundle build -f module,cjs -w","format":"prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,tsx,js,jsx,md,yml,json}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"lundle check-types && npm run lint && jest --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["lundle build -f types","eslint","prettier --write"],"**/*.{md,yml,json}":["prettier --write"]},"eslintConfig":{"extends":["lunde"]},"eslintIgnore":["node_modules","coverage","dist","test","*.config.js"],"jest":{"moduleDirectories":["node_modules","src","test"],"testMatch":["<rootDir>/src/**/?(*.)test.{ts,tsx}"],"collectCoverageFrom":["**/src/**/*.{ts,tsx}"],"setupFilesAfterEnv":["./test/setup.js"],"snapshotResolver":"./test/resolve-snapshot.js","globals":{"__DEV__":true}},"prettier":{"semi":false,"singleQuote":true,"jsxSingleQuote":true,"bracketSpacing":false},"devDependencies":{"@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@testing-library/user-event":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","babel-jest":"latest","eslint":"latest","eslint-config-lunde":"latest","husky":"latest","jest":"latest","lint-staged":"latest","lundle":"^0.4.9","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","typescript":"latest"},"dependencies":{},"peerDependencies":{"react":">=16.8"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@react-hook/latest@1.0.3","dist":{"shasum":"c2d1d0b0af8b69ec6e2b3a2412ba0768ac82db80","integrity":"sha512-dy6duzl+JnAZcDbNTfmaP3xHiKtbXYOaz3G51MGVljh548Y8MWzTr+PHLOfvpypEVW9zwvl+VyKjbWKEVbV1Rg==","tarball":"https://registry.npmjs.org/@react-hook/latest/-/latest-1.0.3.tgz","fileCount":24,"unpackedSize":12935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWlYwCRA9TVsSAnZWagAABOsP/jvdUkobc6/sKMeNIKJH\nbT8WyNagYExEKHXmqHvB3Iv9ENN8+vm/dAsP6rsHVHyNhNmGBhH7oL2MaX3m\nL8faxH0s/xVKNf3Aa7Wg4c9Fcsu4IhIy4QMcO+hv2CjVCaUPDPb5DrgcIE7a\nU2AjkbAwUpgVUtq+zq7c5F2/PAy2Iw4mTMoBh9OFSFxaVNefFDuhfcDSlDwb\nwQjbJC6Xpc4UgNkkXKQ4aK900DpvxTEboXhpCNa9IwSL0dzTYpQx3CVAFomp\nAIAUZLrhMuGpSwODiY3mXXCrYa4F4A7gPfxw6oGrXN608T+M7NRme+lpfp6Z\nBJ7q7jsLLdTdIwGjUFrZzCRSomIDhk6om28d6Jowv64RapUO356q0kJ3cLtY\npIqEvw/U2TqdBceHdN1vNqKLfDC+f7fyCxO2c3EQIDdvFKPRTGJFPigNhKBr\nYG/wXE4HxY7JCJoFEwapFA3Ay1vZkKnh62DfZyCdTv1IIam8TMdSETJhTt0A\nfKRxPEyLeJYePVP5cztfiuKDCcsI3aJmCJg/EkDwfINapqJDQfezGr/huDEq\nkyQaO6jV1iD8FBANWsm5WDlbfPz92GSguinsz3nIEyUjR439nDsUZIhphgqX\nMxaz+wuCdvJjcNUmp/VTXBvQIsAkfThgK9B9coVg/M39kbB1ylHdR9lH1H8I\nooAy\r\n=NPkE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCFFcTMxg1kJqT9oqsG2lIOsDLsnP3eDoIvaitKcXJpgIhAKI3GE6ISA4j4U1qyuap6U+ELgG9VrNMjmARoa2nTpBc"}]},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"_npmUser":{"name":"jaredlunde","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/latest_1.0.3_1599755823708_0.13993531928361658"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-05T05:15:44.317Z","1.0.0":"2020-06-05T05:15:44.658Z","modified":"2022-04-06T18:23:54.014Z","1.0.1":"2020-06-05T05:23:16.982Z","1.0.2":"2020-06-05T05:24:52.696Z","1.0.3":"2020-09-10T16:37:03.889Z"},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"description":"A React hook that updates useRef().current with the most recent value each invocation","homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/latest#readme","keywords":["react","react component","use-ref","use-latest","use-effect-callback","useeffect callback"],"repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"license":"MIT","readme":"<hr>\n<div align=\"center\">\n  <h1 align=\"center\">\n    useLatest()\n  </h1>\n</div>\n\n<p align=\"center\">\n  <a href=\"https://bundlephobia.com/result?p=@react-hook/latest\">\n    <img alt=\"Bundlephobia\" src=\"https://img.shields.io/bundlephobia/minzip/@react-hook/latest?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"Types\" href=\"https://www.npmjs.com/package/@react-hook/latest\">\n    <img alt=\"Types\" src=\"https://img.shields.io/npm/types/@react-hook/latest?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"Build status\" href=\"https://travis-ci.com/jaredLunde/react-hook\">\n    <img alt=\"Build status\" src=\"https://img.shields.io/travis/com/jaredLunde/react-hook?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"NPM version\" href=\"https://www.npmjs.com/package/@react-hook/latest\">\n    <img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@react-hook/latest?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"License\" href=\"https://jaredlunde.mit-license.org/\">\n    <img alt=\"MIT License\" src=\"https://img.shields.io/npm/l/@react-hook/latest?style=for-the-badge&labelColor=24292e\">\n  </a>\n</p>\n\n<pre align=\"center\">npm i @react-hook/latest</pre>\n<hr>\n\nA React hook that updates useRef().current with the most recent value each invocation\n\n## Quick Start\n\n```jsx harmony\nimport useLatest from '@react-hook/latest'\n\nconst useEvent = (element, name, listener) => {\n  const latest = useLatest(listener)\n\n  React.useEffect(() => {\n    const listen = (e) => latest.current(e)\n    element.addEventListener(name, listen)\n    return () => element.removeEventListener(name, listen)\n  }, [latest])\n}\n```\n\n## API\n\n### useLatest(value)\n\n```ts\nconst useLatest: <T extends any>(current: T) => React.MutableRefObject<T>\n```\n\n### Props\n\n| Prop  | Type            | Required? | Description               |\n| ----- | --------------- | --------- | ------------------------- |\n| value | `T extends any` | Yes       | Any value you want stored |\n\n### Returns `React.MutableRefObject<T>`\n\n## LICENSE\n\nMIT\n","readmeFilename":"README.md"}