Socket
Socket
Sign inDemoInstall

decky-frontend-lib

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

decky-frontend-lib - npm Package Compare versions

Comparing version 3.20.7 to 3.21.0

2

dist/deck-components/static-classes.d.ts

@@ -10,2 +10,3 @@ type QuickAccessMenuClasses = Record<'ActiveTab' | 'AllTabContents' | 'BatteryDetailsLabels' | 'BatteryIcon' | 'BatteryPercentageLabel' | 'BatteryProjectedLabel' | 'BatteryProjectedValue' | 'BatterySectionContainer' | 'Blocked' | 'ComingSoon' | 'Container' | 'ContentTransition' | 'Down' | 'EmptyNotifications' | 'Enter' | 'EnterActive' | 'Exit' | 'ExitActive' | 'FooterBoxShadow' | 'FriendsListTabPanel' | 'FriendsTitle' | 'FullHeight' | 'HeaderAndFooterVisible' | 'HeaderContainer' | 'ItemFocusAnim-darkGrey' | 'ItemFocusAnim-darkerGrey' | 'ItemFocusAnim-darkerGrey-nocolor' | 'ItemFocusAnim-green' | 'ItemFocusAnim-grey' | 'ItemFocusAnimBorder-darkGrey' | 'KeyboardButton' | 'Label' | 'LowBattery' | 'LowBatteryGauge' | 'Menu' | 'Open' | 'PanelExitAnchor' | 'PanelOuterNav' | 'PanelSection' | 'PanelSectionRow' | 'PanelSectionTitle' | 'QuickAccessMenu' | 'ReallyLow' | 'Remaining' | 'Selected' | 'Tab' | 'TabContentColumn' | 'TabGroupPanel' | 'TabPanelHidden' | 'Tabs' | 'Text' | 'Title' | 'TransitionMenuDelay' | 'Up' | 'ViewPlaceholder' | 'VoiceTab' | 'duration-app-launch' | 'focusAnimation' | 'hoverAnimation', string>;

type AppDetailsClasses = Record<'BreakNarrow' | 'BreakShort' | 'BreakTall' | 'BreakUltraWide' | 'BreakWide' | 'Container' | 'GamepadUIBreakNarrow' | 'GamepadUIBreakShort' | 'GamepadUIBreakWide' | 'Glassy' | 'Header' | 'HeaderLoaded' | 'InnerContainer' | 'ItemFocusAnim-darkGrey' | 'ItemFocusAnim-darkerGrey' | 'ItemFocusAnim-darkerGrey-nocolor' | 'ItemFocusAnim-green' | 'ItemFocusAnim-grey' | 'ItemFocusAnimBorder-darkGrey' | 'PlayBar' | 'PreventScrolling' | 'RightBreakNarrow' | 'RightBreakUltraNarrow' | 'RightBreakUltraWide' | 'RightBreakWide' | 'ScrollContainer' | 'ShowPlayBar' | 'Throbber' | 'duration-app-launch' | 'fadein' | 'focusAnimation' | 'hoverAnimation', string>;
type GamepadUIClasses = Record<'duration-app-launch' | 'TransitionMenuDelay' | 'PanelSection' | 'PanelSectionTitle' | 'Text' | 'PanelSectionRow' | 'Label' | 'ComingSoon' | 'LowBattery' | 'ReallyLow' | 'LowBatteryGauge' | 'Remaining' | 'EmptyNotifications' | 'BatterySectionContainer' | 'BatteryIcon' | 'BatteryPercentageLabel' | 'BatteryDetailsLabels' | 'BatteryProjectedValue' | 'BatteryProjectedLabel' | 'ViewPlaceholder' | 'FullHeight' | 'Title' | 'Container' | 'Open' | 'QuickAccessMenu' | 'HeaderContainer' | 'Menu' | 'HeaderAndFooterVisible' | 'TabContentColumn' | 'Tabs' | 'Tab' | 'Selected' | 'ItemFocusAnim-darkerGrey' | 'ItemFocusAnim-darkerGrey-nocolor' | 'VoiceTab' | 'ItemFocusAnim-green' | 'Blocked' | 'TabPanelHidden' | 'FriendsTitle' | 'FriendsListTabPanel' | 'PanelOuterNav' | 'PanelExitAnchor' | 'TabGroupPanel' | 'FooterBoxShadow' | 'AllTabContents' | 'ContentTransition' | 'ActiveTab' | 'Up' | 'Enter' | 'EnterActive' | 'Exit' | 'ExitActive' | 'Down' | 'KeyboardButton' | 'ItemFocusAnim-darkGrey' | 'ItemFocusAnim-grey' | 'ItemFocusAnimBorder-darkGrey' | 'focusAnimation' | 'hoverAnimation', string>;
export declare const quickAccessMenuClasses: QuickAccessMenuClasses;

@@ -28,2 +29,3 @@ /**

export declare const appDetailsClasses: AppDetailsClasses;
export declare const gamepadUIClasses: GamepadUIClasses;
export {};

@@ -19,1 +19,2 @@ import { findModule } from '../webpack';

export const appDetailsClasses = findModule((mod) => typeof mod === 'object' && mod?.HeaderLoaded?.includes('appdetails_'));
export const gamepadUIClasses = findModule((mod) => typeof mod === 'object' && mod?.BasicUiRoot?.includes('gamepadui_'));

4

dist/utils/index.js

@@ -18,3 +18,3 @@ export * from './patcher';

const navTrees = getGamepadNavigationTrees();
return navTrees.find((x) => x.m_ID == 'root_1_').Root.Element.ownerDocument.defaultView;
return navTrees?.find((x) => x.m_ID == 'root_1_').Root.Element.ownerDocument.defaultView;
}

@@ -33,3 +33,3 @@ /**

const context = focusNav.m_ActiveContext || focusNav.m_LastActiveContext;
return context.m_rgGamepadNavigationTrees;
return context?.m_rgGamepadNavigationTrees;
}
{
"name": "decky-frontend-lib",
"version": "3.20.7",
"version": "3.21.0",
"description": "A library for building decky plugins",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -444,2 +444,65 @@ import { findModule } from '../webpack';

type GamepadUIClasses = Record<
| 'duration-app-launch'
| 'TransitionMenuDelay'
| 'PanelSection'
| 'PanelSectionTitle'
| 'Text'
| 'PanelSectionRow'
| 'Label'
| 'ComingSoon'
| 'LowBattery'
| 'ReallyLow'
| 'LowBatteryGauge'
| 'Remaining'
| 'EmptyNotifications'
| 'BatterySectionContainer'
| 'BatteryIcon'
| 'BatteryPercentageLabel'
| 'BatteryDetailsLabels'
| 'BatteryProjectedValue'
| 'BatteryProjectedLabel'
| 'ViewPlaceholder'
| 'FullHeight'
| 'Title'
| 'Container'
| 'Open'
| 'QuickAccessMenu'
| 'HeaderContainer'
| 'Menu'
| 'HeaderAndFooterVisible'
| 'TabContentColumn'
| 'Tabs'
| 'Tab'
| 'Selected'
| 'ItemFocusAnim-darkerGrey'
| 'ItemFocusAnim-darkerGrey-nocolor'
| 'VoiceTab'
| 'ItemFocusAnim-green'
| 'Blocked'
| 'TabPanelHidden'
| 'FriendsTitle'
| 'FriendsListTabPanel'
| 'PanelOuterNav'
| 'PanelExitAnchor'
| 'TabGroupPanel'
| 'FooterBoxShadow'
| 'AllTabContents'
| 'ContentTransition'
| 'ActiveTab'
| 'Up'
| 'Enter'
| 'EnterActive'
| 'Exit'
| 'ExitActive'
| 'Down'
| 'KeyboardButton'
| 'ItemFocusAnim-darkGrey'
| 'ItemFocusAnim-grey'
| 'ItemFocusAnimBorder-darkGrey'
| 'focusAnimation'
| 'hoverAnimation',
string
>;
export const quickAccessMenuClasses: QuickAccessMenuClasses = findModule(

@@ -480,1 +543,4 @@ (mod) => typeof mod === 'object' && mod?.Title?.includes('quickaccessmenu'),

);
export const gamepadUIClasses: GamepadUIClasses = findModule(
(mod) => typeof mod === 'object' && mod?.BasicUiRoot?.includes('gamepadui_'),
);

@@ -25,3 +25,3 @@ export * from './patcher';

const navTrees = getGamepadNavigationTrees();
return navTrees.find((x: any) => x.m_ID == 'root_1_').Root.Element.ownerDocument.defaultView;
return navTrees?.find((x: any) => x.m_ID == 'root_1_').Root.Element.ownerDocument.defaultView;
}

@@ -42,3 +42,3 @@

const context = focusNav.m_ActiveContext || focusNav.m_LastActiveContext;
return context.m_rgGamepadNavigationTrees;
return context?.m_rgGamepadNavigationTrees;
}
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