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
153
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 2.4.7 to 2.4.8

1

dist/src/elementNode.d.ts

@@ -53,2 +53,3 @@ import { createShader } from './lightningInit.js';

flexBoundary?: 'contain' | 'fixed';
flexCrossBoundary?: 'fixed';
flexDirection?: 'row' | 'column';

@@ -55,0 +56,0 @@ gap?: number;

5

dist/src/flex.js

@@ -68,9 +68,6 @@ import { isTextNode } from './utils.js';

: (c) => c;
if (isRow && node._calcHeight) {
if (isRow && node._calcHeight && !node.flexCrossBoundary) {
// Assuming all the children have the same height
node.height = children[0]?.height || node.height;
}
else if (node._calcWidth) {
node.width = children[0]?.width || node.width;
}
if (justify === 'flexStart') {

@@ -77,0 +74,0 @@ let start = node.padding || 0;

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

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

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

flexBoundary?: 'contain' | 'fixed';
flexCrossBoundary?: 'fixed'; // default is contain
flexDirection?: 'row' | 'column';

@@ -253,0 +254,0 @@ gap?: number;

@@ -88,7 +88,5 @@ import { type ElementNode } from './elementNode.js';

if (isRow && node._calcHeight) {
if (isRow && node._calcHeight && !node.flexCrossBoundary) {
// Assuming all the children have the same height
node.height = children[0]?.height || node.height;
} else if (node._calcWidth) {
node.width = children[0]?.width || node.width;
}

@@ -95,0 +93,0 @@

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

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