{"_id":"@rc-component/mutate-observer","_rev":"7-87bd9b5faf997165e5c03b7c34928227","name":"@rc-component/mutate-observer","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0-alpha.1":{"name":"@rc-component/mutate-observer","version":"1.0.0-alpha.1","keywords":["react","react-component","mutate-observer"],"author":{"name":"574980606@qq.com"},"license":"MIT","_id":"@rc-component/mutate-observer@1.0.0-alpha.1","maintainers":[{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"}],"homepage":"https://github.com/react-component/mutate-observer","bugs":{"url":"https://github.com/react-component/mutate-observer/issues"},"dist":{"shasum":"9e41b167745147598f52ae233f12360253e3ab92","tarball":"https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-1.0.0-alpha.1.tgz","fileCount":15,"integrity":"sha512-PoohPX93LG7khS3kzzDiy7VqWZ9G4NLzrEvUKa+Q0JKfqsPwGAYhgX+1EvU26hhSS7FDnLLewpfK2mTq5TQRGQ==","signatures":[{"sig":"MEUCIQC0r1rwaLo4Qd/nc14RL35izWvrVQqEyKEoH/Cc7pJT3wIgfALv7rOZgQLnBMMGqSncGZE0WrhCzxUR/B8HyuFiaeg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtt3PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoX8A//ehT9QAa8Prc5Ep7aKZzPCLQhqFThMhgKhKyfMwjTJ5R1MX6/\r\n4SkE939hK9g8dfAI5cBzHTwws8RKbje3NPJwPXm0Iuu0GXNDajVHkOlkwXPr\r\nXC/4IH26jWoMVdwuQXPPggNlPnANO/O/xPT4yDG9Aa/NP7C8SKD/ueC9NxMb\r\nldjgN1pmxMaiKk3PcEHvaYqzai3jMHcXhN0hwgWCKG6cCQw6t17+KGpStb8b\r\nRxHK9s1h8zY2oEj0JiSNnugbkecKd4kQGzmDj73/pqB5SyzdsrRvlySNgAfq\r\n3fem5jx9qEs8jtK81Fu6LIcwx1RoFOD7if5IRJf5J2hV406QBYo2LoQpRYDL\r\nWTNKfwLhyQoTRkhu5MjPt4IkxWD0iBdV+iVPRh/QbXI1WK/JEwax/A5Lupn9\r\nE6VgnFKSnfgnbS2lRCog8xbAtV9Rgb158ZfQauAzKB21pvYsb4EMCXZ4kEAU\r\nF99lvZaPjupMwUfqYr7JTNt+v5NOkmDDjSeJfc/LK94VE9upwMRGVg++ioOO\r\n3LmiUNIMZXwiZJLMrtdZhyxk+JWdoIPWxnWp4caRilql+URk76I7/VYgBavU\r\nBoeoeofHiRcktsd0EXWVDc9jN8NTXWvVU8hOEuOG3wgobbkFkjnv99z4rkMJ\r\nW6yyJw5mceLexsCfYMIIb5cBENYe4TSLLzo=\r\n=yKA8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index","module":"./es/index","engines":{"node":">=8.x"},"gitHead":"b3aec81e150470a144e88f874be890dfd36717e9","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"npm run test:client && npm run test:server","start":"dumi dev","watch":"father dev","deploy":"npm run docs:build && npm run docs:deploy","compile":"father build","lint:tsc":"tsc -p tsconfig.json --noEmit","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","now-build":"npm run docs:build","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","test:client":"umi-test --testPathIgnorePatterns=ssr.test.tsx --testPathIgnorePatterns=ssr.test.tsx","test:server":"umi-test --env=node -- tests/ssr.test.tsx","test:coverage":"npm run test:client --coverage","prepublishOnly":"npm run compile && np --no-cleanup --yolo --no-publish"},"typings":"es/index.d.ts","_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/react-component/mutate-observer.git","type":"git"},"_npmVersion":"8.19.2","description":"React MutateObserver Component","directories":{},"_nodeVersion":"16.17.0","dependencies":{"rc-util":"^5.24.4","classnames":"^2.3.2","@babel/runtime":"^7.18.0"},"_hasShrinkwrap":false,"devDependencies":{"np":"^5.0.3","dumi":"^1.1.0","react":"^18.0.0","eslint":"^7.18.0","father":"^4.0.0-rc.8","gh-pages":"^3.1.0","prettier":"^2.1.2","umi-test":"^1.9.7","react-dom":"^18.0.0","typescript":"^4.6.3","@types/jest":"^26.0.20","@types/react":"^18.0.0","@umijs/fabric":"^2.5.2","@types/react-dom":"^18.0.0","@testing-library/react":"^13.0.0","@testing-library/jest-dom":"^5.16.4","@rc-component/father-plugin":"^1.0.0"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/mutate-observer_1.0.0-alpha.1_1672928719739_0.8683323535012535","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@rc-component/mutate-observer","version":"1.0.0","keywords":["react","react-component","mutate-observer"],"author":{"name":"574980606@qq.com"},"license":"MIT","_id":"@rc-component/mutate-observer@1.0.0","maintainers":[{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"}],"homepage":"https://github.com/react-component/mutate-observer","bugs":{"url":"https://github.com/react-component/mutate-observer/issues"},"dist":{"shasum":"ce99af3239ed9c74ee3e7302f1c67098de920b46","tarball":"https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-1.0.0.tgz","fileCount":15,"integrity":"sha512-okqRJSfNisXdI6CUeOLZC5ukBW/8kir2Ii4PJiKpUt+3+uS7dxwJUMxsUZquxA1rQuL8YcEmKVp/TCnR+yUdZA==","signatures":[{"sig":"MEUCIQDpsDx9yaZHBIx8adFXbhPLDq6vRSy3ndWgO91gmXfViAIgPExM37PueD7VlpO/tDC/slDnuiaKP6hs+n7slq9NYe0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJju43TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+9BAAlPnsTkC22y8VuW15LwEiekI3Ltj9FteORz4Nd2QbR5P5TE3K\r\nZmzvZlfySF3U9iwnw3hjhsuHRWiM9GyzDvwnKdhvGMJFNvh1JHkdgEwmEgvC\r\n7OdJ4I0/fqM3eKEyEfKt2ejDZSaOBzgNwAu6TlAqNWGDXYnksKFy0zvvqmnV\r\nGtmiwbH6L+fY+JbDY3yX5d7Ps94kpLxVW+ncFss7+bFDvm9BG/8teQwF/4uP\r\n7AvcLGDZh1w9s0DpIgtkTD844PgLQiqqC1nyCoP7hN3I4Cw0Mlw3K66y/dEr\r\njG5ZjR/FFywo1K/H6DHYl7zOzXgkjsIhirCUVlfMGiQayLhvQjBSoIxjmVgm\r\nazTyhi28YjREjXpdGTCXsWzGBLljtORkpYoUwM8B0tePGvKIgUKqi7tjbQyu\r\n90n4gtugP7rroNDFSlidLS35bjw384b+jQoInkWuWqIph8IsATft9y9BUhtV\r\nyFQ7cujbNh6CEqi2189loJK6hfP0GrRknlBQC2Zjg/y7TFMeGD4BK7MeH2b0\r\negmiC++SoMbzVW6m6ONZolZAKnkZCGLimsWgczU85VmStwvRILAVhdcfVyK4\r\nKKaWxfA1FJcujPsqx3XkTJDeu9EoEegiyST/QtxHKoW0Oulpf8cij2Yxncs0\r\n76jXesvRCjPy47MW0aBLJS27cQkZy8rUeYM=\r\n=MhYv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index","module":"./es/index","engines":{"node":">=8.x"},"gitHead":"17d6a6b34999799067f5fe6bc6ed46723d7647b0","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"npm run test:client && npm run test:server","start":"dumi dev","watch":"father dev","deploy":"npm run docs:build && npm run docs:deploy","compile":"father build","lint:tsc":"tsc -p tsconfig.json --noEmit","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","now-build":"npm run docs:build","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","test:client":"umi-test --testPathIgnorePatterns=ssr.test.tsx --testPathIgnorePatterns=ssr.test.tsx","test:server":"umi-test --env=node -- tests/ssr.test.tsx","test:coverage":"npm run test:client --coverage","prepublishOnly":"npm run compile && np --no-cleanup --yolo --no-publish"},"typings":"es/index.d.ts","_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/react-component/mutate-observer.git","type":"git"},"_npmVersion":"8.19.2","description":"React MutateObserver Component","directories":{},"_nodeVersion":"16.17.0","dependencies":{"rc-util":"^5.24.4","classnames":"^2.3.2","@babel/runtime":"^7.18.0"},"_hasShrinkwrap":false,"devDependencies":{"np":"^5.0.3","dumi":"^1.1.0","react":"^18.0.0","eslint":"^7.18.0","father":"^4.0.0-rc.8","gh-pages":"^3.1.0","prettier":"^2.1.2","umi-test":"^1.9.7","react-dom":"^18.0.0","typescript":"^4.6.3","@types/jest":"^26.0.20","@types/react":"^18.0.0","@umijs/fabric":"^2.5.2","@types/react-dom":"^18.0.0","@testing-library/react":"^13.0.0","@testing-library/jest-dom":"^5.16.4","@rc-component/father-plugin":"^1.0.0"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/mutate-observer_1.0.0_1673235923482_0.10469956175696504","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@rc-component/mutate-observer","version":"1.1.0","keywords":["react","react-component","mutate-observer"],"author":{"name":"574980606@qq.com"},"license":"MIT","_id":"@rc-component/mutate-observer@1.1.0","maintainers":[{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"}],"homepage":"https://github.com/react-component/mutate-observer","bugs":{"url":"https://github.com/react-component/mutate-observer/issues"},"dist":{"shasum":"ee53cc88b78aade3cd0653609215a44779386fd8","tarball":"https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-1.1.0.tgz","fileCount":23,"integrity":"sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw==","signatures":[{"sig":"MEUCIF/QjsMFrDAvSASPtWNbhiY8wZNNJ1jWjOfyvyb6V0zpAiEApLuqxFfdIt/IFoJh9LCElqh4B/yFPUTirDPKQtGmfoQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16672},"main":"./lib/index","module":"./es/index","engines":{"node":">=8.x"},"gitHead":"63678092b439032d0fd8152f49c2853a5bfd3934","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"umi-test","start":"dumi dev","watch":"father dev","deploy":"npm run docs:build && npm run docs:deploy","compile":"father build","lint:tsc":"tsc -p tsconfig.json --noEmit","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","now-build":"npm run docs:build","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","test:coverage":"npm run test --coverage","prepublishOnly":"npm run compile && np --no-cleanup --yolo --no-publish"},"typings":"es/index.d.ts","_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/react-component/mutate-observer.git","type":"git"},"_npmVersion":"8.19.2","description":"React MutateObserver Component","directories":{},"_nodeVersion":"16.17.0","dependencies":{"rc-util":"^5.24.4","classnames":"^2.3.2","@babel/runtime":"^7.18.0"},"_hasShrinkwrap":false,"devDependencies":{"np":"^5.0.3","dumi":"^1.1.0","react":"^18.0.0","eslint":"^7.18.0","father":"^4.0.0-rc.8","gh-pages":"^3.1.0","prettier":"^2.1.2","umi-test":"^1.9.7","react-dom":"^18.0.0","typescript":"^4.6.3","@types/jest":"^26.0.20","@types/react":"^18.0.0","@umijs/fabric":"^2.5.2","@types/react-dom":"^18.0.0","@testing-library/react":"^13.0.0","@testing-library/jest-dom":"^5.16.4","@rc-component/father-plugin":"^1.0.0"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/mutate-observer_1.1.0_1691408457055_0.09402694647188259","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@rc-component/mutate-observer","version":"2.0.0","keywords":["react","react-component","mutate-observer"],"author":{"name":"574980606@qq.com"},"license":"MIT","_id":"@rc-component/mutate-observer@2.0.0","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"}],"homepage":"https://github.com/react-component/mutate-observer","bugs":{"url":"https://github.com/react-component/mutate-observer/issues"},"dist":{"shasum":"57caaf9361da06b218e0ca14d9b16e81aa3c1e94","tarball":"https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-2.0.0.tgz","fileCount":19,"integrity":"sha512-hcHRFgtKAJfqFW+p4qgea4oLuwDxR2oyDY+3VFcZCRuf723Y0ZO2JFzqfDeL0CY+FO+Fs9G+CRg7WFOZjIymtA==","signatures":[{"sig":"MEYCIQCKnyOKxY5nIf5bhJkTQDrdZ8rb7TnlTYD6zikhqJTwTAIhAPoYJNTRiLtnMaGEJ6qnDIJNyc5T1r/psq2QIjoWWX1n","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13086},"main":"./lib/index","module":"./es/index","engines":{"node":">=8.x"},"gitHead":"f11ce0fc0400008812c9d0395fe992c12f1a34ad","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"umi-test","start":"dumi dev","watch":"father dev","deploy":"npm run docs:build && npm run docs:deploy","compile":"father build","prepare":"dumi setup","lint:tsc":"tsc -p tsconfig.json --noEmit","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","now-build":"npm run docs:build","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","test:coverage":"npm run test --coverage","prepublishOnly":"npm run compile && rc-np"},"typings":"es/index.d.ts","_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/react-component/mutate-observer.git","type":"git"},"_npmVersion":"10.8.2","description":"React MutateObserver Component","directories":{},"_nodeVersion":"22.5.1","dependencies":{"classnames":"^2.3.2","@rc-component/util":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"dumi":"^2.0.0","glob":"^10.0.0","react":"^18.0.0","eslint":"^8.54.0","father":"^4.0.0","cheerio":"1.0.0-rc.12","gh-pages":"^3.1.0","prettier":"^2.1.2","umi-test":"^1.9.7","react-dom":"^18.0.0","typescript":"^5.0.0","@types/jest":"^26.0.20","@types/node":"^22.10.7","@types/react":"^19.0.7","@umijs/fabric":"^3.0.0","@rc-component/np":"^1.0.3","@types/react-dom":"^19.0.3","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^49.0.0","@testing-library/react":"^13.0.0","@testing-library/jest-dom":"^5.16.4","@rc-component/father-plugin":"^2.0.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/mutate-observer_2.0.0_1737714961244_0.6842253833879859","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@rc-component/mutate-observer","version":"2.0.1","keywords":["react","react-component","mutate-observer"],"author":{"name":"574980606@qq.com"},"license":"MIT","_id":"@rc-component/mutate-observer@2.0.1","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"}],"homepage":"https://github.com/react-component/mutate-observer","bugs":{"url":"https://github.com/react-component/mutate-observer/issues"},"dist":{"shasum":"78f54a23bff7c62b2137dfb67e063c1be6ac0652","tarball":"https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-2.0.1.tgz","fileCount":19,"integrity":"sha512-AyarjoLU5YlxuValRi+w8JRH2Z84TBbFO2RoGWz9d8bSu0FqT8DtugH3xC3BV7mUwlmROFauyWuXFuq4IFbH+w==","signatures":[{"sig":"MEQCIFN4iFnFd3PIoRkrZQVUCEM+s7YyjRmIyu/AUW5wY0ssAiAez198FDHJtbYa/4Hv58RiW1u7ZzmVTpNhf1ckdYB2Xg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13829},"main":"./lib/index","module":"./es/index","engines":{"node":">=8.x"},"gitHead":"5455ccbb133ad5db622b1888e32b424108feeacf","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"umi-test","start":"dumi dev","watch":"father dev","deploy":"npm run docs:build && npm run docs:deploy","compile":"father build","prepare":"dumi setup","lint:tsc":"tsc -p tsconfig.json --noEmit","prettier":"prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"","now-build":"npm run docs:build","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","test:coverage":"npm run test --coverage","prepublishOnly":"npm run compile && rc-np"},"typings":"es/index.d.ts","_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"repository":{"url":"git+https://github.com/react-component/mutate-observer.git","type":"git"},"_npmVersion":"11.6.0","description":"React MutateObserver Component","directories":{},"_nodeVersion":"22.8.0","dependencies":{"@rc-component/util":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"dumi":"^2.0.0","glob":"^10.0.0","react":"^18.0.0","eslint":"^8.54.0","father":"^4.0.0","cheerio":"1.0.0-rc.12","gh-pages":"^3.1.0","prettier":"^2.1.2","umi-test":"^1.9.7","react-dom":"^18.0.0","typescript":"^5.0.0","@types/jest":"^26.0.20","@types/node":"^22.10.7","@types/react":"^19.0.7","@umijs/fabric":"^3.0.0","@rc-component/np":"^1.0.3","@types/react-dom":"^19.0.3","eslint-plugin-jest":"^27.6.0","eslint-plugin-unicorn":"^49.0.0","@testing-library/react":"^13.0.0","@testing-library/jest-dom":"^5.16.4","@rc-component/father-plugin":"^2.0.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/mutate-observer_2.0.1_1764298962123_0.7670633499731787","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"_id":"@rc-component/mutate-observer@2.0.2","bugs":{"url":"https://github.com/react-component/mutate-observer/issues"},"dist":{"shasum":"3afe298a6523a8cf6bd4a704b6958acc3568b2cb","tarball":"https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-2.0.2.tgz","fileCount":20,"integrity":"sha512-j1pZl4KViPS7pRbCj7fKf65H+SyiaE+5i1V7H+YwrF4wK3uTaxo/6PwOoOq1Qgcr0gyyyIR43f2SVyNw3eDHZQ==","signatures":[{"sig":"MEUCIDGajY97BwuzWJFpJXvHPIGLhM1UJ6/wko1yCEsXA28fAiEA/13erXxWBz2wnekECL3Mg42f86scVPfzlPnZ/z8DOeM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQChNLCeyWTaM0zmSHpd3GnC94fkFY2dcrThcNAUa0N17AIgCgrlF+eNB+M18lNdmherGwCMe9HOjD9rdjeyocUD3j0="}],"unpackedSize":19017},"main":"./lib/index","name":"@rc-component/mutate-observer","types":"./es/index.d.ts","author":{"name":"574980606@qq.com"},"module":"./es/index","engines":{"node":">=8.x"},"gitHead":"5968b33fc2c678448cde91ec5eafae718e1f0112","license":"MIT","scripts":{"tsc":"tsc --noEmit","lint":"eslint src/ --ext .tsx,.ts","test":"rc-test","build":"npm run docs:build","start":"dumi dev","watch":"father dev","deploy":"npm run gh-pages","compile":"father build","prepare":"husky && dumi setup","gh-pages":"cross-env GH_PAGES=1 npm run docs:build && npm run docs:deploy","lint:tsc":"tsc -p tsconfig.json --noEmit","prettier":"prettier --write --ignore-unknown .","docs:build":"dumi build","docs:deploy":"gh-pages -d docs-dist","test:coverage":"npm run test -- --coverage","prepublishOnly":"npm run compile && rc-np"},"version":"2.0.2","_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"homepage":"https://react-component.github.io/mutate-observer","keywords":["react","react-component","mutate-observer"],"repository":{"url":"git+https://github.com/react-component/mutate-observer.git","type":"git"},"_npmVersion":"11.19.1","description":"React MutateObserver Component","directories":{},"lint-staged":{"*":"prettier --write --ignore-unknown"},"maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"}],"_nodeVersion":"26.9.0","dependencies":{"@rc-component/util":"^1.13.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dumi":"^2.4.38","glob":"^13.0.6","husky":"^9.1.7","react":"^19.2.7","eslint":"^10.6.0","father":"^4.6.24","cheerio":"1.2.0","globals":"^17.7.0","rc-test":"^7.1.3","gh-pages":"^6.3.0","prettier":"^3.9.4","cross-env":"^10.1.0","react-dom":"^19.2.7","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/jest":"^30.0.0","@types/node":"^26.0.1","lint-staged":"^17.0.8","@types/react":"^19.2.17","@eslint/compat":"^2.1.0","@rc-component/np":"^1.0.4","@types/react-dom":"^19.2.3","typescript-eslint":"^8.62.1","eslint-plugin-jest":"^29.15.4","eslint-plugin-react":"^7.37.5","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","eslint-config-prettier":"^10.1.8","@testing-library/jest-dom":"^6.9.1","eslint-plugin-react-hooks":"^7.1.1","@rc-component/father-plugin":"^2.2.0"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mutate-observer_2.0.2_1795404107199_0.25564055382866735"}}},"time":{"created":"2023-01-05T14:25:19.634Z","modified":"2026-11-23T03:21:47.593Z","1.0.0-alpha.1":"2023-01-05T14:25:19.943Z","1.0.0":"2023-01-09T03:45:23.668Z","1.1.0":"2023-08-07T11:40:57.223Z","2.0.0":"2025-01-24T10:36:01.452Z","2.0.1":"2025-11-28T03:02:42.339Z","2.0.2":"2026-11-23T03:21:47.304Z"},"bugs":{"url":"https://github.com/react-component/mutate-observer/issues"},"author":{"name":"574980606@qq.com"},"license":"MIT","homepage":"https://react-component.github.io/mutate-observer","keywords":["react","react-component","mutate-observer"],"repository":{"url":"git+https://github.com/react-component/mutate-observer.git","type":"git"},"description":"React MutateObserver Component","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"}],"readme":"<div align=\"center\">\n  <h1>@rc-component/mutate-observer</h1>\n  <p><sub><a href=\"https://ant.design\"><img alt=\"Ant Design\" height=\"14\" src=\"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg\" style=\"vertical-align: -0.125em;\" /></a> Ant Design 生态的一部分。</sub></p>\n  <p>👁️ 轻量 React DOM 变更观察组件。</p>\n\n  <p>\n    <a href=\"https://npmjs.org/package/@rc-component/mutate-observer\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@rc-component/mutate-observer.svg?style=flat-square\"></a>\n    <a href=\"https://npmjs.org/package/@rc-component/mutate-observer\"><img alt=\"npm downloads\" src=\"https://img.shields.io/npm/dm/@rc-component/mutate-observer.svg?style=flat-square\"></a>\n    <a href=\"https://github.com/react-component/mutate-observer/actions/workflows/react-component-ci.yml\"><img alt=\"build status\" src=\"https://github.com/react-component/mutate-observer/actions/workflows/react-component-ci.yml/badge.svg\"></a>\n    <a href=\"https://app.codecov.io/gh/react-component/mutate-observer\"><img alt=\"Codecov\" src=\"https://img.shields.io/codecov/c/github/react-component/mutate-observer/master.svg?style=flat-square\"></a>\n    <a href=\"https://bundlephobia.com/package/@rc-component/mutate-observer\"><img alt=\"bundle size\" src=\"https://img.shields.io/bundlephobia/minzip/@rc-component/mutate-observer?style=flat-square\"></a>\n    <a href=\"https://github.com/umijs/dumi\"><img alt=\"dumi\" src=\"https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\"></a>\n  </p>\n</div>\n\n<p align=\"center\"><a href=\"./README.md\">English</a> | 简体中文</p>\n\n## 特性\n\n- 用于观察渲染的 DOM 节点变化的组件和钩子 API。\n- 将 `MutationRecord[]` 和本机 `MutationObserver` 实例传递给 `onMutate`。\n- 支持完整的本机 `MutationObserverInit` 选项对象。\n- 组件 props 和 hook 用法的 TypeScript 定义。\n- 被 Ant Design 用作小型 DOM 观察原语。\n\n## 安装\n\n```bash\nnpm install @rc-component/mutate-observer\n```\n\n## 使用\n\n```tsx | pure\nimport MutateObserver from '@rc-component/mutate-observer';\nexport default () => (\n  <MutateObserver\n    options={{ attributes: true, childList: true, subtree: true }}\n    onMutate={(mutations, observer) => {\n      console.log(mutations);\n      console.log(observer);\n    }}\n  >\n    <div>Observed content</div>\n  </MutateObserver>\n);\n```\n\n```tsx | pure\nimport { useMutateObserver } from '@rc-component/mutate-observer';\n\nexport default ({ target }: { target: HTMLDivElement | null }) => {\n  useMutateObserver(target, mutations => {\n    console.log(mutations);\n  });\n\n  return <div>Observed content</div>;\n};\n```\n\n## 示例\n\n运行本地 dumi 站点：\n\n```bash\nnpm install\nnpm start\n```\n\n然后打开 `http://localhost:8000`。\n\n## API\n\n### MutateObserver\n\n| 参数 | 类型                                                                | 默认值 | 说明                                                               |\n| -------- | ------------------------------------------------------------------- | ------- | ------------------------------------------------------------------------- |\n| children | `React.ReactNode` | - | 要渲染和观察的节点。 |\n| options | `MutationObserverInit` | - | 本机观察者选项，例如 `attributes`、`childList` 和 `subtree`。 |\n| onMutate | `(mutations: MutationRecord[], observer: MutationObserver) => void` | -       | 当报告观察到的突变时触发。                           |\n\n### useMutateObserver\n\n```ts\nuseMutateObserver(target, callback, options);\n```\n\n该 Hook 会用与组件相同的回调和原生 `MutationObserverInit` 配置监听目标元素或元素数组。\n\n## 本地开发\n\n```bash\nnpm install\nnpm start\nnpm test\nnpm run tsc\nnpm run compile\nnpm run build\n```\n\ndumi 站点默认运行在 `http://localhost:8000`。\n\n## 发布\n\n```bash\nnpm run prepublishOnly\n```\n\n包构建完成后，发布流程由 `@rc-component/np` 通过 `rc-np` 命令处理。\n\n## 许可证\n\n@rc-component/mutate-observer 基于 [MIT](./LICENSE) 许可证发布。\n","readmeFilename":"README.zh-CN.md"}