chartjs-chart-sankey 0.15.0 → 0.15.1

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.
package/README.md CHANGED
@@ -2,13 +2,12 @@
2
2
 
3
3
  [Chart.js](https://www.chartjs.org/) **^3.3** module for creating sankey diagrams
4
4
 
5
- ![CI](https://github.com/kurkle/chartjs-chart-sankey/workflows/CI/badge.svg)
5
+ [![npm](https://img.shields.io/npm/v/chartjs-chart-sankey.svg)](https://www.npmjs.com/package/chartjs-chart-sankey)
6
+ [![release](https://img.shields.io/github/release/kurkle/chartjs-chart-sankey.svg?style=flat-square)](https://github.com/kurkle/chartjs-chart-sankey/releases/latest)
7
+ ![npm bundle size](https://img.shields.io/bundlephobia/min/chartjs-chart-sankey.svg)
6
8
  [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=kurkle_chartjs-chart-sankey&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=kurkle_chartjs-chart-sankey)
7
9
  [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=kurkle_chartjs-chart-sankey&metric=coverage)](https://sonarcloud.io/summary/new_code?id=kurkle_chartjs-chart-sankey)
8
- [![npm](https://img.shields.io/npm/v/chartjs-chart-sankey.svg)](https://www.npmjs.com/package/chartjs-chart-sankey)
9
- [![pre-release](https://img.shields.io/github/v/release/kurkle/chartjs-chart-sankey?include_prereleases&style=flat-square)](https://github.com/kurkle/chartjs-chart-sankey/releases/latest)
10
10
  [![documentation](https://img.shields.io/static/v1?message=Documentation&color=informational)](https://chartjs-chart-sankey.pages.dev)
11
- ![npm bundle size](https://img.shields.io/bundlephobia/min/chartjs-chart-sankey.svg)
12
11
  ![GitHub](https://img.shields.io/github/license/kurkle/chartjs-chart-sankey.svg)
13
12
 
14
13
  ## Browser support
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * chartjs-chart-sankey v0.15.0
2
+ * chartjs-chart-sankey v0.15.1
3
3
  * https://chartjs-chart-sankey.pages.dev/
4
4
  * (c) 2026 Jukka Kurkela
5
5
  * Released under the MIT license
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * chartjs-chart-sankey v0.15.0
2
+ * chartjs-chart-sankey v0.15.1
3
3
  * https://chartjs-chart-sankey.pages.dev/
4
4
  * (c) 2026 Jukka Kurkela
5
5
  * Released under the MIT license
6
6
  */
7
7
  import { DatasetController, Chart, Element } from 'chart.js';
8
- import { toFont, valueOrDefault, getHoverColor, color } from 'chart.js/helpers';
8
+ import { toFont, valueOrDefault, color, getHoverColor } from 'chart.js/helpers';
9
9
 
10
10
  const defined = (x)=>x !== undefined;
11
11
  function toTextLines(raw) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * chartjs-chart-sankey v0.15.0
2
+ * chartjs-chart-sankey v0.15.1
3
3
  * https://chartjs-chart-sankey.pages.dev/
4
4
  * (c) 2026 Jukka Kurkela
5
5
  * Released under the MIT license
package/package.json CHANGED
@@ -6,8 +6,8 @@
6
6
  "description": "Chart.js module for creating sankey diagrams",
7
7
  "devDependencies": {
8
8
  "@astrojs/check": "^0.9.9",
9
- "@astrojs/mdx": "^7.0.2",
10
- "@astrojs/starlight": "^0.41.3",
9
+ "@astrojs/mdx": "^8.0.0",
10
+ "@astrojs/starlight": "^0.42.0",
11
11
  "@biomejs/biome": "^2.4.14",
12
12
  "@emnapi/core": "^1.11.2",
13
13
  "@emnapi/runtime": "^1.11.2",
@@ -22,12 +22,12 @@
22
22
  "@types/jasmine": "^6.0.0",
23
23
  "@types/node": "^26.1.0",
24
24
  "astro": "^7.0.6",
25
- "c8": "^11.0.0",
25
+ "c8": "^12.0.0",
26
26
  "chart.js": "^4.4.5",
27
27
  "chartjs-test-utils": "^0.5.0",
28
28
  "cross-env": "^10.1.0",
29
29
  "globals": "^17.0.0",
30
- "jasmine": "^6.2.0",
30
+ "jasmine": "^7.0.0",
31
31
  "karma": "^6.3.2",
32
32
  "karma-chrome-launcher": "^3.1.0",
33
33
  "karma-coverage": "^2.0.3",
@@ -94,8 +94,12 @@
94
94
  "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json && tsc -p tsconfig.json --emitDeclarationOnly && tsc --noEmit -p test/types/",
95
95
  "typecheck:docs": "astro check"
96
96
  },
97
+ "sideEffects": [
98
+ "dist/chartjs-chart-sankey.cjs",
99
+ "dist/chartjs-chart-sankey.min.js"
100
+ ],
97
101
  "type": "module",
98
102
  "types": "dist/index.esm.d.ts",
99
103
  "unpkg": "dist/chartjs-chart-sankey.min.js",
100
- "version": "0.15.0"
104
+ "version": "0.15.1"
101
105
  }