Skip to content

Commit

Permalink
chore: update TS dependencies (#101)
Browse files Browse the repository at this point in the history
* update ofetch and event-source-plus

* replace @joshmossas/ofetch with latest ofetch version

* update event source plus
  • Loading branch information
joshmossas authored Oct 8, 2024
1 parent 541ac8a commit 26fe9e1
Show file tree
Hide file tree
Showing 12 changed files with 116 additions and 141 deletions.
2 changes: 1 addition & 1 deletion languages/ts/ts-client/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export default defineBuildConfig({
clean: true,
declaration: true,
failOnWarn: true,
externals: ["ofetch", "@joshmossas/ofetch", "@arrirpc/schema"],
externals: ["ofetch", "@arrirpc/schema"],
});
21 changes: 15 additions & 6 deletions languages/ts/ts-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,29 @@
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
"bugs": { "url": "https://github.com/modiimedia/arri/issues" },
"author": {
"name": "joshmossas",
"url": "https://github.com/joshmossas"
},
"bugs": {
"url": "https://github.com/modiimedia/arri/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/modiimedia/arri.git",
"directory": "languages/ts/ts-client"
},
"dependencies": {
"@arrirpc/schema": "workspace:*",
"@joshmossas/ofetch": "^1.3.5",
"event-source-plus": "^0.1.4",
"event-source-plus": "^0.1.6",
"ofetch": "^1.4.1",
"ws": "^8.18.0"
},
"devDependencies": { "@types/ws": "^8.5.12" }
"devDependencies": {
"@types/ws": "^8.5.12"
}
}
2 changes: 1 addition & 1 deletion languages/ts/ts-client/src/request.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { serializeSmallString } from "@arrirpc/schema";
import { FetchError, ofetch } from "@joshmossas/ofetch";
import { EventSourcePlusOptions, type HttpMethod } from "event-source-plus";
import { FetchError, ofetch } from "ofetch";

import { ArriErrorInstance, isArriError } from "./errors";
import { getHeaders } from "./utils";
Expand Down
17 changes: 13 additions & 4 deletions languages/ts/ts-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@
"version": "0.63.1",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
"author": {
"name": "joshmossas",
"url": "https://github.com/joshmossas"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": ["dist"],
"bugs": { "url": "https://github.com/modiimedia/arri/issues" },
"files": [
"dist"
],
"bugs": {
"url": "https://github.com/modiimedia/arri/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/modiimedia/arri.git",
Expand All @@ -28,5 +35,7 @@
"source-map-support": "^0.5.21",
"uncrypto": "^0.1.3"
},
"devDependencies": { "bun-types": "^1.1.29" }
"devDependencies": {
"bun-types": "^1.1.30"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
"@eslint/js": "^9.12.0",
"@sinclair/typebox": "^0.33.15",
"@types/lodash": "^4.17.10",
"@types/node": "22.7.4",
"@types/node": "22.7.5",
"@vitest/coverage-v8": "2.1.2",
"@vitest/ui": "2.1.2",
"benny": "^3.7.1",
"bun-types": "^1.1.29",
"bun-types": "^1.1.30",
"citty": "^0.1.6",
"depcheck": "^1.4.7",
"esbuild": "0.24.0",
Expand Down
Loading

0 comments on commit 26fe9e1

Please sign in to comment.