|
162 | 162 | "build:context": "rollup -c --config-context",
|
163 | 163 | "postbuild": "pnpm patch-d-ts && pnpm copy && pnpm patch-esm-ts",
|
164 | 164 | "prettier": "prettier \"*.{js,json,md}\" \"{examples,src,tests,docs}/**/*.{js,jsx,ts,tsx,md,mdx}\" --write",
|
165 |
| - "eslint": "eslint --no-eslintrc --c .eslintrc.json --fix '*.{js,json,ts}' '{src,tests}/**/*.{ts,tsx}'", |
| 165 | + "eslint": "eslint --no-eslintrc --c .eslintrc.json --fix '*.{js,ts}' '{src,tests}/**/*.{ts,tsx}'", |
166 | 166 | "test": "pnpm run '/^test:.*/'",
|
167 | 167 | "test:format": "prettier '*.{js,json,md}' '{examples,src,tests,docs}/**/*.{js,jsx,ts,tsx,md,mdx}' --list-different",
|
168 | 168 | "test:types": "tsc --noEmit",
|
169 |
| - "test:lint": "eslint --no-eslintrc --c .eslintrc.json '*.{js,json,ts}' '{src,tests}/**/*.{ts,tsx}'", |
| 169 | + "test:lint": "eslint --no-eslintrc --c .eslintrc.json '*.{js,ts}' '{src,tests}/**/*.{ts,tsx}'", |
170 | 170 | "test:spec": "vitest run",
|
171 | 171 | "patch-d-ts": "node -e \"var {entries}=require('./rollup.config.js');require('shelljs').find('dist/**/*.d.ts').forEach(f=>{entries.forEach(({find,replacement})=>require('shelljs').sed('-i',new RegExp(' from \\''+find.source.slice(0,-1)+'\\';$'),' from \\''+replacement+'\\';',f));require('shelljs').sed('-i',/ from '(\\.[^']+)\\.ts';$/,' from \\'\\$1\\';',f)})\"",
|
172 | 172 | "copy": "shx cp -r dist/src/* dist/esm && shx cp -r dist/src/* dist && shx rm -rf dist/src && shx rm -rf dist/{src,tests} && downlevel-dts dist dist/ts3.4 && shx cp package.json readme.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.prettier=undefined;\"",
|
|
203 | 203 | "homepage": "https://github.com/pmndrs/zustand",
|
204 | 204 | "packageManager": "pnpm@8.15.0",
|
205 | 205 | "dependencies": {
|
206 |
| - "use-sync-external-store": "1.2.0" |
| 206 | + "use-sync-external-store": "1.2.2" |
207 | 207 | },
|
208 | 208 | "devDependencies": {
|
209 |
| - "@babel/core": "^7.24.7", |
| 209 | + "@babel/core": "^7.25.2", |
210 | 210 | "@babel/plugin-external-helpers": "^7.24.7",
|
211 |
| - "@babel/plugin-transform-react-jsx": "^7.24.7", |
| 211 | + "@babel/plugin-transform-react-jsx": "^7.25.2", |
212 | 212 | "@babel/plugin-transform-runtime": "^7.24.7",
|
213 |
| - "@babel/plugin-transform-typescript": "^7.24.7", |
214 |
| - "@babel/preset-env": "^7.24.7", |
| 213 | + "@babel/plugin-transform-typescript": "^7.25.2", |
| 214 | + "@babel/preset-env": "^7.25.3", |
215 | 215 | "@redux-devtools/extension": "^3.3.0",
|
216 | 216 | "@rollup/plugin-alias": "^5.1.0",
|
217 | 217 | "@rollup/plugin-babel": "^6.0.4",
|
|
220 | 220 | "@rollup/plugin-terser": "^0.4.4",
|
221 | 221 | "@rollup/plugin-typescript": "^11.1.6",
|
222 | 222 | "@testing-library/react": "^16.0.0",
|
223 |
| - "@types/node": "^20.14.9", |
| 223 | + "@types/node": "^22.3.0", |
224 | 224 | "@types/react": "^18.3.3",
|
225 | 225 | "@types/react-dom": "^18.3.0",
|
226 | 226 | "@types/use-sync-external-store": "^0.0.6",
|
227 |
| - "@typescript-eslint/eslint-plugin": "^7.14.1", |
228 |
| - "@typescript-eslint/parser": "^7.14.1", |
229 |
| - "@vitest/coverage-v8": "^1.6.0", |
230 |
| - "@vitest/ui": "^1.6.0", |
| 227 | + "@typescript-eslint/eslint-plugin": "^8.1.0", |
| 228 | + "@typescript-eslint/parser": "^8.1.0", |
| 229 | + "@vitest/coverage-v8": "^2.0.5", |
| 230 | + "@vitest/ui": "^2.0.5", |
231 | 231 | "downlevel-dts": "^0.11.0",
|
232 |
| - "esbuild": "^0.21.5", |
| 232 | + "esbuild": "^0.23.0", |
233 | 233 | "eslint": "8.57.0",
|
234 | 234 | "eslint-config-prettier": "^9.1.0",
|
235 | 235 | "eslint-import-resolver-alias": "^1.1.2",
|
236 | 236 | "eslint-plugin-import": "^2.29.1",
|
237 |
| - "eslint-plugin-prettier": "^5.1.3", |
238 |
| - "eslint-plugin-react": "^7.34.3", |
239 |
| - "eslint-plugin-react-compiler": "0.0.0-experimental-0998c1e-20240625", |
| 237 | + "eslint-plugin-prettier": "^5.2.1", |
| 238 | + "eslint-plugin-react": "^7.35.0", |
| 239 | + "eslint-plugin-react-compiler": "0.0.0-experimental-2eea4a6-20240814", |
240 | 240 | "eslint-plugin-react-hooks": "^4.6.2",
|
241 | 241 | "eslint-plugin-vitest": "^0.5.4",
|
242 | 242 | "immer": "^10.1.1",
|
243 |
| - "jsdom": "^24.1.0", |
| 243 | + "jsdom": "^24.1.1", |
244 | 244 | "json": "^11.0.0",
|
245 |
| - "prettier": "^3.3.2", |
| 245 | + "prettier": "^3.3.3", |
246 | 246 | "react": "19.0.0-rc.0",
|
247 | 247 | "react-dom": "19.0.0-rc.0",
|
248 | 248 | "redux": "^5.0.1",
|
249 |
| - "rollup": "^4.18.0", |
| 249 | + "rollup": "^4.20.0", |
250 | 250 | "rollup-plugin-esbuild": "^6.1.1",
|
251 | 251 | "shelljs": "^0.8.5",
|
252 | 252 | "shx": "^0.3.4",
|
253 |
| - "typescript": "^5.5.2", |
254 |
| - "vitest": "^1.6.0" |
| 253 | + "typescript": "^5.5.4", |
| 254 | + "vitest": "^2.0.5" |
255 | 255 | },
|
256 | 256 | "peerDependencies": {
|
257 | 257 | "@types/react": ">=16.8",
|
|
0 commit comments