From a4a4dd18ae36e164234b8b003cd595ba5362d40c Mon Sep 17 00:00:00 2001 From: hiroyuki kikuchi Date: Wed, 17 Aug 2022 13:15:16 +0900 Subject: [PATCH 1/5] fix(typo): Boardcast -> Broadcast --- packages/vite/src/node/server/ws.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite/src/node/server/ws.ts b/packages/vite/src/node/server/ws.ts index 0d787a79157d6b..54eaa21e94de45 100644 --- a/packages/vite/src/node/server/ws.ts +++ b/packages/vite/src/node/server/ws.ts @@ -25,7 +25,7 @@ export interface WebSocketServer { */ clients: Set /** - * Boardcast events to all clients + * Broadcast events to all clients */ send(payload: HMRPayload): void /** From 7430e283772a48aeca97149eb62b01ba5a2d4b7c Mon Sep 17 00:00:00 2001 From: hiroyuki kikuchi Date: Wed, 17 Aug 2022 13:15:43 +0900 Subject: [PATCH 2/5] fix(typo): Additionnal -> Additional --- packages/vite/types/http-proxy.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite/types/http-proxy.d.ts b/packages/vite/types/http-proxy.d.ts index 5e2717eaa0fcbd..1cae820dcdfa8f 100644 --- a/packages/vite/types/http-proxy.d.ts +++ b/packages/vite/types/http-proxy.d.ts @@ -57,7 +57,7 @@ export namespace HttpProxy { * Used for proxying regular HTTP(S) requests * @param req - Client request. * @param res - Client response. - * @param options - Additionnal options. + * @param options - Additional options. */ web( req: http.IncomingMessage, From aa132d996e0191b35af1f3cea369917cf7ed4285 Mon Sep 17 00:00:00 2001 From: hiroyuki kikuchi Date: Wed, 17 Aug 2022 13:16:15 +0900 Subject: [PATCH 3/5] fix(typo): dependecies -> dependencies --- docs/guide/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/troubleshooting.md b/docs/guide/troubleshooting.md index 1665a982a91119..4fb826a3ee85b9 100644 --- a/docs/guide/troubleshooting.md +++ b/docs/guide/troubleshooting.md @@ -88,4 +88,4 @@ For example, you might see these errors. > TypeError: Cannot create property 'foo' on boolean 'false' -If these code are used inside dependecies, you could use [`patch-package`](https://github.com/ds300/patch-package) (or [`yarn patch`](https://yarnpkg.com/cli/patch) or [`pnpm patch`](https://pnpm.io/cli/patch)) for an escape hatch. +If these code are used inside dependencies, you could use [`patch-package`](https://github.com/ds300/patch-package) (or [`yarn patch`](https://yarnpkg.com/cli/patch) or [`pnpm patch`](https://pnpm.io/cli/patch)) for an escape hatch. From 19d904d4e84b3fc54e5c94c3966575021f9b979b Mon Sep 17 00:00:00 2001 From: hiroyuki kikuchi Date: Wed, 17 Aug 2022 13:17:11 +0900 Subject: [PATCH 4/5] fix(typo): Annoucement -> Announcement --- packages/vite/CHANGELOG.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/vite/CHANGELOG.md b/packages/vite/CHANGELOG.md index c6ddf521394bea..6bcfd601e92472 100644 --- a/packages/vite/CHANGELOG.md +++ b/packages/vite/CHANGELOG.md @@ -127,7 +127,7 @@ ### Main Changes > **Vite 3 is out!** -> Read the [Vite 3 Annoucement blog post](https://vitejs.dev/blog/announcing-vite3) +> Read the [Vite 3 Announcement blog post](https://vitejs.dev/blog/announcing-vite3) - New docs theme using [VitePress](https://vitepress.vuejs.org/) v1 alpha: https://vitejs.dev - Vite CLI @@ -234,7 +234,7 @@ * fix: reload on restart with middleware mode (fixes #9038) (#9040) ([e372693](https://github.com/vitejs/vite/commit/e372693)), closes [#9038](https://github.com/vitejs/vite/issues/9038) [#9040](https://github.com/vitejs/vite/issues/9040) * fix: remove ws is already closed error (#9041) ([45b8b53](https://github.com/vitejs/vite/commit/45b8b53)), closes [#9041](https://github.com/vitejs/vite/issues/9041) * fix(ssr): sourcemap content (fixes #8657) (#8997) ([aff4544](https://github.com/vitejs/vite/commit/aff4544)), closes [#8657](https://github.com/vitejs/vite/issues/8657) [#8997](https://github.com/vitejs/vite/issues/8997) -* fix: respect explicitily external/noExternal config (#8983) ([e369880](https://github.com/vitejs/vite/commit/e369880)), closes [#8983](https://github.com/vitejs/vite/issues/8983) +* fix: respect explicitly external/noExternal config (#8983) ([e369880](https://github.com/vitejs/vite/commit/e369880)), closes [#8983](https://github.com/vitejs/vite/issues/8983) * fix: cjs interop export names local clash, fix #8950 (#8953) ([2185f72](https://github.com/vitejs/vite/commit/2185f72)), closes [#8950](https://github.com/vitejs/vite/issues/8950) [#8953](https://github.com/vitejs/vite/issues/8953) * fix: handle context resolve options (#8966) ([57c6c15](https://github.com/vitejs/vite/commit/57c6c15)), closes [#8966](https://github.com/vitejs/vite/issues/8966) * fix: re-encode url to prevent fs.allow bypass (fixes #8498) (#8979) ([b835699](https://github.com/vitejs/vite/commit/b835699)), closes [#8498](https://github.com/vitejs/vite/issues/8498) [#8979](https://github.com/vitejs/vite/issues/8979) @@ -895,7 +895,7 @@ See [2.9.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v2.9.0-beta.0/p * **glob:** css imports injecting a ?used query to export the css string ([#6949](https://github.com/vitejs/vite/issues/6949)) ([0b3f4ef](https://github.com/vitejs/vite/commit/0b3f4ef231004e072bf1b037f63bc4ef169d938e)) * **hmr:** hmr style tag no support in html ([#7052](https://github.com/vitejs/vite/issues/7052)) ([a9dfce3](https://github.com/vitejs/vite/commit/a9dfce38108e796e0de0e3b43ced34d60883cef3)) * image -> image/x-icon ([#7120](https://github.com/vitejs/vite/issues/7120)) ([065ceca](https://github.com/vitejs/vite/commit/065ceca5c7b8f1843e220fbdbe8a0da4cbb78935)) -* import with query with exports field ([#7073](https://github.com/vitejs/vite/issues/7073)) ([88ded7f](https://github.com/vitejs/vite/commit/88ded7f16382d83603511de043785e01ee1e4a3a)) +* import with query with exports field ([#7073](https://github.com/vitejs/vite/issues/7073)) ([88dead7f](https://github.com/vitejs/vite/commit/88ded7f16382d83603511de043785e01ee1e4a3a)) * prebundle dep with colon ([#7006](https://github.com/vitejs/vite/issues/7006)) ([2136f2b](https://github.com/vitejs/vite/commit/2136f2bb960d1a81ac3b3ca04d9ebd89dba44661)) * recycle serve to avoid preventing Node self-exit ([#6895](https://github.com/vitejs/vite/issues/6895)) ([d6b2c53](https://github.com/vitejs/vite/commit/d6b2c53c6f0bcc4ffa9cdf48375f9bbcc98f79f7)) * resolve [@import](https://github.com/import) of the proxied