Skip to content

Commit

Permalink
ws-transport: fix unhandled 'error' event
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursunny committed Nov 6, 2024
1 parent 6dfca08 commit 1ea5a59
Show file tree
Hide file tree
Showing 43 changed files with 53 additions and 51 deletions.
8 changes: 4 additions & 4 deletions integ/browser-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
"devDependencies": {
"@nodelib/fs.walk": "^2.0.0",
"@types/webpack": "^5.28.5",
"@zenfs/core": "^1.2.4",
"@zenfs/core": "^1.2.8",
"@zenfs/dom": "^1.0.3",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"html-webpack-plugin": "^5.6.3",
"puppeteer": "^23.6.1",
"puppeteer": "^23.7.0",
"ts-loader": "^9.5.1",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"webpack": "^5.95.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion integ/cxx-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@ndn/psync": "workspace:*",
"@ndn/tlv": "workspace:*",
"@ndn/util": "workspace:*",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
},
"devDependencies": {
"execa": "^9.5.1",
Expand Down
2 changes: 1 addition & 1 deletion integ/nac-interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"@ndn/packet": "workspace:*",
"@ndn/repo": "workspace:*",
"@ndn/util": "workspace:*",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
}
}
2 changes: 1 addition & 1 deletion integ/nfdmgmt-interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"@ndn/cli-common": "workspace:*",
"@ndn/nfdmgmt": "workspace:*",
"@ndn/packet": "workspace:*",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
}
}
2 changes: 1 addition & 1 deletion integ/sync-interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"@ndn/repo": "workspace:*",
"@ndn/svs": "workspace:*",
"@ndn/util": "workspace:*",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
},
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee",
"devDependencies": {
"@types/node": "^20.17.5",
"@types/node": "^20.17.6",
"@types/wtfnode": "^0.7.3",
"@typescript/lib-dom": "npm:@types/web@0.0.175",
"@typescript/lib-dom": "npm:@types/web@0.0.176",
"@vitest/coverage-v8": "^2.1.4",
"@yoursunny/xo-config": "0.59.0",
"codedown": "^3.2.1",
"tslib": "^2.8.0",
"typedoc": "^0.26.10",
"tslib": "^2.8.1",
"typedoc": "^0.26.11",
"typescript": "~5.6.3",
"vitest": "^2.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/autoconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@ndn/quic-transport": "workspace:*",
"@ndn/ws-transport": "workspace:*",
"default-gateway": "^7.2.2",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
},
"devDependencies": {
"@ndn/util": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion pkg/cat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@ndn/util": "workspace:*",
"stdout-stream": "^2.0.0",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"yargs": "^17.7.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@ndn/util": "workspace:*",
"dotenv": "^16.4.5",
"env-var": "^7.5.0",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"wtfnode": "^0.9.3"
}
}
2 changes: 1 addition & 1 deletion pkg/dpdkmgmt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@ndn/packet": "workspace:*",
"graphql": "^16.9.0",
"graphql-request": "^6.1.0",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
},
"optionalDependencies": {
"memif": "0.0.20240119"
Expand Down
2 changes: 1 addition & 1 deletion pkg/endpoint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@ndn/packet": "workspace:*",
"@ndn/util": "workspace:*",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
},
"devDependencies": {
"@ndn/keychain": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions pkg/fileserver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
"@ndn/segmented-object": "workspace:*",
"@ndn/tlv": "workspace:*",
"@ndn/util": "workspace:*",
"@zenfs/core": "^1.2.4",
"@zenfs/core": "^1.2.8",
"mnemonist": "^0.39.8",
"obliterator": "^2.0.4",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
},
"devDependencies": {
"@ndn/endpoint": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion pkg/fw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"mnemonist": "^0.39.8",
"retry": "^0.13.1",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"typescript-event-target": "^1.1.1"
}
}
2 changes: 1 addition & 1 deletion pkg/keychain-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"nodemailer": "^6.9.16",
"prompts": "^2.4.2",
"stdout-stream": "^2.0.0",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"yargs": "^17.7.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/keychain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@yoursunny/webcrypto-ed25519": "0.0.20230624",
"idb-keyval": "^6.2.1",
"mnemonist": "^0.39.8",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"wait-your-turn": "^1.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/l3face/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"p-event": "^6.0.1",
"retry": "^0.13.1",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"typescript-event-target": "^1.1.1"
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/lp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@ndn/tlv": "workspace:*",
"@ndn/util": "workspace:*",
"it-keepalive": "^1.2.0",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
},
"devDependencies": {
"streaming-iterables": "^8.0.1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/lvs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"@ndn/tlv": "workspace:^",
"@ndn/trust-schema": "workspace:^",
"@ndn/util": "workspace:*",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
}
}
2 changes: 1 addition & 1 deletion pkg/nac/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@ndn/util": "workspace:*",
"@yoursunny/asn1": "0.0.20200718",
"mnemonist": "^0.39.8",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/naming-convention1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"dependencies": {
"@ndn/packet": "workspace:*",
"@ndn/tlv": "workspace:*",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
}
}
2 changes: 1 addition & 1 deletion pkg/naming-convention2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"@ndn/packet": "workspace:*",
"@ndn/tlv": "workspace:*",
"@ndn/util": "workspace:*",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
}
}
2 changes: 1 addition & 1 deletion pkg/ndn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"types": "lib/mod.d.ts"
},
"dependencies": {
"tslib": "^2.8.0"
"tslib": "^2.8.1"
}
}
2 changes: 1 addition & 1 deletion pkg/ndncert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"imap-emails": "^1.0.4",
"nodemailer": "^6.9.16",
"p-timeout": "^6.1.3",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"typescript-event-target": "^1.1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/ndnsec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"@ndn/util": "workspace:*",
"@yoursunny/asn1": "0.0.20200718",
"execa": "^9.5.1",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
}
}
2 changes: 1 addition & 1 deletion pkg/nfdmgmt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@ndn/tlv": "workspace:*",
"@ndn/util": "workspace:*",
"obliterator": "^2.0.4",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
},
"devDependencies": {
"@ndn/l3face": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion pkg/node-transport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@ndn/l3face": "workspace:*",
"event-iterator": "^2.0.0",
"p-event": "^6.0.1",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"url-format-lax": "^2.0.0",
"url-parse-lax": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion pkg/packet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@ndn/util": "workspace:*",
"buffer-compare": "^1.1.1",
"mnemonist": "^0.39.8",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/psync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"obliterator": "^2.0.4",
"p-defer": "^4.0.1",
"pako": "^2.1.0",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"typescript-event-target": "^1.1.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/pyrepo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@ndn/util": "workspace:*",
"p-defer": "^4.0.1",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"typescript-event-target": "^1.1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/quic-transport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"dependencies": {
"@ndn/l3face": "workspace:*",
"@ndn/util": "workspace:*",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
}
}
2 changes: 1 addition & 1 deletion pkg/rdr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@ndn/naming-convention2": "workspace:*",
"@ndn/packet": "workspace:*",
"@ndn/tlv": "workspace:*",
"tslib": "^2.8.0"
"tslib": "^2.8.1"
},
"devDependencies": {
"@ndn/fw": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion pkg/repo-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"p-defer": "^4.0.1",
"p-event": "^6.0.1",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"typescript-event-target": "^1.1.1",
"wait-your-turn": "^1.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/repo-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@ndn/util": "workspace:*",
"progress": "^2.0.3",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"yargs": "^17.7.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/repo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"level": "^8.0.1",
"memory-level": "^2.0.0",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"typescript-event-target": "^1.1.1",
"wait-your-turn": "^1.0.1"
Expand Down
4 changes: 2 additions & 2 deletions pkg/segmented-object/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"@ndn/naming-convention2": "workspace:*",
"@ndn/packet": "workspace:*",
"@ndn/util": "workspace:*",
"@zenfs/core": "^1.2.4",
"@zenfs/core": "^1.2.8",
"it-keepalive": "^1.2.0",
"mnemonist": "^0.39.8",
"obliterator": "^2.0.4",
"p-defer": "^4.0.1",
"p-lazy": "^5.0.0",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"typescript-event-target": "^1.1.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/svs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@ndn/tlv": "workspace:*",
"@ndn/util": "workspace:*",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"typescript-event-target": "^1.1.1",
"wait-your-turn": "^1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/sync-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@ndn/packet": "workspace:*",
"@ndn/util": "workspace:*",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"typescript-event-target": "^1.1.1"
}
}
2 changes: 1 addition & 1 deletion pkg/tlv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@ndn/util": "workspace:*",
"mnemonist": "^0.39.8",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1"
}
}
2 changes: 1 addition & 1 deletion pkg/trust-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@ndn/util": "workspace:*",
"mnemonist": "^0.39.8",
"obliterator": "^2.0.4",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"event-iterator": "^2.0.0",
"streaming-iterables": "^8.0.1",
"tiny-invariant": "^1.3.3",
"tslib": "^2.8.0",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"wait-your-turn": "^1.0.1"
},
Expand Down
Loading

0 comments on commit 1ea5a59

Please sign in to comment.