From f16e0f171a76bfb489033d3c3582fabdd40f92c3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 07:04:39 +0000 Subject: [PATCH 1/4] Bump @types/react from 18.3.10 to 18.3.12 in the react group Bumps the react group with 1 update: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). Updates `@types/react` from 18.3.10 to 18.3.12 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: react ... Signed-off-by: dependabot[bot] Signed-off-by: Steve Ayers --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4c040257..da81debf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "@docusaurus/eslint-plugin": "^3.5.2", "@docusaurus/module-type-aliases": "^3.5.2", "@docusaurus/tsconfig": "^3.0.0", - "@types/react": "^18.2.29", + "@types/react": "^18.3.12", "@typescript-eslint/eslint-plugin": "^8.0.0", "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", @@ -4126,9 +4126,9 @@ "license": "MIT" }, "node_modules/@types/react": { - "version": "18.3.10", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.10.tgz", - "integrity": "sha512-02sAAlBnP39JgXwkAq3PeU9DVaaGpZyF3MGcC0MKgQVkZor5IiiDAipVaxQHtDJAmO4GIy/rVBy/LzVj76Cyqg==", + "version": "18.3.12", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.12.tgz", + "integrity": "sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==", "license": "MIT", "dependencies": { "@types/prop-types": "*", diff --git a/package.json b/package.json index 36272e54..54b53c82 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@docusaurus/eslint-plugin": "^3.5.2", "@docusaurus/module-type-aliases": "^3.5.2", "@docusaurus/tsconfig": "^3.0.0", - "@types/react": "^18.2.29", + "@types/react": "^18.3.12", "@typescript-eslint/eslint-plugin": "^8.0.0", "@typescript-eslint/parser": "^8.0.0", "eslint": "^8.57.0", From 1cc1e1b61bafae4dd100c3fe1c3a6c5924365d52 Mon Sep 17 00:00:00 2001 From: Timo Stamm Date: Mon, 2 Dec 2024 13:46:23 +0100 Subject: [PATCH 2/4] Connect for Web: Fix useClient example (#227) Signed-off-by: Timo Stamm Signed-off-by: Steve Ayers --- docs/web/using-clients.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/web/using-clients.mdx b/docs/web/using-clients.mdx index 199f204a..f0e9c59a 100644 --- a/docs/web/using-clients.mdx +++ b/docs/web/using-clients.mdx @@ -79,9 +79,9 @@ For example, you can easily create a custom hook in React: ```ts // use-client.ts import { useMemo } from "react"; -import { ServiceType } from "@bufbuild/protobuf"; +import { type DescService } from "@bufbuild/protobuf"; import { createConnectTransport } from "@connectrpc/connect-web"; -import { createClient, PromiseClient } from "@connectrpc/connect"; +import { createClient, type Client } from "@connectrpc/connect"; // This transport is going to be used throughout the app const transport = createConnectTransport({ @@ -91,7 +91,7 @@ const transport = createConnectTransport({ /** * Get a promise client for the given service. */ -export function useClient(service: T): PromiseClient { +export function useClient(service: T): Client { // We memoize the client, so that we only create one instance per service. return useMemo(() => createClient(service, transport), [service]); } From 43827bb7a40a10ff28e72456e51a7ca7beb4dba5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 10:24:59 -0500 Subject: [PATCH 3/4] Bump typescript from 5.6.2 to 5.7.2 (#231) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.6.2 to 5.7.2.
Release notes

Sourced from typescript's releases.

TypeScript 5.7

For release notes, check out the release announcement.

Downloads are available on:

TypeScript 5.7 RC

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

TypeScript 5.7 Beta

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

TypeScript 5.6.3

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

Commits
  • d701d90 Bump version to 5.7.2 and LKG
  • 0503a63 🤖 Pick PR #60450 (Move to file: fix detection of refe...) into release-5.7 (#...
  • 3140dbb 🤖 Pick PR #60488 (Stub out copilotRelated command) into release-5.7 (#60495)
  • c1216de Update LKG
  • 3ee2b95 🤖 Pick PR #60415 (Fix false positive rewriteRelativeI...) into release-5.7 (#...
  • 44bd3f2 Bump version to 5.7.1-rc and LKG
  • 5925c81 Update LKG
  • 84d58cf Merge remote-tracking branch 'origin/main' into release-5.7
  • 0ec4d30 Fixing exception on unsaved file (#60362)
  • 11b2930 Add compatible overloads that accept ArrayBuffer to BigInt64Array/BigUint64Ar...
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typescript&package-manager=npm_and_yarn&previous-version=5.6.2&new-version=5.7.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Steve Ayers --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index da81debf..9fcd34e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-react": "^7.35.0", "prettier": "^3.3.2", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "engines": { "node": ">=18.0" @@ -17304,9 +17304,9 @@ } }, "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 54b53c82..a4e9175f 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-react": "^7.35.0", "prettier": "^3.3.2", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "licenseHeader": { "licenseType": "apache", From 3c3d9814826be914bc585da73b05c782715571e2 Mon Sep 17 00:00:00 2001 From: Steve Ayers Date: Thu, 5 Dec 2024 10:28:23 -0500 Subject: [PATCH 4/4] Merge Signed-off-by: Steve Ayers --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9fcd34e0..e44d549a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "@bufbuild/license-header": "^0.0.4", "@docusaurus/eslint-plugin": "^3.5.2", "@docusaurus/module-type-aliases": "^3.5.2", - "@docusaurus/tsconfig": "^3.0.0", + "@docusaurus/tsconfig": "^3.6.3", "@types/react": "^18.3.12", "@typescript-eslint/eslint-plugin": "^8.0.0", "@typescript-eslint/parser": "^8.0.0", @@ -2987,9 +2987,9 @@ } }, "node_modules/@docusaurus/tsconfig": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/@docusaurus/tsconfig/-/tsconfig-3.5.2.tgz", - "integrity": "sha512-rQ7toURCFnWAIn8ubcquDs0ewhPwviMzxh6WpRjBW7sJVCXb6yzwUaY3HMNa0VXCFw+qkIbFywrMTf+Pb4uHWQ==", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/@docusaurus/tsconfig/-/tsconfig-3.6.3.tgz", + "integrity": "sha512-1pT/rTrRpMV15E4tJH95W5PrjboMn5JkKF+Ys8cTjMegetiXjs0gPFOSDA5hdTlberKQLDO50xPjMJHondLuzA==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index a4e9175f..09bfd47a 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@bufbuild/license-header": "^0.0.4", "@docusaurus/eslint-plugin": "^3.5.2", "@docusaurus/module-type-aliases": "^3.5.2", - "@docusaurus/tsconfig": "^3.0.0", + "@docusaurus/tsconfig": "^3.6.3", "@types/react": "^18.3.12", "@typescript-eslint/eslint-plugin": "^8.0.0", "@typescript-eslint/parser": "^8.0.0",