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.13.3 to 0.13.4

4

dist/esm/index.js

@@ -741,2 +741,6 @@ import { createSignal, mergeProps as mergeProps$1, createRoot, createRenderEffect, createMemo, createComponent as createComponent$1, untrack, onMount, splitProps } from 'solid-js';

const parent = this.parent;
if (!parent) {
console.warn('Parent not set - no node created for: ', this);
return;
}

@@ -743,0 +747,0 @@ // Parent is dirty whenever a node is inserted after initial render

@@ -425,2 +425,6 @@ /*

const parent = this.parent;
if (!parent) {
console.warn('Parent not set - no node created for: ', this);
return;
}
// Parent is dirty whenever a node is inserted after initial render

@@ -427,0 +431,0 @@ if (parent._isDirty) {

14

dist/types/intrinsicTypes.d.ts

@@ -1,2 +0,2 @@

import { type AnimationSettings, type Dimensions, type INode, type INodeWritableProps, type ITextNodeWritableProps, type NodeFailedPayload, type NodeLoadedPayload } from '@lightningjs/renderer';
import { type AnimationSettings, type Dimensions, type FadeOutEffectProps, type GlitchEffectProps, type GrayscaleEffectProps, type INode, type INodeWritableProps, type ITextNodeWritableProps, type LinearGradientEffectProps, type NodeFailedPayload, type NodeLoadedPayload, type RadialGradientEffectProps, type RadialProgressEffectProps } from '@lightningjs/renderer';
import { type JSX } from 'solid-js';

@@ -13,2 +13,10 @@ import { type ElementNode } from './core/node/index.js';

export type BorderStyle = number | BorderStyleObject;
export interface Effects {
fadeOut?: FadeOutEffectProps;
linearGradient?: LinearGradientEffectProps;
radialGradient?: RadialGradientEffectProps;
grayscale?: GrayscaleEffectProps;
glitch?: GlitchEffectProps;
radialProgress?: RadialProgressEffectProps;
}
export interface IntrinsicNodeCommonProps {

@@ -39,7 +47,7 @@ animationSettings?: Partial<AnimationSettings>;

display?: 'flex' | 'block';
effects?: any;
effects?: Effects;
flexDirection?: 'row' | 'column';
gap?: number;
justifyContent?: 'flexStart' | 'flexEnd' | 'center' | 'spaceBetween' | 'spaceEvenly';
linearGradient?: any;
linearGradient?: LinearGradientEffectProps;
marginBottom?: number;

@@ -46,0 +54,0 @@ marginLeft?: number;

{
"name": "@lightningjs/solid",
"version": "0.13.3",
"version": "0.13.4",
"description": "Lightning renderer for solid universal",

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

@@ -538,4 +538,9 @@ /*

const node = this;
const parent = this.parent!;
const parent = this.parent;
if (!parent) {
console.warn('Parent not set - no node created for: ', this);
return;
}
// Parent is dirty whenever a node is inserted after initial render

@@ -542,0 +547,0 @@ if (parent._isDirty) {

@@ -21,7 +21,13 @@ /*

type Dimensions,
type FadeOutEffectProps,
type GlitchEffectProps,
type GrayscaleEffectProps,
type INode,
type INodeWritableProps,
type ITextNodeWritableProps,
type LinearGradientEffectProps,
type NodeFailedPayload,
type NodeLoadedPayload,
type RadialGradientEffectProps,
type RadialProgressEffectProps,
} from '@lightningjs/renderer';

@@ -43,2 +49,11 @@ import { type JSX } from 'solid-js';

export interface Effects {
fadeOut?: FadeOutEffectProps;
linearGradient?: LinearGradientEffectProps;
radialGradient?: RadialGradientEffectProps;
grayscale?: GrayscaleEffectProps;
glitch?: GlitchEffectProps;
radialProgress?: RadialProgressEffectProps;
}
export interface IntrinsicNodeCommonProps {

@@ -72,3 +87,3 @@ animationSettings?: Partial<AnimationSettings>;

display?: 'flex' | 'block';
effects?: any; // Should be EffectMap
effects?: Effects;
flexDirection?: 'row' | 'column';

@@ -82,3 +97,3 @@ gap?: number;

| 'spaceEvenly';
linearGradient?: any; // Should be typeof LinearGradientEffect
linearGradient?: LinearGradientEffectProps;
marginBottom?: number;

@@ -85,0 +100,0 @@ marginLeft?: number;

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