Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xstate/react

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xstate/react - npm Package Compare versions

Comparing version 1.0.0-rc.2 to 1.0.0-rc.3

2

lib/fsm.js

@@ -36,3 +36,3 @@ "use strict";

if (stateMachine !== initialMachine) {
throw new Error('Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\n' +
console.warn('Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\n' +
'Please make sure that you pass the same Machine as argument each time.');

@@ -39,0 +39,0 @@ }

@@ -50,3 +50,3 @@ "use strict";

if (machine !== initialMachine) {
throw new Error('Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\n' +
console.warn('Machine given to `useMachine` has changed between renders. This is not supported and might lead to unexpected results.\n' +
'Please make sure that you pass the same Machine as argument each time.');

@@ -53,0 +53,0 @@ }

{
"name": "@xstate/react",
"version": "1.0.0-rc.2",
"version": "1.0.0-rc.3",
"description": "XState tools for React",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc