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

@xstate/react

Package Overview
Dependencies
Maintainers
3
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 4.1.3 to 5.0.0

2

dist/xstate-react.cjs.js

@@ -94,3 +94,3 @@ 'use strict';

}
let sub = actorRef.subscribe(xstate.toObserver(observerOrListener));
const sub = actorRef.subscribe(xstate.toObserver(observerOrListener));
return () => {

@@ -97,0 +97,0 @@ sub.unsubscribe();

@@ -94,3 +94,3 @@ 'use strict';

}
let sub = actorRef.subscribe(xstate.toObserver(observerOrListener));
const sub = actorRef.subscribe(xstate.toObserver(observerOrListener));
return () => {

@@ -97,0 +97,0 @@ sub.unsubscribe();

@@ -68,3 +68,3 @@ import * as React from 'react';

}
let sub = actorRef.subscribe(toObserver(observerOrListener));
const sub = actorRef.subscribe(toObserver(observerOrListener));
return () => {

@@ -71,0 +71,0 @@ sub.unsubscribe();

@@ -68,3 +68,3 @@ import * as React from 'react';

}
let sub = actorRef.subscribe(toObserver(observerOrListener));
const sub = actorRef.subscribe(toObserver(observerOrListener));
return () => {

@@ -71,0 +71,0 @@ sub.unsubscribe();

{
"name": "@xstate/react",
"version": "4.1.3",
"version": "5.0.0",
"description": "XState tools for React",

@@ -56,4 +56,4 @@ "keywords": [

"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"xstate": "^5.18.2"
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-0",
"xstate": "^5.19.0"
},

@@ -78,5 +78,5 @@ "peerDependenciesMeta": {

"@xstate-repo/jest-utils": "^0.0.0",
"xstate": "^5.18.2"
"xstate": "^5.19.0"
},
"scripts": {}
}
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