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

@maverick-js/signals

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maverick-js/signals - npm Package Compare versions

Comparing version 5.0.4 to 5.0.5

15

dist/dev/index.js

@@ -91,9 +91,9 @@ // src/scheduler.ts

function untrack(compute2) {
const prevScope2 = currentScope;
const prevObserver2 = currentObserver;
const prevScope = currentScope;
const prevObserver = currentObserver;
currentScope = null;
currentObserver = null;
const result = compute2();
currentScope = prevScope2;
currentObserver = prevObserver2;
currentScope = prevScope;
currentObserver = prevObserver;
return result;

@@ -294,7 +294,4 @@ }

}
var prevScope;
var prevObserver;
function compute(scope2, node, observer) {
prevScope = currentScope;
prevObserver = currentObserver;
let prevScope = currentScope, prevObserver = currentObserver;
currentScope = scope2;

@@ -309,4 +306,2 @@ currentObserver = observer;

currentObserver = prevObserver;
prevScope = null;
prevObserver = null;
if (scope2)

@@ -313,0 +308,0 @@ computeStack.pop();

@@ -89,9 +89,9 @@ // src/scheduler.ts

function untrack(compute2) {
const prevScope2 = currentScope;
const prevObserver2 = currentObserver;
const prevScope = currentScope;
const prevObserver = currentObserver;
currentScope = null;
currentObserver = null;
const result = compute2();
currentScope = prevScope2;
currentObserver = prevObserver2;
currentScope = prevScope;
currentObserver = prevObserver;
return result;

@@ -292,7 +292,4 @@ }

}
var prevScope;
var prevObserver;
function compute(scope2, node, observer) {
prevScope = currentScope;
prevObserver = currentObserver;
let prevScope = currentScope, prevObserver = currentObserver;
currentScope = scope2;

@@ -307,4 +304,2 @@ currentObserver = observer;

currentObserver = prevObserver;
prevScope = null;
prevObserver = null;
if (false)

@@ -311,0 +306,0 @@ computeStack.pop();

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "5.0.4",
"version": "5.0.5",
"type": "module",

@@ -8,0 +8,0 @@ "module": "dist/prod/index.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