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 3.1.0 to 3.2.0

3

dist/index.js

@@ -15,2 +15,3 @@ var __defProp = Object.defineProperty;

createAtom: () => createAtom,
getHydrationId: () => getHydrationId,
observable: () => observable,

@@ -26,2 +27,3 @@ untracked: () => untracked

var batchDepth = 0;
var getHydrationId = () => sequenceNumber;
function tryCatch(fn, onError) {

@@ -234,4 +236,5 @@ try {

createAtom,
getHydrationId,
observable,
untracked
});

2

index.js

@@ -1,4 +0,4 @@

export { createAtom, autorun, batch, untracked } from './src/core';
export { createAtom, autorun, batch, untracked, getHydrationId } from './src/core';
export { computed } from './src/computed';
import { box } from './src/box'
export const observable = { box };

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

"name": "quarx",
"version": "3.1.0",
"version": "3.2.0",
"description": "Simple dependency graph engine, MobX inspired",

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

@@ -8,2 +8,4 @@ const stack = [];

export const getHydrationId = () => sequenceNumber;
function tryCatch(fn, onError) {

@@ -62,3 +64,3 @@ try {

reportChanged() {
// console.debug(`${name} changed`);
// console.debug(`[Quarx]: ${name} changed`);
({ actualize } = stack[stack.length - 1] || {});

@@ -110,2 +112,3 @@ for (let invalidate of observers.keys()) invalidate();

function run() {
// console.debug(`[Quarx]: Running ${name}`, sequenceNumber);
isRunning = true;

@@ -112,0 +115,0 @@

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