Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ Notable changes to `@bwin/sankey-plus`. Versions follow semantic versioning. See
- Non-throwing `validateGraph(graph: unknown)` preflight that returns all semantic `SankeyIssue` values for structurally well-shaped graphs and `invalid-graph` for malformed top-level or nested entries, without weakening the component's throw-on-invalid rendering behavior.
- Validation demo tab with valid, cycle, unknown-endpoint and total-too-small variants, showing returned issue codes, messages and affected keys.

### Changed

- Mark the package as side-effect-free except for its stylesheet, so bundlers can skip the single runtime bundle when none of its exports are used. The stylesheet remains an explicit import.
- Declare Node.js 20.19 or later in `engines`.

### Fixed

- Edge-node placement validation no longer spreads large stage arrays, so graphs with very many incident links validate without a `RangeError`.
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"license": "MIT",
"author": "Benjamin Winkler | bwin",
"type": "module",
"engines": {
"node": ">=20.19.0"
},
"sideEffects": [
"*.css"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
Expand Down
Loading