Skip to content
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

updated getting-started doc with more examples #2348

Merged
merged 3 commits into from Feb 22, 2024

Conversation

yankycranky
Copy link
Contributor

Related Issues or Discussions

Added another example on how we can update state with parameters

Fixes #

Summary

Check List

  • yarn run prettier for formatting code and docs

Copy link

vercel bot commented Feb 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zustand-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 22, 2024 8:43am

Copy link

codesandbox-ci bot commented Feb 20, 2024

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.

Copy link
Member

@dai-shi dai-shi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We try and put much effort to reduce lines in readme.md.
Please add more examples in ./docs.

@ankit-telness
Copy link
Contributor

We try and put much effort to reduce lines in readme.md. Please add more examples in ./docs.

Moved to docs 👍

@@ -49,6 +49,7 @@ const useStore = create((set) => ({
bears: 0,
increasePopulation: () => set((state) => ({ bears: state.bears + 1 })),
removeAllBears: () => set({ bears: 0 }),
updateBears: (newBears) => set({bears: newBears}),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please format the file with Prettier

@dai-shi
Copy link
Member

dai-shi commented Feb 22, 2024

Moved to docs 👍

Looks good, but is adding one line example good enough for "how we can update state with parameters"?

Also, it doesn't feel docs/getting-started/introduction.md is well maintained. @dbritto-dev what do you think?

@dbritto-dev
Copy link
Collaborator

@dai-shi yeah, we need improve getting started and add more examples

@dai-shi dai-shi changed the title updated readme with more examples updated getting-started doc with more examples Feb 22, 2024
@dai-shi dai-shi merged commit 3c6dc2d into pmndrs:main Feb 22, 2024
37 checks passed
onlined pushed a commit to onlined/zustand that referenced this pull request Feb 28, 2024
* updated readme with more examples

* moved example to docs from readme

* formatted code with Prettier

---------

Co-authored-by: Ankit Sagar <ankit.sagar@telnesstech.com>
kodiakhq bot pushed a commit to mheob/ef-calc that referenced this pull request Mar 11, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.16` -> `20.11.25`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.16/20.11.25) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.16/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.16/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.2.52` -> `18.2.64`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.52/18.2.64) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.64?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.64?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.52/18.2.64?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.52/18.2.64?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/react-dom](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom)) | [`18.2.18` -> `18.2.21`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.2.18/18.2.21) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/18.2.18/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/18.2.18/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@vercel/analytics](https://togithub.com/vercel/analytics) ([source](https://togithub.com/vercel/analytics/tree/HEAD/packages/web)) | [`1.1.2` -> `1.2.2`](https://renovatebot.com/diffs/npm/@vercel%2fanalytics/1.1.2/1.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vercel%2fanalytics/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vercel%2fanalytics/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vercel%2fanalytics/1.1.2/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vercel%2fanalytics/1.1.2/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.56.0` -> `8.57.0`](https://renovatebot.com/diffs/npm/eslint/8.56.0/8.57.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.56.0/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.56.0/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` -> `5.4.2`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.0.12` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.0.12/5.1.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.0.12/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.0.12/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [zustand](https://togithub.com/pmndrs/zustand) | [`4.5.0` -> `4.5.2`](https://renovatebot.com/diffs/npm/zustand/4.5.0/4.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zustand/4.5.0/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zustand/4.5.0/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>vercel/analytics (@&#8203;vercel/analytics)</summary>

### [`v1.2.2`](https://togithub.com/vercel/analytics/releases/tag/1.2.2)

[Compare Source](https://togithub.com/vercel/analytics/compare/1.2.1...1.2.2)

#### What's Changed

-   fix: export issue when testing with jest and ts-node by [@&#8203;feugy](https://togithub.com/feugy) in [vercel/analytics#134

**Full Changelog**: vercel/analytics@1.2.1...1.2.2

### [`v1.2.1`](https://togithub.com/vercel/analytics/releases/tag/1.2.1)

[Compare Source](https://togithub.com/vercel/analytics/compare/1.2.0...1.2.1)

#### What's Changed

-   fix: incorrect package exports by [@&#8203;feugy](https://togithub.com/feugy) in [vercel/analytics#133

#### New Contributors

-   [@&#8203;feugy](https://togithub.com/feugy) made their first contribution in [vercel/analytics#133

**Full Changelog**: vercel/analytics@1.2.0...1.2.1

### [`v1.2.0`](https://togithub.com/vercel/analytics/releases/tag/1.2.0)

[Compare Source](https://togithub.com/vercel/analytics/compare/1.1.4...1.2.0)

#### What's Changed

-   Add route support by [@&#8203;tobiaslins](https://togithub.com/tobiaslins) in [vercel/analytics#127

**Full Changelog**: vercel/analytics@1.1.4...1.2.0

### [`v1.1.4`](https://togithub.com/vercel/analytics/releases/tag/1.1.4)

[Compare Source](https://togithub.com/vercel/analytics/compare/1.1.3...1.1.4)

#### What's Changed

-   server/track: always consume the response body for a track request by [@&#8203;MaxLeiter](https://togithub.com/MaxLeiter) in [vercel/analytics#131

#### New Contributors

-   [@&#8203;MaxLeiter](https://togithub.com/MaxLeiter) made their first contribution in [vercel/analytics#131

**Full Changelog**: vercel/analytics@1.1.3...1.1.4

### [`v1.1.3`](https://togithub.com/vercel/analytics/releases/tag/1.1.3)

[Compare Source](https://togithub.com/vercel/analytics/compare/1.1.2...1.1.3)

#### What's Changed

-   Server events can now be sent when deployment protection is enabled by [@&#8203;tobiaslins](https://togithub.com/tobiaslins) in [vercel/analytics#129

**Full Changelog**: vercel/analytics@1.1.2...1.1.3

</details>

<details>
<summary>eslint/eslint (eslint)</summary>

### [`v8.57.0`](https://togithub.com/eslint/eslint/releases/tag/v8.57.0)

[Compare Source](https://togithub.com/eslint/eslint/compare/v8.56.0...v8.57.0)

#### Features

-   [`1120b9b`](https://togithub.com/eslint/eslint/commit/1120b9b7b97f10f059d8b7ede19de2572f892366) feat: Add loadESLint() API method for v8 ([#&#8203;18098](https://togithub.com/eslint/eslint/issues/18098)) (Nicholas C. Zakas)
-   [`dca7d0f`](https://togithub.com/eslint/eslint/commit/dca7d0f1c262bc72310147bcefe1d04ecf60acbc) feat: Enable `eslint.config.mjs` and `eslint.config.cjs` ([#&#8203;18066](https://togithub.com/eslint/eslint/issues/18066)) (Nitin Kumar)

#### Bug Fixes

-   [`2196d97`](https://togithub.com/eslint/eslint/commit/2196d97094ba94d6d750828879a29538d1600de5) fix: handle absolute file paths in `FlatRuleTester` ([#&#8203;18064](https://togithub.com/eslint/eslint/issues/18064)) (Nitin Kumar)
-   [`69dd1d1`](https://togithub.com/eslint/eslint/commit/69dd1d1387b7b53617548d1f9f2c149f179e6e17) fix: Ensure config keys are printed for config errors ([#&#8203;18067](https://togithub.com/eslint/eslint/issues/18067)) (Nitin Kumar)
-   [`9852a31`](https://togithub.com/eslint/eslint/commit/9852a31edcf054bd5d15753ef18e2ad3216b1b71) fix: deep merge behavior in flat config ([#&#8203;18065](https://togithub.com/eslint/eslint/issues/18065)) (Nitin Kumar)
-   [`4c7e9b0`](https://togithub.com/eslint/eslint/commit/4c7e9b0b539ba879ac1799e81f3b6add2eed4b2f) fix: allow circular references in config ([#&#8203;18056](https://togithub.com/eslint/eslint/issues/18056)) (Milos Djermanovic)

#### Documentation

-   [`84922d0`](https://togithub.com/eslint/eslint/commit/84922d0bfa10689a34a447ab8e55975ff1c1c708) docs: Show prerelease version in dropdown ([#&#8203;18139](https://togithub.com/eslint/eslint/issues/18139)) (Nicholas C. Zakas)
-   [`5b8c363`](https://togithub.com/eslint/eslint/commit/5b8c3636a3d7536535a6878eca0e5b773e4829d4) docs: Switch to Ethical Ads ([#&#8203;18117](https://togithub.com/eslint/eslint/issues/18117)) (Milos Djermanovic)
-   [`77dbfd9`](https://togithub.com/eslint/eslint/commit/77dbfd9887b201a46fc68631cbde50c08e1a8dbf) docs: show NEXT in version selectors ([#&#8203;18052](https://togithub.com/eslint/eslint/issues/18052)) (Milos Djermanovic)

#### Chores

-   [`1813aec`](https://togithub.com/eslint/eslint/commit/1813aecc4660582b0678cf32ba466eb9674266c4) chore: upgrade [@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).57.0 ([#&#8203;18143](https://togithub.com/eslint/eslint/issues/18143)) (Milos Djermanovic)
-   [`5c356bb`](https://togithub.com/eslint/eslint/commit/5c356bb0c6f53c570224f8e9f02c4baca8fc6d2f) chore: package.json update for [@&#8203;eslint/js](https://togithub.com/eslint/js) release (Jenkins)
-   [`f4a1fe2`](https://togithub.com/eslint/eslint/commit/f4a1fe2e45aa1089fe775290bf530de82f34bf16) test: add more tests for ignoring files and directories ([#&#8203;18068](https://togithub.com/eslint/eslint/issues/18068)) (Nitin Kumar)
-   [`42c0aef`](https://togithub.com/eslint/eslint/commit/42c0aefaf6ea8b998b1c6db61906a79c046d301a) ci: Enable CI for `v8.x` branch ([#&#8203;18047](https://togithub.com/eslint/eslint/issues/18047)) (Milos Djermanovic)

</details>

<details>
<summary>Microsoft/TypeScript (typescript)</summary>

### [`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2): TypeScript 5.4

[Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)

For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/).

For the complete list of fixed issues, check out the

-   [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+).

Downloads are available on:

-   [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

</details>

<details>
<summary>vitejs/vite (vite)</summary>

### [`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small)

[Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5)

-   fix: `__vite__mapDeps` code injection ([#&#8203;15732](https://togithub.com/vitejs/vite/issues/15732)) ([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes [#&#8203;15732](https://togithub.com/vitejs/vite/issues/15732)
-   fix: analysing build chunk without dependencies ([#&#8203;15469](https://togithub.com/vitejs/vite/issues/15469)) ([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes [#&#8203;15469](https://togithub.com/vitejs/vite/issues/15469)
-   fix: import with query with imports field ([#&#8203;16085](https://togithub.com/vitejs/vite/issues/16085)) ([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes [#&#8203;16085](https://togithub.com/vitejs/vite/issues/16085)
-   fix: normalize literal-only entry pattern ([#&#8203;16010](https://togithub.com/vitejs/vite/issues/16010)) ([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes [#&#8203;16010](https://togithub.com/vitejs/vite/issues/16010)
-   fix: optimizeDeps.entries with literal-only pattern(s) ([#&#8203;15853](https://togithub.com/vitejs/vite/issues/15853)) ([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes [#&#8203;15853](https://togithub.com/vitejs/vite/issues/15853)
-   fix: output correct error for empty import specifier ([#&#8203;16055](https://togithub.com/vitejs/vite/issues/16055)) ([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes [#&#8203;16055](https://togithub.com/vitejs/vite/issues/16055)
-   fix: upgrade esbuild to 0.20.x ([#&#8203;16062](https://togithub.com/vitejs/vite/issues/16062)) ([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes [#&#8203;16062](https://togithub.com/vitejs/vite/issues/16062)
-   fix(runtime): runtime HMR affects only imported files ([#&#8203;15898](https://togithub.com/vitejs/vite/issues/15898)) ([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes [#&#8203;15898](https://togithub.com/vitejs/vite/issues/15898)
-   fix(scanner): respect  `experimentalDecorators: true` ([#&#8203;15206](https://togithub.com/vitejs/vite/issues/15206)) ([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes [#&#8203;15206](https://togithub.com/vitejs/vite/issues/15206)
-   revert: "fix: upgrade esbuild to 0.20.x" ([#&#8203;16072](https://togithub.com/vitejs/vite/issues/16072)) ([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes [#&#8203;16072](https://togithub.com/vitejs/vite/issues/16072)
-   refactor: share code with vite runtime ([#&#8203;15907](https://togithub.com/vitejs/vite/issues/15907)) ([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes [#&#8203;15907](https://togithub.com/vitejs/vite/issues/15907)
-   refactor(runtime): use functions from `pathe` ([#&#8203;16061](https://togithub.com/vitejs/vite/issues/16061)) ([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes [#&#8203;16061](https://togithub.com/vitejs/vite/issues/16061)
-   chore(deps): update all non-major dependencies ([#&#8203;16028](https://togithub.com/vitejs/vite/issues/16028)) ([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes [#&#8203;16028](https://togithub.com/vitejs/vite/issues/16028)

### [`v5.1.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small514-2024-02-21-small)

[Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.3...v5.1.4)

-   perf: remove unnecessary regex s modifier ([#&#8203;15766](https://togithub.com/vitejs/vite/issues/15766)) ([8dc1b73](https://togithub.com/vitejs/vite/commit/8dc1b73)), closes [#&#8203;15766](https://togithub.com/vitejs/vite/issues/15766)
-   fix: fs cached checks disabled by default for yarn pnp ([#&#8203;15920](https://togithub.com/vitejs/vite/issues/15920)) ([8b11fea](https://togithub.com/vitejs/vite/commit/8b11fea)), closes [#&#8203;15920](https://togithub.com/vitejs/vite/issues/15920)
-   fix: resolve directory correctly when `fs.cachedChecks: true` ([#&#8203;15983](https://togithub.com/vitejs/vite/issues/15983)) ([4fe971f](https://togithub.com/vitejs/vite/commit/4fe971f)), closes [#&#8203;15983](https://togithub.com/vitejs/vite/issues/15983)
-   fix: srcSet with optional descriptor ([#&#8203;15905](https://togithub.com/vitejs/vite/issues/15905)) ([81b3bd0](https://togithub.com/vitejs/vite/commit/81b3bd0)), closes [#&#8203;15905](https://togithub.com/vitejs/vite/issues/15905)
-   fix(deps): update all non-major dependencies ([#&#8203;15959](https://togithub.com/vitejs/vite/issues/15959)) ([571a3fd](https://togithub.com/vitejs/vite/commit/571a3fd)), closes [#&#8203;15959](https://togithub.com/vitejs/vite/issues/15959)
-   fix(watch): build watch fails when outDir is empty string ([#&#8203;15979](https://togithub.com/vitejs/vite/issues/15979)) ([1d263d3](https://togithub.com/vitejs/vite/commit/1d263d3)), closes [#&#8203;15979](https://togithub.com/vitejs/vite/issues/15979)

### [`v5.1.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small513-2024-02-15-small)

[Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.2...v5.1.3)

-   fix: cachedTransformMiddleware for direct css requests ([#&#8203;15919](https://togithub.com/vitejs/vite/issues/15919)) ([5099028](https://togithub.com/vitejs/vite/commit/5099028)), closes [#&#8203;15919](https://togithub.com/vitejs/vite/issues/15919)
-   refactor(runtime): minor tweaks ([#&#8203;15904](https://togithub.com/vitejs/vite/issues/15904)) ([63a39c2](https://togithub.com/vitejs/vite/commit/63a39c2)), closes [#&#8203;15904](https://togithub.com/vitejs/vite/issues/15904)
-   refactor(runtime): seal ES module namespace object instead of feezing ([#&#8203;15914](https://togithub.com/vitejs/vite/issues/15914)) ([4172f02](https://togithub.com/vitejs/vite/commit/4172f02)), closes [#&#8203;15914](https://togithub.com/vitejs/vite/issues/15914)

### [`v5.1.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small512-2024-02-14-small)

[Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.1...v5.1.2)

-   fix: normalize import file path info ([#&#8203;15772](https://togithub.com/vitejs/vite/issues/15772)) ([306df44](https://togithub.com/vitejs/vite/commit/306df44)), closes [#&#8203;15772](https://togithub.com/vitejs/vite/issues/15772)
-   fix(build): do not output build time when build fails ([#&#8203;15711](https://togithub.com/vitejs/vite/issues/15711)) ([added3e](https://togithub.com/vitejs/vite/commit/added3e)), closes [#&#8203;15711](https://togithub.com/vitejs/vite/issues/15711)
-   fix(runtime): pass path instead of fileURL to `isFilePathESM` ([#&#8203;15908](https://togithub.com/vitejs/vite/issues/15908)) ([7b15607](https://togithub.com/vitejs/vite/commit/7b15607)), closes [#&#8203;15908](https://togithub.com/vitejs/vite/issues/15908)
-   fix(worker): support UTF-8 encoding in inline workers (fixes [#&#8203;12117](https://togithub.com/vitejs/vite/issues/12117)) ([#&#8203;15866](https://togithub.com/vitejs/vite/issues/15866)) ([570e0f1](https://togithub.com/vitejs/vite/commit/570e0f1)), closes [#&#8203;12117](https://togithub.com/vitejs/vite/issues/12117) [#&#8203;15866](https://togithub.com/vitejs/vite/issues/15866)
-   chore: update license file ([#&#8203;15885](https://togithub.com/vitejs/vite/issues/15885)) ([d9adf18](https://togithub.com/vitejs/vite/commit/d9adf18)), closes [#&#8203;15885](https://togithub.com/vitejs/vite/issues/15885)
-   chore(deps): update all non-major dependencies ([#&#8203;15874](https://togithub.com/vitejs/vite/issues/15874)) ([d16ce5d](https://togithub.com/vitejs/vite/commit/d16ce5d)), closes [#&#8203;15874](https://togithub.com/vitejs/vite/issues/15874)
-   chore(deps): update dependency dotenv-expand to v11 ([#&#8203;15875](https://togithub.com/vitejs/vite/issues/15875)) ([642d528](https://togithub.com/vitejs/vite/commit/642d528)), closes [#&#8203;15875](https://togithub.com/vitejs/vite/issues/15875)

### [`v5.1.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small511-2024-02-09-small)

-   fix: empty CSS file was output when only .css?url is used ([#&#8203;15846](https://togithub.com/vitejs/vite/issues/15846)) ([b2873ac](https://togithub.com/vitejs/vite/commit/b2873ac)), closes [#&#8203;15846](https://togithub.com/vitejs/vite/issues/15846)
-   fix: skip not only .js but also .mjs manifest entries ([#&#8203;15841](https://togithub.com/vitejs/vite/issues/15841)) ([3d860e7](https://togithub.com/vitejs/vite/commit/3d860e7)), closes [#&#8203;15841](https://togithub.com/vitejs/vite/issues/15841)
-   chore: post 5.1 release edits ([#&#8203;15840](https://togithub.com/vitejs/vite/issues/15840)) ([9da6502](https://togithub.com/vitejs/vite/commit/9da6502)), closes [#&#8203;15840](https://togithub.com/vitejs/vite/issues/15840)

### [`v5.1.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#510-2024-02-08)

-   chore: revert [#&#8203;15746](https://togithub.com/vitejs/vite/issues/15746) ([#&#8203;15839](https://togithub.com/vitejs/vite/issues/15839)) ([ed875f8](https://togithub.com/vitejs/vite/commit/ed875f8)), closes [#&#8203;15746](https://togithub.com/vitejs/vite/issues/15746) [#&#8203;15839](https://togithub.com/vitejs/vite/issues/15839)
-   fix: pass `customLogger` to `loadConfigFromFile` (fix [#&#8203;15824](https://togithub.com/vitejs/vite/issues/15824)) ([#&#8203;15831](https://togithub.com/vitejs/vite/issues/15831)) ([55a3427](https://togithub.com/vitejs/vite/commit/55a3427)), closes [#&#8203;15824](https://togithub.com/vitejs/vite/issues/15824) [#&#8203;15831](https://togithub.com/vitejs/vite/issues/15831)
-   fix(deps): update all non-major dependencies ([#&#8203;15803](https://togithub.com/vitejs/vite/issues/15803)) ([e0a6ef2](https://togithub.com/vitejs/vite/commit/e0a6ef2)), closes [#&#8203;15803](https://togithub.com/vitejs/vite/issues/15803)
-   refactor: remove `vite build --force` ([#&#8203;15837](https://togithub.com/vitejs/vite/issues/15837)) ([f1a4242](https://togithub.com/vitejs/vite/commit/f1a4242)), closes [#&#8203;15837](https://togithub.com/vitejs/vite/issues/15837)

</details>

<details>
<summary>pmndrs/zustand (zustand)</summary>

### [`v4.5.2`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.2)

[Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.5.1...v4.5.2)

It should improve the compatibility with old browsers.

#### What's Changed

-   refactor(shallow): Use for..of instead of C-style for by [@&#8203;onlined](https://togithub.com/onlined) in [pmndrs/zustand#2374
-   fix: return type of persist migrate function changed to PersistedState by [@&#8203;bobdepreziz](https://togithub.com/bobdepreziz) in [pmndrs/zustand#2360
-   build: target es2018 by [@&#8203;dai-shi](https://togithub.com/dai-shi) in [pmndrs/zustand#2361

#### New Contributors

-   [@&#8203;medyahyejoud](https://togithub.com/medyahyejoud) made their first contribution in [pmndrs/zustand#2353
-   [@&#8203;yankycranky](https://togithub.com/yankycranky) made their first contribution in [pmndrs/zustand#2348
-   [@&#8203;cheeZery](https://togithub.com/cheeZery) made their first contribution in [pmndrs/zustand#2364
-   [@&#8203;Cadienvan](https://togithub.com/Cadienvan) made their first contribution in [pmndrs/zustand#2378
-   [@&#8203;bobdepreziz](https://togithub.com/bobdepreziz) made their first contribution in [pmndrs/zustand#2360

**Full Changelog**: pmndrs/zustand@v4.5.1...v4.5.2

### [`v4.5.1`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.1)

[Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.5.0...v4.5.1)

People might have misunderstood with `useStore` deprecation message. Hope this mitigates it.

#### What's Changed

-   Relax types for `persist` middleware by [@&#8203;rafaeelaudibert](https://togithub.com/rafaeelaudibert) in [pmndrs/zustand#2332
-   chore: clarify deprecation message by [@&#8203;dai-shi](https://togithub.com/dai-shi) in [pmndrs/zustand#2337

#### New Contributors

-   [@&#8203;alexander-densley](https://togithub.com/alexander-densley) made their first contribution in [pmndrs/zustand#2321
-   [@&#8203;rafaeelaudibert](https://togithub.com/rafaeelaudibert) made their first contribution in [pmndrs/zustand#2332

**Full Changelog**: pmndrs/zustand@v4.5.0...v4.5.1

</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://togithub.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://developer.mend.io/github/mheob/ef-calc).
kodiakhq bot pushed a commit to mheob/ef-calc that referenced this pull request Mar 25, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.24` -> `20.11.30`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.11.30) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.30?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.30?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.24/20.11.30?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.24/20.11.30?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.2.61` -> `18.2.67`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.61/18.2.67) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.61/18.2.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.61/18.2.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/react-dom](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom)) | [`18.2.19` -> `18.2.22`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.2.19/18.2.22) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/18.2.22?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/18.2.22?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/18.2.19/18.2.22?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/18.2.19/18.2.22?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` -> `5.4.3`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [vite](https://togithub.com/vitejs/vite/tree/main/#readme) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.1.4` -> `5.2.2`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.4/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.4/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [zustand](https://togithub.com/pmndrs/zustand) | [`4.5.1` -> `4.5.2`](https://renovatebot.com/diffs/npm/zustand/4.5.1/4.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zustand/4.5.1/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zustand/4.5.1/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>Microsoft/TypeScript (typescript)</summary>

### [`v5.4.3`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.3): TypeScript 5.4.3

[Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3)

For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/).

For the complete list of fixed issues, check out the

-   [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.4.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+).

Downloads are available on:

-   [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

### [`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2): TypeScript 5.4

[Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)

For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/).

For the complete list of fixed issues, check out the

-   [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+).
-   [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+).

Downloads are available on:

-   [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

</details>

<details>
<summary>vitejs/vite (vite)</summary>

### [`v5.2.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small522-2024-03-20-small)

-   fix(importAnalysis): skip encode in ssr ([#&#8203;16213](https://togithub.com/vitejs/vite/issues/16213)) ([e4d2d60](https://togithub.com/vitejs/vite/commit/e4d2d60)), closes [#&#8203;16213](https://togithub.com/vitejs/vite/issues/16213)

### [`v5.2.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small521-2024-03-20-small)

-   fix: encode path uri only ([#&#8203;16212](https://togithub.com/vitejs/vite/issues/16212)) ([0b2e40b](https://togithub.com/vitejs/vite/commit/0b2e40b)), closes [#&#8203;16212](https://togithub.com/vitejs/vite/issues/16212)

### [`v5.2.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#520-2024-03-20)

-   fix: update client.ts@cleanUrl to accomodate blob protocol ([#&#8203;16182](https://togithub.com/vitejs/vite/issues/16182)) ([1a3b1d7](https://togithub.com/vitejs/vite/commit/1a3b1d7)), closes [#&#8203;16182](https://togithub.com/vitejs/vite/issues/16182)
-   fix(assets): avoid splitting `,` inside query parameter of image URI in srcset property ([#&#8203;16081](https://togithub.com/vitejs/vite/issues/16081)) ([50caf67](https://togithub.com/vitejs/vite/commit/50caf67)), closes [#&#8203;16081](https://togithub.com/vitejs/vite/issues/16081)
-   chore(deps): update all non-major dependencies ([#&#8203;16186](https://togithub.com/vitejs/vite/issues/16186)) ([842643d](https://togithub.com/vitejs/vite/commit/842643d)), closes [#&#8203;16186](https://togithub.com/vitejs/vite/issues/16186)
-   perf(transformRequest): fast-path watch and sourcemap handling ([#&#8203;16170](https://togithub.com/vitejs/vite/issues/16170)) ([de60f1e](https://togithub.com/vitejs/vite/commit/de60f1e)), closes [#&#8203;16170](https://togithub.com/vitejs/vite/issues/16170)
-   docs: add `@shikiji/vitepress-twoslash` ([#&#8203;16168](https://togithub.com/vitejs/vite/issues/16168)) ([6f8a320](https://togithub.com/vitejs/vite/commit/6f8a320)), closes [#&#8203;16168](https://togithub.com/vitejs/vite/issues/16168)

### [`v5.1.7`](https://togithub.com/vitejs/vite/releases/tag/v5.1.7)

[Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.6...v5.1.7)

Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v5.1.7/packages/vite/CHANGELOG.md) for details.

### [`v5.1.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small516-2024-03-11-small)

[Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.5...v5.1.6)

-   chore(deps): update all non-major dependencies ([#&#8203;16131](https://togithub.com/vitejs/vite/issues/16131)) ([a862ecb](https://togithub.com/vitejs/vite/commit/a862ecb)), closes [#&#8203;16131](https://togithub.com/vitejs/vite/issues/16131)
-   fix: check for publicDir before checking if it is a parent directory ([#&#8203;16046](https://togithub.com/vitejs/vite/issues/16046)) ([b6fb323](https://togithub.com/vitejs/vite/commit/b6fb323)), closes [#&#8203;16046](https://togithub.com/vitejs/vite/issues/16046)
-   fix: escape single quote when relative base is used ([#&#8203;16060](https://togithub.com/vitejs/vite/issues/16060)) ([8f74ce4](https://togithub.com/vitejs/vite/commit/8f74ce4)), closes [#&#8203;16060](https://togithub.com/vitejs/vite/issues/16060)
-   fix: handle function property extension in namespace import ([#&#8203;16113](https://togithub.com/vitejs/vite/issues/16113)) ([f699194](https://togithub.com/vitejs/vite/commit/f699194)), closes [#&#8203;16113](https://togithub.com/vitejs/vite/issues/16113)
-   fix: server middleware mode resolve ([#&#8203;16122](https://togithub.com/vitejs/vite/issues/16122)) ([8403546](https://togithub.com/vitejs/vite/commit/8403546)), closes [#&#8203;16122](https://togithub.com/vitejs/vite/issues/16122)
-   fix(esbuild): update tsconfck to fix bug that could cause a deadlock  ([#&#8203;16124](https://togithub.com/vitejs/vite/issues/16124)) ([fd9de04](https://togithub.com/vitejs/vite/commit/fd9de04)), closes [#&#8203;16124](https://togithub.com/vitejs/vite/issues/16124)
-   fix(worker): hide "The emitted file overwrites" warning if the content is same ([#&#8203;16094](https://togithub.com/vitejs/vite/issues/16094)) ([60dfa9e](https://togithub.com/vitejs/vite/commit/60dfa9e)), closes [#&#8203;16094](https://togithub.com/vitejs/vite/issues/16094)
-   fix(worker): throw error when circular worker import is detected and support self referencing worker ([eef9da1](https://togithub.com/vitejs/vite/commit/eef9da1)), closes [#&#8203;16103](https://togithub.com/vitejs/vite/issues/16103)
-   style(utils): remove null check ([#&#8203;16112](https://togithub.com/vitejs/vite/issues/16112)) ([0d2df52](https://togithub.com/vitejs/vite/commit/0d2df52)), closes [#&#8203;16112](https://togithub.com/vitejs/vite/issues/16112)
-   refactor(runtime): share more code between runtime and main bundle ([#&#8203;16063](https://togithub.com/vitejs/vite/issues/16063)) ([93be84e](https://togithub.com/vitejs/vite/commit/93be84e)), closes [#&#8203;16063](https://togithub.com/vitejs/vite/issues/16063)

### [`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small)

[Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5)

-   fix: `__vite__mapDeps` code injection ([#&#8203;15732](https://togithub.com/vitejs/vite/issues/15732)) ([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes [#&#8203;15732](https://togithub.com/vitejs/vite/issues/15732)
-   fix: analysing build chunk without dependencies ([#&#8203;15469](https://togithub.com/vitejs/vite/issues/15469)) ([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes [#&#8203;15469](https://togithub.com/vitejs/vite/issues/15469)
-   fix: import with query with imports field ([#&#8203;16085](https://togithub.com/vitejs/vite/issues/16085)) ([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes [#&#8203;16085](https://togithub.com/vitejs/vite/issues/16085)
-   fix: normalize literal-only entry pattern ([#&#8203;16010](https://togithub.com/vitejs/vite/issues/16010)) ([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes [#&#8203;16010](https://togithub.com/vitejs/vite/issues/16010)
-   fix: optimizeDeps.entries with literal-only pattern(s) ([#&#8203;15853](https://togithub.com/vitejs/vite/issues/15853)) ([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes [#&#8203;15853](https://togithub.com/vitejs/vite/issues/15853)
-   fix: output correct error for empty import specifier ([#&#8203;16055](https://togithub.com/vitejs/vite/issues/16055)) ([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes [#&#8203;16055](https://togithub.com/vitejs/vite/issues/16055)
-   fix: upgrade esbuild to 0.20.x ([#&#8203;16062](https://togithub.com/vitejs/vite/issues/16062)) ([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes [#&#8203;16062](https://togithub.com/vitejs/vite/issues/16062)
-   fix(runtime): runtime HMR affects only imported files ([#&#8203;15898](https://togithub.com/vitejs/vite/issues/15898)) ([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes [#&#8203;15898](https://togithub.com/vitejs/vite/issues/15898)
-   fix(scanner): respect  `experimentalDecorators: true` ([#&#8203;15206](https://togithub.com/vitejs/vite/issues/15206)) ([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes [#&#8203;15206](https://togithub.com/vitejs/vite/issues/15206)
-   revert: "fix: upgrade esbuild to 0.20.x" ([#&#8203;16072](https://togithub.com/vitejs/vite/issues/16072)) ([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes [#&#8203;16072](https://togithub.com/vitejs/vite/issues/16072)
-   refactor: share code with vite runtime ([#&#8203;15907](https://togithub.com/vitejs/vite/issues/15907)) ([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes [#&#8203;15907](https://togithub.com/vitejs/vite/issues/15907)
-   refactor(runtime): use functions from `pathe` ([#&#8203;16061](https://togithub.com/vitejs/vite/issues/16061)) ([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes [#&#8203;16061](https://togithub.com/vitejs/vite/issues/16061)
-   chore(deps): update all non-major dependencies ([#&#8203;16028](https://togithub.com/vitejs/vite/issues/16028)) ([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes [#&#8203;16028](https://togithub.com/vitejs/vite/issues/16028)

</details>

<details>
<summary>pmndrs/zustand (zustand)</summary>

### [`v4.5.2`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.2)

[Compare Source](https://togithub.com/pmndrs/zustand/compare/v4.5.1...v4.5.2)

It should improve the compatibility with old browsers.

#### What's Changed

-   refactor(shallow): Use for..of instead of C-style for by [@&#8203;onlined](https://togithub.com/onlined) in [pmndrs/zustand#2374
-   fix: return type of persist migrate function changed to PersistedState by [@&#8203;bobdepreziz](https://togithub.com/bobdepreziz) in [pmndrs/zustand#2360
-   build: target es2018 by [@&#8203;dai-shi](https://togithub.com/dai-shi) in [pmndrs/zustand#2361

#### New Contributors

-   [@&#8203;medyahyejoud](https://togithub.com/medyahyejoud) made their first contribution in [pmndrs/zustand#2353
-   [@&#8203;yankycranky](https://togithub.com/yankycranky) made their first contribution in [pmndrs/zustand#2348
-   [@&#8203;cheeZery](https://togithub.com/cheeZery) made their first contribution in [pmndrs/zustand#2364
-   [@&#8203;Cadienvan](https://togithub.com/Cadienvan) made their first contribution in [pmndrs/zustand#2378
-   [@&#8203;bobdepreziz](https://togithub.com/bobdepreziz) made their first contribution in [pmndrs/zustand#2360

**Full Changelog**: pmndrs/zustand@v4.5.1...v4.5.2

</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://togithub.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://developer.mend.io/github/mheob/ef-calc).
renovate bot added a commit to ettorepuccetti/terrarossa that referenced this pull request Mar 29, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [zustand](https://togithub.com/pmndrs/zustand) | [`4.4.7` ->
`4.5.2`](https://renovatebot.com/diffs/npm/zustand/4.4.7/4.5.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zustand/4.4.7/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zustand/4.4.7/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pmndrs/zustand (zustand)</summary>

### [`v4.5.2`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.2)

[Compare
Source](https://togithub.com/pmndrs/zustand/compare/v4.5.1...v4.5.2)

It should improve the compatibility with old browsers.

#### What's Changed

- refactor(shallow): Use for..of instead of C-style for by
[@&#8203;onlined](https://togithub.com/onlined) in
[pmndrs/zustand#2374
- fix: return type of persist migrate function changed to PersistedState
by [@&#8203;bobdepreziz](https://togithub.com/bobdepreziz) in
[pmndrs/zustand#2360
- build: target es2018 by
[@&#8203;dai-shi](https://togithub.com/dai-shi) in
[pmndrs/zustand#2361

#### New Contributors

- [@&#8203;medyahyejoud](https://togithub.com/medyahyejoud) made their
first contribution in
[pmndrs/zustand#2353
- [@&#8203;yankycranky](https://togithub.com/yankycranky) made their
first contribution in
[pmndrs/zustand#2348
- [@&#8203;cheeZery](https://togithub.com/cheeZery) made their first
contribution in
[pmndrs/zustand#2364
- [@&#8203;Cadienvan](https://togithub.com/Cadienvan) made their first
contribution in
[pmndrs/zustand#2378
- [@&#8203;bobdepreziz](https://togithub.com/bobdepreziz) made their
first contribution in
[pmndrs/zustand#2360

**Full Changelog**:
pmndrs/zustand@v4.5.1...v4.5.2

### [`v4.5.1`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.1)

[Compare
Source](https://togithub.com/pmndrs/zustand/compare/v4.5.0...v4.5.1)

People might have misunderstood with `useStore` deprecation message.
Hope this mitigates it.

#### What's Changed

- Relax types for `persist` middleware by
[@&#8203;rafaeelaudibert](https://togithub.com/rafaeelaudibert) in
[pmndrs/zustand#2332
- chore: clarify deprecation message by
[@&#8203;dai-shi](https://togithub.com/dai-shi) in
[pmndrs/zustand#2337

#### New Contributors

- [@&#8203;alexander-densley](https://togithub.com/alexander-densley)
made their first contribution in
[pmndrs/zustand#2321
- [@&#8203;rafaeelaudibert](https://togithub.com/rafaeelaudibert) made
their first contribution in
[pmndrs/zustand#2332

**Full Changelog**:
pmndrs/zustand@v4.5.0...v4.5.1

### [`v4.5.0`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.0)

[Compare
Source](https://togithub.com/pmndrs/zustand/compare/v4.4.7...v4.5.0)

This version adds a new capability for SSR/Hydration.

#### What's Changed

- feat: getInitialState by [@&#8203;TkDodo](https://togithub.com/TkDodo)
in
[pmndrs/zustand#2277
- fix: Add deprecation notice for getServerState() in WithReact type by
[@&#8203;charkour](https://togithub.com/charkour) in
[pmndrs/zustand#2266

#### New Contributors

- [@&#8203;Jontii](https://togithub.com/Jontii) made their first
contribution in
[pmndrs/zustand#2228
- [@&#8203;wherehows](https://togithub.com/wherehows) made their first
contribution in
[pmndrs/zustand#2239
- [@&#8203;ahulterstrom](https://togithub.com/ahulterstrom) made their
first contribution in
[pmndrs/zustand#2252
- [@&#8203;JaeBrian](https://togithub.com/JaeBrian) made their first
contribution in
[pmndrs/zustand#2267
- [@&#8203;CodyCodes95](https://togithub.com/CodyCodes95) made their
first contribution in
[pmndrs/zustand#2218

**Full Changelog**:
pmndrs/zustand@v4.4.7...v4.5.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on Friday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->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://developer.mend.io/github/ettorepuccetti/terrarossa).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to ettorepuccetti/t3-template that referenced this pull request Apr 11, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [zustand](https://togithub.com/pmndrs/zustand) | [`4.4.7` ->
`4.5.2`](https://renovatebot.com/diffs/npm/zustand/4.4.7/4.5.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zustand/4.4.7/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zustand/4.4.7/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pmndrs/zustand (zustand)</summary>

### [`v4.5.2`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.2)

[Compare
Source](https://togithub.com/pmndrs/zustand/compare/v4.5.1...v4.5.2)

It should improve the compatibility with old browsers.

#### What's Changed

- refactor(shallow): Use for..of instead of C-style for by
[@&#8203;onlined](https://togithub.com/onlined) in
[pmndrs/zustand#2374
- fix: return type of persist migrate function changed to PersistedState
by [@&#8203;bobdepreziz](https://togithub.com/bobdepreziz) in
[pmndrs/zustand#2360
- build: target es2018 by
[@&#8203;dai-shi](https://togithub.com/dai-shi) in
[pmndrs/zustand#2361

#### New Contributors

- [@&#8203;medyahyejoud](https://togithub.com/medyahyejoud) made their
first contribution in
[pmndrs/zustand#2353
- [@&#8203;yankycranky](https://togithub.com/yankycranky) made their
first contribution in
[pmndrs/zustand#2348
- [@&#8203;cheeZery](https://togithub.com/cheeZery) made their first
contribution in
[pmndrs/zustand#2364
- [@&#8203;Cadienvan](https://togithub.com/Cadienvan) made their first
contribution in
[pmndrs/zustand#2378
- [@&#8203;bobdepreziz](https://togithub.com/bobdepreziz) made their
first contribution in
[pmndrs/zustand#2360

**Full Changelog**:
pmndrs/zustand@v4.5.1...v4.5.2

### [`v4.5.1`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.1)

[Compare
Source](https://togithub.com/pmndrs/zustand/compare/v4.5.0...v4.5.1)

People might have misunderstood with `useStore` deprecation message.
Hope this mitigates it.

#### What's Changed

- Relax types for `persist` middleware by
[@&#8203;rafaeelaudibert](https://togithub.com/rafaeelaudibert) in
[pmndrs/zustand#2332
- chore: clarify deprecation message by
[@&#8203;dai-shi](https://togithub.com/dai-shi) in
[pmndrs/zustand#2337

#### New Contributors

- [@&#8203;alexander-densley](https://togithub.com/alexander-densley)
made their first contribution in
[pmndrs/zustand#2321
- [@&#8203;rafaeelaudibert](https://togithub.com/rafaeelaudibert) made
their first contribution in
[pmndrs/zustand#2332

**Full Changelog**:
pmndrs/zustand@v4.5.0...v4.5.1

### [`v4.5.0`](https://togithub.com/pmndrs/zustand/releases/tag/v4.5.0)

[Compare
Source](https://togithub.com/pmndrs/zustand/compare/v4.4.7...v4.5.0)

This version adds a new capability for SSR/Hydration.

#### What's Changed

- feat: getInitialState by [@&#8203;TkDodo](https://togithub.com/TkDodo)
in
[pmndrs/zustand#2277
- fix: Add deprecation notice for getServerState() in WithReact type by
[@&#8203;charkour](https://togithub.com/charkour) in
[pmndrs/zustand#2266

#### New Contributors

- [@&#8203;Jontii](https://togithub.com/Jontii) made their first
contribution in
[pmndrs/zustand#2228
- [@&#8203;wherehows](https://togithub.com/wherehows) made their first
contribution in
[pmndrs/zustand#2239
- [@&#8203;ahulterstrom](https://togithub.com/ahulterstrom) made their
first contribution in
[pmndrs/zustand#2252
- [@&#8203;JaeBrian](https://togithub.com/JaeBrian) made their first
contribution in
[pmndrs/zustand#2267
- [@&#8203;CodyCodes95](https://togithub.com/CodyCodes95) made their
first contribution in
[pmndrs/zustand#2218

**Full Changelog**:
pmndrs/zustand@v4.4.7...v4.5.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on Thursday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->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://developer.mend.io/github/ettorepuccetti/t3-template).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants