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.0 to 0.12.1

6

dist/esm/index.js

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

import { createSignal, mergeProps as mergeProps$1, createRoot, createRenderEffect, createMemo, createComponent as createComponent$1, untrack, createEffect } from 'solid-js';
import { createSignal, mergeProps as mergeProps$1, createRoot, createRenderEffect, createMemo, createComponent as createComponent$1, untrack, onMount } from 'solid-js';
export { ErrorBoundary, For, Index, Match, Show, Suspense, SuspenseList, Switch } from 'solid-js';

@@ -1131,3 +1131,3 @@ import { MainCoreDriver, RendererMain } from '@lightningjs/renderer';

const node = new ElementNode(name);
renderer.root && createEffect(() => node.render());
renderer.root && onMount(() => node.render());
return node;

@@ -1176,3 +1176,3 @@ },

getParentNode(node) {
return node.parent ?? undefined;
return node.parent;
},

@@ -1179,0 +1179,0 @@ getFirstChild(node) {

@@ -19,3 +19,3 @@ /*

import { renderer } from '../renderer/index.js';
import { createEffect } from 'solid-js';
import { onMount } from 'solid-js';
import { log } from '../utils.js';

@@ -26,3 +26,3 @@ import { ElementNode } from '../node/index.js';

const node = new ElementNode(name);
renderer.root && createEffect(() => node.render());
renderer.root && onMount(() => node.render());
return node;

@@ -67,3 +67,3 @@ },

getParentNode(node) {
return node.parent ?? undefined;
return node.parent;
},

@@ -70,0 +70,0 @@ getFirstChild(node) {

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

}
export type IntrinsicCommonProps = IntrinsicNodeCommonProps & IntrinsicNodeStyleCommonProps & IntrinsicTextStyleCommonProps;
export interface IntrinsicCommonProps extends IntrinsicNodeCommonProps, IntrinsicNodeStyleCommonProps, IntrinsicTextStyleCommonProps {
}
export interface IntrinsicNodeStyleProps extends Partial<Omit<INodeWritableProps, 'parent' | 'shader'>>, IntrinsicNodeStyleCommonProps {

@@ -57,0 +58,0 @@ [key: string]: unknown;

{
"name": "@lightningjs/solid",
"version": "0.12.0",
"version": "0.12.1",
"description": "Lightning renderer for solid universal",

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

@@ -19,3 +19,3 @@ /*

import { renderer } from '../renderer/index.js';
import { createEffect } from 'solid-js';
import { onMount } from 'solid-js';
import { log } from '../utils.js';

@@ -32,3 +32,3 @@ import { ElementNode, type SolidNode, type TextNode } from '../node/index.js';

const node = new ElementNode(name);
renderer.root && createEffect(() => node.render());
renderer.root && onMount(() => node.render());
return node;

@@ -74,3 +74,3 @@ },

getParentNode(node: SolidNode): ElementNode | undefined {
return node.parent ?? undefined;
return node.parent;
},

@@ -77,0 +77,0 @@ getFirstChild(node: ElementNode): SolidNode | undefined {

@@ -91,6 +91,6 @@ /*

export type IntrinsicCommonProps = IntrinsicNodeCommonProps &
IntrinsicNodeStyleCommonProps &
IntrinsicTextStyleCommonProps;
export interface IntrinsicCommonProps
extends IntrinsicNodeCommonProps,
IntrinsicNodeStyleCommonProps,
IntrinsicTextStyleCommonProps {}
export interface IntrinsicNodeStyleProps

@@ -97,0 +97,0 @@ extends Partial<Omit<INodeWritableProps, 'parent' | 'shader'>>,

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