build(deps): Bump xstate from 5.13.0 to 5.14.0
Type: Pull Request
State: Closed
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 1
(over 1 year ago)
(4 months ago)
(4 months ago)
dependencies javascript
Bumps xstate from 5.13.0 to 5.14.0.
Release notes
Sourced from xstate's releases.
xstate@5.14.0
Minor Changes
#4936
c58b36dc3
Thanks@davidkpiano
! - Inspecting an actor system viaactor.system.inspect(ev => …)
now accepts a function or observer, and returns a subscription:const actor = createActor(someMachine);
const sub = actor.system.inspect((inspectionEvent) => { console.log(inspectionEvent); });
// Inspection events will be logged actor.start(); actor.send({ type: 'anEvent' });
// ...
sub.unsubscribe();
// Will no longer log inspection events actor.send({ type: 'someEvent' });
#4942
9caaa1f70
Thanks@boneskull
! -DoneActorEvent
andErrorActorEvent
now contain propertyactorId
, which refers to the ID of the actor the event refers to.#4935
2ac08b700
Thanks@davidkpiano
! - All actor logic creators now support emitting events:Promise actors
const logic = fromPromise(async ({ emit }) => { // ... emit({ type: 'emitted', msg: 'hello' }); // ... });
Transition actors
const logic = fromTransition((state, event, { emit }) => { // ... emit({ type: 'emitted', msg: 'hello' });
... (truncated)
Commits
11c781f
Version Packages (#4946)2ac08b7
[core] Add emit support for all actor logic creators (#4935)417f35a
feat(core): expose UnknownActorRef (#4929)9caaa1f
feat(core): add actor ID to DoneActorEvent, ErrorActorEvent (#4942)c58b36d
[core] Inspect subscription (#4936)28d437c
Version Packages (#4938)f733665
Release XState Store v1.0 (#4921)2d77f14
Version Packages (#4933)71a7f86
[core] Fix type issues with emitted events (#4932)206e457
Update examples & templates- Additional commits viewable in compare view
You can trigger a rebase of this PR 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 show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Pull Request Statistics
0
0
+0
-0
Package Dependencies
Technical Details
ID: | 849858 |
UUID: | 2369782970 |
Node ID: | PR_kwDOHgsrLM5zV7Re |
Host: | GitHub |
Repository: | HSLdevcom/transitdata-partial-apc-expander-combiner |