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.7.3 to 0.7.4

1

dist/esm/index.js

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

root.children.forEach(renderTopDown);
isFunc(props.onFirstRender) && props.onFirstRender(root);
}).catch(console.error);

@@ -873,0 +874,0 @@ });

@@ -21,2 +21,3 @@ /*

import { ElementNode } from "../core/node/index.js";
import { isFunc } from "../core/utils.js";
function renderTopDown(node) {

@@ -39,2 +40,3 @@ if (node.name === 'TextNode') {

root.children.forEach(renderTopDown);
isFunc(props.onFirstRender) && props.onFirstRender(root);
}).catch(console.error);

@@ -41,0 +43,0 @@ });

import { type SolidRendererOptions } from '../core/renderer/index.js';
import { ElementNode } from "../core/node/index.js";
export interface CanvasOptions {

@@ -8,4 +9,6 @@ coreExtensionModule?: string;

options?: Partial<SolidRendererOptions>;
onFirstRender?: (callback: () => void) => void;
children?: any;
ref?: (el: ElementNode) => void;
}
export declare const Canvas: (props: CanvasProps) => import("solid-js").JSX.Element;

2

dist/types/core/renderer/index.d.ts

@@ -6,4 +6,4 @@ import { RendererMain, type RendererMainSettings } from '@lightningjs/renderer';

threadXCoreWorkerUrl?: string;
rootId: string;
rootId: string | HTMLElement;
}
export declare function startLightningRenderer(options?: Partial<SolidRendererOptions>): RendererMain;
{
"name": "@lightningjs/solid",
"version": "0.7.3",
"version": "0.7.4",
"description": "Lightning renderer for solid universal",

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

@@ -30,3 +30,3 @@ /*

threadXCoreWorkerUrl?: string;
rootId: string;
rootId: string | HTMLElement;
}

@@ -33,0 +33,0 @@

Sorry, the diff of this file is not supported yet

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