Update dependencies

This commit is contained in:
2023-08-31 13:56:19 +02:00
parent 55712e3027
commit 0612716187
3 changed files with 2289 additions and 794 deletions

View File

@@ -35,23 +35,23 @@
"update-deps": "taze -w && pnpm i" "update-deps": "taze -w && pnpm i"
}, },
"peerDependencies": { "peerDependencies": {
"@trpc/client": "^10.26.0", "@trpc/client": "^10.38.1",
"@trpc/server": "^10.26.0" "@trpc/server": "^10.38.1"
}, },
"dependencies": { "dependencies": {
"h3": "^1.8.0", "h3": "^1.8.1",
"ofetch": "^1.3.2", "ofetch": "^1.3.3",
"ohash": "^1.1.3" "ohash": "^1.1.3"
}, },
"devDependencies": { "devDependencies": {
"@nuxt/eslint-config": "^0.1.1", "@nuxt/eslint-config": "^0.2.0",
"@trpc/client": "^10.37.1", "@trpc/client": "^10.38.1",
"@trpc/server": "^10.37.1", "@trpc/server": "^10.38.1",
"changelogen": "^0.5.5", "changelogen": "^0.5.5",
"eslint": "^8.45.0", "eslint": "^8.48.0",
"taze": "^0.11.2", "taze": "^0.11.2",
"tsup": "7.2.0", "tsup": "7.2.0",
"typescript": "^5.1.6" "typescript": "^5.2.2"
}, },
"eslintConfig": { "eslintConfig": {
"extends": [ "extends": [
@@ -74,9 +74,9 @@
], ],
"pnpm": { "pnpm": {
"overrides": { "overrides": {
"nuxt": "3.6.5", "nuxt": "3.7.0",
"@trpc/client": "10.37.1", "@trpc/client": "10.38.1",
"@trpc/server": "10.37.1" "@trpc/server": "10.38.1"
} }
} }
} }

3056
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,7 +9,6 @@ import { type FetchEsque } from '@trpc/client/dist/internals/types'
function customFetch(input: RequestInfo | URL, init?: RequestInit & { method: 'GET' }) { function customFetch(input: RequestInfo | URL, init?: RequestInit & { method: 'GET' }) {
return globalThis.$fetch.raw(input.toString(), init) return globalThis.$fetch.raw(input.toString(), init)
.catch((e) => { .catch((e) => {
// @ts-expect-error: ofetch response missing type
if (e instanceof FetchError && e.response) { return e.response } if (e instanceof FetchError && e.response) { return e.response }
throw e throw e
}) })