Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: bump xstate from 4.31.0 to 4.32.1 in /site #1481

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

Merged
merged 1 commit into from
May 16, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 16, 2022

Bumps xstate from 4.31.0 to 4.32.1.

Release notes

Sourced from xstate's releases.

[email protected]

Patch Changes

  • #3292 16514e466 Thanks @​Andarist! - Fixed an issue in the EmittedFrom type helper that could prevent it from inferring the desired type from some services.

[email protected]

Minor Changes

  • #3234 ce376b388 Thanks @​Andarist! - Added a StateValueFrom helper that can be used to extract valid state values from a machine. This might specifically be useful with typegen because typegenless state.matches accepts any anyway.

Patch Changes

  • #3215 44c66e74f Thanks @​tom-sherman! - Removing the timeout that's built in to waitFor is now supported by explicitly passing an Infinity value.

    Example usage:

    import { waitFor } from 'xstate/lib/waitFor';
    // This will
    const loggedInState = await waitFor(
    loginService,
    state => state.hasTag('loggedIn'),
    { timeout: Infinity }
    );

    This fixes a bug that causes waitFor to reject with an error immediately due to the behaviour of setTimeout.

  • #3230 780458c92 Thanks @​Andarist! - Fixed an issue with typegen types not being able to provide events that had a union of strings as their type (such as { type: 'INC' | 'DEC'; value: number; }).

  • #3252 a94dfd467 Thanks @​Andarist! - Fixed an issue with EventFrom not being able to extract events that had a union of strings as their type (such as { type: 'INC' | 'DEC'; value: number; }).

  • #3090 c4f73ca13 Thanks @​Andarist! - Fixed an issue with action objects not receiving correct event types when used in the second argument to the createMachine.

  • #3238 3df6335ef Thanks @​davidkpiano! - The typings for sendTo(...) have been fixed.

  • #3228 fe5f0e6c9 Thanks @​Andarist! - Fixed an issue with inline functions in the config object used as transition actions not having their argument types inferred.

  • #3252 a94dfd467 Thanks @​Andarist! - Fixed an issue with default TEvent ({ type: string }) not being correctly provided to inline transition actions.

Commits
  • 1d1c90c Version Packages (#3293)
  • 16514e4 Fixed an issue in the EmittedFrom type helper that could prevent it from in...
  • 5424178 Merge pull request #3285 from justinphilpott/patch-3
  • 4cef410 Merge pull request #3284 from justinphilpott/patch-2
  • 3822d11 Language logic tweak
  • 6898ee6 Small grammar tweak in docs
  • bd4a332 Merge pull request #3225 from statelyai/changeset-release/main
  • 1bfef36 Version Packages
  • de66457 Merge pull request #3272 from brunocrosier/patch-1
  • f99bccd Add context object to typegen examples
  • Additional commits viewable in compare view

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 [xstate](https://github.com/statelyai/xstate) from 4.31.0 to 4.32.1.
- [Release notes](https://github.com/statelyai/xstate/releases)
- [Commits](https://github.com/statelyai/xstate/compare/[email protected]@4.32.1)

---
updated-dependencies:
- dependency-name: xstate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner May 16, 2022 17:31
@kylecarbs kylecarbs merged commit abc2257 into main May 16, 2022
@kylecarbs kylecarbs deleted the dependabot/npm_and_yarn/site/xstate-4.32.1 branch May 16, 2022 18:03
kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
Bumps [xstate](https://github.com/statelyai/xstate) from 4.31.0 to 4.32.1.
- [Release notes](https://github.com/statelyai/xstate/releases)
- [Commits](https://github.com/statelyai/xstate/compare/[email protected]@4.32.1)

---
updated-dependencies:
- dependency-name: xstate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[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.

1 participant