{"name":"immer","version":"10.2.0","keywords":["immutable","mutable","copy-on-write"],"author":{"name":"Michel Weststrate","email":"info@michel.codes"},"license":"MIT","_id":"immer@10.2.0","maintainers":[{"name":"mweststrate","email":"mweststrate@gmail.com"},{"name":"aleclarson","email":"alec.stanford.larson@gmail.com"}],"homepage":"https://github.com/immerjs/immer#readme","bugs":{"url":"https://github.com/immerjs/immer/issues"},"dist":{"shasum":"88a4ce06a1af64172d254b70f7cb04df51c871b1","tarball":"http://registry-npm.ywwl.com/immer/download/immer-10.2.0.tgz","fileCount":33,"integrity":"sha512-d/+XTN3zfODyjr89gM3mPq1WNX2B8pYsu7eORitdwyA2sBubnTl3laYlBk4sXY5FUa5qTZGBDPJICVbvqzjlbw==","signatures":[{"sig":"MEUCIBe3LIG0+c1jQB3a2yBp87uRdqc7ck7T16+YnrvTlgEcAiEA2rci2YpuIo4dTs/v0FiuogFAr2zcLilsRKCtWEXQkbI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":658441,"size":171225,"noattachment":false,"key":"/immer/-/immer-10.2.0.tgz"},"main":"./dist/cjs/index.js","husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"types":"./dist/immer.d.ts","module":"./dist/immer.legacy-esm.js","source":"src/immer.ts","exports":{".":{"import":{"types":"./dist/immer.d.ts","default":"./dist/immer.mjs"},"require":{"types":"./dist/immer.d.ts","default":"./dist/cjs/index.js"},"react-native":{"types":"./dist/immer.d.ts","default":"./dist/immer.legacy-esm.js"}},"./package.json":"./package.json"},"funding":{"url":"https://opencollective.com/immer","type":"opencollective"},"gitHead":"e1996ceb8a3a180c565b7304a4f3c4ce3b1a08ff","scripts":{"test":"vitest run && yarn test:build && yarn test:flow","build":"tsup","start":"cd website && yarn start","watch":"vitest","pretest":"yarn build","coverage":"vitest run --coverage","test:src":"vitest run","coveralls":"vitest run --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage","test:flow":"yarn flow check __tests__/flow","test:perf":"cd __performance_tests__ && node add-data.mjs && node todo.mjs && node incremental.mjs && node large-obj.mjs","test:size":"yarn build && yarn import-size --report . produce enableMapSet enablePatches","test:build":"vitest run --config vitest.config.build.ts","publish-docs":"cd website && GIT_USER=mweststrate USE_SSH=true yarn docusaurus deploy","test:sizequick":"yarn build && yarn import-size . produce"},"_npmUser":{"name":"mweststrate","email":"mweststrate@gmail.com"},"repository":{"url":"git+https://github.com/immerjs/immer.git","type":"git"},"_npmVersion":"7.24.2","description":"Create your next immutable state by mutating the current one","directories":{},"jsnext:main":"dist/immer.mjs","sideEffects":false,"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"cpx2":"^3.0.0","tsup":"^6.7.0","vite":"^5.4.0","husky":"^1.2.0","redux":"^4.0.5","lodash":"^4.17.4","rimraf":"^2.6.2","vitest":"^2.0.0","flow-bin":"^0.123.0","prettier":"1.19.1","coveralls":"^3.0.0","immutable":"^3.8.2","typescript":"^5.0.2","@babel/core":"^7.21.3","@types/node":"^24.3.1","deep-freeze":"^0.0.1","import-size":"^1.0.2","pretty-quick":"^1.8.0","lodash.clonedeep":"^4.5.0","semantic-release":"^17.0.2","seamless-immutable":"^7.1.3","@vitest/coverage-v8":"2.1.9"},"_npmOperationalInternal":{"tmp":"tmp/immer_10.2.0_1761391864479_0.7798378132271113","host":"s3://npm-registry-packages-npm-production"},"readme":"<img src=\"images/immer-logo.svg\" height=\"200px\" align=\"right\"/>\n\n# Immer\n\n[![npm](https://img.shields.io/npm/v/immer.svg)](https://www.npmjs.com/package/immer) [![Build Status](https://github.com/immerjs/immer/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/immerjs/immer/actions?query=branch%3Amain) [![Coverage Status](https://coveralls.io/repos/github/immerjs/immer/badge.svg?branch=main)](https://coveralls.io/github/immerjs/immer?branch=main) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![OpenCollective](https://opencollective.com/immer/backers/badge.svg)](#backers) [![OpenCollective](https://opencollective.com/immer/sponsors/badge.svg)](#sponsors) [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/immerjs/immer)\n\n_Create the next immutable state tree by simply modifying the current tree_\n\nWinner of the \"Breakthrough of the year\" [React open source award](https://osawards.com/react/) and \"Most impactful contribution\" [JavaScript open source award](https://osawards.com/javascript/) in 2019\n\n## Contribute using one-click online setup\n\nYou can use Gitpod (a free online VSCode like IDE) for contributing online. With a single click it will launch a workspace and automatically:\n\n- clone the immer repo.\n- install the dependencies.\n- run `yarn run start`.\n\nso that you can start coding straight away.\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)\n\n## Documentation\n\nThe documentation of this package is hosted at https://immerjs.github.io/immer/\n\n## Support\n\nDid Immer make a difference to your project? Join the open collective at https://opencollective.com/immer!\n\n## Release notes\n\nhttps://github.com/immerjs/immer/releases\n","publish_time":1761391864713,"_cnpm_publish_time":1761391864713,"dist-tags":{"beta":"10.0.4-beta","latest":"11.2.10","next":"4.0.0-beta.0"}}