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

@lightningtv/core

Package Overview
Dependencies
Maintainers
1
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningtv/core - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

4

dist/src/elementNode.d.ts

@@ -9,3 +9,3 @@ import { createShader } from './lightningInit.js';

} & (NodeStyles | TextStyles);
export type TextNode = {
export interface TextNode {
id?: string;

@@ -16,3 +16,3 @@ text: string;

states?: NodeStates;
};
}
export interface ElementNode extends Partial<Omit<INodeWritableProps, 'parent' | 'shader'>>, IntrinsicCommonProps {

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

@@ -1,3 +0,3 @@

import type { ElementNode, Styles } from './elementNode.js';
export declare function log(msg: string, node: ElementNode, ...args: any[]): void;
import type { ElementNode, TextNode, Styles } from './elementNode.js';
export declare function log(msg: string, node: ElementNode | TextNode, ...args: any[]): void;
export declare const isFunc: (obj: unknown) => obj is CallableFunction;

@@ -4,0 +4,0 @@ export declare function isObject(item: unknown): item is Record<string | number | symbol, unknown>;

{
"name": "@lightningtv/core",
"version": "0.0.7",
"version": "0.0.8",
"description": "Lightning TV Core for Universal Renderers",

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

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

export type TextNode = {
export interface TextNode {
id?: string;

@@ -143,3 +143,3 @@ text: string;

states?: NodeStates;
};
}
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging

@@ -146,0 +146,0 @@ export interface ElementNode

import { Config, isDev } from './config.js';
import type { ElementNode, Styles } from './elementNode.js';
import type { ElementNode, TextNode, Styles } from './elementNode.js';

@@ -8,3 +8,3 @@ function hasDebug(node: any) {

export function log(msg: string, node: ElementNode, ...args: any[]) {
export function log(msg: string, node: ElementNode | TextNode, ...args: any[]) {
if (isDev) {

@@ -11,0 +11,0 @@ if (Config.debug || hasDebug(node) || hasDebug(args[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