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.5 to 0.2.6

6

CHANGELOG.md

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

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

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

4

lib/core/axis.js

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

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

@@ -245,0 +245,0 @@ return max.apply(void 0, (0, _toConsumableArray2["default"])((0, _util.filterNonNumber)(data)));

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

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

@@ -48,1 +48,15 @@ [中文](./README.md)

Detailed documents and examples can be viewed on the [HomePage](http://charts.jiaminghi.com).
### Quick experience
```html
<!--Resources are located on personal servers for experience and testing only, do not use in production environments-->
<!--Debug version-->
<script src="http://lib.jiaminghi.com/charts/charts.map.js"></script>
<!--Compression version-->
<script src="http://lib.jiaminghi.com/charts/charts.min.js"></script>
<script>
const Charts = window.Charts.default
// do something
</script>
```

@@ -48,1 +48,15 @@ [ENGLISH](./README_EN.md)

详细文档及示例请移步[HomePage](http://charts.jiaminghi.com).
### 快速体验
```html
<!--资源位于个人服务器仅供体验和测试,请勿在生产环境使用-->
<!--调试版-->
<script src="http://lib.jiaminghi.com/charts/charts.map.js"></script>
<!--压缩版-->
<script src="http://lib.jiaminghi.com/charts/charts.min.js"></script>
<script>
const Charts = window.Charts.default
// do something
</script>
```

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

const minValue = min(
const minValue = Math.min(
...series

@@ -204,3 +204,3 @@ .map(({ data }) => min(...filterNonNumber(data)))

const maxValue = max(
const maxValue = Math.max(
...series

@@ -207,0 +207,0 @@ .map(({ data }) => max(...filterNonNumber(data)))

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