Bump github.com/git-pkgs/purl to v0.1.19 - #77
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the project to use github.com/git-pkgs/purl v0.1.19 (and related dependency bumps), adopting improved PURL version constraint normalization/ordering and aligning npm PURL generation with the upstream builder.
Changes:
- Bump
github.com/git-pkgs/purlto v0.1.19 (plusversandpackageurl-goindirect updates). - Switch npm PURL construction to
purl.BuildPURLStringand update expected encoding for scoped npm packages. - Add a regression test covering PURL constraint cleaning behavior and bump the Go toolchain version used by the module and CI.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
registries_test.go |
Adds coverage for PURL constraint cleaning/ordering via BuildURLs. |
internal/npm/npm.go |
Replaces manual npm PURL formatting with purl.BuildPURLString. |
internal/npm/npm_test.go |
Updates scoped npm PURL expectation to percent-encode @ as %40. |
go.mod |
Bumps Go version and updates dependency versions (purl, vers, packageurl-go). |
go.sum |
Records new dependency checksums after the module bumps. |
.github/workflows/ci.yml |
Updates CI Go version used in test/lint jobs. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Picks up
CleanVersionimprovements: constraints now resolve viavers.Range.MinimumVersion(), so excluded lower bounds are no longer selected and unions use ecosystem version ordering.