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

@lightningjs/solid

Package Overview
Dependencies
Maintainers
7
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/solid - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

2

package.json
{
"name": "@lightningjs/solid",
"version": "0.5.3",
"version": "0.5.4",
"description": "Lightning renderer for solid universal",

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

@@ -458,17 +458,20 @@ /*

} else {
// Set width and height to parent less offset
if (isNaN(props.width)) {
props.width = parent.width - props.x;
node._width = props.width;
}
// If its not an image or texture apply some defaults
if (!(props.src || props.texture)) {
// Set width and height to parent less offset
if (isNaN(props.width)) {
props.width = parent.width - props.x;
node._width = props.width;
}
if (isNaN(props.height)) {
props.height = parent.height - props.y;
node._height = props.height;
}
if (isNaN(props.height)) {
props.height = parent.height - props.y;
node._height = props.height;
}
if (!props.color && !(props.src || props.texture)) {
//Default color to transparent - If you later set a src, you'll need
// to set color '#ffffffff'
node._color = props.color = 0x00000000;
if (!props.color) {
//Default color to transparent - If you later set a src, you'll need
// to set color '#ffffffff'
node._color = props.color = 0x00000000;
}
}

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