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.12.9 to 0.12.10

2

dist/esm/index.js

@@ -661,3 +661,3 @@ import { createSignal, mergeProps as mergeProps$1, createRoot, createRenderEffect, createMemo, createComponent as createComponent$1, untrack, onMount } from 'solid-js';

const passedArray = isArray(values);
const styleArray = passedArray ? values : [values];
const styleArray = passedArray ? values.filter(v => v) : [values];
// Keys set in JSX are more important

@@ -664,0 +664,0 @@ styleArray.forEach(value => {

@@ -326,3 +326,3 @@ /*

const passedArray = isArray(values);
const styleArray = passedArray ? values : [values];
const styleArray = passedArray ? values.filter((v) => v) : [values];
// Keys set in JSX are more important

@@ -329,0 +329,0 @@ styleArray.forEach((value) => {

@@ -83,3 +83,3 @@ import { createShader } from '../renderer/index.js';

destroy(): void;
set style(values: SolidStyles | SolidStyles[]);
set style(values: SolidStyles | (SolidStyles | undefined)[]);
get style(): SolidStyles;

@@ -86,0 +86,0 @@ get hasChildren(): boolean;

@@ -64,7 +64,7 @@ import { type AnimationSettings, type Dimensions, type INode, type INodeWritableProps, type ITextNodeWritableProps, type NodeFailedPayload, type NodeLoadedPayload } from '@lightningjs/renderer';

export interface IntrinsicNodeProps extends AddUndefined<IntrinsicNodeCommonProps & IntrinsicNodeStyleProps> {
style?: IntrinsicNodeStyleProps | IntrinsicNodeStyleProps[] | undefined;
style?: IntrinsicNodeStyleProps | (IntrinsicNodeStyleProps | undefined)[] | undefined;
children?: JSX.Element | undefined;
}
export interface IntrinsicTextProps extends AddUndefined<IntrinsicNodeCommonProps & IntrinsicTextNodeStyleProps> {
style?: IntrinsicTextNodeStyleProps | IntrinsicTextNodeStyleProps[] | undefined;
style?: IntrinsicTextNodeStyleProps | (IntrinsicTextNodeStyleProps | undefined)[] | undefined;
children: string | string[];

@@ -71,0 +71,0 @@ }

{
"name": "@lightningjs/solid",
"version": "0.12.9",
"version": "0.12.10",
"description": "Lightning renderer for solid universal",

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

@@ -420,5 +420,5 @@ /*

set style(values: SolidStyles | SolidStyles[]) {
set style(values: SolidStyles | (SolidStyles | undefined)[]) {
const passedArray = isArray(values);
const styleArray = passedArray ? values : [values];
const styleArray = passedArray ? values.filter((v) => v) : [values];
// Keys set in JSX are more important

@@ -425,0 +425,0 @@ styleArray.forEach((value) => {

@@ -113,3 +113,6 @@ /*

extends AddUndefined<IntrinsicNodeCommonProps & IntrinsicNodeStyleProps> {
style?: IntrinsicNodeStyleProps | IntrinsicNodeStyleProps[] | undefined;
style?:
| IntrinsicNodeStyleProps
| (IntrinsicNodeStyleProps | undefined)[]
| undefined;
children?: JSX.Element | undefined;

@@ -122,3 +125,3 @@ }

| IntrinsicTextNodeStyleProps
| IntrinsicTextNodeStyleProps[]
| (IntrinsicTextNodeStyleProps | undefined)[]
| undefined;

@@ -125,0 +128,0 @@ children: string | string[];

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