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
976
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 0.78.3 to 0.79.0

8

dist/index.js

@@ -102,4 +102,4 @@ 'use strict';

const { actions, context, sync: notifyInSync } = options ?? {};
const lastSnapshot = react.useRef();
const lastAffected = react.useRef();
const lastSnapshot = react.useRef(void 0);
const lastAffected = react.useRef(void 0);
const currSnapshot = react.useSyncExternalStore(

@@ -150,3 +150,3 @@ react.useCallback((callback) => store.subscribe(service.state, callback, notifyInSync), [notifyInSync]),

function useConstant(fn) {
const ref = react.useRef();
const ref = react.useRef(void 0);
if (!ref.current) ref.current = { v: fn() };

@@ -166,3 +166,3 @@ return ref.current.v;

});
const snapshotRef = react.useRef();
const snapshotRef = react.useRef(void 0);
useSafeLayoutEffect(() => {

@@ -169,0 +169,0 @@ const stateInit = hydratedState ?? snapshotRef.current;

{
"name": "@zag-js/react",
"version": "0.78.3",
"version": "0.79.0",
"description": "The react wrapper for zag",

@@ -29,13 +29,13 @@ "keywords": [

"proxy-compare": "3.0.1",
"@zag-js/core": "0.78.3",
"@zag-js/store": "0.78.3",
"@zag-js/types": "0.78.3"
"@zag-js/core": "0.79.0",
"@zag-js/store": "0.79.0",
"@zag-js/types": "0.79.0"
},
"devDependencies": {
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@types/react": "^18",
"@types/react-dom": "^18",
"react": "18.3.1",
"react-dom": "18.3.1",
"clean-package": "2.2.0",
"@zag-js/utils": "0.78.3"
"@zag-js/utils": "0.79.0"
},

@@ -42,0 +42,0 @@ "peerDependencies": {

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