Skip to content
Open
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
1 change: 1 addition & 0 deletions BREAKING_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## From 37.x to 38

- **`vtk-lite.js` removed.** Use `vtk.js` for script/CDN URLs and copied assets. Replace `vtk.js/vtk-lite.js` imports or requires with `vtk.js/vtk.js` or the package entry. Both files have contained the full UMD bundle since 36.
- **TypeScript declarations**: expanded coverage and corrected types may expose build errors. Remove conflicting local declaration shims and fix code rejected by the new types.
- **TypeScript libraries**: typed-array factories now declare BigInt support. Add `ES2020.BigInt` if your `lib` list does not include `ES2020` or later. Your `target` can stay unchanged.
- **Accessor types**: `setXFrom` methods and setters that return no value now declare `void`. Getter types include `null` or `undefined` where applicable.
Expand Down
6 changes: 0 additions & 6 deletions Utilities/build/vtk-plugins.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,6 @@ export function copyUmdAssetsPlugin({ umdOutputDir, projectRoot }) {
delete pkg.type;
delete pkg.types;
});

// vtk-lite.js is a deprecated alias of vtk.js; see BREAKING_CHANGES.md.
const vtkBundle = path.join(umdOutputDir, 'vtk.js');
if (fs.existsSync(vtkBundle)) {
fs.copyFileSync(vtkBundle, path.join(umdOutputDir, 'vtk-lite.js'));
}
},
};
}
Expand Down
Loading