Skip to content

chore: update prism#708

Merged
Kikobeats merged 1 commit intomasterfrom
prism
Mar 17, 2026
Merged

chore: update prism#708
Kikobeats merged 1 commit intomasterfrom
prism

Conversation

@Kikobeats
Copy link
Member

@Kikobeats Kikobeats commented Mar 17, 2026

Note

Medium Risk
Updates the vendored PrismJS highlighter, which can subtly change tokenization/highlighting output and script-detection behavior in rendered screenshots.

Overview
Bumps the vendored syntax highlighter in packages/screenshot/src/pretty/prism.js from PrismJS 1.29.0 to 1.30.0, including upstream internal tweaks (notably currentScript detection and some tokenization logic/variable renames).

Updates the pretty.js snapshot expectations to match the new embedded Prism output/version string.

Written by Cursor Bugbot for commit 549ace0. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@Kikobeats Kikobeats merged commit f03c489 into master Mar 17, 2026
22 checks passed
@Kikobeats Kikobeats deleted the prism branch March 17, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant