Releases: visjs/vis-dev-utils
Releases · visjs/vis-dev-utils
v5.0.2
v5.0.1
v5.0.0
5.0.0 (2025-07-12)
- feat(babel-register)!: remove (ec53436)
- feat(generate-rollup-configuration)!: generate and validate for hybrid ESM+CJS (bf687c0)
- feat(inspect-npm-pack)!: use JSON as npm output and in snapshots (4307788)
- feat(package)!: remove lib from exports (2fbe0ea)
- feat(test-e2e-interop)!: migrate to top level awaits (dde06c0)
- perf(babel-preset)!: remove 7 years dead CSS plugin (4bdf2ad)
Bug Fixes
- bin: issues with cmds after migrating to hybrid ESM+CJS pkg (b84e676)
- build: generate UMD and ESM build of esnext (4b4dfc0)
- build: incorporate babel-preset into the new pkg exports (f86ca2b)
- deps: update cheerio (70465bc)
- deps: update find-up (fcca4d3)
- deps: update globby (704e227)
- deps: update rollup-plugin-node-externals to 8.0.1 (dc9586f)
- deps: various updates (3e59792)
- deps: various updates (89c2f18)
- generate-rollup-configuration: add missing node URL import (7cf7df4)
- generate-rollup-configuration: improve exports assertions (7cb02a3)
- generate-rollup-configuration: promises are fulfilled not resolved (3e1a4a0)
- inspect-npm-pack: skip package scripts when inspecting npm pack (286e1cf)
- module: stop freezing Babel ignore RE (2e6099a)
- types: types path in package.json (0feb688)
Features
- babel-register: remove support for CSS (4d58dd4)
- deps: update all except for ESLint 9 (5984d2b)
- deps: update TypeScript (081e591)
- generate-rollup-configuration: replace TS plugin by better maintained first party (cc2d2a9)
- package: modernize to hybrid ESM+CJS (ad8549f)
Performance Improvements
- build: externalize fs-extra as a dependency (0a01ae6)
- build: handle HTML and CSS as text via esbuild (6a0e7c4)
- build: remove commonjs plugin (f92e7af)
- test-e2e-interop: disable Husky (21b2dab)
BREAKING CHANGES
- Preconfigured Babel register is no longer provided.
- The vis-dev-tuils/lib/** exports are no longer relased.
We are not using any of that.
- babel-register: It's no longer possible to import CSS into tests with
vis-dev-utils/babel-register.
This is used for tests and they run in Node without CSS support. The
style imports were ignored anyway. Not importing CSS into tests in the
first place will make things easier, especially transition to ESM where
this require won't work.
- This requires newer version of node than before.
- Pure CJS pkgs are no longer possible.
- When importing CSS, it will no longer be possible to
get objects mapping class names to style in JS.
I didn't find anything that would break because of this. If it was used
somewhere, I'll have to change to some other package anyway because this
one has seen no releases in the past 7 years.
- The old half JSON, half text snapshots will no longer
match, they'll have to be converted.