w-cluster 1.0.4 → 1.0.8

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.
@@ -0,0 +1,24 @@
1
+ name: Node.js CI
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ build:
7
+
8
+ runs-on: ubuntu-latest
9
+
10
+ strategy:
11
+ matrix:
12
+ node-version: [16.x]
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Use Node.js ${{ matrix.node-version }}
17
+ uses: actions/setup-node@v1
18
+ with:
19
+ node-version: ${{ matrix.node-version }}
20
+ - run: npm cache clean -f
21
+ - run: npm install
22
+ - run: npm test
23
+ env:
24
+ CI: true
package/README.md CHANGED
@@ -3,7 +3,6 @@ A tool for data PCA(Principle Component Analysis) and cluster(K-Means & K-Medoid
3
3
 
4
4
  ![language](https://img.shields.io/badge/language-JavaScript-orange.svg)
5
5
  [![npm version](http://img.shields.io/npm/v/w-cluster.svg?style=flat)](https://npmjs.org/package/w-cluster)
6
- [![Build Status](https://travis-ci.org/yuda-lyu/w-cluster.svg?branch=master)](https://travis-ci.org/yuda-lyu/w-cluster)
7
6
  [![license](https://img.shields.io/npm/l/w-cluster.svg?style=flat)](https://npmjs.org/package/w-cluster)
8
7
  [![gzip file size](http://img.badgesize.io/yuda-lyu/w-cluster/master/dist/w-cluster.umd.js.svg?compression=gzip)](https://github.com/yuda-lyu/w-cluster)
9
8
  [![npm download](https://img.shields.io/npm/dt/w-cluster.svg)](https://npmjs.org/package/w-cluster)
@@ -164,10 +163,10 @@ testCluster()
164
163
  ```alias
165
164
 
166
165
  <!-- for basic -->
167
- <script src="https://cdn.jsdelivr.net/npm/w-cluster@1.0.4/dist/w-cluster.umd.js"></script>
166
+ <script src="https://cdn.jsdelivr.net/npm/w-cluster@1.0.8/dist/w-cluster.umd.js"></script>
168
167
 
169
168
  <!-- for web workers -->
170
- <script src="https://cdn.jsdelivr.net/npm/w-cluster@1.0.4/dist/w-cluster.wk.umd.js"></script>
169
+ <script src="https://cdn.jsdelivr.net/npm/w-cluster@1.0.8/dist/w-cluster.wk.umd.js"></script>
171
170
 
172
171
  ```
173
172
 
package/SECURITY.md ADDED
@@ -0,0 +1,5 @@
1
+ # Security Policy
2
+
3
+ ## Reporting a Vulnerability
4
+
5
+ Please report security issues to `firsemisphere@gmail.com`