
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
chartjs-plugin-roughness
Advanced tools
import 'chartjs-plugin-roughness'
new Chart(..., {
...,
plugins: {
roughness: {
disabled: true // enable by default if imported chartjs-plugin-roughness
// more rough options
}
}
})
@napi-rs/canvas
is supported for SSR, see demo.
See rough options for more options.
chart.js
.BarElement.draw
method if roughness was enabled.Filler
hooks for clearing stroke colors to prevent area border.beginPath
, closePath
, fill
, stroke
, moveTo
, lineTo
, arcTo
,
arc
, quadraticCurveTo
, rect
, ellipse
, bezierCurveTo
while roughness chart rendering. ellipse
was not
implemented by roughjs
, you should provide your own polyfill if you want this feature.window.Path2D
class and should act same as original.TooltupPlugin
class to skip drawing tooltip background using roughness.
Set tooltip plugin option preventSkipBackgroundRoughness
to true
to prevent it.FAQs
Make your chart.js roughness
The npm package chartjs-plugin-roughness receives a total of 8 weekly downloads. As such, chartjs-plugin-roughness popularity was classified as not popular.
We found that chartjs-plugin-roughness 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.