chore(ast-grep): upgrade to ast-grep 0.45.3 - #334
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
thecodedrift
added this pull request to stack #338
September 15, 2026 23:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack (root → tip):
Upstream ast-grep is ahead of the version this repository pins.
This moves every
@ast-grep/cli*pin inpackages/cli/package.jsonfrom
0.45.2to0.45.3and regeneratespnpm-lock.yaml. The pins move together on purpose: the platformpackages are selected by optional dependency, so a straggler left at
the old version is a different ast-grep on one platform than on the
others.
sg-detect.cjsfails the run rather than open a partial bump.Nothing else is edited. The rewrite replaces a version string in pins
it can already enumerate and refuses if the count does not match, so
it cannot add a dependency or reformat the file — the diff below is
eight version strings, a resolved lockfile, and a changeset.
This pull request rolls: if upstream releases again before it merges,
the branch, title, and body are rewritten to the newer version rather
than a second pull request being opened. Push a commit to the branch
and that stops — the workflow will not force-push over a commit it did
not write.
Upstream release notes — 0.45.3
https://github.com/ast-grep/ast-grep/releases/tag/0.45.3