xstate-codegen icon indicating copy to clipboard operation
xstate-codegen copied to clipboard

A codegen tool for 100% TS type-safety in XState

Results 41 xstate-codegen issues
Sort by recently updated
recently updated
newest added

Bumps [moment](https://github.com/moment/moment) from 2.27.0 to 2.29.4. Changelog Sourced from moment's changelog. 2.29.4 Release Jul 6, 2022 #6015 [bugfix] Fix ReDoS in preprocessRFC2822 regex 2.29.3 Full changelog Release Apr 17, 2022...

dependencies

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

The definitions for `InvokeCallback` and `InvokeCreator` are currently: ``` export type InvokeCallback< TEvent extends EventObject = AnyEventObject, TSentEvent extends EventObject = AnyEventObject > = ( callback: Sender, onReceive: Receiver )...

In xstate, `withConfig` is typed with context as a [second, optional parameter](https://github.com/statelyai/xstate/blob/f135dfae27c43afcbf52c0960c11c2c4011fe597/packages/core/src/types.ts#L735). In xstate-codegen, the generated signature for `withConfig` lets you pass in context in the same object as the...

I'd like to be able to define my machine options in separate files so I can swap out real/mock service implementations like the following: ``` interface HomePageProviderProps { machineOptions: any;...

Bumps [set-getter](https://github.com/doowb/set-getter) from 0.1.0 to 0.1.1. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=set-getter&package-manager=npm_and_yarn&previous-version=0.1.0&new-version=0.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

When defining `actions` on a transition, if a single inline action is defined – as per the example in [the XState documentation](https://xstate.js.org/docs/guides/actions.html#actions) – the type definitions cause an error. Wrapping...