Skip to content

Commit

Permalink
Merge pull request #536 from psteinroe/chore/update-supabase
Browse files Browse the repository at this point in the history
chore: update to latest supabase-js
  • Loading branch information
psteinroe authored Nov 21, 2024
2 parents 3b7b0f6 + 49a35ad commit 42d9b20
Show file tree
Hide file tree
Showing 12 changed files with 95 additions and 84 deletions.
11 changes: 11 additions & 0 deletions .changeset/moody-lobsters-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@supabase-cache-helpers/postgrest-react-query": patch
"@supabase-cache-helpers/storage-react-query": patch
"@supabase-cache-helpers/postgrest-server": patch
"@supabase-cache-helpers/postgrest-core": patch
"@supabase-cache-helpers/postgrest-swr": patch
"@supabase-cache-helpers/storage-core": patch
"@supabase-cache-helpers/storage-swr": patch
---

chore: update to latest supabase-js
2 changes: 1 addition & 1 deletion examples/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@supabase/auth-helpers-nextjs": "0.8.7",
"@supabase/auth-helpers-react": "0.4.2",
"@tanstack/react-query": "^5.0.0",
"@supabase/supabase-js": "2.45.4",
"@supabase/supabase-js": "2.46.1",
"@vercel/analytics": "^0.1.11",
"class-variance-authority": "0.7.0",
"clsx": "^1.2.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/swr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@supabase-cache-helpers/storage-swr": "workspace:*",
"@supabase/auth-helpers-nextjs": "0.8.7",
"@supabase/auth-helpers-react": "0.4.2",
"@supabase/supabase-js": "2.45.4",
"@supabase/supabase-js": "2.46.1",
"@vercel/analytics": "^0.1.11",
"class-variance-authority": "0.7.0",
"clsx": "^1.2.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/postgrest-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"typecheck": "tsc --pretty --noEmit"
},
"peerDependencies": {
"@supabase/postgrest-js": "^1.9.0",
"@supabase/supabase-js": "^2.0.0"
"@supabase/postgrest-js": "1.16.3",
"@supabase/supabase-js": "^2.46.1"
},
"dependencies": {
"fast-equals": "5.0.1",
Expand All @@ -42,8 +42,8 @@
},
"devDependencies": {
"@supabase-cache-helpers/tsconfig": "workspace:*",
"@supabase/postgrest-js": "1.16.1",
"@supabase/supabase-js": "2.45.4",
"@supabase/postgrest-js": "1.16.3",
"@supabase/supabase-js": "2.46.1",
"@types/flat": "5.0.2",
"@types/lodash": "4.17.0",
"@vitest/coverage-istanbul": "^2.0.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/postgrest-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@
"directory": "packages/postgrest-react-query"
},
"peerDependencies": {
"@supabase/postgrest-js": "^1.9.0",
"@supabase/postgrest-js": "^1.16.3",
"@tanstack/react-query": "^4.0.0 || ^5.0.0",
"react": "^16.11.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@supabase-cache-helpers/tsconfig": "workspace:*",
"@supabase/postgrest-js": "1.16.1",
"@supabase/supabase-js": "2.45.4",
"@supabase/postgrest-js": "1.16.3",
"@supabase/supabase-js": "2.46.1",
"@testing-library/react": "14.3.0",
"@types/flat": "5.0.2",
"@types/react": "18.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/postgrest-react-query/src/mutate/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import type {
UpdateFetcherOptions,
UpsertFetcherOptions,
} from '@supabase-cache-helpers/postgrest-core';
import { PostgrestError } from '@supabase/postgrest-js';
import { GetResult } from '@supabase/postgrest-js/dist/cjs/select-query-parser';
import {
GenericSchema,
GenericTable,
PostgrestError,
} from '@supabase/postgrest-js/dist/cjs/types';
import type { UseMutationOptions } from '@tanstack/react-query';

Expand Down
6 changes: 3 additions & 3 deletions packages/postgrest-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
"directory": "packages/postgrest-server"
},
"peerDependencies": {
"@supabase/postgrest-js": "^1.9.0"
"@supabase/postgrest-js": "^1.16.3"
},
"devDependencies": {
"@supabase-cache-helpers/tsconfig": "workspace:*",
"@supabase/postgrest-js": "1.16.1",
"@supabase/supabase-js": "2.45.4",
"@supabase/postgrest-js": "1.16.3",
"@supabase/supabase-js": "2.46.1",
"@vitest/coverage-istanbul": "^2.0.2",
"ioredis": "5.4.1",
"dotenv": "16.4.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/postgrest-swr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
"directory": "packages/postgrest-swr"
},
"peerDependencies": {
"@supabase/postgrest-js": "^1.9.0",
"@supabase/postgrest-js": "^1.16.3",
"react": "^16.11.0 || ^17.0.0 || ^18.0.0",
"swr": "^2.2.0"
},
"devDependencies": {
"@supabase-cache-helpers/tsconfig": "workspace:*",
"@supabase/postgrest-js": "1.16.1",
"@supabase/supabase-js": "2.45.4",
"@supabase/postgrest-js": "1.16.3",
"@supabase/supabase-js": "2.46.1",
"@testing-library/react": "14.3.0",
"@types/flat": "5.0.2",
"@types/react": "18.3.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/storage-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"devDependencies": {
"@supabase-cache-helpers/tsconfig": "workspace:*",
"happy-dom": "15.0.0",
"@supabase/storage-js": "2.7.0",
"@supabase/supabase-js": "2.45.4",
"@supabase/storage-js": "2.7.1",
"@supabase/supabase-js": "2.46.1",
"@vitest/coverage-istanbul": "^2.0.2",
"dotenv": "16.4.0",
"tsup": "8.2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/storage-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"directory": "packages/storage-react-query"
},
"peerDependencies": {
"@supabase/storage-js": "^2.4.0",
"@supabase/storage-js": "^2.7.1",
"@tanstack/react-query": "^4.0.0 || ^5.0.0",
"react": "^16.11.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@supabase-cache-helpers/tsconfig": "workspace:*",
"@supabase/storage-js": "2.7.0",
"@supabase/supabase-js": "2.45.4",
"@supabase/storage-js": "2.7.1",
"@supabase/supabase-js": "2.46.1",
"@testing-library/react": "14.3.0",
"@types/react": "18.3.3",
"dotenv": "16.4.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/storage-swr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"directory": "packages/storage-swr"
},
"peerDependencies": {
"@supabase/storage-js": "^2.4.0",
"@supabase/storage-js": "^2.7.1",
"react": "^16.11.0 || ^17.0.0 || ^18.0.0",
"swr": "^2.2.0"
},
"devDependencies": {
"@supabase-cache-helpers/tsconfig": "workspace:*",
"@supabase/storage-js": "2.7.0",
"@supabase/supabase-js": "2.45.4",
"@supabase/storage-js": "2.7.1",
"@supabase/supabase-js": "2.46.1",
"@testing-library/react": "14.3.0",
"@types/react": "18.3.3",
"@vitest/coverage-istanbul": "^2.0.2",
Expand Down
Loading

0 comments on commit 42d9b20

Please sign in to comment.