
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
aitomic-m-nav-header
Advanced tools
A template of macro {control} to display site navigation. Import {latte} block from the template stored in folder 'control' to 'menuControl.latte' before condition of variable `$menuDepth` using macro `{import '../path-to-latte-template'}` and declare thi
A template of macro {control} to display site navigation. Import {latte} block from the template stored in folder 'control' to 'menuControl.latte' before condition of variable $menuDepth
using macro {import '../path-to-latte-template'}
and declare this block as {include #m-nav-header}
. There are available hooks to customization CSS classes of list, item and link.
The variable 'submenu' has options 'm-nav-dropdown' and 'm-nav-mega' representing style of submenu.
{import '../path-to-latte-template'}
{include #m-nav-header, submenu => 'm-nav-dropdown', menuClass => '...', itemClass => '...', linkClass => '...'}
Do not forget set CSS property position: relative
to one of parent elements, which define megamenu width.
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.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.