-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update testing #1550
Merged
Merged
docs: update testing #1550
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 3a6deae:
|
dai-shi
approved these changes
Jan 18, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's my mistake. thanks for the fix!
kodiakhq bot
referenced
this pull request
in mheob/ef-calc
Feb 24, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@mheob/eslint-config](https://github.com/mheob/config/tree/main/packages/eslint-config) ([source](https://github.com/mheob/config)) | [`^4.1.0` -> `^4.2.0`](https://renovatebot.com/diffs/npm/@mheob%2feslint-config/4.1.0/4.2.0) | [![age](https://badges.renovateapi.com/packages/npm/@mheob%2feslint-config/4.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@mheob%2feslint-config/4.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@mheob%2feslint-config/4.2.0/compatibility-slim/4.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@mheob%2feslint-config/4.2.0/confidence-slim/4.1.0)](https://docs.renovatebot.com/merge-confidence/) | | [@mheob/prettier-config](https://github.com/mheob/config/tree/main/packages/prettier-config) ([source](https://github.com/mheob/config)) | [`^3.0.0` -> `^3.0.1`](https://renovatebot.com/diffs/npm/@mheob%2fprettier-config/3.0.0/3.0.1) | [![age](https://badges.renovateapi.com/packages/npm/@mheob%2fprettier-config/3.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@mheob%2fprettier-config/3.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@mheob%2fprettier-config/3.0.1/compatibility-slim/3.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@mheob%2fprettier-config/3.0.1/confidence-slim/3.0.0)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`^18.11.18` -> `^18.14.0`](https://renovatebot.com/diffs/npm/@types%2fnode/18.11.18/18.14.0) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.14.0/compatibility-slim/18.11.18)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.14.0/confidence-slim/18.11.18)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`^18.0.27` -> `^18.0.28`](https://renovatebot.com/diffs/npm/@types%2freact/18.0.27/18.0.28) | [![age](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.28/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.28/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.28/compatibility-slim/18.0.27)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/18.0.28/confidence-slim/18.0.27)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`^18.0.10` -> `^18.0.11`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.0.10/18.0.11) | [![age](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.0.11/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.0.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.0.11/compatibility-slim/18.0.10)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.0.11/confidence-slim/18.0.10)](https://docs.renovatebot.com/merge-confidence/) | | [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme) ([source](https://github.com/vitejs/vite-plugin-react)) | [`^3.0.1` -> `^3.1.0`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/3.0.1/3.1.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.1.0/compatibility-slim/3.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.1.0/confidence-slim/3.0.1)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`^8.32.0` -> `^8.34.0`](https://renovatebot.com/diffs/npm/eslint/8.32.0/8.34.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.34.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.34.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.34.0/compatibility-slim/8.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.34.0/confidence-slim/8.32.0)](https://docs.renovatebot.com/merge-confidence/) | | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | [`^2.8.3` -> `^2.8.4`](https://renovatebot.com/diffs/npm/prettier/2.8.3/2.8.4) | [![age](https://badges.renovateapi.com/packages/npm/prettier/2.8.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prettier/2.8.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prettier/2.8.4/compatibility-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prettier/2.8.4/confidence-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/TypeScript)) | [`^4.9.4` -> `^4.9.5`](https://renovatebot.com/diffs/npm/typescript/4.9.4/4.9.5) | [![age](https://badges.renovateapi.com/packages/npm/typescript/4.9.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typescript/4.9.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typescript/4.9.5/compatibility-slim/4.9.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typescript/4.9.5/confidence-slim/4.9.4)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://github.com/vitejs/vite/tree/main/#readme) ([source](https://github.com/vitejs/vite)) | [`^4.0.4` -> `^4.1.3`](https://renovatebot.com/diffs/npm/vite/4.0.4/4.1.3) | [![age](https://badges.renovateapi.com/packages/npm/vite/4.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vite/4.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vite/4.1.3/compatibility-slim/4.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vite/4.1.3/confidence-slim/4.0.4)](https://docs.renovatebot.com/merge-confidence/) | | [zustand](https://github.com/pmndrs/zustand) | [`^4.3.2` -> `^4.3.3`](https://renovatebot.com/diffs/npm/zustand/4.3.2/4.3.3) | [![age](https://badges.renovateapi.com/packages/npm/zustand/4.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/zustand/4.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/zustand/4.3.3/compatibility-slim/4.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/zustand/4.3.3/confidence-slim/4.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mheob/config</summary> ### [`v4.2.0`](https://github.com/mheob/config/releases/tag/%40mheob/eslint-config%404.2.0) [Compare Source](https://github.com/mheob/config/compare/@mheob/eslint-config@4.1.0...@mheob/eslint-config@4.2.0) ##### Minor Changes - remove explicit return rule --> ([#​113](https://github.com/mheob/config/pull/113)) by [@​mheob](https://github.com/mheob) - move `explicit-function-return-type` rule to base config --> ([#​116](https://github.com/mheob/config/pull/116)) by [@​mheob](https://github.com/mheob) ##### Patch Changes - update dependencies --> ([#​112](https://github.com/mheob/config/pull/112)) by [@​mheob](https://github.com/mheob) - fix the README files after the change of using ESLint to fix the imports --> ([#​109](https://github.com/mheob/config/pull/109)) by [@​mheob](https://github.com/mheob) </details> <details> <summary>vitejs/vite-plugin-react</summary> ### [`v3.1.0`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#​310-2023-02-02) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/d758a2a44b0a2cb3c206fa61166cda9d5cf58221...cda8145b8dc5a7211c0e3f8a253b4cac9c2c3d42) - doc: add jsxImportSource option ([38d71f6](https://github.com/vitejs/vite-plugin-react/commit/38d71f6)) - chore: bump release-scripts, typecheck package in CI, remove cache for eslint ([9af763d](https://github.com/vitejs/vite-plugin-react/commit/9af763d)) - fix: fast-refresh explain link ([#​97](https://github.com/vitejs/vite-plugin-react/issues/97)) ([6097795](https://github.com/vitejs/vite-plugin-react/commit/6097795)), closes [#​97](https://github.com/vitejs/vite-plugin-react/issues/97) </details> <details> <summary>eslint/eslint</summary> ### [`v8.34.0`](https://github.com/eslint/eslint/releases/tag/v8.34.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.33.0...v8.34.0) ##### Features - [`9b2fcf7`](https://github.com/eslint/eslint/commit/9b2fcf7e928fc92ac6d43617bdee1bda250b7491) feat: `array-callback-return` supports `Array.prototype.toSorted` ([#​16845](https://github.com/eslint/eslint/issues/16845)) (SUZUKI Sosuke) ##### Bug Fixes - [`923f61d`](https://github.com/eslint/eslint/commit/923f61d8fc82d83b912c6ba95abb5a509c4d7b52) fix: false positive with assignment in `no-extra-parens` ([#​16872](https://github.com/eslint/eslint/issues/16872)) (Francesco Trotta) ##### Documentation - [`f0a9883`](https://github.com/eslint/eslint/commit/f0a988384ea1a262150e70d83abd8a5e50c46fa7) docs: split rules documentation ([#​16797](https://github.com/eslint/eslint/issues/16797)) (Ben Perlmutter) - [`67aa37b`](https://github.com/eslint/eslint/commit/67aa37b583f059226b9c959672400f04ed6a56b5) docs: fix typo in command-line-interface.md ([#​16871](https://github.com/eslint/eslint/issues/16871)) (Kevin Rouchut) - [`337f7ed`](https://github.com/eslint/eslint/commit/337f7ed96131d873be7ae6b010739476d0ad15e9) docs: fix width of language input ([#​16849](https://github.com/eslint/eslint/issues/16849)) (Tanuj Kanti) - [`71349a1`](https://github.com/eslint/eslint/commit/71349a1f709baa361bd656a7ce4a7d35d857a9a8) docs: Configure a Parser page ([#​16803](https://github.com/eslint/eslint/issues/16803)) (Ben Perlmutter) - [`de7e925`](https://github.com/eslint/eslint/commit/de7e925d03764f3681269b30bb60b92ee463c10f) docs: remove extra line numbers in example ([#​16848](https://github.com/eslint/eslint/issues/16848)) (jonz94) - [`ad38d77`](https://github.com/eslint/eslint/commit/ad38d77102d6fe30cfa92c831174f178bb35c88b) docs: Update README (GitHub Actions Bot) ##### Chores - [`9dbe06d`](https://github.com/eslint/eslint/commit/9dbe06d0ad875e6d5964497e2975e8d789e763d0) chore: add `type` property to array-element-newline schema ([#​16877](https://github.com/eslint/eslint/issues/16877)) (MHO) - [`a061527`](https://github.com/eslint/eslint/commit/a061527a0332f0edf559acfc2902a327cae098d9) chore: Remove unused functions ([#​16868](https://github.com/eslint/eslint/issues/16868)) (Nicholas C. Zakas) ### [`v8.33.0`](https://github.com/eslint/eslint/releases/tag/v8.33.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.32.0...v8.33.0) ##### Features - [`2cc7954`](https://github.com/eslint/eslint/commit/2cc7954cdb1fed44e8a5d3c9b3ea1deceadb5e00) feat: add `restrictDefaultExports` option to no-restricted-exports rule ([#​16785](https://github.com/eslint/eslint/issues/16785)) (Nitin Kumar) ##### Documentation - [`17f4be2`](https://github.com/eslint/eslint/commit/17f4be2b66deb81f4e9ffb3d6bdfb79f3fcf85a2) docs: Fix examples in no-multiple-empty-lines rule ([#​16835](https://github.com/eslint/eslint/issues/16835)) (jonz94) - [`9c7cfe3`](https://github.com/eslint/eslint/commit/9c7cfe33c4a39cf2c23529afe02030ea7f8acf70) docs: 'Source Code' content in 'Set up Development Environment' page ([#​16780](https://github.com/eslint/eslint/issues/16780)) (Ben Perlmutter) - [`ede5c64`](https://github.com/eslint/eslint/commit/ede5c6475469a905da4f559ab55f0ee73168a9d7) docs: Custom processors page ([#​16802](https://github.com/eslint/eslint/issues/16802)) (Ben Perlmutter) - [`2620614`](https://github.com/eslint/eslint/commit/2620614f525de13f2e3ab0a7cd92abe89dae4897) docs: Code of Conduct page ([#​16781](https://github.com/eslint/eslint/issues/16781)) (Ben Perlmutter) - [`50a8efd`](https://github.com/eslint/eslint/commit/50a8efd957c70c9978a8ed25744a24193b00e078) docs: report a sec vulnerability page ([#​16808](https://github.com/eslint/eslint/issues/16808)) (Ben Perlmutter) - [`ed60afd`](https://github.com/eslint/eslint/commit/ed60afd4450e769a975447178299446f4439d926) docs: Update page titles, section landing pages, and side TOC ([#​16760](https://github.com/eslint/eslint/issues/16760)) (Ben Perlmutter) - [`333c712`](https://github.com/eslint/eslint/commit/333c71243537966930e9ab8178bc98c37949b5f2) docs: add background to code-path-diagrams for dark-mode ([#​16822](https://github.com/eslint/eslint/issues/16822)) (Tanuj Kanti) - [`f5f7b9b`](https://github.com/eslint/eslint/commit/f5f7b9b8b512f5c6a5b4a1037f81bb3f5a7311e0) docs: Update README (GitHub Actions Bot) - [`2aa4f5f`](https://github.com/eslint/eslint/commit/2aa4f5fb2fdb1c4a1734093c225e5c6251b0ee0f) docs: no-constant-condition: Add multi-comparison example ([#​16776](https://github.com/eslint/eslint/issues/16776)) (Sebastian Simon) - [`40287db`](https://github.com/eslint/eslint/commit/40287dbe7407934a69805f02ece07491778c3694) docs: Remove Google Group icon ([#​16779](https://github.com/eslint/eslint/issues/16779)) (Nicholas C. Zakas) - [`ea10ca5`](https://github.com/eslint/eslint/commit/ea10ca5b7b5bd8f6e6daf030ece9a3a82f10994c) docs: 'a .eslint' -> 'an .eslint' for consistency ([#​16809](https://github.com/eslint/eslint/issues/16809)) (Ben Perlmutter) - [`3be0748`](https://github.com/eslint/eslint/commit/3be07488ee7b6a9591d169be9648fbd36b32105e) docs: add example for nodejs lintText api ([#​16789](https://github.com/eslint/eslint/issues/16789)) (Siva K) - [`ce4f5ff`](https://github.com/eslint/eslint/commit/ce4f5ff30590df053a539c8e8e2597838e038a36) docs: Replace removed related rules with a valid rule ([#​16800](https://github.com/eslint/eslint/issues/16800)) (Ville Saalo) </details> <details> <summary>prettier/prettier</summary> ### [`v2.8.4`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​284) [Compare Source](https://github.com/prettier/prettier/compare/2.8.3...2.8.4) [diff](https://github.com/prettier/prettier/compare/2.8.3...2.8.4) ##### Fix leading comments in mapped types with `readonly` ([#​13427](https://github.com/prettier/prettier/pull/13427) by [@​thorn0](https://github.com/thorn0), [@​sosukesuzuki](https://github.com/sosukesuzuki)) ```tsx // Input type Type = { // comment readonly [key in Foo]; }; // Prettier 2.8.3 type Type = { readonly // comment [key in Foo]; }; // Prettier 2.8.4 type Type = { // comment readonly [key in Foo]; }; ``` ##### Group params in opening block statements ([#​14067](https://github.com/prettier/prettier/pull/14067) by [@​jamescdavis](https://github.com/jamescdavis)) This is a follow-up to [#​13930](https://github.com/prettier/prettier/issues/13930) to establish wrapping consistency between opening block statements and else blocks by grouping params in opening blocks. This causes params to break to a new line together and not be split across lines unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the same as opening blocks. ```hbs {{! Input }} {{#block param param param param param param param param param param as |blockParam|}} Hello {{else block param param param param param param param param param param as |blockParam|}} There {{/block}} {{! Prettier 2.8.3 }} {{#block param param param param param param param param param param as |blockParam| }} Hello {{else block param param param param param param param param param param}} There {{/block}} {{! Prettier 2.8.4 }} {{#block param param param param param param param param param param as |blockParam| }} Hello {{else block param param param param param param param param param param as |blockParam| }} There {{/block}} ``` ##### Ignore files in `.sl/` ([#​14206](https://github.com/prettier/prettier/pull/14206) by [@​bolinfest](https://github.com/bolinfest)) In [Sapling SCM](https://sapling-scm.com/), `.sl/` is the folder where it stores its state, analogous to `.git/` in Git. It should be ignored in Prettier like the other SCM folders. ##### Recognize `@satisfies` in Closure-style type casts ([#​14262](https://github.com/prettier/prettier/pull/14262) by [@​fisker](https://github.com/fisker)) ```jsx // Input const a = /** @​satisfies {Record<string, string>} */ ({hello: 1337}); const b = /** @​type {Record<string, string>} */ ({hello: 1337}); // Prettier 2.8.3 const a = /** @​satisfies {Record<string, string>} */ { hello: 1337 }; const b = /** @​type {Record<string, string>} */ ({ hello: 1337 }); // Prettier 2.8.4 const a = /** @​satisfies {Record<string, string>} */ ({hello: 1337}); const b = /** @​type {Record<string, string>} */ ({hello: 1337}); ``` ##### Fix parens in inferred function return types with `extends` ([#​14279](https://github.com/prettier/prettier/pull/14279) by [@​fisker](https://github.com/fisker)) ```ts // Input type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never; // Prettier 2.8.3 (First format) type Foo<T> = T extends (a) => a is infer R extends string ? R : never; // Prettier 2.8.3 (Second format) SyntaxError: '?' expected. // Prettier 2.8.4 type Foo<T> = T extends ((a) => a is infer R extends string) ? R : never; ``` </details> <details> <summary>Microsoft/TypeScript</summary> ### [`v4.9.5`](https://github.com/microsoft/TypeScript/releases/tag/v4.9.5): TypeScript 4.9.5 [Compare Source](https://github.com/Microsoft/TypeScript/compare/v4.9.4...v4.9.5) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) #### Changes: - [`69e88ef`](https://github.com/Microsoft/TypeScript/commit/69e88ef5513a81acf69ec78f4af1f927da0d0584) Port ignore deprecations to 4.9 ([#​52419](https://github.com/Microsoft/TypeScript/issues/52419)) - [`daf4e81`](https://github.com/Microsoft/TypeScript/commit/daf4e817a18def96b70ac34703b158ff0e6d58df) Port timestamp fix to 4.9 ([#​52426](https://github.com/Microsoft/TypeScript/issues/52426)) </details> <details> <summary>vitejs/vite</summary> ### [`v4.1.3`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small413-2023-02-20-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.1.2...v4.1.3) - fix: catch and handle websocket error ([#​11991](https://github.com/vitejs/vite/issues/11991)) ([#​12007](https://github.com/vitejs/vite/issues/12007)) ([4b5cc9f](https://github.com/vitejs/vite/commit/4b5cc9f)), closes [#​11991](https://github.com/vitejs/vite/issues/11991) [#​12007](https://github.com/vitejs/vite/issues/12007) - fix: do not append version query param when scanning for dependencies ([#​11961](https://github.com/vitejs/vite/issues/11961)) ([575bcf6](https://github.com/vitejs/vite/commit/575bcf6)), closes [#​11961](https://github.com/vitejs/vite/issues/11961) - fix(css): handle pure css chunk heuristic with special queries ([#​12091](https://github.com/vitejs/vite/issues/12091)) ([a873af5](https://github.com/vitejs/vite/commit/a873af5)), closes [#​12091](https://github.com/vitejs/vite/issues/12091) - fix(esbuild): umd helper insert into wrong position in lib mode ([#​11988](https://github.com/vitejs/vite/issues/11988)) ([86bc243](https://github.com/vitejs/vite/commit/86bc243)), closes [#​11988](https://github.com/vitejs/vite/issues/11988) - fix(html): respect disable modulepreload ([#​12111](https://github.com/vitejs/vite/issues/12111)) ([6c50119](https://github.com/vitejs/vite/commit/6c50119)), closes [#​12111](https://github.com/vitejs/vite/issues/12111) - fix(html): rewrite assets url in `<noscript>` ([#​11764](https://github.com/vitejs/vite/issues/11764)) ([1dba285](https://github.com/vitejs/vite/commit/1dba285)), closes [#​11764](https://github.com/vitejs/vite/issues/11764) - feat(preview): improve error when build output missing ([#​12096](https://github.com/vitejs/vite/issues/12096)) ([a0702a1](https://github.com/vitejs/vite/commit/a0702a1)), closes [#​12096](https://github.com/vitejs/vite/issues/12096) - feat(ssr): add importer path to error msg when invalid url import occur ([#​11606](https://github.com/vitejs/vite/issues/11606)) ([70729c0](https://github.com/vitejs/vite/commit/70729c0)), closes [#​11606](https://github.com/vitejs/vite/issues/11606) ### [`v4.1.2`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small412-2023-02-17-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.1.1...v4.1.2) - fix: correct access to `crossOrigin` attribute ([#​12023](https://github.com/vitejs/vite/issues/12023)) ([6a0d356](https://github.com/vitejs/vite/commit/6a0d356)), closes [#​12023](https://github.com/vitejs/vite/issues/12023) - fix: narrow defineConfig return type ([#​12021](https://github.com/vitejs/vite/issues/12021)) ([18fa8f0](https://github.com/vitejs/vite/commit/18fa8f0)), closes [#​12021](https://github.com/vitejs/vite/issues/12021) - fix(define): inconsistent env values in build mode ([#​12058](https://github.com/vitejs/vite/issues/12058)) ([0a50c59](https://github.com/vitejs/vite/commit/0a50c59)), closes [#​12058](https://github.com/vitejs/vite/issues/12058) - fix(env): compatible with env variables ended with unescaped $ ([#​12031](https://github.com/vitejs/vite/issues/12031)) ([05b3df0](https://github.com/vitejs/vite/commit/05b3df0)), closes [#​12031](https://github.com/vitejs/vite/issues/12031) - fix(ssr): print file url in `ssrTransform` parse error ([#​12060](https://github.com/vitejs/vite/issues/12060)) ([19f39f7](https://github.com/vitejs/vite/commit/19f39f7)), closes [#​12060](https://github.com/vitejs/vite/issues/12060) - revert: narrow defineConfig return type ([#​12077](https://github.com/vitejs/vite/issues/12077)) ([54d511e](https://github.com/vitejs/vite/commit/54d511e)), closes [#​12077](https://github.com/vitejs/vite/issues/12077) - feat: support `import.meta.hot?.accept` ([#​12053](https://github.com/vitejs/vite/issues/12053)) ([081c27f](https://github.com/vitejs/vite/commit/081c27f)), closes [#​12053](https://github.com/vitejs/vite/issues/12053) - chore: add jsdoc default value ([#​11746](https://github.com/vitejs/vite/issues/11746)) ([8c87af7](https://github.com/vitejs/vite/commit/8c87af7)), closes [#​11746](https://github.com/vitejs/vite/issues/11746) - chore: fix typos ([#​12032](https://github.com/vitejs/vite/issues/12032)) ([ee1a686](https://github.com/vitejs/vite/commit/ee1a686)), closes [#​12032](https://github.com/vitejs/vite/issues/12032) - chore(deps): update dependency strip-literal to v1 ([#​12044](https://github.com/vitejs/vite/issues/12044)) ([5bd6c0a](https://github.com/vitejs/vite/commit/5bd6c0a)), closes [#​12044](https://github.com/vitejs/vite/issues/12044) - chore(pluginContainer): simplify error position judge condition ([#​12003](https://github.com/vitejs/vite/issues/12003)) ([e3ef9f4](https://github.com/vitejs/vite/commit/e3ef9f4)), closes [#​12003](https://github.com/vitejs/vite/issues/12003) ### [`v4.1.1`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small411-2023-02-02-small) [Compare Source](https://github.com/vitejs/vite/compare/c57c21cc36d953d36a518226cbc06fb92b48a784...v4.1.1) - chore: 4.1.0 changelog cleanup ([#​11900](https://github.com/vitejs/vite/issues/11900)) ([7747d32](https://github.com/vitejs/vite/commit/7747d32)), closes [#​11900](https://github.com/vitejs/vite/issues/11900) - fix: catch statSync error ([#​11907](https://github.com/vitejs/vite/issues/11907)) ([f80b9a2](https://github.com/vitejs/vite/commit/f80b9a2)), closes [#​11907](https://github.com/vitejs/vite/issues/11907) ### [`v4.1.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#​410-2023-02-02) [Compare Source](https://github.com/vitejs/vite/compare/v4.0.4...c57c21cc36d953d36a518226cbc06fb92b48a784) Vite 4.1 updates to the latest versions of Rollup and esbuild. Check out the new [Rollup docs](https://rollupjs.org/), that are now powered by VitePress making the navigation between Vite and Rollup docs easier for users. [Vite docs](https://vitejs.dev) got a theme update migrating to the latest version of VitePress. As part of [Vite 4](https://vitejs.dev/blog/announcing-vite4.html), the Vue and React plugins have been extracted out of the monorepo. Although their release cycle will no longer follow Vite releases moving forward, Vite 4.1 is released in parallel with new versions of [@​vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/releases/tag/plugin-react%403.1.0) and [@​vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc/releases/tag/v3.1.0). [@​vitejs/plugin-react](https://github.com/vitejs/plugin-react) 3.1.0 reworks the way HMR is handled fixing many edge cases and [@​vitejs/plugin-react-swc](https://github.com/vitejs/plugin-react-swc) 3.1.0 adds support for SWC plugins. There is also a new major for [@​vitejs/plugin-legacy](https://github.com/vitejs/vite/blob/main/packages/plugin-legacy), see [changelog for v4.0.0](https://github.com/vitejs/vite/blob/main/packages/plugin-legacy/CHANGELOG.md#​400-2023-02-02). This version contains breaking changes: - Support browserslist and update default target ([#​11318](https://github.com/vitejs/vite/pull/11318)). See [updated `targets` default](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#targets). - Bump modern target to support async generator ([#​11896](https://github.com/vitejs/vite/pull/11896)). Learn more at [the browsers support docs](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#browsers-that-supports-esm-but-does-not-support-widely-available-features). ##### Features - feat: add experimental option to skip SSR transform ([#​11411](https://github.com/vitejs/vite/issues/11411)) ([e781ef3](https://github.com/vitejs/vite/commit/e781ef3)), closes [#​11411](https://github.com/vitejs/vite/issues/11411) - feat: reproducible manifest ([#​11542](https://github.com/vitejs/vite/issues/11542)) ([efc8979](https://github.com/vitejs/vite/commit/efc8979)), closes [#​11542](https://github.com/vitejs/vite/issues/11542) - feat: support BROWSER and BROWSER_ARGS in env file ([#​11513](https://github.com/vitejs/vite/issues/11513)) ([8972868](https://github.com/vitejs/vite/commit/8972868)), closes [#​11513](https://github.com/vitejs/vite/issues/11513) - feat(cli): clear console by pressing c ([#​11493](https://github.com/vitejs/vite/issues/11493)) ([#​11494](https://github.com/vitejs/vite/issues/11494)) ([1ae018f](https://github.com/vitejs/vite/commit/1ae018f)), closes [#​11493](https://github.com/vitejs/vite/issues/11493) [#​11494](https://github.com/vitejs/vite/issues/11494) - perf(build): disable rollup cache for builds ([#​11454](https://github.com/vitejs/vite/issues/11454)) ([580ba7a](https://github.com/vitejs/vite/commit/580ba7a)), closes [#​11454](https://github.com/vitejs/vite/issues/11454) - perf(resolve): improve file existence check ([#​11436](https://github.com/vitejs/vite/issues/11436)) ([4a12b89](https://github.com/vitejs/vite/commit/4a12b89)), closes [#​11436](https://github.com/vitejs/vite/issues/11436) ##### Bug Fixes - fix: await bundle closing ([#​11873](https://github.com/vitejs/vite/issues/11873)) ([1e6768d](https://github.com/vitejs/vite/commit/1e6768d)), closes [#​11873](https://github.com/vitejs/vite/issues/11873) - fix: make viteMetadata property of RenderedChunk optional ([#​11768](https://github.com/vitejs/vite/issues/11768)) ([128f09e](https://github.com/vitejs/vite/commit/128f09e)), closes [#​11768](https://github.com/vitejs/vite/issues/11768) - fix: replace import.meta.hot with undefined in the production ([#​11317](https://github.com/vitejs/vite/issues/11317)) ([73afe6d](https://github.com/vitejs/vite/commit/73afe6d)), closes [#​11317](https://github.com/vitejs/vite/issues/11317) - fix: update CJS interop error message ([#​11842](https://github.com/vitejs/vite/issues/11842)) ([356ddfe](https://github.com/vitejs/vite/commit/356ddfe)), closes [#​11842](https://github.com/vitejs/vite/issues/11842) - fix(client): serve client sources next to deployed scripts ([#​11865](https://github.com/vitejs/vite/issues/11865)) ([63bd261](https://github.com/vitejs/vite/commit/63bd261)), closes [#​11865](https://github.com/vitejs/vite/issues/11865) - fix(deps): update all non-major dependencies ([#​11846](https://github.com/vitejs/vite/issues/11846)) ([5d55083](https://github.com/vitejs/vite/commit/5d55083)), closes [#​11846](https://github.com/vitejs/vite/issues/11846) - fix(esbuild): avoid polluting global namespace while minify is false ([#​11882](https://github.com/vitejs/vite/issues/11882)) ([c895379](https://github.com/vitejs/vite/commit/c895379)), closes [#​11882](https://github.com/vitejs/vite/issues/11882) - fix: deep resolve side effects when glob does not contain / ([#​11807](https://github.com/vitejs/vite/issues/11807)) ([f3a0c3b](https://github.com/vitejs/vite/commit/f3a0c3b)), closes [#​11807](https://github.com/vitejs/vite/issues/11807) - fix: duplicated sourceMappingURL for worker bundles (fix [#​11601](https://github.com/vitejs/vite/issues/11601)) ([#​11602](https://github.com/vitejs/vite/issues/11602)) ([5444781](https://github.com/vitejs/vite/commit/5444781)), closes [#​11601](https://github.com/vitejs/vite/issues/11601) [#​11602](https://github.com/vitejs/vite/issues/11602) - fix: emit assets from SSR build ([#​11430](https://github.com/vitejs/vite/issues/11430)) ([ffbdcdb](https://github.com/vitejs/vite/commit/ffbdcdb)), closes [#​11430](https://github.com/vitejs/vite/issues/11430) - fix: revert "load sourcemaps alongside modules ([#​11576](https://github.com/vitejs/vite/issues/11576))" ([#​11775](https://github.com/vitejs/vite/issues/11775)) ([697dd00](https://github.com/vitejs/vite/commit/697dd00)), closes [#​11576](https://github.com/vitejs/vite/issues/11576) [#​11775](https://github.com/vitejs/vite/issues/11775) - fix: scope tracking for shadowing variables in blocks ([#​11806](https://github.com/vitejs/vite/issues/11806)) ([#​11811](https://github.com/vitejs/vite/issues/11811)) ([568bdab](https://github.com/vitejs/vite/commit/568bdab)), closes [#​11806](https://github.com/vitejs/vite/issues/11806) [#​11811](https://github.com/vitejs/vite/issues/11811) - fix(cli): exit 1 on ctrl+c ([#​11563](https://github.com/vitejs/vite/issues/11563)) ([fb77411](https://github.com/vitejs/vite/commit/fb77411)), closes [#​11563](https://github.com/vitejs/vite/issues/11563) - fix(css): insert styles in the same position ([#​11763](https://github.com/vitejs/vite/issues/11763)) ([d2f1381](https://github.com/vitejs/vite/commit/d2f1381)), closes [#​11763](https://github.com/vitejs/vite/issues/11763) - fix(esbuild): check server before reload tsconfig ([#​11747](https://github.com/vitejs/vite/issues/11747)) ([c56b954](https://github.com/vitejs/vite/commit/c56b954)), closes [#​11747](https://github.com/vitejs/vite/issues/11747) - fix(hmr): hmr websocket failure for custom middleware mode with server.hmr.server ([#​11487](https://github.com/vitejs/vite/issues/11487)) ([00919bb](https://github.com/vitejs/vite/commit/00919bb)), closes [#​11487](https://github.com/vitejs/vite/issues/11487) - fix(ssr): load sourcemaps alongside modules (fix: [#​3288](https://github.com/vitejs/vite/issues/3288)) ([#​11576](https://github.com/vitejs/vite/issues/11576)) ([dc05e97](https://github.com/vitejs/vite/commit/dc05e97)), closes [#​3288](https://github.com/vitejs/vite/issues/3288) [#​11576](https://github.com/vitejs/vite/issues/11576) - refactor: upgrade resolve.exports ([#​11712](https://github.com/vitejs/vite/issues/11712)) ([00a79ec](https://github.com/vitejs/vite/commit/00a79ec)), closes [#​11712](https://github.com/vitejs/vite/issues/11712) - fix: remove moment from force interop packages ([#​11502](https://github.com/vitejs/vite/issues/11502)) ([b89ddd6](https://github.com/vitejs/vite/commit/b89ddd6)), closes [#​11502](https://github.com/vitejs/vite/issues/11502) - fix(css): fix stale css when reloading with hmr disabled ([#​10270](https://github.com/vitejs/vite/issues/10270)) ([#​11506](https://github.com/vitejs/vite/issues/11506)) ([e5807c4](https://github.com/vitejs/vite/commit/e5807c4)), closes [#​10270](https://github.com/vitejs/vite/issues/10270) [#​11506](https://github.com/vitejs/vite/issues/11506) - fix(hmr): base default protocol on client source location ([#​11497](https://github.com/vitejs/vite/issues/11497)) ([167753d](https://github.com/vitejs/vite/commit/167753d)), closes [#​11497](https://github.com/vitejs/vite/issues/11497) - fix(metadata): expose viteMetadata type ([#​11511](https://github.com/vitejs/vite/issues/11511)) ([32dee3c](https://github.com/vitejs/vite/commit/32dee3c)), closes [#​11511](https://github.com/vitejs/vite/issues/11511) - fix(resolve): ensure exports has precedence over mainFields (cherry pick [#​11234](https://github.com/vitejs/vite/issues/11234)) ([#​11595](https://github.com/vitejs/vite/issues/11595)) ([691e432](https://github.com/vitejs/vite/commit/691e432)), closes [#​11234](https://github.com/vitejs/vite/issues/11234) [#​11595](https://github.com/vitejs/vite/issues/11595) - fix(resolve): use only root package.json as exports source ([#​11259](https://github.com/vitejs/vite/issues/11259)) ([b9afa6e](https://github.com/vitejs/vite/commit/b9afa6e)), closes [#​11259](https://github.com/vitejs/vite/issues/11259) - refactor(build): close rollup bundle directly ([#​11460](https://github.com/vitejs/vite/issues/11460)) ([a802828](https://github.com/vitejs/vite/commit/a802828)), closes [#​11460](https://github.com/vitejs/vite/issues/11460) ##### Previous Changelogs ##### [4.1.0-beta.2](https://github.com/vitejs/vite/compare/v4.1.0-beta.1....v4.1.0-beta.2) (2023-02-01) See [4.1.0-beta.2 changelog](https://github.com/vitejs/vite/blob/v4.1.0-beta.2/packages/vite/CHANGELOG.md) ##### [4.1.0-beta.1](https://github.com/vitejs/vite/compare/v4.1.0-beta.0....v4.1.0-beta.1) (2023-01-26) See [4.1.0-beta.1 changelog](https://github.com/vitejs/vite/blob/v4.1.0-beta.1/packages/vite/CHANGELOG.md) ##### [4.1.0-beta.0](https://github.com/vitejs/vite/compare/v4.0.3....v4.1.0-beta.0) (2023-01-09) See [4.1.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v4.1.0-beta.0/packages/vite/CHANGELOG.md) </details> <details> <summary>pmndrs/zustand</summary> ### [`v4.3.3`](https://github.com/pmndrs/zustand/releases/tag/v4.3.3) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.3.2...v4.3.3) This version includes some small fixes and internal improvements. #### What's Changed - fix(build): improve patch scripts by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1593](https://github.com/pmndrs/zustand/pull/1593) - fix(log): deprecated messages copyedit for consistency by [@​jareha](https://github.com/jareha) in [https://github.com/pmndrs/zustand/pull/1588](https://github.com/pmndrs/zustand/pull/1588) - chore: remove `__DEV__` with ts-jest by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1598](https://github.com/pmndrs/zustand/pull/1598) - fix(build): reorder the types field in package.json by [@​HiChen404](https://github.com/HiChen404) in [https://github.com/pmndrs/zustand/pull/1600](https://github.com/pmndrs/zustand/pull/1600) #### New Contributors - [@​nitedani](https://github.com/nitedani) made their first contribution in [https://github.com/pmndrs/zustand/pull/1544](https://github.com/pmndrs/zustand/pull/1544) - [@​nus3](https://github.com/nus3) made their first contribution in [https://github.com/pmndrs/zustand/pull/1550](https://github.com/pmndrs/zustand/pull/1550) - [@​holgergp](https://github.com/holgergp) made their first contribution in [https://github.com/pmndrs/zustand/pull/1565](https://github.com/pmndrs/zustand/pull/1565) - [@​JoaoPauloLousada](https://github.com/JoaoPauloLousada) made their first contribution in [https://github.com/pmndrs/zustand/pull/1605](https://github.com/pmndrs/zustand/pull/1605) - [@​sajadtorkamani](https://github.com/sajadtorkamani) made their first contribution in [https://github.com/pmndrs/zustand/pull/1606](https://github.com/pmndrs/zustand/pull/1606) - [@​zhangrenyang](https://github.com/zhangrenyang) made their first contribution in [https://github.com/pmndrs/zustand/pull/1608](https://github.com/pmndrs/zustand/pull/1608) - [@​jareha](https://github.com/jareha) made their first contribution in [https://github.com/pmndrs/zustand/pull/1588](https://github.com/pmndrs/zustand/pull/1588) - [@​HiChen404](https://github.com/HiChen404) made their first contribution in [https://github.com/pmndrs/zustand/pull/1600](https://github.com/pmndrs/zustand/pull/1600) **Full Changelog**: pmndrs/zustand@v4.3.2...v4.3.3 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/mheob/ef-calc).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related Issues
(None)
Summary
Update testing doc because default exports is deprecated in v.4.3.0.
Mocking zustand(using v4.3.2) according to the TypeScript guide results in the following error.
So I used aliases and named export.
The test is working correctly in my environment.
Check List
yarn run prettier
for formatting code and docs