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.
flowing-liquid
Advanced tools
A component for building flowing chart.
# yarn
yarn add flowing-liquid
# npm
npm i flowing-liquid --save
Notice: Only el
option is required.
import FlowingLiquid from 'flowing-liquid'
const flowingLiquid = new FlowingLiquid({
el: '#chart', // canvas element, required
canvasWidth: 300, // canvas element width
canvasHeight: 300, // canvas element height
waterline: 60, // target waterline
flowingBody: [
{
waveWidth: 0.055, // wave width
waveHeight: 4, // wave height
colors: ['#F39C6B', '#A0563B'], // a css color Array or css color String
xOffset: 0, // start point offset, based on y-axis
speed: 0.08 // flowing speed
},
{
waveWidth: 0.04,
waveHeight: 7,
colors: ['rgba(243, 156, 107, 0.48)', 'rgba(160, 86, 59, 0.48)'],
xOffset: 2,
speed: 0.02
}
],
// set canvas background color
background: {
color: 'dodgerblue',
style: 'fill'
},,
// indicator text, default value is parameter waterline
font: {
bold: true,
color: '',
size: 50,
family: 'Microsoft Yahei',
text: ''
}
})
// 1st parameter means multiple waves spacing
// 2nd parameter means if canvas element show indicator text
flowingLiquid.render(5, true)
FAQs
A component for building flowing chart
We found that flowing-liquid 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.