melody-idom
Advanced tools
Comparing version 1.2.0-update-deps.10 to 1.2.0
@@ -14,2 +14,3 @@ import { enqueueComponent } from './renderQueue'; | ||
notify(): void; | ||
type: String; | ||
} | ||
@@ -16,0 +17,0 @@ declare const patchInner: (node: any, fn: any, data: any) => any; |
@@ -169,2 +169,3 @@ /** | ||
data.key = key; | ||
data.staticsApplied = false; | ||
// but we'll need to update the parent element | ||
@@ -171,0 +172,0 @@ var parentKeys = currentParent && getData(currentParent).keyMap; |
@@ -57,13 +57,15 @@ /** | ||
} | ||
// 2: Is the parent of this component already scheduled for an update? | ||
if (getParent(component) === head.component) { | ||
// if so: we don't need to do anything | ||
return; | ||
if (component.type !== 'streaming') { | ||
// 2: Is the parent of this component already scheduled for an update? | ||
if (getParent(component) === head.component) { | ||
// if so: we don't need to do anything | ||
return; | ||
} | ||
// 3: Is the component a parent of a node within the queue? | ||
if (getParent(head.component) === component) { | ||
// if so: replace the child with its parent | ||
head.component = component; | ||
return; | ||
} | ||
} | ||
// 3: Is the component a parent of a node within the queue? | ||
if (getParent(head.component) === component) { | ||
// if so: replace the child with its parent | ||
head.component = component; | ||
return; | ||
} | ||
if (head.next === NIL) { | ||
@@ -70,0 +72,0 @@ // insert the new node at the end of the list |
@@ -744,2 +744,3 @@ import _debounce from 'lodash/debounce'; | ||
data.key = key; | ||
data.staticsApplied = false; | ||
// but we'll need to update the parent element | ||
@@ -1103,13 +1104,15 @@ var parentKeys = currentParent && getData(currentParent).keyMap; | ||
} | ||
// 2: Is the parent of this component already scheduled for an update? | ||
if (getParent(component$$1) === head.component) { | ||
// if so: we don't need to do anything | ||
return; | ||
if (component$$1.type !== 'streaming') { | ||
// 2: Is the parent of this component already scheduled for an update? | ||
if (getParent(component$$1) === head.component) { | ||
// if so: we don't need to do anything | ||
return; | ||
} | ||
// 3: Is the component a parent of a node within the queue? | ||
if (getParent(head.component) === component$$1) { | ||
// if so: replace the child with its parent | ||
head.component = component$$1; | ||
return; | ||
} | ||
} | ||
// 3: Is the component a parent of a node within the queue? | ||
if (getParent(head.component) === component$$1) { | ||
// if so: replace the child with its parent | ||
head.component = component$$1; | ||
return; | ||
} | ||
if (head.next === NIL) { | ||
@@ -1116,0 +1119,0 @@ // insert the new node at the end of the list |
@@ -750,2 +750,3 @@ 'use strict'; | ||
data.key = key; | ||
data.staticsApplied = false; | ||
// but we'll need to update the parent element | ||
@@ -1109,13 +1110,15 @@ var parentKeys = currentParent && getData(currentParent).keyMap; | ||
} | ||
// 2: Is the parent of this component already scheduled for an update? | ||
if (getParent(component$$1) === head.component) { | ||
// if so: we don't need to do anything | ||
return; | ||
if (component$$1.type !== 'streaming') { | ||
// 2: Is the parent of this component already scheduled for an update? | ||
if (getParent(component$$1) === head.component) { | ||
// if so: we don't need to do anything | ||
return; | ||
} | ||
// 3: Is the component a parent of a node within the queue? | ||
if (getParent(head.component) === component$$1) { | ||
// if so: replace the child with its parent | ||
head.component = component$$1; | ||
return; | ||
} | ||
} | ||
// 3: Is the component a parent of a node within the queue? | ||
if (getParent(head.component) === component$$1) { | ||
// if so: replace the child with its parent | ||
head.component = component$$1; | ||
return; | ||
} | ||
if (head.next === NIL) { | ||
@@ -1122,0 +1125,0 @@ // insert the new node at the end of the list |
{ | ||
"name": "melody-idom", | ||
"version": "1.2.0-update-deps.10+3539fd3", | ||
"version": "1.2.0", | ||
"description": "", | ||
@@ -17,3 +17,3 @@ "main": "./lib/index.js", | ||
}, | ||
"gitHead": "3539fd36498728ca09182b84c89205c88968389a" | ||
"gitHead": "915277c7d4ed5d980fbe54b9f96efdf930838e19" | ||
} |
@@ -46,2 +46,3 @@ /** | ||
notify(): void; | ||
type: String; | ||
} | ||
@@ -228,2 +229,3 @@ | ||
data.key = key; | ||
data.staticsApplied = false; | ||
// but we'll need to update the parent element | ||
@@ -230,0 +232,0 @@ const parentKeys = currentParent && getData(currentParent).keyMap; |
@@ -93,13 +93,15 @@ /** | ||
// 2: Is the parent of this component already scheduled for an update? | ||
if (getParent(component) === head.component) { | ||
// if so: we don't need to do anything | ||
return; | ||
} | ||
if (component.type !== 'streaming') { | ||
// 2: Is the parent of this component already scheduled for an update? | ||
if (getParent(component) === head.component) { | ||
// if so: we don't need to do anything | ||
return; | ||
} | ||
// 3: Is the component a parent of a node within the queue? | ||
if (getParent(head.component) === component) { | ||
// if so: replace the child with its parent | ||
head.component = component; | ||
return; | ||
// 3: Is the component a parent of a node within the queue? | ||
if (getParent(head.component) === component) { | ||
// if so: replace the child with its parent | ||
head.component = component; | ||
return; | ||
} | ||
} | ||
@@ -106,0 +108,0 @@ |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
285468
8238
1
0