Packages

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. 2.9.0yours
  2. 3.0.0target
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
  • Change to use exports migrate: don’t use private APIs

    3.0.0
  • Change API to allow different instances migrate: now, createLowlight, all, and common are exported; do createLowlight() to create a lowlight with nothing yet, createLowlight(common) for one with common languages, etc.

    3.0.0
  • Rename registerLanguage to register migrate: rename registerLanguage to register

    3.0.0
  • Remove use of global highlight instance

    3.0.0

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.