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.0.0-dev-20220712223104 to 0.0.0-dev-20220713111527

2

dist/index.js

@@ -462,2 +462,4 @@ "use strict";

__publicField(this, "setContext", (context) => {
if (!context)
return;
for (const key in context) {

@@ -464,0 +466,0 @@ this.state.context[key] = context[key];

2

dist/machine.d.ts

@@ -56,3 +56,3 @@ import { Dict, MachineStatus, MachineType, StateMachine as S, Writable } from "./types";

*/
setContext: (context: Partial<Writable<TContext>>) => void;
setContext: (context: Partial<Writable<TContext>> | undefined) => void;
withContext: (context: Partial<Writable<TContext>>) => Machine<TContext, TState, TEvent>;

@@ -59,0 +59,0 @@ setActions: (actions: Partial<S.MachineOptions<TContext, TState, TEvent>>["actions"]) => void;

{
"name": "@zag-js/core",
"version": "0.0.0-dev-20220712223104",
"version": "0.0.0-dev-20220713111527",
"description": "A minimal implementation of xstate fsm for UI machines",

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

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