Socket
Socket
Sign inDemoInstall

@visx/axis

Package Overview
Dependencies
49
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.9.0 to 3.10.1

2

esm/axis/AxisRenderer.js

@@ -31,3 +31,2 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

scale = _ref.scale,
shapeRendering = _ref.shapeRendering,
_ref$stroke = _ref.stroke,

@@ -78,3 +77,2 @@ stroke = _ref$stroke === void 0 ? '#222' : _ref$stroke,

to: axisToPoint,
shapeRendering: shapeRendering,
stroke: stroke,

@@ -81,0 +79,0 @@ strokeWidth: strokeWidth,

2

lib/axis/AxisRenderer.d.ts
/// <reference types="react" />
import { AxisRendererProps, AxisScale } from '../types';
export default function AxisRenderer<Scale extends AxisScale>({ axisFromPoint, axisLineClassName, axisToPoint, hideAxisLine, hideTicks, horizontal, label, labelClassName, labelOffset, labelProps, orientation, scale, shapeRendering, stroke, strokeDasharray, strokeWidth, tickClassName, tickComponent, tickLineProps, tickLabelProps, tickLength, tickStroke, tickTransform, ticks, ticksComponent, }: AxisRendererProps<Scale>): JSX.Element;
export default function AxisRenderer<Scale extends AxisScale>({ axisFromPoint, axisLineClassName, axisToPoint, hideAxisLine, hideTicks, horizontal, label, labelClassName, labelOffset, labelProps, orientation, scale, stroke, strokeDasharray, strokeWidth, tickClassName, tickComponent, tickLineProps, tickLabelProps, tickLength, tickStroke, tickTransform, ticks, ticksComponent, }: AxisRendererProps<Scale>): JSX.Element;
//# sourceMappingURL=AxisRenderer.d.ts.map

@@ -36,3 +36,2 @@ "use strict";

scale = _ref.scale,
shapeRendering = _ref.shapeRendering,
_ref$stroke = _ref.stroke,

@@ -83,3 +82,2 @@ stroke = _ref$stroke === void 0 ? '#222' : _ref$stroke,

to: axisToPoint,
shapeRendering: shapeRendering,
stroke: stroke,

@@ -86,0 +84,0 @@ strokeWidth: strokeWidth,

@@ -52,4 +52,2 @@ import { D3Scale, NumberLike, ScaleInput, ValueOf } from '@visx/scale';

};
/** Shape rendering for the lines. */
shapeRendering?: SVGProps<SVGLineElement>['shapeRendering'];
/** The color for the stroke of the lines. */

@@ -56,0 +54,0 @@ stroke?: string;

{
"name": "@visx/axis",
"version": "3.9.0",
"version": "3.10.1",
"description": "visx axis",

@@ -46,3 +46,3 @@ "sideEffects": false,

},
"gitHead": "67c496d1d0cc83bcd1b7f2ae40dbf69bbabb8516"
"gitHead": "65487169906622eeaf9e309060d53b922fe6c26c"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc