lowlight
3.3.0 · 14 Dec 2024MIT22.1M / weekRepositoryHomepagenpmAtom feed
3.3.0 is the newest release of 3.x.
In short
1 breaking4 changed
- Breaking
Change to require Node.js 16 migrate: update too
Release note
Change
- Breaking
Change to require Node.js 16
migrate: update too Change to use
exports
migrate: don’t use private APIsChange 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.Rename
registerLanguagetoregister
migrate: renameregisterLanguagetoregisterRemove use of global highlight instance
migrate: make sure to register languages you want with lowlight
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.