New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lightningtv/core

Package Overview
Dependencies
Maintainers
0
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningtv/core - npm Package Compare versions

Comparing version 1.5.3 to 1.5.4

18

dist/src/elementNode.js

@@ -445,3 +445,14 @@ import { renderer, createShader } from './lightningInit.js';

}
if (topNode && parent.requiresLayout()) {
// Need to come back to this. In order to do layout all the children nodes also need to have their defaults calculated
// and then flex can be done. So we'd need to render the parent, then calculate all the props for the children, run flex, then render.
// For now we'll go back to the old system.
// if (this.requiresLayout() && !this._containsTextNodes) {
// // Since the element doesn't contain any text nodes, it's safe to do layout early since we know dimensions.
// // This has the added benefit of laying out without animating the nodes
// this.updateLayout();
// }
// if (topNode && parent.requiresLayout()) {
// parent.queueLayout();
// }
if (parent.requiresLayout()) {
parent.queueLayout();

@@ -537,7 +548,2 @@ }

node.rendered = true;
if (this.requiresLayout() && !this._containsTextNodes) {
// Since the element doesn't contain any text nodes, it's safe to do layout early since we know dimensions.
// This has the added benefit of laying out without animating the nodes
this.updateLayout();
}
if (node.autosize && parent.requiresLayout()) {

@@ -544,0 +550,0 @@ node._layoutOnLoad();

{
"name": "@lightningtv/core",
"version": "1.5.3",
"version": "1.5.4",
"description": "Lightning TV Core for Universal Renderers",

@@ -5,0 +5,0 @@ "type": "module",

@@ -631,3 +631,17 @@ import { renderer, createShader } from './lightningInit.js';

if (topNode && parent.requiresLayout()) {
// Need to come back to this. In order to do layout all the children nodes also need to have their defaults calculated
// and then flex can be done. So we'd need to render the parent, then calculate all the props for the children, run flex, then render.
// For now we'll go back to the old system.
// if (this.requiresLayout() && !this._containsTextNodes) {
// // Since the element doesn't contain any text nodes, it's safe to do layout early since we know dimensions.
// // This has the added benefit of laying out without animating the nodes
// this.updateLayout();
// }
// if (topNode && parent.requiresLayout()) {
// parent.queueLayout();
// }
if (parent.requiresLayout()) {
parent.queueLayout();

@@ -738,8 +752,2 @@ }

if (this.requiresLayout() && !this._containsTextNodes) {
// Since the element doesn't contain any text nodes, it's safe to do layout early since we know dimensions.
// This has the added benefit of laying out without animating the nodes
this.updateLayout();
}
if (node.autosize && parent.requiresLayout()) {

@@ -746,0 +754,0 @@ node._layoutOnLoad();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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