Packages

@shikijs/transformers

4.6.0 · 2 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed

Your version

139 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 2.x
  2. 2.4.1

    15 Feb 2025
    • Expose guessEmbeddedLanguages from core

  3. 2.4.0

    15 Feb 2025
    • shortcuts: Guess embedded language and auto load in shortcuts

  4. 2.3.2

    6 Feb 2025
    • Update grammars

    • monaco: Handle colors in array

  5. 2.3.1

    5 Feb 2025
    • precompiled: Fix traverse algorithm, close #917

  6. 2.3.0

    4 Feb 2025
    • engine-js: Lazy compile extremely long patterns in precompiled grammars

  7. 2.2.0

    30 Jan 2025
    • Breaking

      Enable runtime warning by default, v2 release blog post

    • Deprecated

      Warn about missing deprecation

    • Improve warning messages

  8. 2.1.0

    22 Jan 2025
    • engine-js: Update deps, support more languages

    • markdown-it: Support markdown-it-async integration

  9. 2.0.3

    20 Jan 2025
    • core: Soft require engine options

  10. 2.0.2

    20 Jan 2025
    • Mark engine required in createHighlighterCore

  11. 2.0.1

    20 Jan 2025
    • Deprecated

      Warn about missing deprecation

    • Improve warning messages

    • colorized-brackets: Use object style htmlStyle

  12. 2.0.0

    20 Jan 2025
  13. 1.x
  14. 1.29.2

    30 Jan 2025
    • Breaking

      Enable runtime warning by default, v2 release blog post

    • Deprecated

      Warn about missing deprecation

    • Improve warning messages

  15. 1.29.1

    20 Jan 2025
    • Improve warning messages

    • Expose shiki/types

  16. 1.29.0

    20 Jan 2025
    • transformers: Introduce matchAlgorithm option for new matching algorithm

  17. 1.28.0

    20 Jan 2025
    • engine-js: Improve performance for some languages

    • rehype: Improve lazy performance

  18. 1.27.2

    15 Jan 2025
  19. 1.26.2

    13 Jan 2025
    • Update deps and grammars

  20. 1.26.1

    3 Jan 2025
    • shiki: Missing language alias file, fix #883

  21. 1.26.0

    3 Jan 2025
    • Introduce precompiled-grammars

  22. 1.25.1

    2 Jan 2025
    • Bundle externals

  23. 1.25.0

    2 Jan 2025
  24. 1.24.4

    21 Dec 2024
    • engine-js: Update deps, support new languages

  25. 1.24.3

    19 Dec 2024
    • Update js engine and grammars

  26. 1.24.2

    10 Dec 2024
    • transformers: Expose transformerNotationMap

  27. 1.24.1

    9 Dec 2024
    • Update grammars and themes

  28. 1.24.0

    28 Nov 2024
    • Bump oniguruma-to-es for grammar support and perf

    • Improve js engine support (and run tests) in pre-ES2024 envs

    • Bump js engine dependencies to support more grammars

  29. 1.23.1

    18 Nov 2024
    • Bump Oniguruma-To-ES dep to support more grammars and simplify

  30. 1.23.0

    15 Nov 2024
  31. 1.22.2

    28 Oct 2024
    • cli: Multiple fontStyle

    • core: createdBundledHighlighter cause wasm engine to be loaded

  32. 1.22.1

    24 Oct 2024
    • Update deps and themes, close #810

    • rehype: Support special languages

  33. 1.22.0

    7 Oct 2024
    • Store grammar state in weakmap

  34. 1.21.1

    6 Oct 2024
    • Update deps

  35. 1.21.0

    29 Sep 2024
    • perf: Lazy embed languages bundle for SFCs and Docs

    • perf: Skip bundling for assets

    • Avoid using deprecated APIs in core

  36. 1.20.0

    26 Sep 2024
    • Rename createWasmOnigEngine to createOnigurumaEngine

    • Move createCssVariablesTheme to core

    • rehype: Support lazy load languages

  37. 1.19.0

    26 Sep 2024
    • Introduce warning system for deprecated API

    • core: Pass raw token to transformer.span api

    • core: Support object style htmlStyle in themed token, support new htmlAttrs

  38. 1.18.0

    19 Sep 2024
    • perf: Wrap json data with JSON.parse to speed up rebundling

    • twoslash: Introduce disableTriggers, close #780

  39. 1.17.7

    16 Sep 2024
    • Allow customize tabindex, close #778

    • Update grammar

  40. 1.17.6

    13 Sep 2024
    • engine-js: Improve js engine by replacing hard-coded recursive reference

    • engine-js: Improve js engine handling for markdown

    • Missing named exports for shiki/wasm and @shikijs/wasm-inlined

  41. 1.17.5

    12 Sep 2024
    • Update grammars

    • engine-js: Supports contiguous anchor simulation

    • engine-js: Introduce simulation option

  42. 1.17.0 – 1.17.42 releases without a noteShow each
  43. 1.16.3

    9 Sep 2024
    • Make createCssVariablesTheme no longer experimental

    • Use regex to enhance js engine support

  44. 1.16.2

    4 Sep 2024
    • Allow to swap regex constructor for JavaScript engine

    • Upgrade oniguruma-to-js, support more languages

  45. 1.16.1

    1 Sep 2024
  46. 1.16.0

    1 Sep 2024
    • Deprecated

      core: New options object signature for createdBundledHighlighter for custom engine bundle, deprecate old signature

    • Synchronous Shiki usage

    • core: createdBundledHighlighter allow user to override engine

  47. 1.15.2

    31 Aug 2024
  48. 1.15.1

    30 Aug 2024
    • Support more languages

    • engine: Correct default regex flag

    • engine: Regex flags propagation

  49. 1.15.0

    30 Aug 2024
    • Update deps, new plastic theme

    • Introduce experimental JavaScript RegExp Engine

    • rehype: Support inline codes

  50. 1.14.1

    17 Aug 2024
    • twoslash: Handle nested include statements

  51. 1.14.0

    17 Aug 2024
    • twoslash: Support @includes

    • transformers: Support more comment style for notation transformer

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.