Packages

@shikijs/core

4.6.0 · 2 Nov 2026MIT43.6M / weekRepositoryHomepagenpmAtom feed

Upgrading @shikijs/core From 2.0.2 to 2.5.0

10 releases in betweenevery note read

Other targets from 2.0.2Latest4.6.0
  1. 2.0.2yours
  2. 2 releases
  3. 2.2.0breaking
  4. 6 releases
  5. 2.5.0target

Before you upgrade

Tick each one off as you go
  • Breaking2.2.0
  • Deprecated2.2.0

Release by release

  1. 2.5.0

    18 Feb 20253 fixes
    • Fixed

      transformers: Also remove extra newline token, fix #915

    • Fixed

      transformers: Support matching comments in comments, fix #934

    • Fixed

      transformers: Fix matching indices for word-highlight

  2. 2.4.2

    17 Feb 20252 new · 2 fixes
    • New

      Replace picocolors and chalk with ansis

    • New

      core: Expose flatTokenVariants utility, refactor utils folder

    • Fixed

      Missing types for CodeToTokensWithThemesOptions

    • Fixed

      transformers: Update utils order

  3. 2.4.1

    15 Feb 20251 new
    • New

      Expose guessEmbeddedLanguages from core

  4. 2.4.0

    15 Feb 20251 new
    • New

      shortcuts: Guess embedded language and auto load in shortcuts

  5. 2.3.2

    6 Feb 20251 new · 1 fix
    • New

      Update grammars

    • Fixed

      monaco: Handle colors in array

  6. 2.3.1

    5 Feb 20251 fix
    • Fixed

      precompiled: Fix traverse algorithm, close #917

  7. 2.3.0

    4 Feb 20251 new
    • New

      engine-js: Lazy compile extremely long patterns in precompiled grammars

  8. 2.2.0

    Migration needed30 Jan 20252 new · 2 fixes
    • Breaking

      Enable runtime warning by default, v2 release blog post

    • Deprecated

      Warn about missing deprecation

    • New

      Improve warning messages

    • New

      Allow nested decorations which share an 'edge' with parent

    • Fixed

      Mark engine required in createHighlighterCore

    • Fixed

      core: Soft require engine options

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.