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

@lightningjs/blits

Package Overview
Dependencies
Maintainers
0
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/blits - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

6

CHANGELOG.md
# Changelog
## v1.9.1
_4 nov 2024_
- Added fix for omitting gap-attribute in Layout component
## v1.9.0

@@ -4,0 +10,0 @@

2

package.json
{
"name": "@lightningjs/blits",
"version": "1.9.0",
"version": "1.9.1",
"description": "Blits: The Lightning 3 App Development Framework",

@@ -5,0 +5,0 @@ "bin": "bin/index.js",

@@ -34,2 +34,3 @@ /*

let otherDimension = 0
const gap = config.gap || 0
for (let i = 0; i < childrenLength; i++) {

@@ -40,3 +41,3 @@ const node = children[i]

if (wh === 'width') {
offset += node.width + (node.width !== ('text' in node ? 1 : 0) ? config.gap : 0)
offset += node.width + (node.width !== ('text' in node ? 1 : 0) ? gap : 0)
} else if (wh === 'height') {

@@ -46,6 +47,6 @@ offset +=

? node.width > 1
? node.height + config.gap
? node.height + gap
: 0
: node.height !== 0
? node.height + config.gap
? node.height + gap
: 0

@@ -56,3 +57,3 @@ }

// adjust the size of the layout container
this[wh] = offset - (config.gap || 0)
this[wh] = offset - gap
this[opositeWh] = otherDimension

@@ -59,0 +60,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