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

@zag-js/core

Package Overview
Dependencies
Maintainers
1
Versions
902
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/core - npm Package Compare versions

Comparing version 0.78.2 to 0.78.3

2

dist/index.d.ts

@@ -351,3 +351,3 @@ export { Ref, proxy, ref, snapshot, subscribe } from '@zag-js/store';

*
* To achieve this, we split the `after` defintion into `entry` and `exit`
* To achieve this, we split the `after` definition into `entry` and `exit`
* functions and append them to the state's `entry` and `exit` actions

@@ -354,0 +354,0 @@ */

@@ -5,3 +5,2 @@ 'use strict';

var utils = require('@zag-js/utils');
var full = require('klona/full');

@@ -27,5 +26,2 @@ var __defProp = Object.defineProperty;

}
function structuredClone(v) {
return full.klona(v);
}
function toEvent(event) {

@@ -424,3 +420,3 @@ const obj = utils.isString(event) ? { type: event } : event;

*
* To achieve this, we split the `after` defintion into `entry` and `exit`
* To achieve this, we split the `after` definition into `entry` and `exit`
* functions and append them to the state's `entry` and `exit` actions

@@ -669,4 +665,4 @@ */

});
this.config = structuredClone(config);
this.options = structuredClone(options ?? {});
this.config = store.clone(config);
this.options = store.clone(options ?? {});
this.id = this.config.id ?? `machine-${utils.uuid()}`;

@@ -673,0 +669,0 @@ this.guardMap = this.options?.guards ?? {};

{
"name": "@zag-js/core",
"version": "0.78.2",
"version": "0.78.3",
"description": "A minimal implementation of xstate fsm for UI machines",

@@ -28,5 +28,4 @@ "keywords": [

"dependencies": {
"klona": "2.0.6",
"@zag-js/store": "0.78.2",
"@zag-js/utils": "0.78.2"
"@zag-js/store": "0.78.3",
"@zag-js/utils": "0.78.3"
},

@@ -33,0 +32,0 @@ "devDependencies": {

@@ -106,3 +106,3 @@ # @zag-js/core

- `tags`: the tags associated with this state
- `done`: whehter the machine that reached its final state
- `done`: whether the machine that reached its final state
- `context`: the current context value

@@ -109,0 +109,0 @@ - `matches(...)`: a function used to test whether the current state matches one or more state values

Sorry, the diff of this file is not supported yet

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