Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@dash4/plugin-actions
Advanced tools
npm i -D @dash4/plugin-actions
dash4.config.js
const { PluginActions } = require('@dash4/plugin-actions');
async function getConfig() {
return {
tabs: [
{
title: 'Root',
rows: [
[
new PluginActions({
title: 'Links',
actions: [
{
type: 'link',
href: 'http://localhost:6006',
title: 'Ui',
image: 'http://localhost:6006/assets/logo.png',
},
],
}),
new PluginActions({
actions: [
{
type: 'teaser',
title: 'Ui',
subtitle: 'React ui kit using storybook',
image: 'http://localhost:6006/assets/logo.png',
links: [
{
type: 'link',
href: 'http://localhost:6006',
title: 'Ui',
},
],
},
],
}),
],
],
},
],
};
}
module.exports = getConfig;
options:
interface IActionLink {
type: 'link';
title: string;
href: string;
image?: string;
icon?: string;
}
interface IActionTeaser {
type: 'teaser';
title: string;
subtitle?: string;
link?: IActionLink | IActionLink[];
image?: string;
icon?: string;
}
// custom title (default=Code coverage)
title?: string;
// grid with per breakpoint
// [12,6,3] means 100% width on small viewports, 50% on medium viewports and 33.3% on largeviewports
width?: number[];
// enable / disable dark mode
dark?: boolean;
// Array of actions (displayed as list)
// an action could be a link or a teaser
actions?: IActionLink[] | IActionTeaser[];
The @dash4/plugin-actions is MIT licensed
<small>0.8.5 (2020-06-05)</small>
FAQs
Create actions like form based executions or simple links
The npm package @dash4/plugin-actions receives a total of 21 weekly downloads. As such, @dash4/plugin-actions popularity was classified as not popular.
We found that @dash4/plugin-actions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.