[Snyk] Upgrade jotai from 2.7.1 to 2.9.3#2347
Open
NOUIY wants to merge 1 commit into
Open
Conversation
Snyk has created this PR to upgrade jotai from 2.7.1 to 2.9.3. See this package in npm: jotai See this project in Snyk: https://app.snyk.io/org/nexuscompute/project/921c3934-5dd3-43ac-b0c9-d9e83abb598d?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or 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
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.
Snyk has created this PR to upgrade jotai from 2.7.1 to 2.9.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 10 versions ahead of your current version.
The recommended version was released on 2 months ago.
Release notes
Package name: jotai
-
2.9.3 - 2024-08-13
- fix(store): derived atom not updating when its value changes if another atom is read it conditionally by @ yuneco in #2700
- experimental(core): expose unstable_derive by @ dai-shi in #2652
- @ yuneco made their first contribution in #2700
-
2.9.2 - 2024-08-07
- feat(utils): atomFamily supports getParams and unstable_listen api by @ dmaskasky in #2685
- @ junkboy0315 made their first contribution in #2694
-
2.9.1 - 2024-07-23
- refactor(core): follow naming convention by @ dai-shi in #2662
- refactor(core): store with Object.assign by @ dai-shi in #2663
- fix(core): atom toString includes debugLabel in dev mode by @ dmaskasky in #2659
- fix(core): Unmount an atom that is no longer dependent within a derived atom by @ nogaten in #2660
- fix(types): add undefined initial value to Atom definition by @ rtritto in #2668
- @ rtritto made their first contribution in #2668
-
2.9.0 - 2024-07-09
- Fix memory leak issue with vanilla store usage.
- More readability of the core code.
- feat: use new store by default by @ dai-shi in #2641
-
2.8.4 - 2024-06-28
- fix: do not abort atoms on unmount by @ Pinpickle in #2627
- @ tcpdumppy made their first contribution in #2602
- @ GregorGabric made their first contribution in #2605
- @ ideabrian made their first contribution in #2614
-
2.8.3 - 2024-06-03
- fix(utils): subscribe method of createJSONStorage should only run in the client by @ mhsattarian in #2585
- feat(store2): add dev4_get_mounted_atoms by @ arjunvegda in #2594
- @ leo-diehl made their first contribution in #2590
-
2.8.2 - 2024-05-27
- fix(store2): "stuck" derived atoms where some derivations may never resolve by @ backbone87 in #2448
- feat(utils): allow providing a subscribe method to createJSONStorage util by @ mhsattarian in #2539
- fix(vanilla): fix store.ts for an edge case by @ dai-shi in #2567
- @ mhsattarian made their first contribution in #2539
-
2.8.1 - 2024-05-22
- feat: add back dev4_restore_atoms to store v2 by @ arjunvegda in #2509
- fix(core): update atom value with conditional dependencies (regression with #2363) by @ probeiuscorp in #2534
- fix(store): properly update atom values with edge-case dependency by @ dai-shi in #2555
- @ lazybean made their first contribution in #2492
- @ linjiajian999 made their first contribution in #2496
- @ do7be made their first contribution in #2505
- @ faizanu94 made their first contribution in #2507
- @ ouweiya made their first contribution in #2514
- @ trongthanh made their first contribution in #2524
- @ probeiuscorp made their first contribution in #2534
-
2.8.0 - 2024-04-08
// suppose we have this
- [BREAKING] selectAtom does not resolve promises internally by @ dmaskasky in #2435
- New store implementation as
- feat(utils): atomWithLazy for lazily initialized primitive atoms. by @ iwoplaza in #2465
- deprecate useReducerAtom by @ dai-shi in #2467
- fix(babel): do not depend on path by @ dai-shi in #2482
- fix(utils): improve freezeAtom and freezeAtomCreator by @ backbone87 in #2476
- deprecate freezeAtomCreator by @ dai-shi in #2490
- @ frameflare made their first contribution in #2483
-
2.7.2 - 2024-03-29
- refactor(vanilla): moved (un)mount guards into their respective functions. (suggestion) by @ iwoplaza in #2457
- fix(vanilla): improve dual instance warning in DEV by @ dai-shi in #2462
- refactor: no-any by @ dai-shi in #2471
- fix: avoid slow types by @ dai-shi in #2472
-
2.7.1 - 2024-03-15
from jotai GitHub release notesThis fixes a regression in an edge case that is introduced in v2.6.4.
What's Changed
New Contributors
Full Changelog: v2.9.2...v2.9.3
A small improvement in atomFamily for edge use cases.
What's Changed
New Contributors
Full Changelog: v2.9.1...v2.9.2
This patch version includes various fixes. Huge thanks to contributors!
What's Changed
New Contributors
Full Changelog: v2.9.0...v2.9.1
This version introduces a new core implementation. All tests are passing but there can be some regressions due to missing tests. Please feel free to report such cases and let's improve test coverage.
The benefit with the new implementation:
What's Changed
Full Changelog: v2.8.4...v2.9.0
This changes the behavior of async atom with abort signal on unmount to fix some use cases.
What's Changed
New Contributors
Full Changelog: v2.8.3...v2.8.4
The improvement for atomWithStorage in v2.8.2 contained a bug, which is fixed in this version.
What's Changed
New Contributors
Full Changelog: v2.8.2...v2.8.3
This fixes another edge case and improves utils for more flexibility.
What's Changed
New Contributors
Full Changelog: v2.8.1...v2.8.2
This fixes a regression in v2.6.4 and a regression in v2.7.0.
What's Changed
New Contributors
Full Changelog: v2.8.0...v2.8.1
This version introduces a new feature
atomWithLazyand deprecatesuseReducerAtomandfreezeAtomCreator. It also introduces an experimental store implementation injotai/experimental.Migration Guide
selectAtomselectAtomwill no longer internally unwrap promises. To migrate to the new api, use theunwraputility fromjotai/utilspackage.const baseAtom = atom(Promise.resolve({ id: 0, name: 'test' }))
// previously selectAtom would internally unwrap promises.
const idAtom = selectAtom(
baseAtom,
({ name }) => name,
(prev, curr) => prev.id === curr.id
)
// instead, you need to import
unwrapfrom 'jotai/utils' and pass the unwrapped atomimport { unwrap } from 'jotai/utils'
...
const idAtom = selectAtom(
unwrap(baseAtom),
({ name }) => name,
(prev, curr) => prev.id === curr.id
)
useReducerAtomhttps://jotai.org/docs/recipes/use-reducer-atom
freezeAtomCreatorhttps://jotai.org/docs/guides/debugging#freezeatomcreator
What's Changed
store2.tsby @ dai-shi in #2463New Contributors
Full Changelog: v2.7.2...v2.8.0
Mostly refactors.
What's Changed
Full Changelog: v2.7.1...v2.7.2
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: