New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lightningtv/solid

Package Overview
Dependencies
Maintainers
0
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningtv/solid - npm Package Compare versions

Comparing version

to
2.7.6

11

dist/src/primitives/Lazy.jsx

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

import { Index, createEffect, createMemo, createSignal, Show, onCleanup, untrack, } from 'solid-js';
import { Index, createEffect, createMemo, createSignal, Show, untrack, } from 'solid-js';
import { Dynamic } from '@lightningtv/solid';

@@ -35,8 +35,9 @@ import { Row, Column } from '@lightningtv/solid/primitives';

setOffset((prev) => Math.min(prev + 1, maxOffset));
timeoutId = null;
}, props.delay ?? 0);
};
onCleanup(() => {
if (timeoutId)
clearTimeout(timeoutId);
});
// Don't need to cleanup because unluckly the timeout didnt finish
// onCleanup(() => {
// if (timeoutId) clearTimeout(timeoutId);
// });
return (<Show when={items().length > 0} fallback={props.fallback}>

@@ -43,0 +44,0 @@ <Dynamic component={component} {...props} {...keyHandler(updateOffset)}>

{
"name": "@lightningtv/solid",
"version": "2.7.6-4",
"version": "2.7.6",
"description": "Lightning Renderer for Solid Universal",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet