
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
webhandle-menus-1
Advanced tools
Loads menu definitions from a folder ('menus' by default.)
It's installed when using the webhandle framework.
This operates as a page preload routine. By default, it loads the file main.json
in the menus directory. The assumption is that this is the main top menu.
To load a different file from that directory as the main menu, you can specify in the page json file like:
{
"menuName": "something-else"
}
Whatever is specified by menuName, the root of the menu tree is put into res.locals.menu
and the individual
items are put into res.locals.menuItems
.
To have it load additional menus, add to the page json like this:
{
"menuName": "something-else",
"menuNames": ["how-to"]
}
The root will be added to res.locals.menus['how-to]
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.