Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jiaminghi/charts

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jiaminghi/charts - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# 0.2.7-alpha (2019-09-03)
### Perfect
- **axis:** Optimize irregular syntax.
# 0.2.6-alpha (2019-09-03)

@@ -2,0 +8,0 @@

4

lib/core/axis.js

@@ -240,7 +240,7 @@ "use strict";

var data = _ref9.data;
return min.apply(void 0, (0, _toConsumableArray2["default"])((0, _util.filterNonNumber)(data)));
return Math.min.apply(Math, (0, _toConsumableArray2["default"])((0, _util.filterNonNumber)(data)));
})));
var maxValue = Math.max.apply(Math, (0, _toConsumableArray2["default"])(series.map(function (_ref10) {
var data = _ref10.data;
return max.apply(void 0, (0, _toConsumableArray2["default"])((0, _util.filterNonNumber)(data)));
return Math.max.apply(Math, (0, _toConsumableArray2["default"])((0, _util.filterNonNumber)(data)));
})));

@@ -247,0 +247,0 @@ return [minValue, maxValue];

{
"name": "@jiaminghi/charts",
"version": "0.2.6",
"version": "0.2.7",
"author": "JiaMing <743192023@qq.com>",

@@ -5,0 +5,0 @@ "description": "Lightweight charting",

@@ -200,3 +200,3 @@ import { doUpdate } from '../class/updater.class'

...series
.map(({ data }) => min(...filterNonNumber(data)))
.map(({ data }) => Math.min(...filterNonNumber(data)))
)

@@ -206,3 +206,3 @@

...series
.map(({ data }) => max(...filterNonNumber(data)))
.map(({ data }) => Math.max(...filterNonNumber(data)))
)

@@ -209,0 +209,0 @@

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

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

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