svelte
Advanced tools
Comparing version 5.0.0-next.177 to 5.0.0-next.178
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "5.0.0-next.177", | ||
"version": "5.0.0-next.178", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "types": "./types/index.d.ts", |
@@ -174,4 +174,13 @@ import { DEV } from 'esm-env'; | ||
var is_unowned = (flags & UNOWNED) !== 0; | ||
var i; | ||
for (var i = 0; i < dependencies.length; i++) { | ||
if ((flags & DISCONNECTED) !== 0) { | ||
for (i = 0; i < dependencies.length; i++) { | ||
(dependencies[i].reactions ??= []).push(reaction); | ||
} | ||
reaction.f ^= DISCONNECTED; | ||
} | ||
for (i = 0; i < dependencies.length; i++) { | ||
var dependency = dependencies[i]; | ||
@@ -775,21 +784,2 @@ | ||
} | ||
if ((flags & DISCONNECTED) !== 0) { | ||
// reconnect to the graph | ||
deps = derived.deps; | ||
if (deps !== null) { | ||
for (var i = 0; i < deps.length; i++) { | ||
var dep = deps[i]; | ||
var reactions = dep.reactions; | ||
if (reactions === null) { | ||
dep.reactions = [derived]; | ||
} else if (!reactions.includes(derived)) { | ||
reactions.push(derived); | ||
} | ||
} | ||
} | ||
derived.f ^= DISCONNECTED; | ||
} | ||
} | ||
@@ -796,0 +786,0 @@ |
@@ -9,3 +9,3 @@ // generated during release, do not modify | ||
*/ | ||
export const VERSION = '5.0.0-next.177'; | ||
export const VERSION = '5.0.0-next.178'; | ||
export const PUBLIC_VERSION = '5'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2124610
46588