lowlight
3.3.0 · 14 Dec 2024MIT22.1M / weekRepositoryHomepagenpmAtom feed
Upgrading lowlight From 2.9.0 to 3.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Other targets from 2.9.0Latest3.3.0
- 1
- change to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking3.0.0
4 other lines we could not sort, mostly version bumps
- 3.0.0
Change to use
exportsmigrate: don’t use private APIs - 3.0.0
Change API to allow different instances migrate: now,
createLowlight,all, andcommonare exported; docreateLowlight()to create a lowlight with nothing yet,createLowlight(common)for one with common languages, etc. - 3.0.0
Rename
registerLanguagetoregistermigrate: renameregisterLanguagetoregister - 3.0.0
Remove use of global highlight instance
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.