Security News
RubyGems.org Adds New Maintainer Role
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.
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.165
dist/vx-{name}.{umd,es}.js
filesmodule
field to package.json
that points to dist/vx-{name}.es.js
for bundlers that support it (webpack, rollup, etc)main
field points to dist/vx-{name}.umd.js
react-fatigue-dev
+ Makefile build (means you can build on windows now)"android": 30, "chrome": 35, "edge": 14, "explorer": 9, "firefox": 52, "safari": 8, "ucandroid": 1
(matching airbnb-babel-preset)build/
with cjs
babel build files for deep paths (no breaking changes 🤞)Changes:
- @vx/annotation: 0.0.165-beta.1 => 0.0.165
- @vx/axis: 0.0.165-beta.1 => 0.0.165
- @vx/bounds: 0.0.165-beta.1 => 0.0.165
- @vx/boxplot: 0.0.165-beta.1 => 0.0.165
- @vx/brush: 0.0.165-beta.1 => 0.0.165
- @vx/clip-path: 0.0.165-beta.1 => 0.0.165
- @vx/curve: 0.0.165-beta.1 => 0.0.165
- @vx/demo: 0.0.165-beta.1 => 0.0.165
- @vx/drag: 0.0.165-beta.1 => 0.0.165
- @vx/event: 0.0.165-beta.1 => 0.0.165
- @vx/geo: 0.0.165-beta.1 => 0.0.165
- @vx/glyph: 0.0.165-beta.1 => 0.0.165
- @vx/gradient: 0.0.165-beta.1 => 0.0.165
- @vx/grid: 0.0.165-beta.1 => 0.0.165
- @vx/group: 0.0.165-beta.1 => 0.0.165
- @vx/heatmap: 0.0.165-beta.1 => 0.0.165
- @vx/hierarchy: 0.0.165-beta.1 => 0.0.165
- @vx/legend: 0.0.165-beta.1 => 0.0.165
- @vx/marker: 0.0.165-beta.1 => 0.0.165
- @vx/mock-data: 0.0.165-beta.1 => 0.0.165
- @vx/network: 0.0.165-beta.1 => 0.0.165
- @vx/pattern: 0.0.165-beta.1 => 0.0.165
- @vx/point: 0.0.165-beta.1 => 0.0.165
- @vx/responsive: 0.0.165-beta.1 => 0.0.165
- @vx/scale: 0.0.165-beta.1 => 0.0.165
- @vx/shape: 0.0.165-beta.1 => 0.0.165
- @vx/stats: 0.0.165-beta.1 => 0.0.165
- @vx/text: 0.0.165-beta.1 => 0.0.165
- @vx/threshold: 0.0.165-beta.1 => 0.0.165
- @vx/tooltip: 0.0.165-beta.1 => 0.0.165
- @vx/voronoi: 0.0.165-beta.1 => 0.0.165
- @vx/vx: 0.0.165-beta.1 => 0.0.165
- @vx/zoom: 0.0.165-beta.1 => 0.0.165
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
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.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.