New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zag-js/react

Package Overview
Dependencies
Maintainers
0
Versions
987
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/react - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

7

dist/index.js

@@ -256,6 +256,11 @@ "use client";

}));
const hydratedStateRef = React.useRef();
useSafeLayoutEffect(() => {
state.invoke(state.initial, "__init__");
queueMicrotask(() => {
const initialState = hydratedStateRef.current ?? state.initial;
state.invoke(initialState, "__init__");
});
const fns = effects.current;
return () => {
hydratedStateRef.current = state.ref.current;
queueMicrotask(() => {

@@ -262,0 +267,0 @@ fns.forEach((fn) => fn?.());

10

package.json
{
"name": "@zag-js/react",
"version": "1.1.0",
"version": "1.2.0",
"description": "The react wrapper for zag",

@@ -28,6 +28,6 @@ "keywords": [

"dependencies": {
"@zag-js/core": "1.1.0",
"@zag-js/store": "1.1.0",
"@zag-js/types": "1.1.0",
"@zag-js/utils": "1.1.0"
"@zag-js/core": "1.2.0",
"@zag-js/store": "1.2.0",
"@zag-js/types": "1.2.0",
"@zag-js/utils": "1.2.0"
},

@@ -34,0 +34,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

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