Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
npm install --save @vx/curve
The @vx/curve
package is a wrapper of the d3-shape curve
functions. A curve
is a function that can be passed into other vx
objects that draw lines or
paths, such as a LinePath
, to change the way the line between points is drawn. Click on the
example below for an interactive way to explore curve aesthetics.
Any function with the prefix curve
in d3
can be used through vx
like so:
import { curveCatmullRomOpen } from '@vx/curve';
let line = (<Shape.LinePath curve={curveCatmullRomOpen} />)
// or if you want namespace all Curves under the `Curve`
import * as Curve from `@vx/curve`;
let line = (<Shape.LinePath curve={Curve.curveCatmullRomOpen} />)
vx | d3 |
---|---|
curveBasis | curveBasis |
curveBasisClose | curveBasisClosed |
curveBasisOpen | curveBasisOpen |
curveStep | curveStep |
curveStepAfter | curveStepAfter |
curveStepBefore | curveStepbefore |
curveBundle | curveBundle |
curveLinear | curveLinear |
curveLinearClosed | curveLinearClosed |
curveMonotoneX | curveMonotoneX |
curveMonotoneY | curveMonotoneY |
curveCardinal | curveCardinal |
curveCardinalClosed | curveCardinalClosed |
curveCardinalOpen | curveCardinalOpen |
curveCatmullRom | curveCatmullRom |
curveCatmullRomClosed | curveCatmullRomClosed |
curveCatmullRomOpen | curveCatmullRomOpen |
curveNatural | curveNatural |
v0.0.198
offsetLeft/Top
to TooltipProps
, making TooltipProps === TooltipWithBoundsProps
, adds additional 10px
of padding to Tooltip
left/top
#756Changes:
- @vx/annotation: 0.0.197 => 0.0.198
- @vx/axis: 0.0.197 => 0.0.198
- @vx/bounds: 0.0.197 => 0.0.198
- @vx/brush: 0.0.197 => 0.0.198
- @vx/chord: 0.0.197 => 0.0.198
- @vx/clip-path: 0.0.197 => 0.0.198
- @vx/curve: 0.0.197 => 0.0.198
- @vx/demo: 0.0.197 => 0.0.198
- @vx/drag: 0.0.197 => 0.0.198
- @vx/event: 0.0.197 => 0.0.198
- @vx/geo: 0.0.197 => 0.0.198
- @vx/glyph: 0.0.197 => 0.0.198
- @vx/gradient: 0.0.197 => 0.0.198
- @vx/grid: 0.0.197 => 0.0.198
- @vx/group: 0.0.197 => 0.0.198
- @vx/heatmap: 0.0.197 => 0.0.198
- @vx/hierarchy: 0.0.197 => 0.0.198
- @vx/legend: 0.0.197 => 0.0.198
- @vx/marker: 0.0.197 => 0.0.198
- @vx/mock-data: 0.0.197 => 0.0.198
- @vx/network: 0.0.197 => 0.0.198
- @vx/pattern: 0.0.197 => 0.0.198
- @vx/point: 0.0.197 => 0.0.198
- @vx/responsive: 0.0.197 => 0.0.198
- @vx/scale: 0.0.197 => 0.0.198
- @vx/shape: 0.0.197 => 0.0.198
- @vx/stats: 0.0.197 => 0.0.198
- @vx/text: 0.0.197 => 0.0.198
- @vx/threshold: 0.0.197 => 0.0.198
- @vx/tooltip: 0.0.197 => 0.0.198
- @vx/voronoi: 0.0.197 => 0.0.198
- @vx/vx: 0.0.197 => 0.0.198
- @vx/zoom: 0.0.197 => 0.0.198
FAQs
vx curve
The npm package @vx/curve receives a total of 17,988 weekly downloads. As such, @vx/curve popularity was classified as popular.
We found that @vx/curve demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.