Skip to content
Myr

package.json

This file

Path

package.json

98 lines · 2.9 KiB · JSON

Last changed by

chore(deps-dev): bump vitest from 2.1.9 to 3.2.6 (#1246)dependabot[bot]before adoptionce61bff

History of this file

Take it

The walk stopped after 200 commits: lines older than d30d219 point at it.

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

lines 1–2why, one step back
1{
2 "name": "immer",

fix: don't use `.mjs` file for react-native, which isn't supported by default. Fixes #1058 #1065 (#1075)Michel Weststratebefore adoptionf6736a4

line 3why, one step back
3 "version": "10.0.3-beta",

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

line 4why, one step back
4 "description": "Create your next immutable state by mutating the current one",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

lines 5–6why, one step back
5 "main": "./dist/cjs/index.js",
6 "module": "./dist/immer.legacy-esm.js",

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

line 7why, one step back
7 "exports": {

Update package.jsonAhmed El Gabribefore adoptionbaa387a

line 8why, one step back
8 "./package.json": "./package.json",

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

line 9why, one step back
9 ".": {

fix: Update package.json exports for react-native (#1159)gabimonchabefore adoptionb2fcc66

lines 10–21why, one step back
10 "react-native": {
11 "types": "./dist/immer.d.ts",12 "default": "./dist/immer.legacy-esm.js"13 },14 "import": {15 "types": "./dist/immer.d.ts",16 "default": "./dist/immer.mjs"17 },18 "require": {19 "types": "./dist/immer.d.ts",20 "default": "./dist/cjs/index.js"21 }

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 22why, one step back
22 }

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

line 23why, one step back
23 },

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 24why, one step back
24 "jsnext:main": "dist/immer.mjs",

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

lines 25–28why, one step back
25 "source": "src/immer.ts",
26 "types": "./dist/immer.d.ts",27 "sideEffects": false,28 "scripts": {

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 29why, one step back
29 "test": "vitest run && yarn test:build && yarn test:flow",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 30why, one step back
30 "test:perf": "cd __performance_tests__ && node add-data.mjs && node todo.mjs && node incremental.mjs && node large-obj.mjs",

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

line 31why, one step back
31 "test:flow": "yarn flow check __tests__/flow",

fix: Fix broken array patching and ensure all values in draft Maps/Sets are finalized (#1201)Mark Eriksonbefore adoptionb208d58

line 32why, one step back
32 "test:build": "yarn build && vitest run --config vitest.config.build.ts",

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

lines 33–36why, one step back
33 "test:src": "vitest run",
34 "watch": "vitest",35 "coverage": "vitest run --coverage",36 "coveralls": "vitest run --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 37why, one step back
37 "build": "tsup",

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

lines 38–39why, one step back
38 "publish-docs": "cd website && GIT_USER=mweststrate USE_SSH=true yarn docusaurus deploy",
39 "start": "cd website && yarn start",

feat: Override array methods to avoid proxy creation while iterating and updating (#1184)Mark Eriksonbefore adoptiond38a9d0

line 40why, one step back
40 "test:size": "yarn build && yarn import-size --report . produce enableMapSet enablePatches enableArrayMethods",

chore: release fixupMichel Weststratebefore adoption0e2feee

lines 41–42why, one step back
41 "test:sizequick": "yarn build && yarn import-size . produce",
42 "release": "semantic-release --branches main"

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

lines 43–57why, one step back
43 },
44 "husky": {45 "hooks": {46 "pre-commit": "pretty-quick --staged"47 }48 },49 "repository": {50 "type": "git",51 "url": "https://github.com/immerjs/immer.git"52 },53 "keywords": [54 "immutable",55 "mutable",56 "copy-on-write"57 ],

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 58why, one step back
58 "author": "Michel Weststrate <info@michel.codes>",

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

lines 59–73why, one step back
59 "license": "MIT",
60 "funding": {61 "type": "opencollective",62 "url": "https://opencollective.com/immer"63 },64 "bugs": {65 "url": "https://github.com/immerjs/immer/issues"66 },67 "homepage": "https://github.com/immerjs/immer#readme",68 "files": [69 "dist",70 "compat",71 "src"72 ],73 "devDependencies": {

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 74why, one step back
74 "@babel/core": "^7.21.3",

chore: fix vitest versionsMichel Weststratebefore adoptioncffdeeb

line 75why, one step back
75 "@types/node": "^24.3.1",

chore: fix coverage setupMichel Weststratebefore adoption06d9df5

line 76why, one step back
76 "@vitest/coverage-v8": "2.1.9",

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

lines 77–85why, one step back
77 "coveralls": "^3.0.0",
78 "cpx2": "^3.0.0",79 "deep-freeze": "^0.0.1",80 "flow-bin": "^0.123.0",81 "husky": "^1.2.0",82 "immutable": "^3.8.2",83 "import-size": "^1.0.2",84 "lodash": "^4.17.4",85 "lodash.clonedeep": "^4.5.0",

chore: Merge branch 'unional-prettier'Michel Weststratebefore adoption37eaf8f

lines 86–87why, one step back
86 "prettier": "3.8.0",
87 "pretty-quick": "^4.2.2",

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

lines 88–90why, one step back
88 "redux": "^4.0.5",
89 "rimraf": "^2.6.2",90 "seamless-immutable": "^7.1.3",

chore: bump semantic-releaseMichel Weststratebefore adoption794e1c8

line 91why, one step back
91 "semantic-release": "^25.0.3",

Merge pull request #1028 from immerjs/immer-10Michel Weststratebefore adoption2ef9a42

line 92why, one step back
92 "tsup": "^6.7.0",

fix: recursive T for WritableDraft (#1197)Homa Wongbefore adoption78ea694

line 93why, one step back
93 "type-plus": "^7.6.2",

chore: Migrate test setup to Vitest (#1162)Mark Eriksonbefore adoption4b8bcc5

line 94why, one step back
94 "typescript": "^5.0.2",

chore(deps-dev): bump vite from 5.4.21 to 6.4.2 (#1229)dependabot[bot]before adoptioneb35b37

line 95why, one step back
95 "vite": "^6.4.2",

chore(deps-dev): bump vitest from 2.1.9 to 3.2.6 (#1246)dependabot[bot]before adoptionce61bff

line 96why, one step back
96 "vitest": "^3.2.6"

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

lines 97–98why, one step back
97 }
98}