Socket
Socket
Sign inDemoInstall

recharts

Package Overview
Dependencies
42
Maintainers
3
Versions
235
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.6 to 2.1.7

11

CHANGELOG.md

@@ -0,1 +1,12 @@

## 2.1.7 (dec 14, 2021)
# fix
- Treemap do not render depth (#2718 #2719)
- Update PolarRadiusAxis.tsx (#2720)
# chore
- Update d3-interpolate, d3-scale and d3-shape (#2707)
## 2.1.6 (oct 26, 2021)

@@ -2,0 +13,0 @@

2

es6/chart/Treemap.js

@@ -692,3 +692,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

var formatRoot = squarify(root, nextProps.aspectRatio);
return _objectSpread(_objectSpread({}, defaultState), {}, {
return _objectSpread(_objectSpread({}, prevState), {}, {
formatRoot: formatRoot,

@@ -695,0 +695,0 @@ currentRoot: root,

@@ -718,3 +718,3 @@ "use strict";

var formatRoot = squarify(root, nextProps.aspectRatio);
return _objectSpread(_objectSpread({}, defaultState), {}, {
return _objectSpread(_objectSpread({}, prevState), {}, {
formatRoot: formatRoot,

@@ -721,0 +721,0 @@ currentRoot: root,

{
"name": "recharts",
"version": "2.1.6",
"version": "2.1.7",
"description": "React charts",

@@ -31,3 +31,3 @@ "main": "lib/index",

"build-types": "rimraf types && npm run tsc",
"demo": "webpack serve --config demo/webpack.config.js --port 3000 --host 127.0.0.1 --progress --profile --content-base demo/",
"demo": "webpack serve --config demo/webpack.config.js --port 3000 --host 127.0.0.1 --progress --profile --static demo/",
"test": "cross-env NODE_ENV=test karma start test/karma.conf.js",

@@ -58,9 +58,9 @@ "lint": "eslint './src/**/*.?(ts|tsx)'",

"dependencies": {
"@types/d3-scale": "^3.0.0",
"@types/d3-shape": "^2.0.0",
"@types/d3-interpolate": "^2.0.0",
"@types/d3-interpolate": "^3.0.0",
"@types/d3-scale": "^4.0.0",
"@types/d3-shape": "^3.0.0",
"classnames": "^2.2.5",
"d3-interpolate": "^2.0.0",
"d3-scale": "^3.0.0",
"d3-shape": "^2.0.0",
"d3-interpolate": "^3.0.0",
"d3-scale": "^4.0.0",
"d3-shape": "^3.0.0",
"eventemitter3": "^4.0.1",

@@ -135,8 +135,11 @@ "lodash": "^4.17.19",

"typescript": "^4.1.3",
"webpack": "^5.0.0",
"webpack": "^5.65.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^3.11.0"
"webpack-cli": "^4.9.0",
"webpack-dev-server": "^4.6.0"
},
"engines": {
"node": ">=12"
},
"license": "MIT"
}
import { PureComponent } from 'react';
import { BaseAxisProps, TickItem, PresentationAttributesAdaptChildEvent } from '../util/types';
export interface PolarRadiusAxisProps extends BaseAxisProps {
export interface PolarRadiusAxisProps extends Omit<BaseAxisProps, 'unit'> {
cx?: number;

@@ -5,0 +5,0 @@ cy?: number;

@@ -9,4 +9,2 @@ /*!

/*! Production:: $accept : expression $end */
/*! Production:: css_value : ANGLE */

@@ -150,4 +148,2 @@

/*! Rule:: \s+ */
/*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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