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 2.1.0 to 2.1.1

9

dist/index.js

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

function invalidate() {
if (stack.length && seqNo === sequenceNumber) {
throw new Error(`[Quarx]: Circular dependency detected in ${name}`);
}
seqNo = 0;

@@ -85,2 +82,5 @@ invalidated.add(run);

function actualize() {
if (isRunning) {
throw new Error(`[Quarx]: Circular dependency detected in ${name}`);
}
if (seqNo === sequenceNumber)

@@ -98,5 +98,2 @@ return;

function run() {
if (isRunning) {
throw new Error(`[Quarx]: Self-dependency detected in ${name}`);
}
isRunning = true;

@@ -103,0 +100,0 @@ const previousDeps = dependencies;

@@ -7,3 +7,3 @@ {

"name": "quarx",
"version": "2.1.0",
"version": "2.1.1",
"description": "Simple dependency graph engine, MobX inspired",

@@ -10,0 +10,0 @@ "main": "dist/index.js",

@@ -67,5 +67,2 @@ const stack = [];

function invalidate() {
if (stack.length && seqNo === sequenceNumber) {
throw new Error(`[Quarx]: Circular dependency detected in ${name}`);
}
seqNo = 0;

@@ -76,2 +73,5 @@ invalidated.add(run);

function actualize() {
if (isRunning) {
throw new Error(`[Quarx]: Circular dependency detected in ${name}`);
}
if (seqNo === sequenceNumber) return;

@@ -88,5 +88,2 @@ if (!seqNo) return run();

function run() {
if (isRunning) {
throw new Error(`[Quarx]: Self-dependency detected in ${name}`);
}
isRunning = true;

@@ -93,0 +90,0 @@

export default {
files: ['tests/perf.spec.js'],
require: 'esm'
files: ['tests/perf.spec.js']
};
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