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.18.0 to 3.18.1

3

dist/custom-hooks/useQuickAccessVisible.js
import { useEffect, useState } from 'react';
function getQuickAccessWindow() {
try {
const navTrees = FocusNavController?.m_ActiveContext?.m_rgGamepadNavigationTrees || FocusNavController?.m_rgGamepadNavigationTrees;
const context = FocusNavController?.m_ActiveContext || FocusNavController?.m_LastActiveContext;
const navTrees = context?.m_ActiveContext?.m_rgGamepadNavigationTrees || FocusNavController?.m_rgGamepadNavigationTrees;
return navTrees?.find((tree) => tree?.id === "QuickAccess-NA")?.m_Root?.m_element?.ownerDocument.defaultView ?? null;

@@ -6,0 +7,0 @@ }

@@ -17,4 +17,5 @@ export * from './patcher';

// new (SP as popup)
return FocusNavController.m_ActiveContext.m_rgGamepadNavigationTrees.find((x) => x.m_ID == 'root_1_').Root
const context = FocusNavController.m_ActiveContext || FocusNavController.m_LastActiveContext;
return context.m_rgGamepadNavigationTrees.find((x) => x.m_ID == 'root_1_').Root
.Element.ownerDocument.defaultView;
}
{
"name": "decky-frontend-lib",
"version": "3.18.0",
"version": "3.18.1",
"description": "A library for building decky plugins",

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

@@ -19,4 +19,5 @@ export * from './patcher';

// new (SP as popup)
return FocusNavController.m_ActiveContext.m_rgGamepadNavigationTrees.find((x: any) => x.m_ID == 'root_1_').Root
const context = FocusNavController.m_ActiveContext || FocusNavController.m_LastActiveContext;
return context.m_rgGamepadNavigationTrees.find((x: any) => x.m_ID == 'root_1_').Root
.Element.ownerDocument.defaultView;
}

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