w-highcharts 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,12 +9,12 @@ jobs:
9
9
 
10
10
  strategy:
11
11
  matrix:
12
- node-version: [20.x]
12
+ node-version: [24.x]
13
13
 
14
14
  steps:
15
- - uses: actions/checkout@v2
15
+ - uses: actions/checkout@v4
16
16
  - name: Use Node.js ${{ matrix.node-version }}
17
- uses: actions/setup-node@v1
17
+ uses: actions/setup-node@v4
18
18
  with:
19
19
  node-version: ${{ matrix.node-version }}
20
20
  - run: npm cache clean -f
package/README.md CHANGED
@@ -4,7 +4,6 @@ A package for highcharts.
4
4
  ![language](https://img.shields.io/badge/language-JavaScript-orange.svg)
5
5
  [![npm version](http://img.shields.io/npm/v/w-highcharts.svg?style=flat)](https://npmjs.org/package/w-highcharts)
6
6
  [![license](https://img.shields.io/npm/l/w-highcharts.svg?style=flat)](https://npmjs.org/package/w-highcharts)
7
- [![gzip file size](http://img.badgesize.io/yuda-lyu/w-highcharts/master/dist/w-highcharts.umd.js.svg?compression=gzip)](https://github.com/yuda-lyu/w-highcharts)
8
7
  [![npm download](https://img.shields.io/npm/dt/w-highcharts.svg)](https://npmjs.org/package/w-highcharts)
9
8
  [![npm download](https://img.shields.io/npm/dm/w-highcharts.svg)](https://npmjs.org/package/w-highcharts)
10
9
  [![jsdelivr download](https://img.shields.io/jsdelivr/npm/hm/w-highcharts.svg)](https://www.jsdelivr.com/package/npm/w-highcharts)
@@ -13,17 +12,16 @@ A package for highcharts.
13
12
  To view documentation or get support, visit [docs](https://yuda-lyu.github.io/w-highcharts/w-highcharts.html).
14
13
 
15
14
  ## Installation
15
+
16
16
  ### Using npm(ES6 module):
17
- > **Note:** w-highcharts is mainly dependent on `lodash-es` and `wsemi`.
18
17
  ```alias
19
18
  npm i w-highcharts
20
19
  ```
21
20
 
22
21
  ### In a browser(UMD module):
23
- > **Note:** w-highcharts is mainly dependent on `highcharts`.
24
22
 
25
23
  Add script for w-highcharts.
26
24
  ```alias
27
- <script src="https://cdn.jsdelivr.net/npm/w-highcharts@1.0.4/dist/w-highcharts.umd.js"></script>
28
-
25
+ <script src="https://cdn.jsdelivr.net/npm/highcharts@11/highcharts.min.js"></script>
26
+ <script src="https://cdn.jsdelivr.net/npm/w-highcharts@1.0.6/dist/w-highcharts.umd.js"></script>
29
27
  ```
package/babel.config.js CHANGED
@@ -7,9 +7,10 @@ module.exports = {
7
7
  ],
8
8
  'plugins': [
9
9
  '@babel/plugin-transform-runtime',
10
- '@babel/plugin-syntax-import-assertions',
11
10
  '@babel/plugin-proposal-export-default-from',
12
- '@babel/plugin-proposal-nullish-coalescing-operator',
13
- '@babel/plugin-proposal-optional-chaining'
11
+ // '@babel/plugin-syntax-import-assertions', //已被棄用
12
+ // '@babel/plugin-proposal-nullish-coalescing-operator', //browser與nodejs已支援
13
+ // '@babel/plugin-proposal-object-rest-spread', //browser與nodejs已支援
14
+ // '@babel/plugin-proposal-optional-chaining', //browser與nodejs已支援
14
15
  ]
15
16
  }