Skip to content

Commit

Permalink
Use undici for client WebSocket in prep for Node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
pfumagalli committed Jul 2, 2024
1 parent 7d5f19b commit c9e2992
Show file tree
Hide file tree
Showing 12 changed files with 1,017 additions and 401 deletions.
1,351 changes: 984 additions & 367 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juit/pgproxy-monorepo",
"version": "1.0.22",
"version": "1.0.23",
"private": "true",
"workspaces": [
"workspaces/pool",
Expand Down Expand Up @@ -41,17 +41,15 @@
"homepage": "https://github.com/juitnow/juit-pgproxy#readme",
"devDependencies": {
"@cloudflare/workers-types": "^4.20240620.0",
"@plugjs/build": "^0.6.0",
"@plugjs/tsd": "^0.6.0",
"@plugjs/build": "^0.6.1",
"@plugjs/tsd": "^0.6.2",
"@types/ini": "^4.1.1",
"@types/libpq": "^1.8.13",
"@types/node": "<20",
"@types/ws": "^8.5.10",
"@types/yargs-parser": "^21.0.3",
"libpq": "^1.8.13",
"typescript": "^5.5.2",
"workerd": "^1.20240620.1",
"ws": "^8.17.1"
"typescript": "^5.5.3",
"workerd": "^1.20240701.0"
},
"files": [
"*.md",
Expand Down
7 changes: 3 additions & 4 deletions workspaces/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juit/pgproxy-cli",
"version": "1.0.22",
"version": "1.0.23",
"bin": {
"pgproxy-server": "dist/cli.mjs"
},
Expand All @@ -23,11 +23,10 @@
},
"homepage": "https://github.com/juitnow/juit-pgproxy#readme",
"dependencies": {
"@juit/pgproxy-server": "1.0.22",
"@juit/pgproxy-server": "1.0.23",
"dotenv": "^16.4.5",
"ini": "^4.1.3",
"justus": "^0.5.36",
"ws": "^8.17.1",
"justus": "^0.5.37",
"yargs-parser": "^21.1.1"
},
"directories": {
Expand Down
7 changes: 3 additions & 4 deletions workspaces/client-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juit/pgproxy-client-node",
"version": "1.0.22",
"version": "1.0.23",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -35,9 +35,8 @@
},
"homepage": "https://github.com/juitnow/juit-pgproxy#readme",
"dependencies": {
"@juit/pgproxy-client": "1.0.22",
"@types/ws": "^8.5.10",
"ws": "^8.17.1"
"@juit/pgproxy-client": "1.0.23",
"undici": "^6.19.2"
},
"directories": {
"test": "test"
Expand Down
6 changes: 3 additions & 3 deletions workspaces/client-psql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juit/pgproxy-client-psql",
"version": "1.0.22",
"version": "1.0.23",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -35,8 +35,8 @@
},
"homepage": "https://github.com/juitnow/juit-pgproxy#readme",
"dependencies": {
"@juit/pgproxy-client": "1.0.22",
"@juit/pgproxy-pool": "1.0.22"
"@juit/pgproxy-client": "1.0.23",
"@juit/pgproxy-pool": "1.0.23"
},
"directories": {
"test": "test"
Expand Down
4 changes: 2 additions & 2 deletions workspaces/client-whatwg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juit/pgproxy-client-whatwg",
"version": "1.0.22",
"version": "1.0.23",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"homepage": "https://github.com/juitnow/juit-pgproxy#readme",
"dependencies": {
"@juit/pgproxy-client": "1.0.22"
"@juit/pgproxy-client": "1.0.23"
},
"directories": {
"test": "test"
Expand Down
4 changes: 2 additions & 2 deletions workspaces/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juit/pgproxy-client",
"version": "1.0.22",
"version": "1.0.23",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"homepage": "https://github.com/juitnow/juit-pgproxy#readme",
"dependencies": {
"@juit/pgproxy-types": "1.0.22"
"@juit/pgproxy-types": "1.0.23"
},
"directories": {
"test": "test"
Expand Down
6 changes: 3 additions & 3 deletions workspaces/persister/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juit/pgproxy-persister",
"version": "1.0.22",
"version": "1.0.23",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -53,7 +53,7 @@
"src/"
],
"dependencies": {
"@juit/pgproxy-client": "1.0.22",
"@juit/pgproxy-types": "1.0.22"
"@juit/pgproxy-client": "1.0.23",
"@juit/pgproxy-types": "1.0.23"
}
}
2 changes: 1 addition & 1 deletion workspaces/pool/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juit/pgproxy-pool",
"version": "1.0.22",
"version": "1.0.23",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
7 changes: 5 additions & 2 deletions workspaces/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juit/pgproxy-server",
"version": "1.0.22",
"version": "1.0.23",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -35,9 +35,12 @@
},
"homepage": "https://github.com/juitnow/juit-pgproxy#readme",
"dependencies": {
"@juit/pgproxy-pool": "1.0.22",
"@juit/pgproxy-pool": "1.0.23",
"ws": "^8.17.1"
},
"devDependencies": {
"@types/ws": "^8.5.10"
},
"directories": {
"test": "test"
},
Expand Down
2 changes: 1 addition & 1 deletion workspaces/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juit/pgproxy-types",
"version": "1.0.22",
"version": "1.0.23",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
10 changes: 5 additions & 5 deletions workspaces/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juit/pgproxy-utils",
"version": "1.0.22",
"version": "1.0.23",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -43,9 +43,9 @@
"src/"
],
"dependencies": {
"@juit/pgproxy-client": "1.0.22",
"@juit/pgproxy-persister": "1.0.22",
"@juit/pgproxy-types": "1.0.22",
"@plugjs/plug": "^0.6.0"
"@juit/pgproxy-client": "1.0.23",
"@juit/pgproxy-persister": "1.0.23",
"@juit/pgproxy-types": "1.0.23",
"@plugjs/plug": "^0.6.2"
}
}

0 comments on commit c9e2992

Please sign in to comment.