Skip to content

chore(deps): bump shiki from 3.22.0 to 4.0.2#101

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bun/shiki-4.0.2
Open

chore(deps): bump shiki from 3.22.0 to 4.0.2#101
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/bun/shiki-4.0.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 13, 2026

Bumps shiki from 3.22.0 to 4.0.2.

Release notes

Sourced from shiki's releases.

v4.0.2

   🐞 Bug Fixes

    View changes on GitHub

v4.0.1

   🐞 Bug Fixes

    View changes on GitHub

v4.0.0

   🚨 Breaking Changes

   🚀 Features

    View changes on GitHub

v3.23.0

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub
Commits

@dependabot dependabot bot added the dependencies Dependency updates label Apr 13, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gno Ready Ready Preview, Comment Apr 16, 2026 1:57pm

Request Review

@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Apr 13, 2026

Greptile Summary

This PR bumps shiki from ^3.20.0 to ^4.0.2 (a major version upgrade) along with all its sub-packages (@shikijs/core, @shikijs/engine-javascript, @shikijs/engine-oniguruma, @shikijs/langs, @shikijs/themes, @shikijs/types), and adds the new @shikijs/primitive peer package introduced in v4.

The project only uses stable shiki APIs — codeToHtml, bundledLanguages, BundledLanguage, and ShikiTransformer — none of which were deprecated or removed. Since this project runs on Bun rather than Node.js, the only true breaking change in v4 (dropping Node.js 18 support) is not relevant here.

Confidence Score: 5/5

Safe to merge — the project only uses stable shiki APIs unaffected by v4's breaking changes, and Node.js 18 drop is irrelevant since the project runs on Bun.

All used APIs (codeToHtml, bundledLanguages, BundledLanguage, ShikiTransformer) are core stable APIs that were not deprecated or removed in v4. The sole breaking change — dropping Node.js 18 — does not apply to a Bun-based project. No P0/P1 findings.

No files require special attention.

Important Files Changed

Filename Overview
package.json Version range for shiki updated from ^3.20.0 to ^4.0.2; all other dependencies unchanged.
bun.lock Lock file updated to resolve all @shikijs/* sub-packages to v4.0.2 and adds the new @shikijs/primitive package introduced in v4.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["shiki v3.22.0"] -->|bump| B["shiki v4.0.2"]
    B --> C["@shikijs/core 4.0.2"]
    B --> D["@shikijs/langs 4.0.2"]
    B --> E["@shikijs/themes 4.0.2"]
    B --> F["@shikijs/types 4.0.2"]
    B --> G["@shikijs/engine-javascript 4.0.2"]
    B --> H["@shikijs/engine-oniguruma 4.0.2"]
    C --> I["@shikijs/primitive 4.0.2 - NEW"]
    style I fill:#d4edda,stroke:#28a745
Loading

Reviews (1): Last reviewed commit: "chore(deps): bump shiki from 3.22.0 to 4..." | Re-trigger Greptile

Bumps [shiki](https://github.com/shikijs/shiki/tree/HEAD/packages/shiki) from 3.22.0 to 4.0.2.
- [Release notes](https://github.com/shikijs/shiki/releases)
- [Commits](https://github.com/shikijs/shiki/commits/v4.0.2/packages/shiki)

---
updated-dependencies:
- dependency-name: shiki
  dependency-version: 4.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant