Socket
Socket
Sign inDemoInstall

@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.11.2 to 5.11.3

29

dist/dev/core.js

@@ -96,3 +96,3 @@ import { SCOPE } from './symbols.js';

return;
let head = self ? this._prevSibling ?? this[SCOPE] : this, current = this._nextSibling;
let head = self ? this._prevSibling || this[SCOPE] : this, current = this._nextSibling;
while (current && current[SCOPE] === this) {

@@ -208,12 +208,21 @@ dispose.call(current, true);

ScopeProto._disposal = null;
ScopeProto.append = function(scope) {
scope[SCOPE] = this;
scope._prevSibling = this;
if (this._nextSibling)
this._nextSibling._prevSibling = scope;
scope._nextSibling = this._nextSibling;
this._nextSibling = scope;
scope._context = scope._context === defaultContext ? this._context : { ...this._context, ...scope._context };
ScopeProto.append = function(child) {
child[SCOPE] = this;
child._prevSibling = this;
if (this._nextSibling) {
if (child._nextSibling) {
let tail = child._nextSibling;
while (tail._nextSibling)
tail = tail._nextSibling;
tail._nextSibling = this._nextSibling;
this._nextSibling._prevSibling = tail;
} else {
child._nextSibling = this._nextSibling;
this._nextSibling._prevSibling = child;
}
}
this._nextSibling = child;
child._context = child._context === defaultContext ? this._context : { ...this._context, ...child._context };
if (this._handlers) {
scope._handlers = !scope._handlers ? this._handlers : [...scope._handlers, ...this._handlers];
child._handlers = !child._handlers ? this._handlers : [...child._handlers, ...this._handlers];
}

@@ -220,0 +229,0 @@ };

@@ -96,3 +96,3 @@ import { SCOPE } from './symbols.js';

return;
let head = self ? this.$ps ?? this[SCOPE] : this, current = this.$ns;
let head = self ? this.$ps || this[SCOPE] : this, current = this.$ns;
while (current && current[SCOPE] === this) {

@@ -208,12 +208,21 @@ dispose.call(current, true);

ScopeProto.$d = null;
ScopeProto.append = function(scope) {
scope[SCOPE] = this;
scope.$ps = this;
if (this.$ns)
this.$ns.$ps = scope;
scope.$ns = this.$ns;
this.$ns = scope;
scope.$cx = scope.$cx === defaultContext ? this.$cx : { ...this.$cx, ...scope.$cx };
ScopeProto.append = function(child) {
child[SCOPE] = this;
child.$ps = this;
if (this.$ns) {
if (child.$ns) {
let tail = child.$ns;
while (tail.$ns)
tail = tail.$ns;
tail.$ns = this.$ns;
this.$ns.$ps = tail;
} else {
child.$ns = this.$ns;
this.$ns.$ps = child;
}
}
this.$ns = child;
child.$cx = child.$cx === defaultContext ? this.$cx : { ...this.$cx, ...child.$cx };
if (this.$eh) {
scope.$eh = !scope.$eh ? this.$eh : [...scope.$eh, ...this.$eh];
child.$eh = !child.$eh ? this.$eh : [...child.$eh, ...this.$eh];
}

@@ -220,0 +229,0 @@ };

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

"license": "MIT",
"version": "5.11.2",
"version": "5.11.3",
"type": "module",

@@ -8,0 +8,0 @@ "types": "dist/types/index.d.ts",

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