-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[v5] Restrict context
to object
#2294
Merged
+1,153
−630
Merged
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
4f803e3
Restrict context to object or undefined
davidkpiano c25c4da
Restrict context to only object, fix SCXML tests
davidkpiano eb0fc68
Refactor context types
davidkpiano f8b2869
Fix tests
davidkpiano c0a6dca
Add changeset
davidkpiano 0d59cf5
Update packages/core/src/StateNode.ts
davidkpiano 7b0c44e
Update packages/xstate-graph/src/graph.ts
davidkpiano 5cd04ee
Add default context
davidkpiano File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Restrict context to object or undefined
- xstate@5.19.2
- xstate@5.19.1
- xstate@5.19.0
- xstate@5.18.2
- xstate@5.18.1
- xstate@5.18.0
- xstate@5.17.4
- xstate@5.17.3
- xstate@5.17.2
- xstate@5.17.1
- xstate@5.17.0
- xstate@5.16.0
- xstate@5.15.0
- xstate@5.14.0
- xstate@5.13.2
- xstate@5.13.1
- xstate@5.13.0
- xstate@5.12.0
- xstate@5.11.0
- xstate@5.10.0
- xstate@5.9.1
- xstate@5.9.0
- xstate@5.8.2
- xstate@5.8.1
- xstate@5.8.0
- xstate@5.7.1
- xstate@5.7.0
- xstate@5.6.2
- xstate@5.6.1
- xstate@5.6.0
- xstate@5.5.2
- xstate@5.5.1
- xstate@5.5.0
- xstate@5.4.1
- xstate@5.4.0
- xstate@5.3.1
- xstate@5.3.0
- xstate@5.2.1
- xstate@5.2.0
- xstate@5.1.0
- xstate@5.0.2
- xstate@5.0.1
- xstate@5.0.0
- xstate@5.0.0-beta.54
- xstate@5.0.0-beta.53
- xstate@5.0.0-beta.52
- xstate@5.0.0-beta.51
- xstate@5.0.0-beta.50
- xstate@5.0.0-beta.49
- xstate@5.0.0-beta.48
- xstate@5.0.0-beta.47
- xstate@5.0.0-beta.46
- xstate@5.0.0-beta.45
- xstate@5.0.0-beta.44
- xstate@5.0.0-beta.43
- xstate@5.0.0-beta.42
- xstate@5.0.0-beta.41
- xstate@5.0.0-beta.40
- xstate@5.0.0-beta.39
- xstate@5.0.0-beta.38
- xstate@5.0.0-beta.37
- xstate@5.0.0-beta.36
- xstate@5.0.0-beta.35
- xstate@5.0.0-beta.34
- xstate@5.0.0-beta.33
- xstate@5.0.0-beta.32
- xstate@5.0.0-beta.31
- xstate@5.0.0-beta.30
- xstate@5.0.0-beta.29
- xstate@5.0.0-beta.28
- xstate@5.0.0-beta.27
- xstate@5.0.0-beta.26
- xstate@5.0.0-beta.25
- xstate@5.0.0-beta.24
- xstate@5.0.0-beta.23
- xstate@5.0.0-beta.22
- xstate@5.0.0-beta.21
- xstate@5.0.0-beta.20
- xstate@5.0.0-beta.19
- xstate@5.0.0-beta.18
- xstate@5.0.0-beta.17
- xstate@5.0.0-beta.16
- xstate@5.0.0-beta.15
- xstate@5.0.0-beta.14
- xstate@5.0.0-beta.13
- xstate@5.0.0-beta.12
- xstate@5.0.0-beta.11
- xstate@5.0.0-beta.10
- xstate@5.0.0-beta.9
- xstate@5.0.0-beta.8
- xstate@5.0.0-beta.7
- xstate@5.0.0-alpha.6
- xstate@5.0.0-alpha.5
- xstate@5.0.0-alpha.4
- xstate@5.0.0-alpha.3
- xstate@5.0.0-alpha.2
- xstate@5.0.0-alpha.1
- xstate@5.0.0-alpha.0
- @xstate/vue@4.0.2
- @xstate/vue@4.0.1
- @xstate/vue@4.0.0
- @xstate/vue@3.1.4
- @xstate/vue@3.1.3
- @xstate/vue@3.1.2
- @xstate/vue@3.1.1
- @xstate/vue@3.1.0
- @xstate/vue@3.0.3
- @xstate/vue@3.0.2
- @xstate/vue@3.0.1
- @xstate/vue@3.0.0
- @xstate/vue@3.0.0-beta.6
- @xstate/vue@3.0.0-beta.5
- @xstate/vue@3.0.0-beta.4
- @xstate/vue@3.0.0-beta.3
- @xstate/vue@3.0.0-beta.2
- @xstate/vue@3.0.0-alpha.1
- @xstate/vue@3.0.0-alpha.0
- @xstate/test@1.0.0-beta.5
- @xstate/test@1.0.0-beta.4
- @xstate/test@1.0.0-beta.3
- @xstate/test@1.0.0-beta.2
- @xstate/svelte@4.0.3
- @xstate/svelte@4.0.2
- @xstate/svelte@4.0.1
- @xstate/svelte@4.0.0
- @xstate/svelte@3.0.5
- @xstate/svelte@3.0.4
- @xstate/svelte@3.0.3
- @xstate/svelte@3.0.2
- @xstate/svelte@3.0.1
- @xstate/svelte@3.0.0
- @xstate/store@3.2.1
- @xstate/store@3.2.0
- @xstate/store@3.1.0
- @xstate/store@3.0.1
- @xstate/store@3.0.0
- @xstate/store@2.6.2
- @xstate/store@2.6.1
- @xstate/store@2.6.0
- @xstate/store@2.5.0
- @xstate/store@2.4.0
- @xstate/store@2.3.0
- @xstate/store@2.2.1
- @xstate/store@2.2.0
- @xstate/store@2.1.0
- @xstate/store@2.0.0
- @xstate/store@1.0.0
- @xstate/store@0.0.5
- @xstate/store@0.0.4
- @xstate/store@0.0.3
- @xstate/store@0.0.2
- @xstate/solid@1.0.2
- @xstate/solid@1.0.1
- @xstate/solid@1.0.0
- @xstate/solid@0.2.3
- @xstate/solid@0.2.2
- @xstate/solid@0.2.1
- @xstate/solid@0.2.0
- @xstate/react@5.0.3
- @xstate/react@5.0.2
- @xstate/react@5.0.1
- @xstate/react@5.0.0
- @xstate/react@4.1.3
- @xstate/react@4.1.2
- @xstate/react@4.1.1
- @xstate/react@4.1.0
- @xstate/react@4.0.3
- @xstate/react@4.0.2
- @xstate/react@4.0.1
- @xstate/react@4.0.0
- @xstate/react@4.0.0-beta.12
- @xstate/react@4.0.0-beta.11
- @xstate/react@4.0.0-beta.10
- @xstate/react@4.0.0-beta.9
- @xstate/react@4.0.0-beta.8
- @xstate/react@4.0.0-beta.7
- @xstate/react@4.0.0-beta.6
- @xstate/react@4.0.0-beta.5
- @xstate/react@4.0.0-beta.4
- @xstate/react@4.0.0-beta.3
- @xstate/react@4.0.0-alpha.2
- @xstate/react@4.0.0-alpha.1
- @xstate/react@4.0.0-alpha.0
- @xstate/graph@3.0.2
- @xstate/graph@3.0.1
- @xstate/graph@3.0.0
- @xstate/graph@2.0.1
- @xstate/graph@2.0.0
- @xstate/graph@2.0.0-beta.6
- @xstate/graph@2.0.0-beta.5
- @xstate/graph@2.0.0-beta.4
- @xstate/graph@2.0.0-beta.3
- @xstate/fsm@3.0.0-beta.3
- @xstate/fsm@3.0.0-beta.2
- @xstate/fsm@3.0.0-alpha.1
- @xstate/fsm@3.0.0-alpha.0
commit 4f803e368d350cd09589988e2d62ae8151c56226
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❕ New tests