Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@o-rango/o-alert
Advanced tools
Provides feedback messages for user actions with alert messages.
First, npm install within the project or use it directly from CDN:
npm install @o-rango/o-alert --save
or
<script src="./node_modules/@o-rango/o-alert/dist/o-alert.js"></script>
// OR
<script src="https://unpkg.com/@o-rango/o-alert/dist/o-alert.js"></script>
Default Alert
// Default Alert
<o-alert align="center" type="default">This is an default alert banner !!!!</o-alert>
// Success Alert aligned left
<o-alert align="left" type="success">This is an success alert banner</o-alert>
// Alert using slots
<o-alert type="error" align="center">
<div slot="start"> Start</div>
This is an error alert banner
<div slot="end">X</div>
</o-alert>
Alert with Line
// Success Alert aligned left
<o-alert line align="left" type="success">This is an success alert banner</o-alert>
// Alert using slots
<o-alert line type="error" align="center">
<div slot="start"> Start</div>
This is an error alert banner
<div slot="end">X</div>
</o-alert>
Properties
//o-content-alert
@Prop() name?: string;
@Prop() align: string = 'center' // left,right,center ;
@Prop() type: string = 'default' //default, error, warning , info , success;
@Prop() line: boolean= false;
/* Generic Colors variables*/
--o-alert-default: #FAFBFC;
--o-alert-error : #DE350B;
--o-alert-warning:#FFC400;
--o-alert-info: #0065FF;
--o-alert-success:#36B37E;
/* Size Style variables & Font Style variables */
--o-alert-height : 3.5em;
--o-alert-font-size :14px;
--o-alert-font-weight : 600;
--o-alert-font-family : 'San Francisco', -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', 'Helvetica Neue', Helvetica, sans-serif;
--o-alert-font-color-light : #FFFFFF;
--o-alert-font-color-dark : #091E42;
FAQs
@o-rango/o-alert
We found that @o-rango/o-alert 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.