Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

chore(deps): bump zundo from 2.0.0-beta.12 to 2.0.0-beta.15 #1682

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 24, 2023

Bumps zundo from 2.0.0-beta.12 to 2.0.0-beta.15.

Release notes

Sourced from zundo's releases.

v2.0.0-beta.15 - Init states

New feature!

Initialize temporal store with past and future states

pastStates?: Partial<PartialTState>[]

futureStates?: Partial<PartialTState>[]

You can initialize the temporal store with past and future states. This is useful when you want to load a previous state from a database or initialize the store with a default state. By default, the temporal store is initialized with an empty array of past and future states.

Note: The pastStates and futureStates do not respect the limit set in the options. If you want to limit the number of past and future states, you must do so manually prior to initializing the store.

const withTemporal = temporal<MyState>(
  (set) => ({ ... }),
  {
    pastStates: [{ field1: 'value1' }, { field1: 'value2' }],
    futureStates: [{ field1: 'value3' }, { field1: 'value4' }],
  },
);

Related charkour/zundo#75

847 B --> 865 B (increase 18 bytes)

What's Changed

Full Changelog: charkour/zundo@v2.0.0-beta.14...v2.0.0-beta.15

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [zundo](https://github.com/charkour/zundo) from 2.0.0-beta.12 to 2.0.0-beta.15.
- [Release notes](https://github.com/charkour/zundo/releases)
- [Commits](charkour/zundo@v2.0.0-beta.12...v2.0.0-beta.15)

---
updated-dependencies:
- dependency-name: zundo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team April 24, 2023 08:09
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 24, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Apr 24, 2023

Codecov Report

Merging #1682 (1de2c28) into main (7976f19) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1682   +/-   ##
=======================================
  Coverage   65.59%   65.59%           
=======================================
  Files          71       71           
  Lines        2058     2058           
  Branches      470      470           
=======================================
  Hits         1350     1350           
  Misses        666      666           
  Partials       42       42           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@kahboom kahboom merged commit 23558a0 into main Apr 25, 2023
@kahboom kahboom deleted the dependabot/npm_and_yarn/zundo-2.0.0-beta.15 branch April 25, 2023 08:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant