Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@redsift/d3-rs-tip
Advanced tools
d3-rs-tip
is a component for adding tooltips in charts made with D3, an extension of Justin Palmer's d3-tip. This component is dependent on D3 v4 (Alpha).
UMD from //static.redsift.io/reusable/d3-rs-tip/latest/d3-rs-tip.umd-es2015.min.js
import { body as tip } from "@redsift/d3-rs-tip";
var rtip = tip()
.html(d => d.text)
elmS.call(rtip);
node.on('mouseover', rtip.show)
.on('mouseout', rtip.hide)
...
If using rollup.js for a browser target, ensure d3-rs-tip
is part of the global map.
var d3Tip = require("@redsift/d3-rs-tip");
var eml = d3Tip.body();
...
Name | Description | Expected Value |
---|---|---|
attr | Sets or gets attribute value | same as d3 e.g. attr('key',`value |
style | Sets or gets a style value | same as d3 e.g. style('key',`value |
direction | Sets or gets direction of the tooltip | one of n ,s ,e ,w ,nw ,sw ,ne ,se |
style | Sets or gets the CSS wrapped with the component | string of CSS properties |
parent | Sets or gets the parent element the tip will be appended to | DOM Node (default: body ) |
transition | Causes the tip to fade in `boolean | number`. If a number, the value is set at the time for the fade |
FAQs
Tip for graphs using D3v4.
The npm package @redsift/d3-rs-tip receives a total of 214 weekly downloads. As such, @redsift/d3-rs-tip popularity was classified as not popular.
We found that @redsift/d3-rs-tip demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 23 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.