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"
},
"peerDependencies": {
"@trpc/client": "^10.26.0",
"@trpc/server": "^10.26.0"
"@trpc/client": "^10.38.1",
"@trpc/server": "^10.38.1"
},
"dependencies": {
"h3": "^1.8.0",
"ofetch": "^1.3.2",
"h3": "^1.8.1",
"ofetch": "^1.3.3",
"ohash": "^1.1.3"
},
"devDependencies": {
"@nuxt/eslint-config": "^0.1.1",
"@trpc/client": "^10.37.1",
"@trpc/server": "^10.37.1",
"@nuxt/eslint-config": "^0.2.0",
"@trpc/client": "^10.38.1",
"@trpc/server": "^10.38.1",
"changelogen": "^0.5.5",
"eslint": "^8.45.0",
"eslint": "^8.48.0",
"taze": "^0.11.2",
"tsup": "7.2.0",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},
"eslintConfig": {
"extends": [
@@ -74,9 +74,9 @@
],
"pnpm": {
"overrides": {
"nuxt": "3.6.5",
"@trpc/client": "10.37.1",
"@trpc/server": "10.37.1"
"nuxt": "3.7.0",
"@trpc/client": "10.38.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' }) {
return globalThis.$fetch.raw(input.toString(), init)
.catch((e) => {
// @ts-expect-error: ofetch response missing type
if (e instanceof FetchError && e.response) { return e.response }
throw e
})