@tanstack/react-query 5.81.1 → 5.81.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,7 +39,6 @@ export default [
39
39
  ],
40
40
  '@typescript-eslint/no-empty-function': 'off',
41
41
  '@typescript-eslint/no-unsafe-function-type': 'off',
42
- '@typescript-eslint/require-await': 'error',
43
42
  'no-case-declarations': 'off',
44
43
  },
45
44
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-query",
3
- "version": "5.81.1",
3
+ "version": "5.81.4",
4
4
  "description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  "!build/codemods/**/__tests__"
45
45
  ],
46
46
  "dependencies": {
47
- "@tanstack/query-core": "5.81.1"
47
+ "@tanstack/query-core": "5.81.4"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@testing-library/react": "^16.1.0",
@@ -56,11 +56,31 @@
56
56
  "react": "^19.0.0",
57
57
  "react-dom": "^19.0.0",
58
58
  "react-error-boundary": "^4.1.2",
59
- "@tanstack/query-persist-client-core": "5.81.1",
59
+ "@tanstack/query-persist-client-core": "5.81.4",
60
60
  "@tanstack/query-test-utils": "0.0.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "react": "^18 || ^19"
64
64
  },
65
- "scripts": {}
65
+ "scripts": {
66
+ "clean": "premove ./build ./coverage ./dist-ts",
67
+ "compile": "tsc --build",
68
+ "test:eslint": "eslint ./src",
69
+ "test:types": "npm-run-all --serial test:types:*",
70
+ "test:types:ts50": "node ../../node_modules/typescript50/lib/tsc.js --build tsconfig.legacy.json",
71
+ "test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js --build tsconfig.legacy.json",
72
+ "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js --build tsconfig.legacy.json",
73
+ "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js --build tsconfig.legacy.json",
74
+ "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js --build tsconfig.legacy.json",
75
+ "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js --build tsconfig.legacy.json",
76
+ "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js --build tsconfig.legacy.json",
77
+ "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js --build tsconfig.legacy.json",
78
+ "test:types:tscurrent": "tsc --build",
79
+ "test:lib": "vitest",
80
+ "test:lib:dev": "pnpm run test:lib --watch",
81
+ "test:build": "publint --strict && attw --pack",
82
+ "build": "pnpm build:tsup && pnpm build:codemods",
83
+ "build:tsup": "tsup --tsconfig tsconfig.prod.json",
84
+ "build:codemods": "cpy ../query-codemods/* ./build/codemods"
85
+ }
66
86
  }