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
115
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.5

10

dist/src/primitives/createFocusStack.jsx

@@ -20,4 +20,3 @@ /**

*/
import { createSignal, createContext, useContext, untrack } from 'solid-js';
import { activeElement } from '@lightningtv/solid';
import { createSignal, createContext, useContext } from 'solid-js';
const FocusStackContext = createContext(undefined);

@@ -27,8 +26,3 @@ export function FocusStackProvider(props) {

function storeFocus(element, prevElement) {
if (prevElement && untrack(activeElement) !== prevElement) {
setFocusStack((stack) => [...stack, prevElement]);
}
else if (element && untrack(activeElement) !== element) {
setFocusStack((stack) => [...stack, element]);
}
setFocusStack((stack) => [...stack, prevElement || element]);
}

@@ -35,0 +29,0 @@ function restoreFocus() {

2

package.json
{
"name": "@lightningtv/solid",
"version": "2.7.5-1",
"version": "2.7.5",
"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