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

melody-idom

Package Overview
Dependencies
Maintainers
3
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

melody-idom - npm Package Compare versions

Comparing version 1.2.0-update-deps.10 to 1.2.0

1

built/core.d.ts

@@ -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;

22

built/renderQueue.js

@@ -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 @@

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