New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@easyv/charts

Package Overview
Dependencies
Maintainers
8
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easyv/charts - npm Package Compare versions

Comparing version 1.0.29 to 1.0.30

10

lib/components/PieChart.js

@@ -28,4 +28,2 @@ "use strict";

var _utils2 = require("@easyv/utils");
var _d3v = require("d3v6");

@@ -155,4 +153,3 @@

var legendFormatter = function legendFormatter(_ref3, _ref4) {
var type = _ref3.type,
displayName = _ref3.displayName,
var displayName = _ref3.displayName,
value = _ref3.value,

@@ -185,7 +182,6 @@ percent = _ref3.percent,

pure = seriesColor.pure,
stops = seriesColor.linear.stops; // const _icon = getIcon(type, { background: getColor(seriesColor) });
stops = seriesColor.linear.stops;
var _color = seriesColorType == 'pure' ? pure : stops[0].color;
console.log(icon);
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("span", {

@@ -215,3 +211,3 @@ style: icon

paddingLeft: percentGap,
color: percentSameColor ? _color : valueFont.color
color: percentSameColor ? _color : percentFont.color
})

@@ -218,0 +214,0 @@ }, percent + '%')));

{
"name": "@easyv/charts",
"version": "1.0.29",
"version": "1.0.30",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -18,3 +18,2 @@ /**

getFontStyle,
getIcon,
sortPie,

@@ -24,3 +23,2 @@ getDataWithPercent,

} from '../utils';
import { getColor } from '@easyv/utils';
import { pie, arc, extent, scaleLinear } from 'd3v6';

@@ -199,3 +197,3 @@ import { animate, linear } from 'popmotion';

paddingLeft: percentGap,
color: percentSameColor ? _color : valueFont.color,
color: percentSameColor ? _color : percentFont.color,
}}

@@ -202,0 +200,0 @@ >

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc