@tanstack/query-core
Advanced tools
Comparing version 4.0.10 to 4.0.11-beta.0
{ | ||
"name": "@tanstack/query-core", | ||
"version": "4.0.10", | ||
"version": "4.0.11-beta.0", | ||
"description": "TODO", | ||
@@ -13,14 +13,23 @@ "author": "tannerlinsley", | ||
}, | ||
"module": "build/esm/index.js", | ||
"main": "build/cjs/index.js", | ||
"module": "build/lib/index.mjs", | ||
"main": "build/lib/index.js", | ||
"browser": "build/umd/index.production.js", | ||
"types": "build/types/packages/query-core/src/index.d.ts", | ||
"types": "build/lib/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./build/lib/index.d.ts", | ||
"import": "./build/lib/index.mjs", | ||
"default": "./build/lib/index.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"files": [ | ||
"build/*", | ||
"build/lib/*", | ||
"build/umd/*", | ||
"src" | ||
], | ||
"scripts": { | ||
"test:eslint": "../../node_modules/.bin/eslint --ext .ts,.tsx ./src", | ||
"compile": "../../node_modules/.bin/tsc -p tsconfig.json --noEmit --emitDeclarationOnly false" | ||
"clean": "rm -rf ./build", | ||
"test:eslint": "../../node_modules/.bin/eslint --ext .ts,.tsx ./src" | ||
} | ||
} |
@@ -20,3 +20,3 @@ export { CancelledError } from './retryer' | ||
} from './utils' | ||
export type { MutationFilters, QueryFilters } from './utils' | ||
export type { MutationFilters, QueryFilters, Updater } from './utils' | ||
export { isCancelledError } from './retryer' | ||
@@ -27,3 +27,3 @@ export { dehydrate, hydrate } from './hydration' | ||
export * from './types' | ||
export type { Query } from './query' | ||
export type { Query, QueryState } from './query' | ||
export type { Mutation } from './mutation' | ||
@@ -30,0 +30,0 @@ export type { Logger } from './logger' |
@@ -573,9 +573,7 @@ import { | ||
if (matchingDefaults.length > 1) { | ||
if (process.env.NODE_ENV !== 'production') { | ||
this.logger.error( | ||
`[QueryClient] Several query defaults match with key '${JSON.stringify( | ||
queryKey, | ||
)}'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults.`, | ||
) | ||
} | ||
this.logger.error( | ||
`[QueryClient] Several query defaults match with key '${JSON.stringify( | ||
queryKey, | ||
)}'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults.`, | ||
) | ||
} | ||
@@ -621,9 +619,7 @@ } | ||
if (matchingDefaults.length > 1) { | ||
if (process.env.NODE_ENV !== 'production') { | ||
this.logger.error( | ||
`[QueryClient] Several mutation defaults match with key '${JSON.stringify( | ||
mutationKey, | ||
)}'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults.`, | ||
) | ||
} | ||
this.logger.error( | ||
`[QueryClient] Several mutation defaults match with key '${JSON.stringify( | ||
mutationKey, | ||
)}'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults.`, | ||
) | ||
} | ||
@@ -630,0 +626,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1
1568688
68
18670
1