{"_id":"react-use-measure","_rev":"3854779","name":"react-use-measure","description":"Utility to measure view bounds","dist-tags":{"latest":"2.1.7"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"time":{"modified":"2025-09-01T00:49:42.000Z","created":"2019-10-31T14:18:17.846Z","2.1.7":"2025-01-30T16:23:54.121Z","2.1.6":"2025-01-30T12:46:20.359Z","2.1.5":"2025-01-30T12:38:56.411Z","2.1.4":"2025-01-30T12:23:49.369Z","2.1.3":"2025-01-30T12:11:06.333Z","2.1.2":"2025-01-30T12:04:45.900Z","2.1.1":"2021-11-26T18:37:53.717Z","2.1.0":"2021-11-26T09:03:16.516Z","2.0.4":"2021-03-18T14:20:05.397Z","2.0.3":"2020-11-09T11:31:24.782Z","2.0.2":"2020-10-01T17:33:05.023Z","2.0.1":"2020-06-06T18:08:04.284Z","2.0.0":"2019-11-08T18:03:27.892Z","1.1.2":"2019-11-05T14:10:45.789Z","1.1.1":"2019-11-04T12:43:49.924Z","1.1.0":"2019-11-03T16:49:59.839Z","1.0.6":"2019-11-03T15:01:35.231Z","1.0.5":"2019-11-03T11:44:15.908Z","1.0.4":"2019-11-01T21:36:26.329Z","1.0.3":"2019-11-01T11:53:38.843Z","1.0.2":"2019-11-01T11:41:23.355Z","1.0.1":"2019-11-01T11:32:10.170Z","1.0.0":"2019-10-31T14:18:17.846Z"},"users":{},"author":{"name":"Paul Henschel"},"repository":{"type":"git","url":"https://github.com/pmndrs/react-use-measure"},"versions":{"2.1.7":{"name":"react-use-measure","version":"2.1.7","description":"Utility to measure view bounds","keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"homepage":"https://github.com/pmndrs/react-use-measure","repository":{"type":"git","url":"https://github.com/pmndrs/react-use-measure"},"license":"MIT","type":"module","types":"./dist/index.d.ts","main":"./dist/index.cjs","module":"./dist/index.js","exports":{"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"},"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"sideEffects":false,"devDependencies":{"@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0","@types/node":"^22.12.0","@types/react":"^19.0.8","@types/react-dom":"^19.0.3","@vitest/browser":"^3.0.4","playwright":"^1.50.0","react":"^19.0.0","react-dom":"^19.0.0","resize-observer-polyfill":"^1.5.1","rimraf":"^6.0.1","typescript":"^5.7.3","vite":"^6.0.11","vitest":"^3.0.4"},"peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"scripts":{"dev":"vite","build":"rimraf dist && vite build && tsc","test":"npx playwright install && vitest run"},"licenseText":"MIT License\n\nCopyright (c) 2019-2025 Poimandres\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.\n","_id":"react-use-measure@2.1.7","dist":{"shasum":"36b8a2e7fd2fa58109ab851b3addcb0aad66ad1d","size":8391,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.1.7.tgz"},"_npmUser":{"name":"codyjasonbennett","email":"hi@codyb.co"},"directories":{},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-use-measure_2.1.7_1738254233825_0.9385683755666017"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-30T16:23:54.121Z","publish_time":1738254234121,"_source_registry_name":"default","_cnpm_publish_time":1738254234121},"2.1.6":{"name":"react-use-measure","version":"2.1.6","description":"Utility to measure view bounds","keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"homepage":"https://github.com/pmndrs/react-use-measure","repository":{"type":"git","url":"https://github.com/pmndrs/react-use-measure"},"license":"MIT","type":"module","types":"./dist/index.d.ts","main":"./dist/index.cjs","module":"./dist/index.js","exports":{"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"},"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"sideEffects":false,"devDependencies":{"@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0","@types/node":"^22.12.0","@types/react":"^19.0.8","@types/react-dom":"^19.0.3","@vitest/browser":"^3.0.4","playwright":"^1.50.0","react":"^19.0.0","react-dom":"^19.0.0","resize-observer-polyfill":"^1.5.1","rimraf":"^6.0.1","typescript":"^5.7.3","vite":"^6.0.11","vitest":"^3.0.4"},"peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"scripts":{"postinstall":"npx playwright install","dev":"vite","build":"rimraf dist && vite build && tsc","test":"vitest run"},"licenseText":"MIT License\n\nCopyright (c) 2019-2025 Poimandres\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.\n","_id":"react-use-measure@2.1.6","dist":{"shasum":"d0dc826b2020361da8323adcd39f72a8191f7a19","size":8393,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.1.6.tgz"},"_npmUser":{"name":"codyjasonbennett","email":"hi@codyb.co"},"directories":{},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-use-measure_2.1.6_1738241180182_0.5000673450251831"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-30T12:46:20.359Z","publish_time":1738241180359,"_source_registry_name":"default","hasInstallScript":true,"_cnpm_publish_time":1738241180359},"2.1.5":{"name":"react-use-measure","version":"2.1.5","description":"Utility to measure view bounds","keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"homepage":"https://github.com/pmndrs/react-use-measure","repository":{"type":"git","url":"https://github.com/pmndrs/react-use-measure"},"license":"MIT","type":"module","types":"./dist/index.d.ts","main":"./dist/index.cjs","module":"./dist/index.js","exports":{"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"},"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"sideEffects":false,"devDependencies":{"@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0","@types/node":"^22.12.0","@types/react":"^19.0.8","@types/react-dom":"^19.0.3","@vitest/browser":"^3.0.4","playwright":"^1.50.0","react":"^19.0.0","react-dom":"^19.0.0","resize-observer-polyfill":"^1.5.1","typescript":"^5.7.3","vite":"^6.0.11","vitest":"^3.0.4"},"peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"scripts":{"postinstall":"npx playwright install","dev":"vite","build":"vite build","lint":"tsc","test":"vitest run"},"licenseText":"MIT License\n\nCopyright (c) 2019-2025 Poimandres\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.\n","_id":"react-use-measure@2.1.5","dist":{"shasum":"fe81eb66e0c3bcfef5ea170cf3d52144b12f48dc","size":8201,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.1.5.tgz"},"_npmUser":{"name":"codyjasonbennett","email":"hi@codyb.co"},"directories":{},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-use-measure_2.1.5_1738240736221_0.8066807378619791"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-30T12:38:56.411Z","publish_time":1738240736411,"_source_registry_name":"default","hasInstallScript":true,"_cnpm_publish_time":1738240736411},"2.1.4":{"name":"react-use-measure","version":"2.1.4","description":"Utility to measure view bounds","keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"homepage":"https://github.com/pmndrs/react-use-measure","repository":{"type":"git","url":"https://github.com/pmndrs/react-use-measure"},"license":"MIT","type":"module","types":"./dist/index.d.ts","main":"./dist/index.cjs","module":"./dist/index.js","exports":{"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"sideEffects":false,"devDependencies":{"@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0","@types/node":"^22.12.0","@types/react":"^19.0.8","@types/react-dom":"^19.0.3","@vitest/browser":"^3.0.4","playwright":"^1.50.0","react":"^19.0.0","react-dom":"^19.0.0","resize-observer-polyfill":"^1.5.1","typescript":"^5.7.3","vite":"^6.0.11","vitest":"^3.0.4"},"peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"scripts":{"postinstall":"npx playwright install","dev":"vite","build":"vite build","lint":"tsc","test":"vitest run"},"licenseText":"MIT License\n\nCopyright (c) 2019-2025 Poimandres\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.\n","_id":"react-use-measure@2.1.4","dist":{"shasum":"55a621d47170cc8d1de531adc1812a2c60c154f9","size":8230,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.1.4.tgz"},"_npmUser":{"name":"codyjasonbennett","email":"hi@codyb.co"},"directories":{},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-use-measure_2.1.4_1738239829167_0.9854062358013871"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-30T12:23:49.369Z","publish_time":1738239829369,"_source_registry_name":"default","hasInstallScript":true,"_cnpm_publish_time":1738239829369},"2.1.3":{"name":"react-use-measure","version":"2.1.3","description":"Utility to measure view bounds","keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"homepage":"https://github.com/pmndrs/react-use-measure","repository":{"type":"git","url":"https://github.com/pmndrs/react-use-measure"},"license":"MIT","type":"module","types":"./dist/index.d.ts","main":"./dist/index.cjs","module":"./dist/index.js","exports":{"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"sideEffects":false,"devDependencies":{"@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0","@types/node":"^22.12.0","@types/react":"^19.0.8","@types/react-dom":"^19.0.3","@vitest/browser":"^3.0.4","playwright":"^1.50.0","react":"^19.0.0","react-dom":"^19.0.0","resize-observer-polyfill":"^1.5.1","typescript":"^5.7.3","vite":"^6.0.11","vitest":"^3.0.4"},"peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"scripts":{"postinstall":"npx playwright install","dev":"vite","build":"vite build","lint":"tsc","test":"vitest run"},"licenseText":"MIT License\n\nCopyright (c) 2019-2025 Poimandres\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.\n","_id":"react-use-measure@2.1.3","dist":{"shasum":"75b7bd009c45459a431762812d23a8e170ef362e","size":8220,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.1.3.tgz"},"_npmUser":{"name":"codyjasonbennett","email":"hi@codyb.co"},"directories":{},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-use-measure_2.1.3_1738239066126_0.785949004999986"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-30T12:11:06.333Z","publish_time":1738239066333,"_source_registry_name":"default","hasInstallScript":true,"_cnpm_publish_time":1738239066333},"2.1.2":{"name":"react-use-measure","version":"2.1.2","description":"Utility to measure view bounds","keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"homepage":"https://github.com/pmndrs/react-use-measure","repository":{"type":"git","url":"https://github.com/pmndrs/react-use-measure"},"license":"MIT","type":"module","types":"./dist/index.d.ts","main":"./dist/index.cjs","module":"./dist/index.js","exports":{"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"sideEffects":false,"devDependencies":{"@testing-library/dom":"^10.4.0","@testing-library/react":"^16.2.0","@types/node":"^22.12.0","@types/react":"^19.0.8","@types/react-dom":"^19.0.3","@vitest/browser":"^3.0.4","playwright":"^1.50.0","react":"^19.0.0","react-dom":"^19.0.0","resize-observer-polyfill":"^1.5.1","typescript":"^5.7.3","vite":"^6.0.11","vitest":"^3.0.4"},"peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"scripts":{"postinstall":"npx playwright install","dev":"vite","build":"vite build","lint":"tsc","test":"vitest run"},"licenseText":"MIT License\n\nCopyright (c) 2019-2025 Poimandres\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.\n","_id":"react-use-measure@2.1.2","dist":{"shasum":"480d24d561e9d661d61d2a53393e747f4ef4e344","size":8198,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.1.2.tgz"},"_npmUser":{"name":"codyjasonbennett","email":"hi@codyb.co"},"directories":{},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-use-measure_2.1.2_1738238685690_0.3570322300665947"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-30T12:04:45.900Z","publish_time":1738238685900,"_source_registry_name":"default","hasInstallScript":true,"_cnpm_publish_time":1738238685900},"2.1.1":{"name":"react-use-measure","version":"2.1.1","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"karma start --single-run","test:watch":"karma start","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"pretty-quick"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"bracketSameLine":true,"tabWidth":2,"printWidth":120},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"contributors":[{"name":"Erik Verweij","email":"info@erikverweij.com","url":"https://github.com/everweij"}],"license":"MIT","peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"devDependencies":{"@babel/core":"7.16.0","@babel/plugin-transform-modules-commonjs":"7.16.0","@babel/plugin-transform-parameters":"7.16.3","@babel/plugin-transform-runtime":"7.16.4","@babel/plugin-transform-template-literals":"7.16.0","@babel/preset-env":"7.16.4","@babel/preset-react":"7.16.0","@babel/preset-typescript":"^7.16.0","@babel/register":"^7.16.0","@testing-library/react":"^12.1.2","@types/debounce":"^1.2.1","@types/expect":"^24.3.0","@types/lodash-es":"^4.17.5","@types/mocha":"^9.0.0","@types/node":"^16.11.10","@types/react":"^17.0.37","@types/react-dom":"^17.0.11","@types/styled-components":"^5.1.15","@typescript-eslint/eslint-plugin":"^5.4.0","@typescript-eslint/parser":"^5.4.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","constants-browserify":"^1.0.0","eslint":"^8.3.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.3","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","expect":"^27.3.1","husky":"^4.3.8","karma":"^6.3.9","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^5.0.0","mocha":"^9.1.3","path-browserify":"^1.0.1","prettier":"^2.5.0","pretty-quick":"^3.1.2","puppeteer":"^11.0.0","react":"^17.0.2","react-dom":"^17.0.2","resize-observer-polyfill":"^1.5.1","rimraf":"^3.0.2","rollup":"^2.60.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.12.0","stream-browserify":"^3.0.0","styled-components":"^5.3.3","typescript":"^4.5.2","webpack":"^5.64.4"},"dependencies":{"debounce":"^1.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2019 Paul Henschel\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.\n","_id":"react-use-measure@2.1.1","dist":{"shasum":"5824537f4ee01c9469c45d5f7a8446177c6cc4ba","size":49528,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.1.1.tgz"},"_npmUser":{"name":"hunterhcaron","email":"hunter@framer.com"},"directories":{},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_2.1.1_1637951873552_0.7008135239082425"},"_hasShrinkwrap":false,"publish_time":1637951873717,"_cnpm_publish_time":1637951873717,"_cnpmcore_publish_time":"2021-12-16T10:52:14.848Z"},"2.1.0":{"name":"react-use-measure","version":"2.1.0","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"karma start --single-run","test:watch":"karma start","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"pretty-quick"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"contributors":[{"name":"Erik Verweij","email":"info@erikverweij.com","url":"https://github.com/everweij"}],"license":"MIT","peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"devDependencies":{"@babel/core":"7.16.0","@babel/plugin-transform-modules-commonjs":"7.16.0","@babel/plugin-transform-parameters":"7.16.3","@babel/plugin-transform-runtime":"7.16.4","@babel/plugin-transform-template-literals":"7.16.0","@babel/preset-env":"7.16.4","@babel/preset-react":"7.16.0","@babel/preset-typescript":"^7.16.0","@babel/register":"^7.16.0","@testing-library/react":"^12.1.2","@types/debounce":"^1.2.1","@types/expect":"^24.3.0","@types/lodash-es":"^4.17.5","@types/mocha":"^9.0.0","@types/node":"^16.11.10","@types/react":"^17.0.37","@types/react-dom":"^17.0.11","@types/styled-components":"^5.1.15","@typescript-eslint/eslint-plugin":"^5.4.0","@typescript-eslint/parser":"^5.4.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","constants-browserify":"^1.0.0","eslint":"^8.3.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.3","eslint-plugin-react":"^7.27.1","eslint-plugin-react-hooks":"^4.3.0","expect":"^27.3.1","husky":"^4.3.8","karma":"^6.3.9","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^5.0.0","mocha":"^9.1.3","path-browserify":"^1.0.1","prettier":"^2.5.0","pretty-quick":"^3.1.2","puppeteer":"^11.0.0","react":"^17.0.2","react-dom":"^17.0.2","resize-observer-polyfill":"^1.5.1","rimraf":"^3.0.2","rollup":"^2.60.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.12.0","stream-browserify":"^3.0.0","styled-components":"^5.3.3","typescript":"^4.5.2","webpack":"^5.64.4"},"dependencies":{"debounce":"^1.2.1"},"gitHead":"048ceb2e62b64d7a6e63312c77226783d8bf002a","_id":"react-use-measure@2.1.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"ac543303ce6c31f45d1a13af1b8e969263b2de9f","size":257515,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.1.0.tgz"},"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_2.1.0_1637917396323_0.03008415337311443"},"_hasShrinkwrap":false,"publish_time":1637917396516,"_cnpm_publish_time":1637917396516,"_cnpmcore_publish_time":"2021-12-16T10:52:16.586Z"},"2.0.4":{"name":"react-use-measure","version":"2.0.4","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"karma start --single-run","test:watch":"karma start","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"pretty-quick"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"contributors":[{"name":"Erik Verweij","email":"info@erikverweij.com","url":"https://github.com/everweij"}],"license":"MIT","peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"devDependencies":{"@babel/core":"7.10.2","@babel/plugin-transform-modules-commonjs":"7.10.1","@babel/plugin-transform-parameters":"7.10.1","@babel/plugin-transform-runtime":"7.10.1","@babel/plugin-transform-template-literals":"7.10.1","@babel/preset-env":"7.10.2","@babel/preset-react":"7.10.1","@babel/preset-typescript":"^7.10.1","@babel/register":"^7.10.1","@testing-library/react":"^10.2.1","@types/debounce":"^1.2.0","@types/expect":"^24.3.0","@types/lodash-es":"^4.17.3","@types/mocha":"^7.0.2","@types/react":"^16.9.35","@types/react-dom":"^16.9.8","@types/styled-components":"^5.1.0","@typescript-eslint/eslint-plugin":"^3.1.0","@typescript-eslint/parser":"^3.1.0","babel-eslint":"^10.1.0","babel-loader":"^8.1.0","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^7.2.0","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.20.2","eslint-plugin-react":"^7.20.0","eslint-plugin-react-hooks":"^4.0.4","expect":"^26.0.1","husky":"^4.2.5","karma":"^5.0.9","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","mocha":"^7.2.0","prettier":"^2.0.5","pretty-quick":"^2.0.1","puppeteer":"^3.3.0","react":"^16.11.0","react-dom":"^16.11.0","resize-observer-polyfill":"^1.5.1","rimraf":"^3.0.2","rollup":"^2.13.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.12.0","styled-components":"^5.1.1","typescript":"^3.9.5","webpack":"^4.43.0"},"dependencies":{"debounce":"^1.2.0"},"gitHead":"709c19e43329bd4e128d3482f8f23474cc6f2cb0","_id":"react-use-measure@2.0.4","_nodeVersion":"15.8.0","_npmVersion":"7.5.0","dist":{"shasum":"cb675b36eaeaf3681b94d5f5e08b2a1e081fedc9","size":218628,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.0.4.tgz"},"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_2.0.4_1616077205195_0.17495660091983"},"_hasShrinkwrap":false,"publish_time":1616077205397,"_cnpm_publish_time":1616077205397,"_cnpmcore_publish_time":"2021-12-16T10:52:17.885Z"},"2.0.3":{"name":"react-use-measure","version":"2.0.3","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"karma start --single-run","test:watch":"karma start","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"pretty-quick"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"contributors":[{"name":"Erik Verweij","email":"info@erikverweij.com","url":"https://github.com/everweij"}],"license":"MIT","peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"devDependencies":{"@babel/core":"7.10.2","@babel/plugin-transform-modules-commonjs":"7.10.1","@babel/plugin-transform-parameters":"7.10.1","@babel/plugin-transform-runtime":"7.10.1","@babel/plugin-transform-template-literals":"7.10.1","@babel/preset-env":"7.10.2","@babel/preset-react":"7.10.1","@babel/preset-typescript":"^7.10.1","@babel/register":"^7.10.1","@testing-library/react":"^10.2.1","@types/debounce":"^1.2.0","@types/expect":"^24.3.0","@types/lodash-es":"^4.17.3","@types/mocha":"^7.0.2","@types/react":"^16.9.35","@types/react-dom":"^16.9.8","@types/styled-components":"^5.1.0","@typescript-eslint/eslint-plugin":"^3.1.0","@typescript-eslint/parser":"^3.1.0","babel-eslint":"^10.1.0","babel-loader":"^8.1.0","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^7.2.0","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.20.2","eslint-plugin-react":"^7.20.0","eslint-plugin-react-hooks":"^4.0.4","expect":"^26.0.1","husky":"^4.2.5","karma":"^5.0.9","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","mocha":"^7.2.0","prettier":"^2.0.5","pretty-quick":"^2.0.1","puppeteer":"^3.3.0","react":"^16.11.0","react-dom":"^16.11.0","resize-observer-polyfill":"^1.5.1","rimraf":"^3.0.2","rollup":"^2.13.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.12.0","styled-components":"^5.1.1","typescript":"^3.9.5","webpack":"^4.43.0"},"dependencies":{"debounce":"^1.2.0"},"gitHead":"276be156203485ba1c1fec9c60fd7d296abe51b3","_id":"react-use-measure@2.0.3","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"shasum":"7b56ae3ca19ccf62326933678625a8ff6b3f90a3","size":218759,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.0.3.tgz"},"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_2.0.3_1604921484482_0.43806518235733183"},"_hasShrinkwrap":false,"publish_time":1604921484782,"_cnpm_publish_time":1604921484782,"_cnpmcore_publish_time":"2021-12-16T10:52:18.520Z"},"2.0.2":{"name":"react-use-measure","version":"2.0.2","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"karma start --single-run","test:watch":"karma start","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"pretty-quick"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"contributors":[{"name":"Erik Verweij","email":"info@erikverweij.com","url":"https://github.com/everweij"}],"license":"MIT","peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"devDependencies":{"@babel/core":"7.10.2","@babel/plugin-transform-modules-commonjs":"7.10.1","@babel/plugin-transform-parameters":"7.10.1","@babel/plugin-transform-runtime":"7.10.1","@babel/plugin-transform-template-literals":"7.10.1","@babel/preset-env":"7.10.2","@babel/preset-react":"7.10.1","@babel/preset-typescript":"^7.10.1","@babel/register":"^7.10.1","@testing-library/react":"^10.2.1","@types/debounce":"^1.2.0","@types/expect":"^24.3.0","@types/lodash-es":"^4.17.3","@types/mocha":"^7.0.2","@types/react":"^16.9.35","@types/react-dom":"^16.9.8","@types/styled-components":"^5.1.0","@typescript-eslint/eslint-plugin":"^3.1.0","@typescript-eslint/parser":"^3.1.0","babel-eslint":"^10.1.0","babel-loader":"^8.1.0","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^7.2.0","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.20.2","eslint-plugin-react":"^7.20.0","eslint-plugin-react-hooks":"^4.0.4","expect":"^26.0.1","husky":"^4.2.5","karma":"^5.0.9","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","mocha":"^7.2.0","prettier":"^2.0.5","pretty-quick":"^2.0.1","puppeteer":"^3.3.0","react":"^16.11.0","react-dom":"^16.11.0","resize-observer-polyfill":"^1.5.1","rimraf":"^3.0.2","rollup":"^2.13.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.12.0","styled-components":"^5.1.1","typescript":"^3.9.5","webpack":"^4.43.0"},"dependencies":{"debounce":"^1.2.0"},"gitHead":"28880ec7b4e19a098fc79960ee6cfe5b64527729","_id":"react-use-measure@2.0.2","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"shasum":"06b4f99b887d5dfcd7b7167a2da063d97ec8f62f","size":218597,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.0.2.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_2.0.2_1601573584880_0.07065957968696623"},"_hasShrinkwrap":false,"publish_time":1601573585023,"_cnpm_publish_time":1601573585023,"_cnpmcore_publish_time":"2021-12-16T10:52:19.260Z"},"2.0.1":{"name":"react-use-measure","version":"2.0.1","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"karma start --single-run","test:watch":"karma start","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"pretty-quick"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"contributors":[{"name":"Erik Verweij","email":"info@erikverweij.com","url":"https://github.com/everweij"}],"license":"MIT","peerDependencies":{"react":">=16.13","react-dom":">=16.13"},"devDependencies":{"@babel/core":"7.10.2","@babel/plugin-transform-modules-commonjs":"7.10.1","@babel/plugin-transform-parameters":"7.10.1","@babel/plugin-transform-runtime":"7.10.1","@babel/plugin-transform-template-literals":"7.10.1","@babel/preset-env":"7.10.2","@babel/preset-react":"7.10.1","@babel/preset-typescript":"^7.10.1","@babel/register":"^7.10.1","@testing-library/react":"^10.2.1","@types/debounce":"^1.2.0","@types/expect":"^24.3.0","@types/lodash-es":"^4.17.3","@types/mocha":"^7.0.2","@types/react":"^16.9.35","@types/react-dom":"^16.9.8","@types/styled-components":"^5.1.0","@typescript-eslint/eslint-plugin":"^3.1.0","@typescript-eslint/parser":"^3.1.0","babel-eslint":"^10.1.0","babel-loader":"^8.1.0","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^7.2.0","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.20.2","eslint-plugin-react":"^7.20.0","eslint-plugin-react-hooks":"^4.0.4","expect":"^26.0.1","husky":"^4.2.5","karma":"^5.0.9","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","mocha":"^7.2.0","prettier":"^2.0.5","pretty-quick":"^2.0.1","puppeteer":"^3.3.0","react":"^16.11.0","react-dom":"^16.11.0","resize-observer-polyfill":"^1.5.1","rimraf":"^3.0.2","rollup":"^2.13.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.12.0","styled-components":"^5.1.1","typescript":"^3.9.5","webpack":"^4.43.0"},"dependencies":{"debounce":"^1.2.0"},"gitHead":"d4f524547b12cc83741e2677f8b09c5df70ccf72","_id":"react-use-measure@2.0.1","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"shasum":"4f23f94c832cd4512da55acb300d1915dcbf3ae8","size":218610,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.0.1.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_2.0.1_1591466884139_0.33146441159301077"},"_hasShrinkwrap":false,"publish_time":1591466884284,"_cnpm_publish_time":1591466884284,"_cnpmcore_publish_time":"2021-12-16T10:52:20.166Z"},"2.0.0":{"name":"react-use-measure","version":"2.0.0","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen && npm run test && node ssr-test","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"karma start --single-run","test:watch":"karma start","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"pretty-quick"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"contributors":[{"name":"Erik Verweij","email":"info@erikverweij.com","url":"https://github.com/everweij"}],"license":"MIT","peerDependencies":{"react":">=16.11","react-dom":">=16.11"},"devDependencies":{"@babel/core":"7.6.4","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-transform-parameters":"7.4.4","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-template-literals":"7.4.4","@babel/preset-env":"7.6.3","@babel/preset-react":"7.6.3","@babel/preset-typescript":"^7.6.0","@babel/register":"^7.7.0","@testing-library/react":"^9.3.2","@types/debounce":"^1.2.0","@types/expect":"^1.20.4","@types/lodash-es":"^4.17.3","@types/mocha":"^5.2.7","@types/react":"^16.9.11","@types/react-dom":"^16.9.3","@types/styled-components":"^4.1.20","@typescript-eslint/eslint-plugin":"^2.6.0","@typescript-eslint/parser":"^2.6.0","babel-eslint":"^10.0.3","babel-loader":"^8.0.6","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^6.6.0","eslint-config-prettier":"^6.5.0","eslint-plugin-import":"^2.18.2","eslint-plugin-react":"^7.16.0","eslint-plugin-react-hooks":"^2.2.0","expect":"^24.9.0","husky":"^3.0.9","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","mocha":"^6.2.2","prettier":"^1.18.2","pretty-quick":"^2.0.0","puppeteer":"^2.0.0","react":"^16.11.0","react-dom":"^16.11.0","resize-observer-polyfill":"^1.5.1","rimraf":"^3.0.0","rollup":"^1.26.3","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.10.0","styled-components":"^4.4.1","typescript":"^3.6.4","webpack":"^4.41.2"},"dependencies":{"debounce":"^1.2.0"},"gitHead":"9ee5f18ecc9e0474e8fdc30c56d61548026dcf16","_id":"react-use-measure@2.0.0","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"shasum":"f49b5cbde4cc18f5061d726a8a3db9fcd2244998","size":218563,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-2.0.0.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_2.0.0_1573236207607_0.48521585235083986"},"_hasShrinkwrap":false,"publish_time":1573236207892,"_cnpm_publish_time":1573236207892,"_cnpmcore_publish_time":"2021-12-16T10:52:21.330Z"},"1.1.2":{"name":"react-use-measure","version":"1.1.2","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"echo \"Error: no test specified\" && exit 1","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"pretty-quick"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"contributors":[{"name":"Erik Verweij","email":"info@erikverweij.com","url":"https://github.com/everweij"}],"license":"MIT","peerDependencies":{"react":">=16.11","react-dom":">=16.11"},"devDependencies":{"@babel/core":"7.6.4","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-transform-parameters":"7.4.4","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-template-literals":"7.4.4","@babel/preset-env":"7.6.3","@babel/preset-react":"7.6.3","@babel/preset-typescript":"^7.6.0","@types/debounce":"^1.2.0","@types/lodash-es":"^4.17.3","@types/react":"^16.9.11","@types/react-dom":"^16.9.3","@typescript-eslint/eslint-plugin":"^2.6.0","@typescript-eslint/parser":"^2.6.0","babel-eslint":"^10.0.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^6.6.0","eslint-config-prettier":"^6.5.0","eslint-plugin-import":"^2.18.2","eslint-plugin-react":"^7.16.0","eslint-plugin-react-hooks":"^2.2.0","husky":"^3.0.9","prettier":"^1.18.2","pretty-quick":"^2.0.0","react":"^16.11.0","react-dom":"^16.11.0","rimraf":"^3.0.0","rollup":"^1.26.3","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.10.0","typescript":"^3.6.4"},"dependencies":{"@juggle/resize-observer":"^2.4.0","debounce":"^1.2.0","resize-observer-polyfill":"^1.5.1"},"gitHead":"f8dc87e1d191a70c9f4c840968a77b2029a79f88","_id":"react-use-measure@1.1.2","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"shasum":"65d8fd8305a7152fdda9a1c946122d77f6fc6247","size":215677,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-1.1.2.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_1.1.2_1572963045600_0.9743514498170223"},"_hasShrinkwrap":false,"publish_time":1572963045789,"_cnpm_publish_time":1572963045789,"_cnpmcore_publish_time":"2021-12-16T10:52:22.206Z"},"1.1.1":{"name":"react-use-measure","version":"1.1.1","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"echo \"Error: no test specified\" && exit 1","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"pretty-quick"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"contributors":[{"name":"Erik Verweij","email":"info@erikverweij.com","url":"https://github.com/everweij"}],"license":"MIT","peerDependencies":{"react":">=16.11","react-dom":">=16.11"},"devDependencies":{"@babel/core":"7.6.4","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-transform-parameters":"7.4.4","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-template-literals":"7.4.4","@babel/preset-env":"7.6.3","@babel/preset-react":"7.6.3","@babel/preset-typescript":"^7.6.0","@types/debounce":"^1.2.0","@types/lodash-es":"^4.17.3","@types/react":"^16.9.11","@types/react-dom":"^16.9.3","@typescript-eslint/eslint-plugin":"^2.6.0","@typescript-eslint/parser":"^2.6.0","babel-eslint":"^10.0.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^6.6.0","eslint-config-prettier":"^6.5.0","eslint-plugin-import":"^2.18.2","eslint-plugin-react":"^7.16.0","eslint-plugin-react-hooks":"^2.2.0","husky":"^3.0.9","prettier":"^1.18.2","pretty-quick":"^2.0.0","react":"^16.11.0","react-dom":"^16.11.0","rimraf":"^3.0.0","rollup":"^1.26.3","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.10.0","typescript":"^3.6.4"},"dependencies":{"debounce":"^1.2.0","resize-observer-polyfill":"^1.5.1"},"gitHead":"1c1f428ac75208df29474792dbabeaf2d876b028","_id":"react-use-measure@1.1.1","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"shasum":"1c5d4071e3fd9f71527f6abe34b315a1e69dcb29","size":215641,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-1.1.1.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_1.1.1_1572871429758_0.9806240184649575"},"_hasShrinkwrap":false,"publish_time":1572871429924,"_cnpm_publish_time":1572871429924,"_cnpmcore_publish_time":"2021-12-16T10:52:22.910Z"},"1.1.0":{"name":"react-use-measure","version":"1.1.0","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"echo \"Error: no test specified\" && exit 1","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"pretty-quick"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"contributors":[{"name":"Erik Verweij","email":"info@erikverweij.com","url":"https://github.com/everweij"}],"license":"MIT","peerDependencies":{"react":">=16.11","react-dom":">=16.11"},"devDependencies":{"@babel/core":"7.6.4","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-transform-parameters":"7.4.4","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-template-literals":"7.4.4","@babel/preset-env":"7.6.3","@babel/preset-react":"7.6.3","@babel/preset-typescript":"^7.6.0","@types/debounce":"^1.2.0","@types/lodash-es":"^4.17.3","@types/react":"^16.9.11","@types/react-dom":"^16.9.3","@typescript-eslint/eslint-plugin":"^2.6.0","@typescript-eslint/parser":"^2.6.0","babel-eslint":"^10.0.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^6.6.0","eslint-config-prettier":"^6.5.0","eslint-plugin-import":"^2.18.2","eslint-plugin-react":"^7.16.0","eslint-plugin-react-hooks":"^2.2.0","husky":"^3.0.9","prettier":"^1.18.2","pretty-quick":"^2.0.0","react":"^16.11.0","react-dom":"^16.11.0","rimraf":"^3.0.0","rollup":"^1.26.3","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.10.0","typescript":"^3.6.4"},"dependencies":{"debounce":"^1.2.0","resize-observer-polyfill":"^1.5.1"},"gitHead":"82251ea8253d5c6572c404c2cf5ba497966a30bd","_id":"react-use-measure@1.1.0","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"shasum":"dde8e53aa8f19169f3c1e1d4cfff227334a6bf69","size":215074,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-1.1.0.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_1.1.0_1572799799654_0.2512882340886742"},"_hasShrinkwrap":false,"publish_time":1572799799839,"_cnpm_publish_time":1572799799839,"_cnpmcore_publish_time":"2021-12-16T10:52:23.761Z"},"1.0.6":{"name":"react-use-measure","version":"1.0.6","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"echo \"Error: no test specified\" && exit 1","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"pretty-quick"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"license":"MIT","peerDependencies":{"react":">=16.11","react-dom":">=16.11"},"devDependencies":{"@babel/core":"7.6.4","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-transform-parameters":"7.4.4","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-template-literals":"7.4.4","@babel/preset-env":"7.6.3","@babel/preset-react":"7.6.3","@babel/preset-typescript":"^7.6.0","@types/debounce":"^1.2.0","@types/lodash-es":"^4.17.3","@types/react":"^16.9.11","@types/react-dom":"^16.9.3","@typescript-eslint/eslint-plugin":"^2.6.0","@typescript-eslint/parser":"^2.6.0","babel-eslint":"^10.0.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^6.6.0","eslint-config-prettier":"^6.5.0","eslint-plugin-import":"^2.18.2","eslint-plugin-react":"^7.16.0","eslint-plugin-react-hooks":"^2.2.0","husky":"^3.0.9","prettier":"^1.18.2","pretty-quick":"^2.0.0","react":"^16.11.0","react-dom":"^16.11.0","rimraf":"^3.0.0","rollup":"^1.26.3","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.10.0","typescript":"^3.6.4"},"dependencies":{"debounce":"^1.2.0","resize-observer-polyfill":"^1.5.1"},"gitHead":"5db424f6c3f67b0b63a2714c71d283a0ecfce76d","_id":"react-use-measure@1.0.6","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"shasum":"dcd9db5946693e5622ae8dafa4021f09c0255010","size":214115,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-1.0.6.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_1.0.6_1572793295038_0.062480028955135936"},"_hasShrinkwrap":false,"publish_time":1572793295231,"_cnpm_publish_time":1572793295231,"_cnpmcore_publish_time":"2021-12-16T10:52:24.491Z"},"1.0.5":{"name":"react-use-measure","version":"1.0.5","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"echo \"Error: no test specified\" && exit 1","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"lint-staged":{"*.{js,jsx,ts,tsx}":["prettier --write","git add"]},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"license":"MIT","peerDependencies":{"react":">=16.11","react-dom":">=16.11"},"devDependencies":{"@babel/core":"7.6.4","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-transform-parameters":"7.4.4","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-template-literals":"7.4.4","@babel/preset-env":"7.6.3","@babel/preset-react":"7.6.3","@babel/preset-typescript":"^7.6.0","@types/debounce":"^1.2.0","@types/lodash-es":"^4.17.3","@types/react":"^16.9.9","@typescript-eslint/eslint-plugin":"^2.5.0","@typescript-eslint/parser":"^2.5.0","babel-eslint":"^10.0.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^6.5.1","eslint-config-prettier":"^6.4.0","eslint-plugin-import":"^2.18.2","eslint-plugin-react":"^7.16.0","eslint-plugin-react-hooks":"^2.2.0","husky":"^3.0.9","lint-staged":"^9.4.2","prettier":"^1.18.2","react":"^16.11.0","react-dom":"^16.11.0","rimraf":"^3.0.0","rollup":"^1.25.2","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.10.0","typescript":"^3.6.4"},"dependencies":{"debounce":"^1.2.0","resize-observer-polyfill":"^1.5.1"},"gitHead":"c360ea64414f6659770b35a843455b97c4614e09","_id":"react-use-measure@1.0.5","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"shasum":"0aa8546ae0c6e411a5b1e61fc4be2d5a82cdd17f","size":307839,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-1.0.5.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_1.0.5_1572781455773_0.9923207698832717"},"_hasShrinkwrap":false,"publish_time":1572781455908,"_cnpm_publish_time":1572781455908,"_cnpmcore_publish_time":"2021-12-16T10:52:25.126Z"},"1.0.4":{"name":"react-use-measure","version":"1.0.4","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"echo \"Error: no test specified\" && exit 1","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"lint-staged":{"*.{js,jsx,ts,tsx}":["prettier --write","git add"]},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"license":"MIT","peerDependencies":{"react":">=16.11","react-dom":">=16.11"},"devDependencies":{"@babel/core":"7.6.4","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-transform-parameters":"7.4.4","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-template-literals":"7.4.4","@babel/preset-env":"7.6.3","@babel/preset-react":"7.6.3","@babel/preset-typescript":"^7.6.0","@types/lodash-es":"^4.17.3","@types/react":"^16.9.9","@typescript-eslint/eslint-plugin":"^2.5.0","@typescript-eslint/parser":"^2.5.0","babel-eslint":"^10.0.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^6.5.1","eslint-config-prettier":"^6.4.0","eslint-plugin-import":"^2.18.2","eslint-plugin-react":"^7.16.0","eslint-plugin-react-hooks":"^2.2.0","husky":"^3.0.9","lint-staged":"^9.4.2","prettier":"^1.18.2","react":"^16.11.0","react-dom":"^16.11.0","rimraf":"^3.0.0","rollup":"^1.25.2","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.10.0","typescript":"^3.6.4"},"gitHead":"b4e5c2a367949fcf4387c4f3ec3d09d4bcb79902","_id":"react-use-measure@1.0.4","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"shasum":"296e756a6830371d1074774ca699819302e287b5","size":4330,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-1.0.4.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_1.0.4_1572644175711_0.1755266182531814"},"_hasShrinkwrap":false,"publish_time":1572644186329,"_cnpm_publish_time":1572644186329,"_cnpmcore_publish_time":"2021-12-16T10:52:25.349Z"},"1.0.3":{"name":"react-use-measure","version":"1.0.3","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"echo \"Error: no test specified\" && exit 1","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"lint-staged":{"*.{js,jsx,ts,tsx}":["prettier --write","git add"]},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"license":"MIT","peerDependencies":{"react":">=16.11","react-dom":">=16.11"},"devDependencies":{"@babel/core":"7.6.4","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-transform-parameters":"7.4.4","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-template-literals":"7.4.4","@babel/preset-env":"7.6.3","@babel/preset-react":"7.6.3","@babel/preset-typescript":"^7.6.0","@types/lodash-es":"^4.17.3","@types/react":"^16.9.9","@typescript-eslint/eslint-plugin":"^2.5.0","@typescript-eslint/parser":"^2.5.0","babel-eslint":"^10.0.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^6.5.1","eslint-config-prettier":"^6.4.0","eslint-plugin-import":"^2.18.2","eslint-plugin-react":"^7.16.0","eslint-plugin-react-hooks":"^2.2.0","husky":"^3.0.9","lint-staged":"^9.4.2","prettier":"^1.18.2","react":"^16.11.0","react-dom":"^16.11.0","rimraf":"^3.0.0","rollup":"^1.25.2","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.10.0","typescript":"^3.6.4"},"gitHead":"27817e88aff26086e3ab5cb3dd35ea2beeccd445","_id":"react-use-measure@1.0.3","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"shasum":"9872ae4540645359a19eb82e17034ec5ca84495e","size":4241,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-1.0.3.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_1.0.3_1572609218697_0.19657114191286973"},"_hasShrinkwrap":false,"publish_time":1572609218843,"_cnpm_publish_time":1572609218843,"_cnpmcore_publish_time":"2021-12-16T10:52:25.550Z"},"1.0.2":{"name":"react-use-measure","version":"1.0.2","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"echo \"Error: no test specified\" && exit 1","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"lint-staged":{"*.{js,jsx,ts,tsx}":["prettier --write","git add"]},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"license":"MIT","peerDependencies":{"react":">=16.11","react-dom":">=16.11"},"devDependencies":{"@babel/core":"7.6.4","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-transform-parameters":"7.4.4","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-template-literals":"7.4.4","@babel/preset-env":"7.6.3","@babel/preset-react":"7.6.3","@babel/preset-typescript":"^7.6.0","@types/lodash-es":"^4.17.3","@types/react":"^16.9.9","@typescript-eslint/eslint-plugin":"^2.5.0","@typescript-eslint/parser":"^2.5.0","babel-eslint":"^10.0.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^6.5.1","eslint-config-prettier":"^6.4.0","eslint-plugin-import":"^2.18.2","eslint-plugin-react":"^7.16.0","eslint-plugin-react-hooks":"^2.2.0","husky":"^3.0.9","lint-staged":"^9.4.2","prettier":"^1.18.2","react":"^16.11.0","react-dom":"^16.11.0","rimraf":"^3.0.0","rollup":"^1.25.2","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.10.0","typescript":"^3.6.4"},"gitHead":"ada9ac4d5214339b2e440482d5bab1e4e7919cfc","_id":"react-use-measure@1.0.2","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"shasum":"95a7878ffb3cdadbe3f21bb387635948672d94bd","size":3721,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-1.0.2.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_1.0.2_1572608483203_0.5934897435020774"},"_hasShrinkwrap":false,"publish_time":1572608483355,"_cnpm_publish_time":1572608483355,"_cnpmcore_publish_time":"2021-12-16T10:52:25.808Z"},"1.0.1":{"name":"react-use-measure","version":"1.0.1","description":"measure view bounds","main":"./dist/web.cjs.js","module":"./dist/web.js","types":"./types/src/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist && npm run typegen","build":"rollup -c","prepare":"npm run build","eslint":"eslint src/**/*.{js,ts,jsx,tsx}","test":"echo \"Error: no test specified\" && exit 1","typecheck":"tsc --noEmit --strict --jsx react src/*","typegen":"tsc || true && prettier types/**/** --write"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"prettier":{"semi":false,"trailingComma":"es5","singleQuote":true,"jsxBracketSameLine":true,"tabWidth":2,"printWidth":120},"lint-staged":{"*.{js,jsx,ts,tsx}":["prettier --write","git add"]},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"license":"MIT","peerDependencies":{"react":">=16.11","react-dom":">=16.11"},"devDependencies":{"@babel/core":"7.6.4","@babel/plugin-transform-modules-commonjs":"7.6.0","@babel/plugin-transform-parameters":"7.4.4","@babel/plugin-transform-runtime":"7.6.2","@babel/plugin-transform-template-literals":"7.4.4","@babel/preset-env":"7.6.3","@babel/preset-react":"7.6.3","@babel/preset-typescript":"^7.6.0","@types/lodash-es":"^4.17.3","@types/react":"^16.9.9","@typescript-eslint/eslint-plugin":"^2.5.0","@typescript-eslint/parser":"^2.5.0","babel-eslint":"^10.0.3","babel-plugin-transform-react-remove-prop-types":"^0.4.24","eslint":"^6.5.1","eslint-config-prettier":"^6.4.0","eslint-plugin-import":"^2.18.2","eslint-plugin-react":"^7.16.0","eslint-plugin-react-hooks":"^2.2.0","husky":"^3.0.9","lint-staged":"^9.4.2","prettier":"^1.18.2","react":"^16.11.0","react-dom":"^16.11.0","rimraf":"^3.0.0","rollup":"^1.25.2","rollup-plugin-babel":"^4.3.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-json":"^4.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-size-snapshot":"^0.10.0","typescript":"^3.6.4"},"gitHead":"1cfbd17126436194a5adf48bd4d7aa58a1e86db3","_id":"react-use-measure@1.0.1","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"shasum":"d796a55ad8f3b4da0e37895b01b4eb616840f159","size":3711,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-1.0.1.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_1.0.1_1572607930033_0.14935032040391705"},"_hasShrinkwrap":false,"publish_time":1572607930170,"_cnpm_publish_time":1572607930170,"_cnpmcore_publish_time":"2021-12-16T10:52:26.006Z"},"1.0.0":{"name":"react-use-measure","version":"1.0.0","description":"measure view bounds","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["react","use","measure","bounds","hooks"],"author":{"name":"Paul Henschel"},"license":"MIT","_id":"react-use-measure@1.0.0","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"shasum":"280b3549cbf92d983c3304830d8a7e66137df0a5","size":305,"noattachment":false,"key":"/react-use-measure/-/react-use-measure-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-use-measure/download/react-use-measure-1.0.0.tgz"},"maintainers":[{"name":"codyjasonbennett","email":""},{"name":"drcmda","email":""},{"name":"hunterhcaron","email":""}],"_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-measure_1.0.0_1572531497745_0.02403900991376884"},"_hasShrinkwrap":false,"publish_time":1572531497846,"_cnpm_publish_time":1572531497846,"_cnpmcore_publish_time":"2021-12-16T10:52:26.197Z"}},"readme":"<p align=\"center\">\r\n  <img height=\"400\" src=\"https://i.imgur.com/eMYYMla.jpg\" />\r\n</p>\r\n\r\n    yarn add react-use-measure\r\n\r\nThis small tool will measure the boundaries (for instance width, height, top, left) of a view you reference. It is reactive and responds to changes in size, window-scroll and nested-area-scroll.\r\n\r\n### Why do we need this hook?\r\n\r\nBecause there is [no simple way](https://stackoverflow.com/questions/442404/retrieve-the-position-x-y-of-an-html-element) to just get relative view coordinates. Yes, there is getBoundingClientRect, but it does not work when your content sits inside scroll areas whose offsets are simply neglected (as well as page scroll). Worse, mouse coordinates are relative to the viewport (the visible rect that contains the page). There is no easy way, for instance, to know that the mouse hovers over the upper/left corner of an element. This hook solves it for you.\r\n\r\nYou can try a live demo here: https://codesandbox.io/s/musing-kare-4fblz\r\n\r\n# Usage\r\n\r\n```jsx\r\nimport useMeasure from 'react-use-measure'\r\n\r\nfunction App() {\r\n  const [ref, bounds] = useMeasure()\r\n\r\n  // consider that knowing bounds is only possible *after* the view renders\r\n  // so you'll get zero values on the first run and be informed later\r\n\r\n  return <div ref={ref} />\r\n}\r\n```\r\n\r\n# Api\r\n\r\n```jsx\r\ninterface RectReadOnly {\r\n  readonly x: number\r\n  readonly y: number\r\n  readonly width: number\r\n  readonly height: number\r\n  readonly top: number\r\n  readonly right: number\r\n  readonly bottom: number\r\n  readonly left: number\r\n}\r\n\r\ntype Options = {\r\n  // Debounce events in milliseconds\r\n  debounce?: number | { scroll: number; resize: number }\r\n  // React to nested scroll changes, don't use this if you know your view is static\r\n  scroll?: boolean\r\n  // You can optionally inject a resize-observer polyfill\r\n  polyfill?: { new (cb: ResizeObserverCallback): ResizeObserver }\r\n  // Measure size using offsetHeight and offsetWidth to ignore parent scale transforms\r\n  offsetSize?: boolean\r\n}\r\n\r\nuseMeasure(\r\n  options: Options = { debounce: 0, scroll: false }\r\n): [React.MutableRefObject<HTMLElement | SVGElement>, RectReadOnly]\r\n```\r\n\r\n# ⚠️ Notes\r\n\r\n### Resize-observer polyfills\r\n\r\nThis lib relies on resize-observers. If you need a polyfill you can either polute the `window` object or inject it cleanly using the config options. We recommend [@juggle/resize-observer](https://github.com/juggle/resize-observer).\r\n\r\n```jsx\r\nimport { ResizeObserver } from '@juggle/resize-observer'\r\n\r\nfunction App() {\r\n  const [ref, bounds] = useMeasure({ polyfill: ResizeObserver })\r\n```\r\n\r\n### Multiple refs\r\n\r\nuseMeasure currently returns its own ref. We do this because we are using functional refs for unmount tracking. If you need to have a ref of your own on the same element, use [react-merge-refs](https://github.com/smooth-code/react-merge-refs).\r\n","_attachments":{},"homepage":"https://github.com/pmndrs/react-use-measure","license":"MIT"}