Socket
Socket
Sign inDemoInstall

@zag-js/store

Package Overview
Dependencies
Maintainers
1
Versions
725
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/store - npm Package Compare versions

Comparing version 0.65.1 to 0.66.0

6

dist/index.js

@@ -52,3 +52,7 @@ "use strict";

var refSet = makeGlobal("__zag__refSet", () => /* @__PURE__ */ new WeakSet());
var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) => new Proxy(target, handler), canProxy = (x) => isObject(x) && !refSet.has(x) && (Array.isArray(x) || !(Symbol.iterator in x)) && !(x instanceof WeakMap) && !(x instanceof WeakSet) && !(x instanceof Error) && !(x instanceof Number) && !(x instanceof Date) && !(x instanceof String) && !(x instanceof RegExp) && !(x instanceof ArrayBuffer), defaultHandlePromise = (promise) => {
var isReactElement = (x) => typeof x === "object" && x !== null && "$$typeof" in x;
var isVueElement = (x) => typeof x === "object" && x !== null && "__v_isVNode" in x;
var isDOMElement = (x) => typeof x === "object" && x !== null && "nodeType" in x && typeof x.nodeName === "string";
var isElement = (x) => isReactElement(x) || isVueElement(x) || isDOMElement(x);
var buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) => new Proxy(target, handler), canProxy = (x) => isObject(x) && !refSet.has(x) && (Array.isArray(x) || !(Symbol.iterator in x)) && !isElement(x) && !(x instanceof WeakMap) && !(x instanceof WeakSet) && !(x instanceof Error) && !(x instanceof Number) && !(x instanceof Date) && !(x instanceof String) && !(x instanceof RegExp) && !(x instanceof ArrayBuffer), defaultHandlePromise = (promise) => {
switch (promise.status) {

@@ -55,0 +59,0 @@ case "fulfilled":

2

package.json
{
"name": "@zag-js/store",
"version": "0.65.1",
"version": "0.66.0",
"description": "The reactive store package for zag machines",

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

@@ -53,2 +53,8 @@ // Credits: https://github.com/pmndrs/valtio

const isReactElement = (x: any) => typeof x === "object" && x !== null && "$$typeof" in x
const isVueElement = (x: any) => typeof x === "object" && x !== null && "__v_isVNode" in x
const isDOMElement = (x: any) =>
typeof x === "object" && x !== null && "nodeType" in x && typeof x.nodeName === "string"
const isElement = (x: any) => isReactElement(x) || isVueElement(x) || isDOMElement(x)
const buildProxyFunction = (

@@ -63,2 +69,3 @@ objectIs = Object.is,

(Array.isArray(x) || !(Symbol.iterator in x)) &&
!isElement(x) &&
!(x instanceof WeakMap) &&

@@ -65,0 +72,0 @@ !(x instanceof WeakSet) &&

Sorry, the diff of this file is not supported yet

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