Socket
Socket
Sign inDemoInstall

@zag-js/store

Package Overview
Dependencies
1
Maintainers
1
Versions
697
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.56.0 to 0.56.1

15

dist/index.js

@@ -34,15 +34,10 @@ "use strict";

function getGlobal() {
if (typeof globalThis !== "undefined")
return globalThis;
if (typeof self !== "undefined")
return self;
if (typeof window !== "undefined")
return window;
if (typeof global !== "undefined")
return global;
if (typeof globalThis !== "undefined") return globalThis;
if (typeof self !== "undefined") return self;
if (typeof window !== "undefined") return window;
if (typeof global !== "undefined") return global;
}
function makeGlobal(key, value) {
const g = getGlobal();
if (!g)
return value();
if (!g) return value();
g[key] || (g[key] = value());

@@ -49,0 +44,0 @@ return g[key];

{
"name": "@zag-js/store",
"version": "0.56.0",
"version": "0.56.1",
"description": "The reactive store package for zag machines",

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

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc