
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@nightingale-elements/nightingale-linegraph-track
Advanced tools
Nightingale line graph track component is used to display multiple line graphs (either linear or d3 curves).
Include the componet in your HTML:
<nightingale-linegraph-track
id="track"
width="600"
length="5"
></nightingale-linegraph-track>
Set the data
in the component:
await customElements.whenDefined("nightingale-linegraph-track");
const track = document.getElementById("track");
if (track) {
(track as any).data = tinyData;
}
data: Array
The data expects the following structure.
{
name: String,
range:[min, max],
color?: Line color,
(color will be assigned if not provided. Use "none" for no line color)
fill?: Create area plot using given fill color (default "none"),
lineCurve?: 'curveLinear'(default)|'curveBasis'|'curveCardinal'|'curveStep'|'curveNatural',
(More curves - https://github.com/d3/d3-shape/blob/v2.0.0/README.md#curves)
values: [
{
position: Number,
value: Number
}
]
}
This component inherits from NightingaleElement
.
The component implements the following mixins: withManager
, withZoom
, withResizable
, withMargin
, withPosition
, withDimensions
, withHighlight
FAQs
Nightingale Line Graph
The npm package @nightingale-elements/nightingale-linegraph-track receives a total of 62 weekly downloads. As such, @nightingale-elements/nightingale-linegraph-track popularity was classified as not popular.
We found that @nightingale-elements/nightingale-linegraph-track demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.