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

@lightningjs/blits

Package Overview
Dependencies
Maintainers
7
Versions
91
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 0.5.3 to 0.5.4

2

boilerplate/package.json

@@ -34,4 +34,4 @@ {

"dependencies": {
"@lightningjs/blits": "^0.5.3"
"@lightningjs/blits": "^0.5.4"
}
}
# Changelog
# v0.5.4
_5 dec 2023_
- Fixed issue with Components and Elements not always being cleaned up in forloop
- Added support for nested children inside a forloop on an Element
# v0.5.3

@@ -4,0 +11,0 @@

{
"name": "@lightningjs/blits",
"version": "0.5.3",
"version": "0.5.4",
"description": "Blits: The Lightning 3 App Development Framework",

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

@@ -109,3 +109,3 @@ /*

if (children) {
generateCode.call(this, { children }, `elms[${counter}]`)
generateCode.call(this, { children }, `${elm}`, options)
}

@@ -185,3 +185,2 @@ }

counter++
if (children) {

@@ -222,2 +221,3 @@ generateElementCode.call(this, { children }, false, { ...options })

parent = ${parent}
if(!component.key) keys.length = 0
const scope = Object.assign(component, {

@@ -270,3 +270,3 @@ key: Math.random(),

const generateCode = function (templateObject, parent = false) {
const generateCode = function (templateObject, parent = false, options = {}) {
templateObject.children &&

@@ -280,5 +280,5 @@ templateObject.children.forEach((childTemplateObject) => {

if (childTemplateObject.type === 'Element' || childTemplateObject.type === 'Slot') {
generateElementCode.call(this, childTemplateObject, parent)
generateElementCode.call(this, childTemplateObject, parent, options)
} else {
generateComponentCode.call(this, childTemplateObject, parent)
generateComponentCode.call(this, childTemplateObject, parent, options)
}

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