Skip to content

Commit

Permalink
Bump the build group with 2 updates (#1302)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Nov 5, 2024
1 parent 55d0a0d commit 7a35f55
Show file tree
Hide file tree
Showing 10 changed files with 107 additions and 26 deletions.
69 changes: 58 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
"eslint-plugin-n": "^17.10.1",
"prettier": "^3.3.3",
"turbo": "^2.2.3",
"typescript": "5.5.4"
"typescript": "5.6.3"
}
}
2 changes: 1 addition & 1 deletion packages/connect-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"devDependencies": {
"@cloudflare/workers-types": "^4.20240821.1",
"wrangler": "^3.73.0",
"tsx": "^4.19.0",
"tsx": "^4.19.2",
"@connectrpc/connect-conformance": "^2.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion packages/connect-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@connectrpc/connect-node": "2.0.0-rc.2",
"@types/express": "^5.0.0",
"express": "^5.0.1",
"tsx": "^4.19.0"
"tsx": "^4.19.2"
},
"peerDependencies": {
"express": "^4.18.2 || ^5.0.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/connect-web-bench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ usually do. We repeat this for an increasing number of RPCs.

| code generator | RPCs | bundle size | minified | compressed |
| -------------- | ---: | ----------: | --------: | ---------: |
| Connect-ES | 1 | 276,243 b | 176,254 b | 35,750 b |
| Connect-ES | 4 | 280,495 b | 179,356 b | 36,486 b |
| Connect-ES | 8 | 285,358 b | 183,787 b | 37,416 b |
| Connect-ES | 16 | 294,486 b | 191,411 b | 38,989 b |
| Connect-ES | 1 | 276,498 b | 176,488 b | 35,716 b |
| Connect-ES | 4 | 280,750 b | 179,590 b | 36,547 b |
| Connect-ES | 8 | 285,613 b | 184,021 b | 37,458 b |
| Connect-ES | 16 | 294,741 b | 191,645 b | 38,978 b |
| gRPC-Web | 1 | 876,563 b | 548,495 b | 52,300 b |
| gRPC-Web | 4 | 928,964 b | 580,477 b | 54,673 b |
| gRPC-Web | 8 | 1,004,833 b | 628,223 b | 57,118 b |
Expand Down
10 changes: 5 additions & 5 deletions packages/connect-web-bench/chart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/connect/src/connect-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class ConnectError extends Error {
return new ConnectError(String(reason), code, undefined, undefined, reason);
}

static [Symbol.hasInstance](v: unknown): boolean {
static override [Symbol.hasInstance](v: unknown): boolean {
if (!(v instanceof Error)) {
return false;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
"@bufbuild/protobuf": "^2.2.0",
"@connectrpc/connect-node": "^2.0.0-rc.2",
"@connectrpc/connect-web": "^2.0.0-rc.2",
"tsx": "^4.16.5"
"tsx": "^4.19.2"
},
"devDependencies": {
"@bufbuild/buf": "^1.46.0",
"@bufbuild/protoc-gen-es": "^2.1.0",
"@types/express": "^4.17.18",
"esbuild": "^0.19.8",
"typescript": "^5.5.4"
"typescript": "^5.6.3"
}
}
12 changes: 12 additions & 0 deletions packages/typescript-compat/v5.5.x/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "ts5.5",
"scripts": {
"test": "node_modules/.bin/tsc --outDir dist"
},
"dependencies": {
"@connectrpc/connect-conformance": "*",
"@connectrpc/example": "*",
"@types/node": "22.5.4",
"typescript": "5.5.x"
}
}
22 changes: 22 additions & 0 deletions packages/typescript-compat/v5.5.x/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"include": [
"../../connect-conformance/src/index.ts",
"../../example/src/**/*.ts"
],
// These are the default compiler options for TypeScript v5.4.x, created
// with `tsc --init` (except where noted in comments below)
"compilerOptions": {
"target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"module": "commonjs", /* Specify what module code is generated. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"strict": true, /* Enable all strict type-checking options. */
// To guard against regression and ensure we are remaining backwards
// compatible, set the skipLibCheck flag to false explicitly.
"skipLibCheck": false,
// Certain errors are only triggered by actually emitting declaration files,
// see https://github.com/bufbuild/protobuf-es/pull/398
"declaration": true,
"declarationMap": true
}
}

0 comments on commit 7a35f55

Please sign in to comment.