{"_id":"use-resize-observer","_rev":"3442304","name":"use-resize-observer","description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","dist-tags":{"alpha":"9.1.0-alpha.1","latest":"9.1.0"},"maintainers":[{"name":"zeecoder","email":""}],"time":{"modified":"2024-08-27T19:25:53.000Z","created":"2018-10-28T12:49:59.161Z","9.1.0":"2022-11-22T20:29:44.004Z","9.1.0-alpha.1":"2022-11-21T12:25:28.569Z","9.0.2":"2022-06-13T21:03:36.574Z","9.0.0":"2022-05-15T22:18:05.880Z","8.0.0":"2021-08-28T21:18:31.526Z","7.1.0":"2021-08-28T19:01:45.800Z","7.0.1":"2021-07-27T21:30:58.932Z","7.0.0":"2020-11-11T20:57:49.764Z","7.0.0-alpha.4":"2020-11-11T20:41:39.921Z","7.0.0-alpha.3":"2020-11-11T19:38:40.704Z","7.0.0-alpha.1":"2020-10-31T13:51:40.523Z","6.2.0-alpha.1":"2020-10-11T12:36:10.894Z","6.1.0":"2020-05-24T16:15:35.137Z","6.1.0-alpha.3":"2020-04-25T21:59:24.533Z","6.1.0-alpha.2":"2020-04-20T18:35:46.490Z","6.1.0-alpha.1":"2020-04-16T15:05:00.792Z","6.0.0":"2019-12-29T17:36:51.378Z","5.0.0":"2019-11-18T22:11:58.799Z","4.0.0":"2019-07-20T20:11:13.885Z","3.1.0":"2019-02-11T12:27:38.870Z","3.0.0":"2019-02-07T17:46:38.265Z","2.0.1":"2018-12-20T15:33:56.128Z","2.0.0":"2018-12-20T15:28:19.406Z","1.0.0":"2018-10-28T12:49:59.161Z"},"users":{},"author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"versions":{"9.1.0":{"name":"use-resize-observer","version":"9.1.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","keywords":["react","hook","react hook","resize observer","resize observer hook","resize observer react hook","use-resize-observer","useresizeobserver","resize hook","size hook","container query","css in js","measure","size","resize"],"scripts":{"build":"rollup -c && tsc && rm -rf dist/utils && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","check:lint":"eslint src/**","test":"run-s 'build' 'check:size' 'check:types' 'check:lint' 'test:unit' 'test:create:ssr' 'test:headless:chrome'","test:unit":"jest","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"KARMA_BROWSERS=Chrome karma start","prepublish":"yarn build","test:bs:all":"run-s 'test:bs:modern' 'test:bs:legacy'","test:bs:modern":"KARMA_BROWSERS=modern yarn karma:run","test:bs:legacy":"KARMA_BROWSERS=legacy yarn karma:run","test:bs:chrome":"KARMA_BROWSERS=bs_chrome_latest yarn karma:run","test:bs:firefox":"KARMA_BROWSERS=bs_firefox_latest yarn karma:run","test:bs:safari":"KARMA_BROWSERS=bs_safari_13 yarn karma:run","test:bs:edge":"KARMA_BROWSERS=bs_edge_latest yarn karma:run","test:bs:opera":"KARMA_BROWSERS=bs_opera_latest yarn karma:run","test:bs:ie":"KARMA_BROWSERS=bs_ie_11 yarn karma:run","test:bs:ios_11":"KARMA_BROWSERS=bs_ios_11 yarn karma:run","test:bs:ios_14":"KARMA_BROWSERS=bs_ios_14 yarn karma:run","test:bs:samsung":"KARMA_BROWSERS=bs_samsung yarn karma:run","prepare":"husky install"},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":"16.8.0 - 18","react-dom":"16.8.0 - 18"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@rollup/plugin-node-resolve":"^13.3.0","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.4","@semantic-release/npm":"^9.0.1","@semantic-release/release-notes-generator":"^10.0.3","@size-limit/preset-small-lib":"^5.0.1","@testing-library/react":"^13.1.1","@types/jest":"^28.1.1","@types/karma":"^6.3.1","@types/karma-jasmine":"^4.0.1","@types/react":"^18.0.8","@types/react-dom":"^18.0.3","@typescript-eslint/eslint-plugin":"^5.27.1","@typescript-eslint/parser":"^5.27.1","babel-loader":"^8.1.0","delay":"^5.0.0","eslint":"^8.17.0","eslint-plugin-react-hooks":"^4.5.0","husky":"^8.0.1","jest":"^28.1.1","jest-environment-jsdom":"^28.1.1","karma":"^6.3.4","karma-browserstack-launcher":"^1.6.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^2.1.1","karma-jasmine":"^4.0.0","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.34","karma-webpack":"^5.0.0","lint-staged":"^13.0.1","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^18.0.0","react-app-polyfill":"^3.0.0","react-dom":"^18.0.0","rollup":"^2.6.1","semantic-release":"^19.0.3","size-limit":"^5.0.1","ts-jest":"^28.0.4","typescript":"^4.3.5","webpack":"^4.1"},"dependencies":{"@juggle/resize-observer":"^3.3.1"},"gitHead":"12b662f8f2db276f019456ff96cfac39334adb60","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@9.1.0","_nodeVersion":"14.20.1","_npmVersion":"8.12.1","dist":{"shasum":"14735235cf3268569c1ea468f8a90c5789fc5c6c","size":14315,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-9.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-9.1.0.tgz"},"_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"directories":{},"maintainers":[{"name":"zeecoder","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_9.1.0_1669148983858_0.8210722477464012"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-22T20:38:16.230Z","publish_time":1669148984004,"_cnpm_publish_time":1669148984004},"9.1.0-alpha.1":{"name":"use-resize-observer","version":"9.1.0-alpha.1","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","keywords":["react","hook","react hook","resize observer","resize observer hook","resize observer react hook","use-resize-observer","useresizeobserver","resize hook","size hook","container query","css in js","measure","size","resize"],"scripts":{"build":"rollup -c && tsc && rm -rf dist/utils && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","check:lint":"eslint src/**","test":"run-s 'build' 'check:size' 'check:types' 'check:lint' 'test:unit' 'test:create:ssr' 'test:headless:chrome'","test:unit":"jest","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"KARMA_BROWSERS=Chrome karma start","prepublish":"yarn build","test:bs:all":"run-s 'test:bs:modern' 'test:bs:legacy'","test:bs:modern":"KARMA_BROWSERS=modern yarn karma:run","test:bs:legacy":"KARMA_BROWSERS=legacy yarn karma:run","test:bs:chrome":"KARMA_BROWSERS=bs_chrome_latest yarn karma:run","test:bs:firefox":"KARMA_BROWSERS=bs_firefox_latest yarn karma:run","test:bs:safari":"KARMA_BROWSERS=bs_safari_13 yarn karma:run","test:bs:edge":"KARMA_BROWSERS=bs_edge_latest yarn karma:run","test:bs:opera":"KARMA_BROWSERS=bs_opera_latest yarn karma:run","test:bs:ie":"KARMA_BROWSERS=bs_ie_11 yarn karma:run","test:bs:ios_11":"KARMA_BROWSERS=bs_ios_11 yarn karma:run","test:bs:ios_14":"KARMA_BROWSERS=bs_ios_14 yarn karma:run","test:bs:samsung":"KARMA_BROWSERS=bs_samsung yarn karma:run","prepare":"husky install"},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":"16.8.0 - 18","react-dom":"16.8.0 - 18"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@rollup/plugin-node-resolve":"^13.3.0","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.4","@semantic-release/npm":"^9.0.1","@semantic-release/release-notes-generator":"^10.0.3","@size-limit/preset-small-lib":"^5.0.1","@testing-library/react":"^13.1.1","@types/jest":"^28.1.1","@types/karma":"^6.3.1","@types/karma-jasmine":"^4.0.1","@types/react":"^18.0.8","@types/react-dom":"^18.0.3","@typescript-eslint/eslint-plugin":"^5.27.1","@typescript-eslint/parser":"^5.27.1","babel-loader":"^8.1.0","delay":"^5.0.0","eslint":"^8.17.0","eslint-plugin-react-hooks":"^4.5.0","husky":"^8.0.1","jest":"^28.1.1","jest-environment-jsdom":"^28.1.1","karma":"^6.3.4","karma-browserstack-launcher":"^1.6.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^2.1.1","karma-jasmine":"^4.0.0","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.34","karma-webpack":"^5.0.0","lint-staged":"^13.0.1","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^18.0.0","react-app-polyfill":"^3.0.0","react-dom":"^18.0.0","rollup":"^2.6.1","semantic-release":"^19.0.3","size-limit":"^5.0.1","ts-jest":"^28.0.4","typescript":"^4.3.5","webpack":"^4.1"},"dependencies":{"@juggle/resize-observer":"^3.3.1"},"readmeFilename":"README.md","gitHead":"c1803f110651e3dbf0e167ba91def96f42d546db","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@9.1.0-alpha.1","_nodeVersion":"14.20.1","_npmVersion":"8.12.1","dist":{"shasum":"37378b8b41e84e2f78d1c29549d43aa263beec74","size":14221,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-9.1.0-alpha.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-9.1.0-alpha.1.tgz"},"_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"directories":{},"maintainers":[{"name":"zeecoder","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_9.1.0-alpha.1_1669033528375_0.87053006701968"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-21T12:30:19.515Z","publish_time":1669033528569,"_cnpm_publish_time":1669033528569},"9.0.2":{"name":"use-resize-observer","version":"9.0.2","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","keywords":["react","hook","react hook","resize observer","resize observer hook","resize observer react hook","use-resize-observer","useresizeobserver","resize hook","size hook","container query","css in js","measure","size","resize"],"scripts":{"build":"rollup -c && tsc && rm -rf dist/utils && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","check:lint":"eslint src/**","test":"run-s 'build' 'check:size' 'check:types' 'check:lint' 'test:unit' 'test:create:ssr' 'test:headless:chrome'","test:unit":"jest","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"KARMA_BROWSERS=Chrome karma start","prepublish":"yarn build","test:bs:all":"run-s 'test:bs:modern' 'test:bs:legacy'","test:bs:modern":"KARMA_BROWSERS=modern yarn karma:run","test:bs:legacy":"KARMA_BROWSERS=legacy yarn karma:run","test:bs:chrome":"KARMA_BROWSERS=bs_chrome_latest yarn karma:run","test:bs:firefox":"KARMA_BROWSERS=bs_firefox_latest yarn karma:run","test:bs:safari":"KARMA_BROWSERS=bs_safari_13 yarn karma:run","test:bs:edge":"KARMA_BROWSERS=bs_edge_latest yarn karma:run","test:bs:opera":"KARMA_BROWSERS=bs_opera_latest yarn karma:run","test:bs:ie":"KARMA_BROWSERS=bs_ie_11 yarn karma:run","test:bs:ios_11":"KARMA_BROWSERS=bs_ios_11 yarn karma:run","test:bs:ios_14":"KARMA_BROWSERS=bs_ios_14 yarn karma:run","test:bs:samsung":"KARMA_BROWSERS=bs_samsung yarn karma:run","prepare":"husky install"},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":"16.8.0 - 18","react-dom":"16.8.0 - 18"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@rollup/plugin-node-resolve":"^13.3.0","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.4","@semantic-release/npm":"^9.0.1","@semantic-release/release-notes-generator":"^10.0.3","@size-limit/preset-small-lib":"^5.0.1","@testing-library/react":"^13.1.1","@types/jest":"^28.1.1","@types/karma":"^6.3.1","@types/karma-jasmine":"^4.0.1","@types/react":"^18.0.8","@types/react-dom":"^18.0.3","@typescript-eslint/eslint-plugin":"^5.27.1","@typescript-eslint/parser":"^5.27.1","babel-loader":"^8.1.0","delay":"^5.0.0","eslint":"^8.17.0","eslint-plugin-react-hooks":"^4.5.0","husky":"^8.0.1","jest":"^28.1.1","jest-environment-jsdom":"^28.1.1","karma":"^6.3.4","karma-browserstack-launcher":"^1.6.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^2.1.1","karma-jasmine":"^4.0.0","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.34","karma-webpack":"^5.0.0","lint-staged":"^13.0.1","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^18.0.0","react-app-polyfill":"^3.0.0","react-dom":"^18.0.0","rollup":"^2.6.1","semantic-release":"^19.0.3","size-limit":"^5.0.1","ts-jest":"^28.0.4","typescript":"^4.3.5","webpack":"^4.1"},"dependencies":{"@juggle/resize-observer":"^3.3.1"},"gitHead":"b5f1a536a9c759ba36562904599501247228fd83","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@9.0.2","_nodeVersion":"14.19.3","_npmVersion":"8.12.1","dist":{"shasum":"25830221933d9b6e931850023305eb9d24379a6b","size":14138,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-9.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-9.0.2.tgz"},"_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"directories":{},"maintainers":[{"name":"zeecoder","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_9.0.2_1655154216411_0.9326517752655874"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-13T21:05:26.597Z","publish_time":1655154216574,"_cnpm_publish_time":1655154216574},"9.0.0":{"name":"use-resize-observer","version":"9.0.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","keywords":["react","hook","react hook","resize observer","resize observer hook","resize observer react hook","use-resize-observer","useresizeobserver","resize hook","size hook","container query","css in js","measure","size","resize"],"scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:types' 'test:create:ssr' 'test:headless:chrome'","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"KARMA_BROWSERS=Chrome karma start","prepublish":"yarn build","test:bs:all":"run-s 'test:bs:modern' 'test:bs:legacy'","test:bs:modern":"KARMA_BROWSERS=modern yarn karma:run","test:bs:legacy":"KARMA_BROWSERS=legacy yarn karma:run","test:bs:chrome":"KARMA_BROWSERS=bs_chrome_latest yarn karma:run","test:bs:firefox":"KARMA_BROWSERS=bs_firefox_latest yarn karma:run","test:bs:safari":"KARMA_BROWSERS=bs_safari_13 yarn karma:run","test:bs:edge":"KARMA_BROWSERS=bs_edge_latest yarn karma:run","test:bs:opera":"KARMA_BROWSERS=bs_opera_latest yarn karma:run","test:bs:ie":"KARMA_BROWSERS=bs_ie_11 yarn karma:run","test:bs:ios_11":"KARMA_BROWSERS=bs_ios_11 yarn karma:run","test:bs:ios_14":"KARMA_BROWSERS=bs_ios_14 yarn karma:run","test:bs:samsung":"KARMA_BROWSERS=bs_samsung yarn karma:run","prepare":"husky install"},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":"16.8.0 - 18","react-dom":"16.8.0 - 18"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@semantic-release/changelog":"^5.0.1","@semantic-release/commit-analyzer":"^8.0.1","@semantic-release/git":"^9.0.0","@semantic-release/github":"^7.1.1","@semantic-release/npm":"^7.0.6","@semantic-release/release-notes-generator":"^9.0.1","@size-limit/preset-small-lib":"^5.0.1","@testing-library/react":"^13.1.1","@types/karma":"^6.3.1","@types/karma-jasmine":"^4.0.1","@types/react":"^18.0.8","@types/react-dom":"^18.0.3","babel-loader":"^8.1.0","delay":"^5.0.0","husky":"^7.0.0","karma":"^6.3.4","karma-browserstack-launcher":"^1.6.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^2.1.1","karma-jasmine":"^4.0.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^5.0.0","lint-staged":"^11.1.1","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^18.0.0","react-app-polyfill":"^2.0.0","react-dom":"^18.0.0","rollup":"^2.6.1","semantic-release":"^17.2.2","size-limit":"^5.0.1","typescript":"^4.3.5","webpack":"~4"},"dependencies":{"@juggle/resize-observer":"^3.3.1"},"gitHead":"2c2fa9e1e6e80b823992fd47c9fd04a0657c1312","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@9.0.0","_nodeVersion":"12.22.12","_npmVersion":"7.21.1","dist":{"shasum":"9708c6fa432f35979b1d6e732b6f4cffde3d11e5","size":13960,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-9.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-9.0.0.tgz"},"_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"directories":{},"maintainers":[{"name":"zeecoder","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_9.0.0_1652653085749_0.9085373673123716"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-15T22:18:09.045Z","publish_time":1652653085880,"_cnpm_publish_time":1652653085880},"8.0.0":{"name":"use-resize-observer","version":"8.0.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","keywords":["react","hook","react hook","resize observer","resize observer hook","resize observer react hook","use-resize-observer","useresizeobserver","resize hook","size hook","container query","css in js","measure","size","resize"],"scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:types' 'test:create:ssr' 'test:headless:chrome'","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"KARMA_BROWSERS=Chrome karma start","prepublish":"yarn build","test:bs:all":"run-s 'test:bs:modern' 'test:bs:legacy'","test:bs:modern":"KARMA_BROWSERS=modern yarn karma:run","test:bs:legacy":"KARMA_BROWSERS=legacy yarn karma:run","test:bs:chrome":"KARMA_BROWSERS=bs_chrome_latest yarn karma:run","test:bs:firefox":"KARMA_BROWSERS=bs_firefox_latest yarn karma:run","test:bs:safari":"KARMA_BROWSERS=bs_safari_13 yarn karma:run","test:bs:edge":"KARMA_BROWSERS=bs_edge_latest yarn karma:run","test:bs:opera":"KARMA_BROWSERS=bs_opera_latest yarn karma:run","test:bs:ie":"KARMA_BROWSERS=bs_ie_11 yarn karma:run","test:bs:ios_11":"KARMA_BROWSERS=bs_ios_11 yarn karma:run","test:bs:ios_14":"KARMA_BROWSERS=bs_ios_14 yarn karma:run","test:bs:samsung":"KARMA_BROWSERS=bs_samsung yarn karma:run","prepare":"husky install"},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@semantic-release/changelog":"^5.0.1","@semantic-release/commit-analyzer":"^8.0.1","@semantic-release/git":"^9.0.0","@semantic-release/github":"^7.1.1","@semantic-release/npm":"^7.0.6","@semantic-release/release-notes-generator":"^9.0.1","@size-limit/preset-small-lib":"^5.0.1","@testing-library/react":"^12.0.0","@types/karma":"^6.3.1","@types/karma-jasmine":"^4.0.1","@types/react":"^17.0.15","@types/react-dom":"^17.0.9","babel-loader":"^8.1.0","delay":"^5.0.0","husky":"^7.0.0","karma":"^6.3.4","karma-browserstack-launcher":"^1.6.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^2.1.1","karma-jasmine":"^4.0.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^5.0.0","lint-staged":"^11.1.1","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^17.0.2","react-app-polyfill":"^2.0.0","react-dom":"^17.0.2","rollup":"^2.6.1","semantic-release":"^17.2.2","size-limit":"^5.0.1","typescript":"^4.3.5","webpack":"~4"},"dependencies":{"@juggle/resize-observer":"^3.3.1"},"gitHead":"5b424126df7eaf002dcc5a5ad7ce3372d91b1a49","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@8.0.0","_nodeVersion":"12.22.5","_npmVersion":"7.21.1","dist":{"shasum":"69bd80c1ddd94f3758563fe107efb25fed85067a","size":13944,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-8.0.0.tgz"},"_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"directories":{},"maintainers":[{"name":"zeecoder","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_8.0.0_1630185511352_0.6517495146824959"},"_hasShrinkwrap":false,"publish_time":1630185511526,"_cnpm_publish_time":1630185511526,"_cnpmcore_publish_time":"2021-12-16T12:12:54.220Z"},"7.1.0":{"name":"use-resize-observer","version":"7.1.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","keywords":["react","hook","react hook","resize observer","resize observer hook","resize observer react hook","use-resize-observer","useresizeobserver","resize hook","size hook","container query","css in js","measure","size","resize"],"scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:types' 'test:create:ssr' 'test:headless:chrome'","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"KARMA_BROWSERS=Chrome karma start","prepublish":"yarn build","test:bs:all":"run-s 'test:bs:modern' 'test:bs:legacy'","test:bs:modern":"KARMA_BROWSERS=modern yarn karma:run","test:bs:legacy":"KARMA_BROWSERS=legacy yarn karma:run","test:bs:chrome":"KARMA_BROWSERS=bs_chrome_latest yarn karma:run","test:bs:firefox":"KARMA_BROWSERS=bs_firefox_latest yarn karma:run","test:bs:safari":"KARMA_BROWSERS=bs_safari_13 yarn karma:run","test:bs:edge":"KARMA_BROWSERS=bs_edge_latest yarn karma:run","test:bs:opera":"KARMA_BROWSERS=bs_opera_latest yarn karma:run","test:bs:ie":"KARMA_BROWSERS=bs_ie_11 yarn karma:run","test:bs:ios_11":"KARMA_BROWSERS=bs_ios_11 yarn karma:run","test:bs:ios_14":"KARMA_BROWSERS=bs_ios_14 yarn karma:run","test:bs:samsung":"KARMA_BROWSERS=bs_samsung yarn karma:run","prepare":"husky install"},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@semantic-release/changelog":"^5.0.1","@semantic-release/commit-analyzer":"^8.0.1","@semantic-release/git":"^9.0.0","@semantic-release/github":"^7.1.1","@semantic-release/npm":"^7.0.6","@semantic-release/release-notes-generator":"^9.0.1","@size-limit/preset-small-lib":"^5.0.1","@testing-library/react":"^12.0.0","@types/karma":"^6.3.1","@types/karma-jasmine":"^4.0.1","@types/react":"^17.0.15","@types/react-dom":"^17.0.9","babel-loader":"^8.1.0","delay":"^5.0.0","husky":"^7.0.0","karma":"^6.3.4","karma-browserstack-launcher":"^1.6.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^2.1.1","karma-jasmine":"^4.0.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^5.0.0","lint-staged":"^11.1.1","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^17.0.2","react-app-polyfill":"^2.0.0","react-dom":"^17.0.2","rollup":"^2.6.1","semantic-release":"^17.2.2","size-limit":"^5.0.1","typescript":"^4.3.5","webpack":"~4"},"dependencies":{"@juggle/resize-observer":"^3.3.1"},"gitHead":"7bd071a6d5d6b3da8419439080425a54f8b8d27b","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@7.1.0","_nodeVersion":"12.22.5","_npmVersion":"7.21.1","dist":{"shasum":"709ea7540fbe0a60ceae41ee2bef933d7782e4d4","size":13653,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-7.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-7.1.0.tgz"},"_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"directories":{},"maintainers":[{"name":"zeecoder","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_7.1.0_1630177305658_0.32110428098688826"},"_hasShrinkwrap":false,"publish_time":1630177305800,"deprecated":"This version was an accidental release, which should've been v8. Please see the release notes for possible breaking changes related to the polyfilled version.","_cnpm_publish_time":1630177305800,"_cnpmcore_publish_time":"2021-12-16T12:12:54.412Z"},"7.0.1":{"name":"use-resize-observer","version":"7.0.1","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","keywords":["react","hook","react hook","resize observer","resize observer hook","resize observer react hook","use-resize-observer","useresizeobserver","resize hook","size hook","container query","css in js","measure","size","resize"],"scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:types' 'test:create:ssr' 'test:bs:*'","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn build","test:bs:modern":"yarn karma:run --useBrowserStack","test:bs:ie":"yarn karma:run --useBrowserStack --runIeTests"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@semantic-release/changelog":"^5.0.1","@semantic-release/commit-analyzer":"^8.0.1","@semantic-release/git":"^9.0.0","@semantic-release/github":"^7.1.1","@semantic-release/npm":"^7.0.6","@semantic-release/release-notes-generator":"^9.0.1","@size-limit/preset-small-lib":"^4.4.5","@testing-library/react":"^11.0.4","@types/karma":"^5.0.0","@types/karma-jasmine":"^3.1.0","@types/react":"^16.9.34","@types/react-dom":"^16.9.6","babel-loader":"^8.1.0","delay":"^4.1.0","husky":"^4.2.5","karma":"^5.0.1","karma-browserstack-launcher":"^1.6.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^4.0.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^4.0.2","lint-staged":"^10.1.3","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.9.0","react-app-polyfill":"^2.0.0","react-dom":"^16.9.0","rollup":"^2.6.1","semantic-release":"^17.2.2","size-limit":"^4.4.5","typescript":"^4.0.3"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"2906203c610392426f74604081b8c45f43ba1367","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@7.0.1","_nodeVersion":"12.22.3","_npmVersion":"6.14.8","dist":{"shasum":"82b13d462e7fb5e3ec953bde48d6e02b9aae660d","size":10420,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-7.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-7.0.1.tgz"},"_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"directories":{},"maintainers":[{"name":"zeecoder","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_7.0.1_1627421458765_0.37713954413150264"},"_hasShrinkwrap":false,"publish_time":1627421458932,"_cnpm_publish_time":1627421458932,"_cnpmcore_publish_time":"2021-12-16T12:12:54.673Z"},"7.0.0":{"name":"use-resize-observer","version":"7.0.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:types' 'test:create:ssr' 'test:bs:*'","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn build","test:bs:modern":"yarn karma:run --useBrowserStack","test:bs:ie":"yarn karma:run --useBrowserStack --runIeTests"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@semantic-release/changelog":"^5.0.1","@semantic-release/commit-analyzer":"^8.0.1","@semantic-release/git":"^9.0.0","@semantic-release/github":"^7.1.1","@semantic-release/npm":"^7.0.6","@semantic-release/release-notes-generator":"^9.0.1","@size-limit/preset-small-lib":"^4.4.5","@testing-library/react":"^11.0.4","@types/karma":"^5.0.0","@types/karma-jasmine":"^3.1.0","@types/react":"^16.9.34","@types/react-dom":"^16.9.6","babel-loader":"^8.1.0","delay":"^4.1.0","husky":"^4.2.5","karma":"^5.0.1","karma-browserstack-launcher":"^1.6.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^4.0.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^4.0.2","lint-staged":"^10.1.3","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.9.0","react-app-polyfill":"^2.0.0","react-dom":"^16.9.0","rollup":"^2.6.1","semantic-release":"^17.2.2","size-limit":"^4.4.5","typescript":"^4.0.3"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"809e36e3c15e2a67257fe6d6cb887a1b35bbb0a1","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@7.0.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"shasum":"15f0efbd5a4e08a8cc51901f21a89ba836f2116e","size":10336,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-7.0.0.tgz"},"_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"directories":{},"maintainers":[{"name":"zeecoder","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_7.0.0_1605128269653_0.454210900194997"},"_hasShrinkwrap":false,"publish_time":1605128269764,"_cnpm_publish_time":1605128269764,"_cnpmcore_publish_time":"2021-12-16T12:12:54.895Z"},"7.0.0-alpha.4":{"name":"use-resize-observer","version":"7.0.0-alpha.4","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:types' 'test:create:ssr' 'test:bs:*'","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn build","test:bs:modern":"yarn karma:run --useBrowserStack","test:bs:ie":"yarn karma:run --useBrowserStack --runIeTests"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@semantic-release/changelog":"^5.0.1","@semantic-release/commit-analyzer":"^8.0.1","@semantic-release/git":"^9.0.0","@semantic-release/github":"^7.1.1","@semantic-release/npm":"^7.0.6","@semantic-release/release-notes-generator":"^9.0.1","@size-limit/preset-small-lib":"^4.4.5","@testing-library/react":"^11.0.4","@types/karma":"^5.0.0","@types/karma-jasmine":"^3.1.0","@types/react":"^16.9.34","@types/react-dom":"^16.9.6","babel-loader":"^8.1.0","delay":"^4.1.0","husky":"^4.2.5","karma":"^5.0.1","karma-browserstack-launcher":"^1.6.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^4.0.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^4.0.2","lint-staged":"^10.1.3","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.9.0","react-app-polyfill":"^2.0.0","react-dom":"^16.9.0","rollup":"^2.6.1","semantic-release":"^17.2.2","size-limit":"^4.4.5","typescript":"^4.0.3"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"97328ee1acf594656caf31fc33a75ae3a2569317","readmeFilename":"README.md","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@7.0.0-alpha.4","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"shasum":"1f3b394cfd54ed3cae53350ac0b41e4c2723ec02","size":10152,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-7.0.0-alpha.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-7.0.0-alpha.4.tgz"},"_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"directories":{},"maintainers":[{"name":"zeecoder","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_7.0.0-alpha.4_1605127299776_0.8151108815369359"},"_hasShrinkwrap":false,"publish_time":1605127299921,"_cnpm_publish_time":1605127299921,"_cnpmcore_publish_time":"2021-12-16T12:12:55.144Z"},"7.0.0-alpha.3":{"name":"use-resize-observer","version":"7.0.0-alpha.3","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:types' 'test:create:ssr' 'test:bs:*'","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn build","test:bs:modern":"yarn karma:run --useBrowserStack","test:bs:ie":"yarn karma:run --useBrowserStack --runIeTests"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@semantic-release/changelog":"^5.0.1","@semantic-release/commit-analyzer":"^8.0.1","@semantic-release/git":"^9.0.0","@semantic-release/github":"^7.1.1","@semantic-release/npm":"^7.0.6","@semantic-release/release-notes-generator":"^9.0.1","@size-limit/preset-small-lib":"^4.4.5","@testing-library/react":"^11.0.4","@types/karma":"^5.0.0","@types/karma-jasmine":"^3.1.0","@types/react":"^16.9.34","@types/react-dom":"^16.9.6","babel-loader":"^8.1.0","delay":"^4.1.0","husky":"^4.2.5","karma":"^5.0.1","karma-browserstack-launcher":"^1.6.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^4.0.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^4.0.2","lint-staged":"^10.1.3","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.9.0","react-app-polyfill":"^2.0.0","react-dom":"^16.9.0","rollup":"^2.6.1","semantic-release":"^17.2.2","size-limit":"^4.4.5","typescript":"^4.0.3"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"2a798e1e73539f1f0f812c548598e80e5585aa98","readmeFilename":"README.md","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@7.0.0-alpha.3","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"shasum":"99d44d9e0e24a41528c2494bc19ff84ca64cd781","size":22040,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-7.0.0-alpha.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-7.0.0-alpha.3.tgz"},"_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"directories":{},"maintainers":[{"name":"zeecoder","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_7.0.0-alpha.3_1605123520511_0.41521348530116975"},"_hasShrinkwrap":false,"publish_time":1605123520704,"_cnpm_publish_time":1605123520704,"_cnpmcore_publish_time":"2021-12-16T12:12:55.430Z"},"7.0.0-alpha.1":{"name":"use-resize-observer","version":"7.0.0-alpha.1","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:types' 'test:create:ssr' 'test:headless:*'","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@size-limit/preset-small-lib":"^4.4.5","@testing-library/react":"^11.0.4","@types/karma":"^5.0.0","@types/karma-jasmine":"^3.1.0","@types/react":"^16.9.34","@types/react-dom":"^16.9.6","babel-loader":"^8.1.0","delay":"^4.1.0","husky":"^4.2.5","karma":"^5.0.1","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^4.0.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^4.0.2","lint-staged":"^10.1.3","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.9.0","react-dom":"^16.9.0","rollup":"^2.6.1","size-limit":"^4.4.5","typescript":"^4.0.3"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"e1b2823e68fa02626da83650f666bfdfb41a852c","readmeFilename":"README.md","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@7.0.0-alpha.1","_npmVersion":"6.5.0","_nodeVersion":"11.7.0","_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"dist":{"shasum":"170113645931647e852eb97eabdf0b81a9a4ffe3","size":9552,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-7.0.0-alpha.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-7.0.0-alpha.1.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_7.0.0-alpha.1_1604152300414_0.7184672429401509"},"_hasShrinkwrap":false,"publish_time":1604152300523,"_cnpm_publish_time":1604152300523,"_cnpmcore_publish_time":"2021-12-16T12:12:55.691Z"},"6.2.0-alpha.1":{"name":"use-resize-observer","version":"6.2.0-alpha.1","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:types' 'test:create:ssr' 'test:headless:*'","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-babel":"^5.2.1","@rollup/plugin-inject":"^4.0.1","@size-limit/preset-small-lib":"^4.4.5","@testing-library/react":"^11.0.4","@types/karma":"^5.0.0","@types/karma-jasmine":"^3.1.0","@types/react":"^16.9.34","@types/react-dom":"^16.9.6","babel-loader":"^8.1.0","delay":"^4.1.0","husky":"^4.2.5","karma":"^5.0.1","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^4.0.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^4.0.2","lint-staged":"^10.1.3","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.9.0","react-dom":"^16.9.0","rollup":"^2.6.1","size-limit":"^4.4.5","typescript":"^4.0.3"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"81af006e81b6996eb8891901810d3eff0d9ae0d5","readmeFilename":"README.md","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@6.2.0-alpha.1","_npmVersion":"6.5.0","_nodeVersion":"11.7.0","_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"dist":{"shasum":"10b42f4d82f238d01fd4715ddfaadae2250bb81d","size":9513,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-6.2.0-alpha.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-6.2.0-alpha.1.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_6.2.0-alpha.1_1602419770756_0.8570374907463643"},"_hasShrinkwrap":false,"publish_time":1602419770894,"_cnpm_publish_time":1602419770894,"_cnpmcore_publish_time":"2021-12-16T12:12:55.933Z"},"6.1.0":{"name":"use-resize-observer","version":"6.1.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:types' 'test:create:ssr' 'test:headless:*'","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-inject":"^4.0.1","@size-limit/preset-small-lib":"^4.4.5","@testing-library/react":"^10.0.2","@types/karma":"^5.0.0","@types/karma-jasmine":"^3.1.0","@types/react":"^16.9.34","@types/react-dom":"^16.9.6","babel-loader":"^8.1.0","delay":"^4.1.0","husky":"^4.2.5","karma":"^5.0.1","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^4.0.2","lint-staged":"^10.1.3","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.9.0","react-dom":"^16.9.0","rollup":"^2.6.1","rollup-plugin-babel":"^4.4.0","size-limit":"^4.4.5","typescript":"^3.8.3"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"96564416473cf4c5abf597b89fe16aa8d139f0b0","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@6.1.0","_npmVersion":"6.5.0","_nodeVersion":"11.7.0","_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"dist":{"shasum":"d4d267a940dbf9c326da6042f8a4bb8c89d29729","size":6344,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-6.1.0.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_6.1.0_1590336935024_0.5388285658183978"},"_hasShrinkwrap":false,"publish_time":1590336935137,"_cnpm_publish_time":1590336935137,"_cnpmcore_publish_time":"2021-12-16T12:12:56.158Z"},"6.1.0-alpha.3":{"name":"use-resize-observer","version":"6.1.0-alpha.3","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:types":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:types' 'test:create:ssr' 'test:headless:*'","test:create:ssr":"node ./tests/ssr/create-ssr-test.js","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-inject":"^4.0.1","@size-limit/preset-small-lib":"^4.4.5","@testing-library/react":"^10.0.2","@types/karma":"^5.0.0","@types/karma-jasmine":"^3.1.0","@types/react":"^16.9.34","@types/react-dom":"^16.9.6","babel-loader":"^8.1.0","delay":"^4.1.0","husky":"^4.2.5","karma":"^5.0.1","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^4.0.2","lint-staged":"^10.1.3","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.9.0","react-dom":"^16.9.0","rollup":"^2.6.1","rollup-plugin-babel":"^4.4.0","size-limit":"^4.4.5","typescript":"^3.8.3"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"2ebc8fc0a87a13c6a7dcef5a1f29e13c83f466bd","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@6.1.0-alpha.3","_npmVersion":"6.5.0","_nodeVersion":"11.7.0","_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"dist":{"shasum":"5bdbe51bef36da89d2fa97fc8cc1ad3e5214d331","size":6246,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-6.1.0-alpha.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-6.1.0-alpha.3.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_6.1.0-alpha.3_1587851964303_0.22771490823194918"},"_hasShrinkwrap":false,"publish_time":1587851964533,"_cnpm_publish_time":1587851964533,"_cnpmcore_publish_time":"2021-12-16T12:12:56.356Z"},"6.1.0-alpha.2":{"name":"use-resize-observer","version":"6.1.0-alpha.2","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","scripts":{"build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","watch":"KARMA_BROWSERS=Chrome run-p 'src:watch' 'karma:watch'","src:watch":"rollup -c -w","check:size":"size-limit","check:tests":"tsc -p tests","test":"run-s 'build' 'check:size' 'check:tests' 'test:headless:*'","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:headless:chrome":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:headless:firefox":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/plugin-transform-runtime":"^7.9.0","@babel/preset-env":"^7.7.7","@babel/preset-react":"^7.9.4","@babel/preset-typescript":"^7.9.0","@rollup/plugin-inject":"^4.0.1","@size-limit/preset-small-lib":"^4.4.5","@testing-library/react":"^10.0.2","@types/karma":"^5.0.0","@types/karma-jasmine":"^3.1.0","@types/react":"^16.9.34","@types/react-dom":"^16.9.6","babel-loader":"^8.1.0","delay":"^4.1.0","husky":"^4.2.5","karma":"^5.0.1","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"^0.0.32","karma-webpack":"^4.0.2","lint-staged":"^10.1.3","npm-run-all":"^4.1.5","prettier":"^2.0.4","react":"^16.9.0","react-dom":"^16.9.0","rollup":"^2.6.1","rollup-plugin-babel":"^4.4.0","size-limit":"^4.4.5","typescript":"^3.8.3"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"c28bab46deec5c29bc3262e527261561106b4d00","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@6.1.0-alpha.2","_npmVersion":"6.5.0","_nodeVersion":"11.7.0","_npmUser":{"name":"zeecoder","email":"contact@hubertviktor.com"},"dist":{"shasum":"8a165b21c4b5e775f6b454a35df2dfe13cec8c1f","size":6177,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-6.1.0-alpha.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-6.1.0-alpha.2.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_6.1.0-alpha.2_1587407738446_0.8796079670220582"},"_hasShrinkwrap":false,"publish_time":1587407746490,"_cnpm_publish_time":1587407746490,"_cnpmcore_publish_time":"2021-12-16T12:12:56.574Z"},"6.1.0-alpha.1":{"name":"use-resize-observer","version":"6.1.0-alpha.1","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","types":"dist/index.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"contact@hubertviktor.com"},"license":"MIT","scripts":{"build":"run-s src:build test:build","watch":"KARMA_BROWSERS=Chrome run-p src:watch test:watch karma:watch","src:build":"rollup -c && tsc && cp dist/index.d.ts polyfilled.d.ts","src:watch":"rollup -c -w","tsc":"tsc","size-limit":"size-limit","test":"run-s 'build' 'size-limit' 'tsc -p tests' 'test:chrome:headless' 'test:firefox:headless'","test:build":"parcel build tests/index.tsx --out-dir tests/dist","test:watch":"parcel watch tests/index.ts --out-dir tests/dist","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:chrome:headless":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:firefox:headless":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn src:build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,md}":["prettier --write"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/preset-env":"^7.7.7","@babel/preset-typescript":"^7.9.0","@rollup/plugin-inject":"^4.0.1","@size-limit/preset-small-lib":"^4.4.5","@types/karma":"^5.0.0","@types/karma-jasmine":"^3.1.0","@types/react":"^16.9.34","@types/react-dom":"^16.9.6","babel-regenerator-runtime":"^6.5.0","delay":"^4.1.0","husky":"^4.2.5","karma":"^5.0.1","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.3.0","karma-jasmine":"^3.1.1","karma-spec-reporter":"^0.0.32","lint-staged":"^10.1.3","npm-run-all":"^4.1.5","parcel-bundler":"^1.10.3","prettier":"^2.0.4","react":"^16.9.0","react-dom":"^16.9.0","rollup":"^2.6.1","rollup-plugin-babel":"^4.4.0","size-limit":"^4.4.5","typescript":"^3.8.3"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"529269c93576ba12e2376c4f3aa53cd195640b58","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@6.1.0-alpha.1","_npmVersion":"6.5.0","_nodeVersion":"11.7.0","_npmUser":{"name":"zeecoder","email":"rpgmorpheus@gmail.com"},"dist":{"shasum":"2146bd87a5b763087f62d3b9dd0fa30de92edc13","size":5967,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-6.1.0-alpha.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-6.1.0-alpha.1.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_6.1.0-alpha.1_1587049500576_0.2508540055133315"},"_hasShrinkwrap":false,"publish_time":1587049500792,"_cnpm_publish_time":1587049500792,"_cnpmcore_publish_time":"2021-12-16T12:12:56.834Z"},"6.0.0":{"name":"use-resize-observer","version":"6.0.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"rpgmorpheus@gmail.com"},"license":"MIT","scripts":{"build":"run-s src:build test:build","watch":"KARMA_BROWSERS=Chrome run-p src:watch test:watch karma:watch","src:build":"rollup -c","src:watch":"rollup -c -w","test":"run-s build karma:run","test:build":"parcel build tests/index.js --out-dir tests/dist","test:watch":"parcel watch tests/index.js --out-dir tests/dist","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:chrome:headless":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:firefox:headless":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn src:build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,md}":["prettier --write","git add"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.7.7","@babel/preset-env":"^7.7.7","babel-regenerator-runtime":"^6.5.0","delay":"^4.1.0","husky":"^3.0.4","karma":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.2.0","karma-jasmine":"^2.0.1","karma-spec-reporter":"^0.0.32","lint-staged":"^9.5.0","npm-run-all":"^4.1.5","parcel-bundler":"^1.10.3","prettier":"^1.14.3","react":"^16.9.0","react-dom":"^16.9.0","rollup":"^1.27.14","rollup-plugin-babel":"^4.3.3","rollup-plugin-inject":"^3.0.2"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"ded5a3bb661799854f80a98b7202b31f164a44d4","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@6.0.0","_nodeVersion":"10.18.0","_npmVersion":"6.13.4","dist":{"shasum":"8450ade735c386e8d93cdf983c26d34a9f478a54","size":5173,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-6.0.0.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"_npmUser":{"name":"zeecoder","email":"rpgmorpheus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_6.0.0_1577641011205_0.5891984718551169"},"_hasShrinkwrap":false,"publish_time":1577641011378,"_cnpm_publish_time":1577641011378,"_cnpmcore_publish_time":"2021-12-16T12:12:57.086Z"},"5.0.0":{"name":"use-resize-observer","version":"5.0.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"rpgmorpheus@gmail.com"},"license":"MIT","scripts":{"build":"run-s src:build test:build","watch":"KARMA_BROWSERS=Chrome run-p src:watch test:watch karma:watch","src:build":"rollup -c","src:watch":"rollup -c -w","test":"run-s build karma:run","test:build":"parcel build tests/index.js --out-dir tests/dist","test:watch":"parcel watch tests/index.js --out-dir tests/dist","test:chrome":"KARMA_BROWSERS=Chrome yarn karma:run","test:chrome:headless":"KARMA_BROWSERS=ChromeHeadless yarn karma:run","test:firefox":"KARMA_BROWSERS=Firefox yarn karma:run","test:firefox:headless":"KARMA_BROWSERS=FirefoxHeadless yarn karma:run","karma:run":"karma start --singleRun","karma:watch":"karma start","prepublish":"yarn src:build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,md}":["prettier --write","git add"]},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.1.2","@babel/preset-env":"^7.5.5","babel-regenerator-runtime":"^6.5.0","delay":"^4.1.0","husky":"^3.0.4","karma":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-firefox-launcher":"^1.2.0","karma-jasmine":"^2.0.1","karma-spec-reporter":"^0.0.32","lint-staged":"^9.2.3","npm-run-all":"^4.1.5","parcel-bundler":"^1.10.3","prettier":"^1.14.3","react":"^16.9.0","react-dom":"^16.9.0","rollup":"^1.20.1","rollup-plugin-babel":"^4.3.3","rollup-plugin-inject":"^3.0.2"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"gitHead":"4dca009d85ee94d97642323569b5508c27e65248","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@5.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"shasum":"2c1a1643bf0891ca094163c60ad0b08948540ec3","size":5028,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-5.0.0.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"_npmUser":{"name":"zeecoder","email":"rpgmorpheus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_5.0.0_1574115118624_0.3024524985486057"},"_hasShrinkwrap":false,"publish_time":1574115118799,"_cnpm_publish_time":1574115118799,"_cnpmcore_publish_time":"2021-12-16T12:12:57.307Z"},"4.0.0":{"name":"use-resize-observer","version":"4.0.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"rpgmorpheus@gmail.com"},"license":"MIT","scripts":{"build":"rollup -c","watch":"rollup -c -w","test":"karma start","test:build":"parcel build tests/index.js --out-dir tests/dist","test:watch":"parcel watch tests/index.js --out-dir tests/dist","prepublish":"yarn build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,md}":["prettier --write","git add"]},"dependencies":{"resize-observer-polyfill":"^1.5.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","babel-regenerator-runtime":"^6.5.0","delay":"^4.1.0","husky":"^3.0.1","karma":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-jasmine":"^2.0.1","karma-spec-reporter":"^0.0.32","lint-staged":"^9.2.0","parcel-bundler":"^1.10.3","prettier":"^1.14.3","react":"^16.8.1","react-dom":"^16.8.1","rollup":"^1.17.0","rollup-plugin-babel":"^4.0.3"},"gitHead":"f5e22a5a6e642583202a039d36501d8b78c4fc14","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@4.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"9976763c37658e84d6e4f1172e7c146816907ece","size":3383,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-4.0.0.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"_npmUser":{"name":"zeecoder","email":"rpgmorpheus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_4.0.0_1563653473752_0.2895380638566074"},"_hasShrinkwrap":false,"publish_time":1563653473885,"_cnpm_publish_time":1563653473885,"_cnpmcore_publish_time":"2021-12-16T12:12:57.519Z"},"3.1.0":{"name":"use-resize-observer","version":"3.1.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"rpgmorpheus@gmail.com"},"license":"MIT","scripts":{"build":"rollup -c","test":"karma start","test:build":"parcel build tests/index.js --out-dir tests/dist","prepublish":"yarn build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,md}":["prettier --write","git add"]},"dependencies":{"resize-observer-polyfill":"^1.5.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","babel-regenerator-runtime":"^6.5.0","delay":"^4.1.0","husky":"^1.1.2","karma":"^3.1.3","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^2.0.1","karma-spec-reporter":"^0.0.32","lint-staged":"^7.3.0","parcel-bundler":"^1.10.3","prettier":"^1.14.3","react":"^16.8.1","react-dom":"^16.8.1","rollup":"^0.66.6","rollup-plugin-babel":"^4.0.3"},"types":"index.d.ts","gitHead":"e2e1432ef205917281ab0dab89bd143312a8eec4","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@3.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"zeecoder","email":"rpgmorpheus@gmail.com"},"dist":{"shasum":"138406ca9d34f3f2be95ab8b5829734a927cc2a7","size":3113,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-3.1.0.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_3.1.0_1549888058755_0.22396332140697095"},"_hasShrinkwrap":false,"publish_time":1549888058870,"_cnpm_publish_time":1549888058870,"_cnpmcore_publish_time":"2021-12-16T12:12:57.751Z"},"3.0.0":{"name":"use-resize-observer","version":"3.0.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook that allows you to use a ResizeObserver to measure an element's size.","author":{"name":"Viktor Hubert","email":"rpgmorpheus@gmail.com"},"license":"MIT","scripts":{"build":"rollup -c","test":"karma start","test:build":"parcel build tests/index.js --out-dir tests/dist","prepublish":"yarn build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,md}":["prettier --write","git add"]},"dependencies":{"resize-observer-polyfill":"^1.5.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","babel-regenerator-runtime":"^6.5.0","delay":"^4.1.0","husky":"^1.1.2","karma":"^3.1.3","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^2.0.1","karma-spec-reporter":"^0.0.32","lint-staged":"^7.3.0","parcel-bundler":"^1.10.3","prettier":"^1.14.3","react":"^16.8.1","react-dom":"^16.8.1","rollup":"^0.66.6","rollup-plugin-babel":"^4.0.3"},"gitHead":"6c5425c604362b9c19b6248db0773fa7d2b01921","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"zeecoder","email":"rpgmorpheus@gmail.com"},"dist":{"shasum":"72891f0033ef243d28237a079ea83f362d9a028b","size":2950,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-3.0.0.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_3.0.0_1549561598166_0.06523655347693658"},"_hasShrinkwrap":false,"publish_time":1549561598265,"_cnpm_publish_time":1549561598265,"_cnpmcore_publish_time":"2021-12-16T12:12:57.950Z"},"2.0.1":{"name":"use-resize-observer","version":"2.0.1","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook to use a Resize Observer","author":{"name":"Viktor Hubert","email":"rpgmorpheus@gmail.com"},"license":"MIT","scripts":{"build":"rollup -c","test":"karma start","test:build":"parcel build tests/index.js --out-dir tests/dist","prepublish":"yarn build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,md}":["prettier --write","git add"]},"dependencies":{"resize-observer-polyfill":"^1.5.0"},"peerDependencies":{"react":"16.7.0-alpha.2","react-dom":"16.7.0-alpha.2"},"devDependencies":{"@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","babel-regenerator-runtime":"^6.5.0","delay":"^4.1.0","husky":"^1.1.2","karma":"^3.1.3","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^2.0.1","karma-spec-reporter":"^0.0.32","lint-staged":"^7.3.0","parcel-bundler":"^1.10.3","prettier":"^1.14.3","react":"16.7.0-alpha.2","react-dom":"16.7.0-alpha.2","rollup":"^0.66.6","rollup-plugin-babel":"^4.0.3"},"publishConfig":{"access":"public"},"gitHead":"19706639f0189a5fb56975c3eda0eeba6191418e","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.14.2","_npmUser":{"name":"zeecoder","email":"rpgmorpheus@gmail.com"},"dist":{"shasum":"51c4c3fa98f54016fb9dd71fd891a4e33ed7ab7f","size":2769,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-2.0.1.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_2.0.1_1545320036002_0.4549454610288668"},"_hasShrinkwrap":false,"publish_time":1545320036128,"_cnpm_publish_time":1545320036128,"_cnpmcore_publish_time":"2021-12-16T12:12:58.178Z"},"2.0.0":{"name":"use-resize-observer","version":"2.0.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook to use a Resize Observer","author":{"name":"Viktor Hubert","email":"rpgmorpheus@gmail.com"},"license":"MIT","scripts":{"build":"rollup -c","test":"karma start","test:build":"parcel build tests/index.js --out-dir tests/dist","prepublish":"yarn build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,md}":["prettier --write","git add"]},"dependencies":{"resize-observer-polyfill":"^1.5.0"},"peerDependencies":{"react":"16.7.0-alpha.2","react-dom":"16.7.0-alpha.2"},"devDependencies":{"@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","babel-regenerator-runtime":"^6.5.0","delay":"^4.1.0","husky":"^1.1.2","karma":"^3.1.3","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^2.0.1","karma-spec-reporter":"^0.0.32","lint-staged":"^7.3.0","parcel-bundler":"^1.10.3","prettier":"^1.14.3","react":"16.7.0-alpha.2","react-dom":"16.7.0-alpha.2","rollup":"^0.66.6","rollup-plugin-babel":"^4.0.3"},"publishConfig":{"access":"public"},"gitHead":"0a50ef0529a99d53c3915cc928c7814217db4fb1","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.14.2","_npmUser":{"name":"zeecoder","email":"rpgmorpheus@gmail.com"},"dist":{"shasum":"9acb09dc6481f15b0f9a4291848b9c19b9f711b2","size":2737,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-2.0.0.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_2.0.0_1545319699269_0.2951252003125049"},"_hasShrinkwrap":false,"publish_time":1545319699406,"_cnpm_publish_time":1545319699406,"_cnpmcore_publish_time":"2021-12-16T12:12:58.359Z"},"1.0.0":{"name":"use-resize-observer","version":"1.0.0","main":"dist/bundle.cjs.js","module":"dist/bundle.esm.js","repository":{"type":"git","url":"git+ssh://git@github.com/ZeeCoder/use-resize-observer.git"},"description":"A React hook to use a Resize Observer","author":{"name":"Viktor Hubert","email":"rpgmorpheus@gmail.com"},"license":"MIT","scripts":{"build":"rollup -c","prepublish":"yarn build"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,md}":["prettier --write","git add"]},"dependencies":{"resize-observer":"^1.0.0-alpha.1"},"peerDependencies":{"react":"^16.7.0-alpha.0","react-dom":"^16.7.0-alpha.0"},"devDependencies":{"@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","husky":"^1.1.2","lint-staged":"^7.3.0","prettier":"^1.14.3","rollup":"^0.66.6","rollup-plugin-babel":"^4.0.3"},"gitHead":"15d9a335922825d748f4c28271a826d9189f7750","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","_id":"use-resize-observer@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"oharridge","email":"ollie.harridge@eventstag.com"},"dist":{"shasum":"80c33cf65629829d6e584b8a70583751b05ac3cb","size":2375,"noattachment":false,"key":"/use-resize-observer/-/use-resize-observer-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-resize-observer/download/use-resize-observer-1.0.0.tgz"},"maintainers":[{"name":"zeecoder","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-resize-observer_1.0.0_1540730998974_0.3975207302760988"},"_hasShrinkwrap":false,"publish_time":1540730999161,"_cnpm_publish_time":1540730999161,"_cnpmcore_publish_time":"2021-12-16T12:12:58.642Z"}},"readme":"# use-resize-observer\n\n\n<h1 align=\"center\">\n\t<br>\n\t<img width=\"250\" src=\"https://raw.githubusercontent.com/ZeeCoder/use-resize-observer/master/media/Logo.png\" alt=\"useResizeObserver\">\n\t<br>\n    <br>\n</h1>\n\nA React hook that allows you to use a ResizeObserver to measure an element's size.\n\n[![npm version](https://badge.fury.io/js/use-resize-observer.svg)](https://npmjs.com/package/use-resize-observer)\n[![build](https://github.com/ZeeCoder/use-resize-observer/workflows/Testing/badge.svg)](https://github.com/ZeeCoder/use-resize-observer/actions/workflows/testing.yml)\n[![BrowserStack Status](https://automate.browserstack.com/badge.svg?badge_key=aVpjV2RZbThnWnh2S0FvREh0cGRtRHRCNzYwUmw4N0Z4WUxybHM0WkpqST0tLW9RT0tDeGk3OVU2WkNtalpON29xWFE9PQ==--ec6a97c52cd7ad30417612ca3f5df511eef5d631)](https://automate.browserstack.com/public-build/aVpjV2RZbThnWnh2S0FvREh0cGRtRHRCNzYwUmw4N0Z4WUxybHM0WkpqST0tLW9RT0tDeGk3OVU2WkNtalpON29xWFE9PQ==--ec6a97c52cd7ad30417612ca3f5df511eef5d631)\n\n## Highlights\n\n- Written in **TypeScript**.\n- **Tiny**: [648B](.size-limit.json) (minified, gzipped) Monitored by [size-limit](https://github.com/ai/size-limit).\n- Exposes an **onResize callback** if you need more control.\n- `box` [option](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe#syntax).\n- Works with **SSR**.\n- Works with **CSS-in-JS**.\n- **Supports custom refs** in case you [had one already](#passing-in-your-own-ref).\n- **Uses RefCallback by default** To address delayed mounts and changing ref elements.\n- **Ships a polyfilled version**\n- Handles many edge cases you might not even think of.\n  (See this documentation and the test cases.)\n- Easy to compose ([Throttle / Debounce](#throttle--debounce), [Breakpoints](#breakpoints))\n- **Tested in real browsers** (Currently latest Chrome, Firefox, Edge, Safari, Opera, IE 11, iOS and Android, sponsored by BrowserStack)\n\n## In Action\n\n[CodeSandbox Demo](https://codesandbox.io/s/nrp0w2r5z0)\n\n## Install\n\n```sh\nyarn add use-resize-observer --dev\n# or\nnpm install use-resize-observer --save-dev\n```\n\n## Options\n\n| Option   | Type                                                                                 | Description                                                                                                                   | Default        |\n| -------- | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- | -------------- |\n| ref      | undefined &#124; RefObject &#124; HTMLElement                                        | A ref or element to observe.                                                                                                  | undefined      |\n| box      | undefined &#124; \"border-box\" &#124; \"content-box\" &#124; \"device-pixel-content-box\" | The [box model](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe#syntax) to use for observation.       | \"content-box\"  |\n| onResize | undefined &#124; ({ width?: number, height?: number }) => void                       | A callback receiving the element size. If given, then the hook will not return the size, and instead will call this callback. | undefined      |\n| round    | undefined &#124; (n: number) => number                                               | A function to use for rounding values instead of the default.                                                                 | `Math.round()` |\n\n## Response\n\n| Name   | Type                    | Description                                    |\n| ------ | ----------------------- | ---------------------------------------------- |\n| ref    | RefCallback             | A callback to be passed to React's \"ref\" prop. |\n| width  | undefined &#124; number | The width (or \"blockSize\") of the element.     |\n| height | undefined &#124; number | The height (or \"inlineSize\") of the element.   |\n\n## Basic Usage\n\nNote that the default builds are not polyfilled! For instructions and alternatives,\nsee the [Transpilation / Polyfilling](#transpilation--polyfilling) section.\n\n```tsx\nimport React from \"react\";\nimport useResizeObserver from \"use-resize-observer\";\n\nconst App = () => {\n  const { ref, width = 1, height = 1 } = useResizeObserver<HTMLDivElement>();\n\n  return (\n    <div ref={ref}>\n      Size: {width}x{height}\n    </div>\n  );\n};\n```\n\nTo observe a different box size other than content box, pass in the `box` option, like so:\n\n```tsx\nconst { ref, width, height } = useResizeObserver<HTMLDivElement>({\n  box: \"border-box\",\n});\n```\n\nNote that if the browser does not support the given box type, then the hook won't report any sizes either.\n\n### Box Options\n\nNote that box options are experimental, and as such are not supported by all browsers that implemented ResizeObservers. (See [here](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry).)\n\n`content-box` (default)\n\nSafe to use by all browsers that implemented ResizeObservers. The hook internally will fall back to `contentRect` from\nthe old spec in case `contentBoxSize` is not available.\n\n`border-box`\n\nSupported well for the most part by evergreen browsers. If you need to support older versions of these browsers however,\nthen you may want to feature-detect for support, and optionally include a polyfill instead of the native implementation.\n\n`device-pixel-content-box`\n\nSurma has a [very good article](https://web.dev/device-pixel-content-box/) on how this allows us to do pixel perfect\nrendering. At the time of writing, however this has very limited support.\nThe advices on feature detection for `border-box` apply here too.\n\n### Custom Rounding\n\nBy default this hook passes the measured values through `Math.round()`, to avoid re-rendering on every subpixel changes.\n\nIf this is not what you want, then you can provide your own function:\n\n**Rounding Down Reported Values**\n\n```tsx\nconst { ref, width, height } = useResizeObserver<HTMLDivElement>({\n  round: Math.floor,\n});\n```\n\n**Skipping Rounding**\n\n```tsx\nimport React from \"react\";\nimport useResizeObserver from \"use-resize-observer\";\n\n// Outside the hook to ensure this instance does not change unnecessarily.\nconst noop = (n) => n;\n\nconst App = () => {\n  const {\n    ref,\n    width = 1,\n    height = 1,\n  } = useResizeObserver<HTMLDivElement>({ round: noop });\n\n  return (\n    <div ref={ref}>\n      Size: {width}x{height}\n    </div>\n  );\n};\n```\n\nNote that the round option is sensitive to the function reference, so make sure you either use `useCallback`\nor declare your rounding function outside of the hook's function scope, if it does not rely on any hook state.\n(As shown above.)\n\n### Getting the Raw Element from the Default `RefCallback`\n\nNote that \"ref\" in the above examples is a `RefCallback`, not a `RefObject`, meaning you won't be\nable to access \"ref.current\" if you need the element itself.\n\nTo get the raw element, either you use your own RefObject (see later in this doc),\nor you can merge the returned ref with one of your own:\n\n```tsx\nimport React, { useCallback, useEffect, useRef } from \"react\";\nimport useResizeObserver from \"use-resize-observer\";\nimport mergeRefs from \"react-merge-refs\";\n\nconst App = () => {\n  const { ref, width = 1, height = 1 } = useResizeObserver<HTMLDivElement>();\n\n  const mergedCallbackRef = mergeRefs([\n    ref,\n    (element: HTMLDivElement) => {\n      // Do whatever you want with the `element`.\n    },\n  ]);\n\n  return (\n    <div ref={mergedCallbackRef}>\n      Size: {width}x{height}\n    </div>\n  );\n};\n```\n\n## Passing in Your Own `ref`\n\nYou can pass in your own ref instead of using the one provided.\nThis can be useful if you already have a ref you want to measure.\n\n```ts\nconst ref = useRef<HTMLDivElement>(null);\nconst { width, height } = useResizeObserver<HTMLDivElement>({ ref });\n```\n\nYou can even reuse the same hook instance to measure different elements:\n\n[CodeSandbox Demo](https://codesandbox.io/s/use-resize-observer-reusing-refs-buftd)\n\n## Measuring a raw element\n\nThere might be situations where you have an element already that you need to measure.\n`ref` now accepts elements as well, not just refs, which means that you can do this:\n\n```ts\nconst { width, height } = useResizeObserver<HTMLDivElement>({\n  ref: divElement,\n});\n```\n\n## Using a Single Hook to Measure Multiple Refs\n\nThe hook reacts to ref changes, as it resolves it to an element to observe.\nThis means that you can freely change the custom `ref` option from one ref to\nanother and back, and the hook will start observing whatever is set in its options.\n\n## Opting Out of (or Delaying) ResizeObserver Instantiation\n\nIn certain cases you might want to delay creating a ResizeObserver instance.\n\nYou might provide a library, that only optionally provides observation features\nbased on props, which means that while you have the hook within your component,\nyou might not want to actually initialise it.\n\nAnother example is that you might want to entirely opt out of initialising, when\nyou run some tests, where the environment does not provide the `ResizeObserver`.\n\n([See discussions](https://github.com/ZeeCoder/use-resize-observer/issues/40))\n\nYou can do one of the following depending on your needs:\n\n- Use the default `ref` RefCallback, or provide a custom ref conditionally,\n  only when needed. The hook will not create a ResizeObserver instance up until\n  there's something there to actually observe.\n- Patch the test environment, and make a polyfill available as the ResizeObserver.\n  (This assumes you don't already use the polyfilled version, which would switch\n  to the polyfill when no native implementation was available.)\n\n## The \"onResize\" Callback\n\nBy the default the hook will trigger a re-render on all changes to the target\nelement's width and / or height.\n\nYou can opt out of this behaviour, by providing an `onResize` callback function,\nwhich'll simply receive the width and height of the element when it changes, so\nthat you can decide what to do with it:\n\n```tsx\nimport React from \"react\";\nimport useResizeObserver from \"use-resize-observer\";\n\nconst App = () => {\n  // width / height will not be returned here when the onResize callback is present\n  const { ref } = useResizeObserver<HTMLDivElement>({\n    onResize: ({ width, height }) => {\n      // do something here.\n    },\n  });\n\n  return <div ref={ref} />;\n};\n```\n\nThis callback also makes it possible to implement your own hooks that report only\nwhat you need, for example:\n\n- Reporting only width or height\n- Throttle / debounce\n- Wrap in `requestAnimationFrame`\n\n## Hook Composition\n\nAs this hook intends to remain low-level, it is encouraged to build on top of it via hook composition, if additional features are required.\n\n### Throttle / Debounce\n\nYou might want to receive values less frequently than changes actually occur.\n\n[CodeSandbox Demo](https://codesandbox.io/s/use-resize-observer-throttle-and-debounce-8uvsg)\n\n### Breakpoints\n\nAnother popular concept are breakpoints. Here is an example for a simple hook accomplishing that.\n\n[CodeSandbox Demo](https://codesandbox.io/s/use-resize-observer-breakpoints-3hiv8)\n\n## Defaults (SSR)\n\nOn initial mount the ResizeObserver will take a little time to report on the\nactual size.\n\nUntil the hook receives the first measurement, it returns `undefined` for width\nand height by default.\n\nYou can override this behaviour, which could be useful for SSR as well.\n\n```ts\nconst { ref, width = 100, height = 50 } = useResizeObserver<HTMLDivElement>();\n```\n\nHere \"width\" and \"height\" will be 100 and 50 respectively, until the\nResizeObserver kicks in and reports the actual size.\n\n## Without Defaults\n\nIf you only want real measurements (only values from the ResizeObserver without\nany default values), then you can just leave defaults off:\n\n```ts\nconst { ref, width, height } = useResizeObserver<HTMLDivElement>();\n```\n\nHere \"width\" and \"height\" will be undefined until the ResizeObserver takes its\nfirst measurement.\n\n## Container/Element Query with CSS-in-JS\n\nIt's possible to apply styles conditionally based on the width / height of an\nelement using a CSS-in-JS solution, which is the basic idea behind\ncontainer/element queries:\n\n[CodeSandbox Demo](https://codesandbox.io/s/use-resize-observer-container-query-with-css-in-js-iitxl)\n\n## Transpilation / Polyfilling\n\nBy default the library provides transpiled ES5 modules in CJS / ESM module formats.\n\nPolyfilling is recommended to be done in the host app, and not within imported\nlibraries, as that way consumers have control over the exact polyfills being used.\n\nThat said, there's a [polyfilled](https://github.com/juggle/resize-observer)\nCJS module that can be used for convenience:\n\n```ts\nimport useResizeObserver from \"use-resize-observer/polyfilled\";\n```\n\nNote that using the above will use the polyfill, [even if the native ResizeObserver is available](https://github.com/juggle/resize-observer#basic-usage).\n\nTo use the polyfill as a fallback only when the native RO is unavailable, you can polyfill yourself instead,\neither in your app's entry file, or you could create a local `useResizeObserver` module, like so:\n\n```ts\n// useResizeObserver.ts\nimport { ResizeObserver } from \"@juggle/resize-observer\";\nimport useResizeObserver from \"use-resize-observer\";\n\nif (!window.ResizeObserver) {\n  window.ResizeObserver = ResizeObserver;\n}\n\nexport default useResizeObserver;\n```\n\nThe same technique can also be used to provide any of your preferred ResizeObserver polyfills out there.\n\n## Related\n\n- [@zeecoder/container-query](https://github.com/ZeeCoder/container-query)\n- [@zeecoder/react-resize-observer](https://github.com/ZeeCoder/react-resize-observer)\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/ZeeCoder/use-resize-observer#readme","bugs":{"url":"https://github.com/ZeeCoder/use-resize-observer/issues"},"license":"MIT"}