Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
npm install --save @vx/curve
A curve is a function that can be passed into other vx objects, mainly a LinePath to change the way the line is structured.
For example, checkout the difference between a Curve.natural
:
and a Curve.step
:
The @vx/curve
package is a wrapper over d3-shape curve functions.
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.189
<Arc />
and <Pie pieValue={} />
props now check for !== undefined
. Before 0
wouldn't set the prop to 0
because if (0)
is false
. This is only a breaking change if you were passing 0
before and happy with <Arc />
treating that as undefined
and using d3.arc() defaults. #464<MyComponent
- onWheel={zoom.handleWheel}
/>
<Zoom
+ passive={true}
>
{zoom => {
return (
<MyComponent
+ onWheel={zoom.handleWheel}
/>
);
}}
</Zoom>
innerRef
propType to include PropType.object. #446<Arc />
now respects 0
as an allowed prop value. #464<Pie />
pieValue
now respects 0
as an allowed prop value. #464babel.config.js
+ jest.config.js
. #439explorer
=> ie
. #446ucandroid
. #446<Arc />
tests. #464Arc.test
from CRLF
=> LF
. #464Changes:
- @vx/annotation: 0.0.184 => 0.0.189
- @vx/axis: 0.0.184 => 0.0.189
- @vx/bounds: 0.0.182 => 0.0.189
- @vx/boxplot: 0.0.183 => 0.0.189
- @vx/brush: 0.0.182 => 0.0.189
- @vx/chord: 0.0.183 => 0.0.189
- @vx/clip-path: 0.0.183 => 0.0.189
- @vx/curve: 0.0.182 => 0.0.189
- @vx/demo: 0.0.188 => 0.0.189
- @vx/drag: 0.0.183 => 0.0.189
- @vx/event: 0.0.182 => 0.0.189
- @vx/geo: 0.0.187 => 0.0.189
- @vx/glyph: 0.0.183 => 0.0.189
- @vx/gradient: 0.0.183 => 0.0.189
- @vx/grid: 0.0.184 => 0.0.189
- @vx/group: 0.0.183 => 0.0.189
- @vx/heatmap: 0.0.183 => 0.0.189
- @vx/hierarchy: 0.0.183 => 0.0.189
- @vx/legend: 0.0.183 => 0.0.189
- @vx/marker: 0.0.184 => 0.0.189
- @vx/mock-data: 0.0.185 => 0.0.189
- @vx/network: 0.0.183 => 0.0.189
- @vx/pattern: 0.0.183 => 0.0.189
- @vx/point: 0.0.182 => 0.0.189
- @vx/responsive: 0.0.188 => 0.0.189
- @vx/scale: 0.0.182 => 0.0.189
- @vx/shape: 0.0.184 => 0.0.189
- @vx/stats: 0.0.183 => 0.0.189
- @vx/text: 0.0.183 => 0.0.189
- @vx/threshold: 0.0.184 => 0.0.189
- @vx/tooltip: 0.0.184 => 0.0.189
- @vx/voronoi: 0.0.183 => 0.0.189
- @vx/vx: 0.0.188 => 0.0.189
- @vx/zoom: 0.0.185 => 0.0.189
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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
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.