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

quarx

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quarx - npm Package Compare versions

Comparing version 4.0.1 to 4.1.0

2

package.json
{
"name": "quarx",
"version": "4.0.1",
"version": "4.1.0",
"description": "Simple dependency graph engine, MobX inspired",

@@ -5,0 +5,0 @@ "type": "module",

const TAG = '@dmaevsky/quarx';
const GLOBAL = typeof window === 'object' ? window :
typeof global === 'object' ? global : {};
if (GLOBAL[TAG]) {
console.log(`[Quarx]: WARNING!!! Another instance of Quarx is already initialized.
This means code duplication and will possibly break in the future!`);
if (globalThis[TAG]) {
console.log(`[Quarx]: WARNING!!! Found multiple Quarx instances:
---> ${globalThis[TAG].url} (globals)
---> ${import.meta.url}
This means code duplication and will possibly break in the future!`);
}
else GLOBAL[TAG] = {
else globalThis[TAG] = {
url: import.meta.url,
stack: [],

@@ -20,3 +21,3 @@ invalidated: new Set(),

export const Quarx = GLOBAL[TAG];
export const Quarx = globalThis[TAG];

@@ -23,0 +24,0 @@ function tryCatch(fn, onError) {

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