{"versions":{"1.2.1":{"name":"@react-hook/passive-layout-effect","version":"1.2.1","homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/passive-layout-effect#readme","repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com"},"license":"MIT","description":"A React hook that uses useEffect() on the server and useLayoutEffect() in the browser","keywords":["react","react hook","passive layout effect","isomorphic layout effect"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/use-passive-layout-effect.js","source":"src/index.tsx","types":"types/index.d.ts","exports":{".":{"browser":"./dist/module/index.js","import":"./dist/esm/index.mjs","require":"./dist/main/index.js","umd":"./dist/umd/use-passive-layout-effect.js","source":"./src/index.tsx","types":"./types/index.d.ts","default":"./dist/main/index.js"},"./package.json":"./package.json","./":"./"},"sideEffects":false,"scripts":{"build":"lundle build --umd-case camel","check-types":"lundle check-types","dev":"lundle build -f module,cjs -w","format":"prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,tsx,js,jsx,md,yml,json}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"lundle check-types && npm run lint && jest --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["lundle build -f types","eslint","prettier --write"],"**/*.{md,yml,json}":["prettier --write"]},"eslintConfig":{"extends":["lunde"]},"eslintIgnore":["node_modules","coverage","dist","test","*.config.js"],"jest":{"moduleDirectories":["node_modules","src","test"],"testMatch":["<rootDir>/src/**/?(*.)test.{ts,tsx}"],"collectCoverageFrom":["**/src/**/*.{ts,tsx}"],"setupFilesAfterEnv":["./test/setup.js"],"snapshotResolver":"./test/resolve-snapshot.js","globals":{"__DEV__":true}},"prettier":{"semi":false,"singleQuote":true,"jsxSingleQuote":true,"bracketSpacing":false},"devDependencies":{"@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@testing-library/user-event":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","babel-jest":"latest","eslint":"latest","eslint-config-lunde":"latest","husky":"latest","jest":"latest","lint-staged":"latest","lundle":"^0.4.9","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","typescript":"latest"},"dependencies":{},"peerDependencies":{"react":">=16.8"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@react-hook/passive-layout-effect@1.2.1","dist":{"shasum":"c06dac2d011f36d61259aa1c6df4f0d5e28bc55e","size":4138,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@react-hook/passive-layout-effect/-/passive-layout-effect-1.2.1.tgz","integrity":"sha512-IwEphTD75liO8g+6taS+4oqz+nnroocNfWVHWz7j+N+ZO2vYrc6PV1q7GQhuahL0IOR7JccFTsFKQ/mb6iZWAg=="},"maintainers":[{"name":"anonymous","email":"jared@BeStellar.co"}],"_npmUser":{"name":"anonymous","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passive-layout-effect_1.2.1_1598978137810_0.9142470844912158"},"_hasShrinkwrap":false,"publish_time":1598978137924,"_cnpm_publish_time":1598978137924,"_cnpmcore_publish_time":"2021-12-16T19:35:05.846Z","contributors":[]},"1.2.0":{"name":"@react-hook/passive-layout-effect","version":"1.2.0","homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/passive-layout-effect#readme","repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com"},"license":"MIT","description":"A React hook that uses useEffect() on the server and useLayoutEffect() in the browser","keywords":["react","react hook","passive layout effect","isomorphic layout effect"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/use-passive-layout-effect.js","source":"src/index.tsx","types":"types/index.d.ts","exports":{".":{"browser":"./dist/module/index.js","import":"./dist/esm/index.mjs","require":"./dist/main/index.js","umd":"./dist/umd/use-passive-layout-effect.js","source":"./src/index.tsx","types":"./types/index.d.ts","default":"./dist/main/index.js"},"./package.json":"./package.json","./":"./"},"sideEffects":false,"scripts":{"build":"lundle build --umd-case camel","check-types":"lundle check-types","dev":"lundle build -f module,cjs -w","format":"prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,tsx,js,jsx,md,yml,json}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"lundle check-types && npm run lint && jest --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["lundle build -f types","eslint","prettier --write"],"**/*.{md,yml,json}":["prettier --write"]},"eslintConfig":{"extends":["lunde"]},"eslintIgnore":["node_modules","coverage","dist","test","*.config.js"],"jest":{"moduleDirectories":["node_modules","src","test"],"testMatch":["<rootDir>/src/**/?(*.)test.{ts,tsx}"],"collectCoverageFrom":["**/src/**/*.{ts,tsx}"],"setupFilesAfterEnv":["./test/setup.js"],"snapshotResolver":"./test/resolve-snapshot.js","globals":{"__DEV__":true}},"prettier":{"semi":false,"singleQuote":true,"jsxSingleQuote":true,"bracketSpacing":false},"devDependencies":{"@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@testing-library/user-event":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","babel-jest":"latest","eslint":"latest","eslint-config-lunde":"latest","husky":"latest","jest":"latest","lint-staged":"latest","lundle":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","typescript":"latest"},"dependencies":{},"peerDependencies":{"react":">=16.8"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@react-hook/passive-layout-effect@1.2.0","dist":{"shasum":"1232f0b08f9bfd9f87a2898a3ae50d5f7731d806","size":3947,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@react-hook/passive-layout-effect/-/passive-layout-effect-1.2.0.tgz","integrity":"sha512-obGcMHoeiG/qp9djzlxwvlsAzL4a+JFaxTLvJv8GykipmS/TEkfvdcpu6orE1ZL4dAT7OpoGwHDc/LGJbkZzXQ=="},"maintainers":[{"name":"anonymous","email":"jared@BeStellar.co"}],"_npmUser":{"name":"anonymous","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passive-layout-effect_1.2.0_1591332776483_0.5384343243427268"},"_hasShrinkwrap":false,"publish_time":1591332776619,"_cnpm_publish_time":1591332776619,"_cnpmcore_publish_time":"2021-12-16T19:35:06.221Z","contributors":[]},"1.1.0":{"name":"@react-hook/passive-layout-effect","version":"1.1.0","author":{"name":"Jared Lunde","email":"jared@BeStellar.co","url":"https://jaredLunde.com"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/es/index.js","types":"types/index.d.ts","description":"A React hook that uses useEffect() on the server and useLayoutEffect() in the browser","keywords":["react","react hook","passive layout effect","isomorphic layout effect"],"sideEffects":false,"devDependencies":{"@babel/preset-react":"latest","@lunde/babel-preset-es":"latest","@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","babel-eslint":"latest","cross-env":"latest","eslint":"latest","eslint-import-resolver-jest":"latest","eslint-plugin-jest":"latest","eslint-plugin-react":"latest","eslint-plugin-react-hooks":"latest","husky":"latest","jest":"latest","lint-staged":"latest","prettier":"latest","pretty-quick":"latest","react":"^16.9.0","react-dom":"latest","react-test-renderer":"latest","rimraf":"^2.6.3"},"dependencies":{},"peerDependencies":{"react":">=16.8.0"},"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"babel src -d dist/cjs -x .js --ignore \"**/*.test.js\",\"**/test.js\" --delete-dir-on-start","build:es":"cross-env BABEL_ENV=es babel src -d dist/es -x .js  --ignore \"**/*.test.js\",\"**/test.js\" --delete-dir-on-start","format":"prettier --write \"**/*.{js,jsx,yml,md}\"","lint":"eslint src","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"npm run lint && npm run test -- --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"src/**/*.js":["eslint","pretty-quick --staged"],"**/*.{md,yml}":["pretty-quick --staged"]},"homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/passive-layout-effect#readme","repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@react-hook/passive-layout-effect@1.1.0","dist":{"shasum":"05e232bf77ffb2efb0a5c3a51826fd4539b343a8","size":2887,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@react-hook/passive-layout-effect/-/passive-layout-effect-1.1.0.tgz","integrity":"sha512-mdUSD+Quu4vB5bL0dN8CoJvfYdEtUf36ZqvHTt2Otdru6h0QgC7KbrCgOLdZ3tm/7N89ETHC5qJmXWFquXPN5g=="},"maintainers":[{"name":"anonymous","email":"jared@BeStellar.co"}],"_npmUser":{"name":"anonymous","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passive-layout-effect_1.1.0_1590869083915_0.19302593815019886"},"_hasShrinkwrap":false,"publish_time":1590869084053,"_cnpm_publish_time":1590869084053,"_cnpmcore_publish_time":"2021-12-16T19:35:06.414Z","contributors":[]},"1.0.3":{"name":"@react-hook/passive-layout-effect","version":"1.0.3","author":{"name":"Jared Lunde","email":"jared@BeStellar.co","url":"https://jaredLunde.com"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/es/index.js","types":"types/index.d.ts","description":"A React hook that uses useEffect() on the server and useLayoutEffect() in the browser","keywords":["react","react hook","passive layout effect","isomorphic layout effect"],"sideEffects":false,"devDependencies":{"@babel/preset-react":"latest","@lunde/babel-preset-es":"latest","@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","babel-eslint":"latest","cross-env":"latest","eslint":"latest","eslint-import-resolver-jest":"latest","eslint-plugin-jest":"latest","eslint-plugin-react":"latest","eslint-plugin-react-hooks":"latest","husky":"latest","jest":"latest","lint-staged":"latest","prettier":"latest","pretty-quick":"latest","react":"^16.9.0","react-dom":"latest","react-test-renderer":"latest","rimraf":"^2.6.3"},"dependencies":{},"peerDependencies":{"react":">=16.8.0"},"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"babel src -d dist/cjs -x .js --ignore \"**/*.test.js\",\"**/test.js\" --delete-dir-on-start","build:es":"cross-env BABEL_ENV=es babel src -d dist/es -x .js  --ignore \"**/*.test.js\",\"**/test.js\" --delete-dir-on-start","format":"prettier --write \"**/*.{js,jsx,yml,md}\"","lint":"eslint src","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"npm run lint && npm run test -- --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"src/**/*.js":["eslint","pretty-quick --staged"],"**/*.{md,yml}":["pretty-quick --staged"]},"homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/passive-layout-effect#readme","repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@react-hook/passive-layout-effect@1.0.3","dist":{"shasum":"55faac3bce2ad2b4a12eb0c6a52903da32fdc006","size":2589,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@react-hook/passive-layout-effect/-/passive-layout-effect-1.0.3.tgz","integrity":"sha512-VFUvBBSYWRigI/YhMRp28tncMWYVgzsUdmdIdZyJ3CpKgj5sLmm4RmJdIoKIfWO/WRX5XQ+83GW2E6VmqTHZ3g=="},"maintainers":[{"name":"anonymous","email":"jared@BeStellar.co"}],"_npmUser":{"name":"anonymous","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passive-layout-effect_1.0.3_1579756710609_0.832769134576866"},"_hasShrinkwrap":false,"publish_time":1579756710791,"_cnpm_publish_time":1579756710791,"_cnpmcore_publish_time":"2021-12-16T19:35:06.603Z","contributors":[]},"1.0.2":{"name":"@react-hook/passive-layout-effect","version":"1.0.2","author":{"name":"Jared Lunde","email":"jared@BeStellar.co","url":"https://jaredLunde.com"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/es/index.js","types":"types/index.d.ts","description":"A React hook that uses useEffect() on the server and useLayoutEffect() in the browser","keywords":["react","react hook","passive layout effect","isomorphic layout effect"],"sideEffects":false,"devDependencies":{"@babel/preset-react":"latest","@lunde/babel-preset-es":"latest","@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","babel-eslint":"latest","cross-env":"latest","eslint":"latest","eslint-import-resolver-jest":"latest","eslint-plugin-jest":"latest","eslint-plugin-react":"latest","eslint-plugin-react-hooks":"latest","husky":"latest","jest":"latest","lint-staged":"latest","prettier":"latest","pretty-quick":"latest","react":"^16.9.0","react-dom":"latest","react-test-renderer":"latest","rimraf":"^2.6.3"},"dependencies":{},"peerDependencies":{"react":">=16.8.0"},"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"babel src -d dist/cjs -x .js --ignore \"**/*.test.js\",\"**/test.js\" --delete-dir-on-start","build:es":"cross-env BABEL_ENV=es babel src -d dist/es -x .js  --ignore \"**/*.test.js\",\"**/test.js\" --delete-dir-on-start","format":"prettier --write \"**/*.{js,jsx,yml,md}\"","lint":"eslint src","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"npm run lint && npm run test -- --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"src/**/*.js":["eslint","pretty-quick --staged"],"**/*.{md,yml}":["pretty-quick --staged"]},"homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/passive-layout-effect#readme","repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@react-hook/passive-layout-effect@1.0.2","dist":{"shasum":"a0138ece2a86d53d9ba947818715076a9aed6ba7","size":2520,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@react-hook/passive-layout-effect/-/passive-layout-effect-1.0.2.tgz","integrity":"sha512-el1V2Calc5/HzUbz/Gkit9yeI/ypoap46Eo9u4EOg6+pnSQkUwU0faM22+Owp7+0cbz30fT9zFLrXy4JDuBSBQ=="},"maintainers":[{"name":"anonymous","email":"jared@BeStellar.co"}],"_npmUser":{"name":"anonymous","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passive-layout-effect_1.0.2_1574722541159_0.4127420918518405"},"_hasShrinkwrap":false,"publish_time":1574722541260,"_cnpm_publish_time":1574722541260,"_cnpmcore_publish_time":"2021-12-16T19:35:06.822Z","contributors":[]},"1.0.1":{"name":"@react-hook/passive-layout-effect","version":"1.0.1","author":{"name":"Jared Lunde","email":"jared@BeStellar.co","url":"https://jaredLunde.com"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/es/index.js","description":"A React hook that uses useEffect() on the server and useLayoutEffect() in the browser","keywords":["react","react hook","passive layout effect","isomorphic layout effect"],"sideEffects":false,"devDependencies":{"@babel/preset-react":"latest","@lunde/babel-preset-es":"latest","@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","babel-eslint":"latest","cross-env":"latest","eslint":"latest","eslint-import-resolver-jest":"latest","eslint-plugin-jest":"latest","eslint-plugin-react":"latest","eslint-plugin-react-hooks":"latest","husky":"latest","jest":"latest","lint-staged":"latest","prettier":"latest","pretty-quick":"latest","react":"^16.9.0","react-dom":"latest","react-test-renderer":"latest","rimraf":"^2.6.3"},"dependencies":{},"peerDependencies":{"react":">=16.8.0"},"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"babel src -d dist/cjs -x .js --ignore \"**/*.test.js\",\"**/test.js\" --delete-dir-on-start","build:es":"cross-env BABEL_ENV=es babel src -d dist/es -x .js  --ignore \"**/*.test.js\",\"**/test.js\" --delete-dir-on-start","format":"prettier --write \"**/*.{js,jsx,yml,md}\"","lint":"eslint src","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"npm run lint && npm run test -- --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"src/**/*.js":["eslint","pretty-quick --staged"],"**/*.{md,yml}":["pretty-quick --staged"]},"homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/passive-layout-effect#readme","repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@react-hook/passive-layout-effect@1.0.1","dist":{"shasum":"3c6cabb4b63439a8c168ed2e0685178814cfabb6","size":2373,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@react-hook/passive-layout-effect/-/passive-layout-effect-1.0.1.tgz","integrity":"sha512-EG0DvwxiNyVaCgjtHzEL7+2E3fnoMAc0QuMrqoauPGID+vqEdGcH4oV3xsalTG/pXj+IIRP06MZjgBlMIksH2w=="},"maintainers":[{"name":"anonymous","email":"jared@BeStellar.co"}],"_npmUser":{"name":"anonymous","email":"jared@BeStellar.co"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passive-layout-effect_1.0.1_1571598613224_0.24832194687520381"},"_hasShrinkwrap":false,"publish_time":1571598613350,"_cnpm_publish_time":1571598613350,"_cnpmcore_publish_time":"2021-12-16T19:35:07.008Z","contributors":[]},"1.0.0":{"name":"@react-hook/passive-layout-effect","version":"1.0.0","author":{"name":"Jared Lunde","email":"jared@BeStellar.co","url":"https://jaredLunde.com"},"license":"MIT","main":"dist/cjs/index.js","module":"dist/es/index.js","description":"A React hook that uses useEffect() on the server and useLayoutEffect() in the browser","keywords":["react","react hook","passive layout effect","isomorphic layout effect"],"sideEffects":false,"devDependencies":{"@babel/preset-react":"latest","@lunde/babel-preset-es":"latest","@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","babel-eslint":"latest","cross-env":"latest","eslint":"latest","eslint-import-resolver-jest":"latest","eslint-plugin-jest":"latest","eslint-plugin-react":"latest","eslint-plugin-react-hooks":"latest","husky":"latest","jest":"latest","lint-staged":"latest","prettier":"latest","pretty-quick":"latest","react":"^16.9.0","react-dom":"latest","react-test-renderer":"latest","rimraf":"^2.6.3"},"dependencies":{},"peerDependencies":{"react":">=16.8.0"},"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"babel src -d dist/cjs -x .js --ignore \"**/*.test.js\",\"**/test.js\" --delete-dir-on-start","build:es":"cross-env BABEL_ENV=es babel src -d dist/es -x .js  --ignore \"**/*.test.js\",\"**/test.js\" --delete-dir-on-start","format":"prettier --write \"**/*.{js,jsx,yml,md}\"","lint":"eslint src","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"npm run lint && npm run test -- --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"src/**/*.js":["eslint","pretty-quick --staged"],"**/*.{md,yml}":["pretty-quick --staged"]},"homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/passive-layout-effect#readme","repository":{"type":"git","url":"https://github.com/jaredLunde/react-hook.git"},"bugs":{"url":"https://github.com/jaredLunde/react-hook/issues"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@react-hook/passive-layout-effect@1.0.0","dist":{"shasum":"f0379e352a77e34bf08fcce6611c4b46e9546b95","size":2373,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@react-hook/passive-layout-effect/-/passive-layout-effect-1.0.0.tgz","integrity":"sha512-g3l7T5SRzCHya0wQrXo75UAYAJG4p87nsYAva5Nl5oXTz06cd0CxA0q8eAs6pQub4Lo5uk2E9V3t+DZadrIKcQ=="},"maintainers":[{"name":"anonymous","email":"jared@BeStellar.co"}],"_npmUser":{"name":"anonymous","email":"jared@BeStellar.co"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passive-layout-effect_1.0.0_1568759925103_0.3856328821109527"},"_hasShrinkwrap":false,"publish_time":1568759925217,"_cnpm_publish_time":1568759925217,"_cnpmcore_publish_time":"2021-12-16T19:35:07.362Z","contributors":[]}},"dist-tags":{"latest":"1.2.1"},"name":"@react-hook/passive-layout-effect","time":{"created":"2022-01-27T10:27:55.078Z","modified":"2022-01-27T10:27:55.078Z","1.2.1":"2020-09-01T16:35:37.924Z","1.2.0":"2020-06-05T04:52:56.619Z","1.1.0":"2020-05-30T20:04:44.053Z","1.0.3":"2020-01-23T05:18:30.791Z","1.0.2":"2019-11-25T22:55:41.260Z","1.0.1":"2019-10-20T19:10:13.350Z","1.0.0":"2019-09-17T22:38:45.217Z"},"readme":"<hr>\n<div align=\"center\">\n  <h1 align=\"center\">\n    usePassiveLayoutEffect()\n  </h1>\n</div>\n\n<p align=\"center\">\n  <a href=\"https://bundlephobia.com/result?p=@react-hook/passive-layout-effect\">\n    <img alt=\"Bundlephobia\" src=\"https://img.shields.io/bundlephobia/minzip/@react-hook/passive-layout-effect?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"Types\" href=\"https://www.npmjs.com/package/@react-hook/passive-layout-effect\">\n    <img alt=\"Types\" src=\"https://img.shields.io/npm/types/@react-hook/passive-layout-effect?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"Build status\" href=\"https://travis-ci.com/jaredLunde/react-hook\">\n    <img alt=\"Build status\" src=\"https://img.shields.io/travis/com/jaredLunde/react-hook?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"NPM version\" href=\"https://www.npmjs.com/package/@react-hook/passive-layout-effect\">\n    <img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@react-hook/passive-layout-effect?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"License\" href=\"https://jaredlunde.mit-license.org/\">\n    <img alt=\"MIT License\" src=\"https://img.shields.io/npm/l/@react-hook/passive-layout-effect?style=for-the-badge&labelColor=24292e\">\n  </a>\n</p>\n\n<pre align=\"center\">npm i @react-hook/passive-layout-effect</pre>\n<hr>\n\nA React hook that uses `useEffect()` on the server and `useLayoutEffect()` in the browser\n\n## Quick Start\n\n```jsx harmony\nimport useLayoutEffect from '@react-hook/passive-layout-effect'\n\nconst Component = ({foo, bar}) => {\n  // Used the same way useEffect() and useLayoutEffect() are\n  useLayoutEffect(() => {}, [foo, bar])\n}\n```\n\n## Full credit to\n\n[Dan Abramov](https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85)\n\n## LICENSE\n\nMIT","users":{}}