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. 1.13.0

    14 Aug 2024
    • New grammar, new themes, update deps

    • core: Lighter token explanation with scopeName

    • rehype: Trim trailing new line passed in from rehype/remark

  2. 1.12.1

    1 Aug 2024
    • New dotenv grammar, new everforest theme

  3. 1.12.0

    26 Jul 2024
    • Add static initial method for GrammarState, #715

    • New ts-tags grammar, lit support, close #725

    • core: Fix decoration offset edge cases

  4. 1.11.2

    25 Jul 2024
    • core: Fix the incorrect parameter when using a single theme

    • rehype: Add the misssing CodeToHastOptionsCommon to RehypeShikiCoreOptions for rehype plugin

  5. 1.11.1

    23 Jul 2024
    • CodeToTokens's includeExplanation option

    • vitepress-twoslash: Correct client types

  6. 1.11.0

    21 Jul 2024
    • Update grammar and themes

  7. 1.10.3

    7 Jul 2024
    • Update yaml grammar

  8. 1.10.2

    7 Jul 2024
  9. 1.10.1

    2 Jul 2024
    • rehype: Default export use shared highlighter instance, fix #714

  10. 1.10.0

    28 Jun 2024
    • Introduce GrammarState

    • Expose getLastGrammarState shorthand

    • Update themes and grammars

  11. 1.9.1

    25 Jun 2024
    • Remove notation escape

  12. 1.9.0

    21 Jun 2024
    • Breaking

      Rename getHighlighter to createHighlighter

  13. 1.8.0

    21 Jun 2024
    • core: Expose dispose function

  14. 1.7.0

    17 Jun 2024
    • core: Warning on too many instances, close #693

    • core: Add missing UTF8ToString function, close #693

  15. 1.6.5

    15 Jun 2024
    • rehype: Fix type issues

    • Improve performance for the includeExplanation option

  16. 1.6.4

    11 Jun 2024
    • Add CSS variables for markup diff tokens

    • rehype: Support default language option

  17. 1.6.3

    7 Jun 2024
    • twoslash: Add line query rendering option for twoslash renderer

  18. 1.6.2

    2 Jun 2024
    • markdown-it: Support default and fallback lang #687

  19. 1.6.1

    28 May 2024
    • vitepress-twoslash: Add vueCompilerOptions

    • twoslash: Nested code block rendering structure

  20. 1.6.0

    18 May 2024
    • Scoped color replacements

    • New regexp grammar

  21. 1.5.2

    14 May 2024
    • Update deps

  22. 1.5.1

    9 May 2024
    • core: Simplify cloudflare wasm loading

  23. 1.5.0

    8 May 2024
    • Upgrade deps, new langs

  24. 1.4.0

    30 Apr 2024
    • Upgrade deps, new langs and themes

    • core: Check existance of Buffer.isBuffer, fix #664

    • monaco: Options for tokenize limit

  25. 1.3.0

    9 Apr 2024
    • core: New structure: inline option for codeToHast

  26. 1.2.4

    3 Apr 2024
  27. 1.2.3

    1 Apr 2024
    • colorReplacements also for bg and fg, close #641

  28. 1.2.2

    30 Mar 2024
    • Update deps, new tsv grammar

    • shiki-monaco: Improve tokenizer performance

  29. 1.2.1

    26 Mar 2024
    • vitepress-twoslash: Pass options.twoslashOptions to createTwoslasher

  30. 1.2.0

    15 Mar 2024
    • Upgrade deps, new lang Gleam, new theme Houston

    • Bundle wasm binary in chunk for shiki/wasm and @shikijs/core/wasm-inlined

  31. 1.1.7

    23 Feb 2024
    • Allow nullish color for colorReplacement, fix ansi highlighting with dark-plus, fix #597

  32. 1.1.6

    20 Feb 2024
    • Provide lang sub module for alias

    • Include new Typst grammar

    • vitepress: Missing :shown prop for query, fix #595

  33. 1.1.5

    18 Feb 2024
    • monaco: Editor colors interop, fix #594

  34. 1.1.4

    18 Feb 2024
    • Add length and time limit to tokenizer

    • monaco: Normalize hex color for monaco, fix #594

  35. 1.1.3

    16 Feb 2024
    • New terraform lang, update deps

    • vitepress: Don't set exit code when throws is set to false

  36. 1.1.2

    12 Feb 2024
    • New lang Move and new theme Vesper

    • Remove trailing newline added by markdown-it

    • twoslash: Improve error handling

  37. 1.1.1

    9 Feb 2024
    • twoslash: Custom error handler

    • vitepress: Avoid hard errors on startup

  38. 1.1.0

    9 Feb 2024

    Reading the note…

  39. 1.0.0

    7 Feb 2024

    Reading the note…

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.