Repository navigation
deps: bump Angular minor-and-patch group, pin sourcemap-codec to 1.6 - #497
Merged
Merged
Conversation
Supersedes #478. @angular/compiler-cli 22.2.x imports encodeRangeMappings from @jridgewell/sourcemap-codec, which only exists in 1.6.0+, but still declares ^1.4.14. The deduped lockfile kept 1.5.5 for that range, breaking `ng build`. Refresh the codec so every range resolves to 1.6.0, and rebase the bump onto current main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the Angular sample dependency and metadata updates.
No open issues 🎉
What changed in this PR
Updates the Angular authentication samples, superseding #478 and addressing its compiler build failure caused by the older sourcemap-codec resolution.
Changes:
- Aligns both samples on Angular 22.2.3 and updates the authentication library and development tools.
- Refreshes dependency resolutions, including
sourcemap-codec1.6.0 without adding a new resolution override. - Updates generated snippet metadata to match the authentication library version.
| File | Description |
|---|---|
snippets.json |
Updates both Angular samples’ library metadata to 22.0.2. |
samples/angular/token-refresh/yarn.lock |
Refreshes dependencies and resolves sourcemap-codec to 1.6.0. |
samples/angular/token-refresh/package.json |
Updates Angular, authentication, and development dependencies. |
samples/angular/login-pkce/package.json |
Applies matching dependency updates to the login sample. |
Review effort: Balanced
ikawalec
approved these changes
Nov 2, 2026
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.
Supersedes #478, which was red and conflicting.
Why #478 failed
@angular/compiler-cli22.2.x importsencodeRangeMappingsfrom@jridgewell/sourcemap-codec. That export only exists in 1.6.0+, but compiler-cli still declares^1.4.14. Dependabot's lockfile reused the existing 1.5.5 entry for that range, song buildfailed in both Angular samples:Recreating the Dependabot PR wouldn't help, because main's lockfile still resolves
^1.4.14to 1.5.5.Changes
package.jsonbumps (Angular 22.2.3,angular-auth-oidc-client22.0.2, jsdom, prettier, vitest) tosamples/angular/login-pkceandsamples/angular/token-refresh.yarn up -R @jridgewell/sourcemap-codec, so every range resolves to 1.6.0. Only the lockfiles change; there's no newresolutionspin.snippets.json(angular-auth-oidc-clientlib_version 22.0.1 → 22.0.2).Verification
Run locally in both samples:
yarn install --immutable,format:check,build:ciandtest:ciall pass.cd scripts && yarn allpasses.🤖 Generated with Claude Code