From 34f34cba5bfebe001cccd920422665371f5a8a2f Mon Sep 17 00:00:00 2001 From: Damian Osipiuk Date: Sat, 30 Oct 2021 22:24:01 +0200 Subject: [PATCH] feat: bump react-query (v3.23.2 - v3.30.0) (#90) * chore: bump deps * test: fix open handles * refactor: change b to strong * chore: prettier * feat: bump react-query (v3.23.2 - v3.30.0), fix types * fix: restore defaults for overloads * fix: downgrade vue-demi --- .prettierignore | 1 + commitlint.config.js | 2 +- examples/multi-client/src/Todos.vue | 4 +- jest.config.ts | 3 +- package-lock.json | 10549 ++++++---------- package.json | 51 +- src/vue/__mocks__/useQueryClient.ts | 6 +- src/{ => vue/__tests__}/test-utils.ts | 0 src/vue/__tests__/useInfiniteQuery.test.ts | 2 +- src/vue/__tests__/useIsFetching.test.ts | 2 +- src/vue/__tests__/useIsMutating.test.ts | 2 +- src/vue/__tests__/useMutation.test.ts | 2 +- src/vue/__tests__/useQueries.test.ts | 4 +- src/vue/__tests__/useQuery.test.ts | 6 +- src/vue/__tests__/utils.test.ts | 2 +- src/vue/useBaseQuery.ts | 25 +- src/vue/useInfiniteQuery.ts | 55 +- src/vue/useMutation.ts | 15 +- src/vue/useQuery.ts | 53 +- src/vue/utils.ts | 18 +- .../index.d.ts | 2 +- .../index.d.ts | 2 +- types/index.d.ts | 4 +- .../index.d.ts | 2 +- 24 files changed, 4041 insertions(+), 6771 deletions(-) create mode 120000 .prettierignore rename src/{ => vue/__tests__}/test-utils.ts (100%) diff --git a/.prettierignore b/.prettierignore new file mode 120000 index 0000000..3e4e48b --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +.gitignore \ No newline at end of file diff --git a/commitlint.config.js b/commitlint.config.js index 28fe5c5..5073c20 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1 +1 @@ -module.exports = {extends: ['@commitlint/config-conventional']} +module.exports = { extends: ["@commitlint/config-conventional"] }; diff --git a/examples/multi-client/src/Todos.vue b/examples/multi-client/src/Todos.vue index acb917e..86bf098 100644 --- a/examples/multi-client/src/Todos.vue +++ b/examples/multi-client/src/Todos.vue @@ -31,7 +31,9 @@ export default defineComponent({