Repository navigation
Fix CI dependency restores and update vulnerable build dependencies - #5151
Merged
Hannia Valera (hanniavalera) merged 10 commits intoNov 6, 2026
Merged
Conversation
Resolve qs and source-map-js through the configured Azure Artifacts feed without changing package versions or integrity hashes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 93ca34e1-42aa-4082-8c31-20eb605a6d28
Contributor
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 93ca34e1-42aa-4082-8c31-20eb605a6d28
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 93ca34e1-42aa-4082-8c31-20eb605a6d28
Record that the serializer upgrade also addresses Dependabot alert 149 (CVE-2026-34043). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 93ca34e1-42aa-4082-8c31-20eb605a6d28
Raise the existing PostCSS 8 override to 8.5.23 and refresh its lockfile dependencies to address alerts 144, 161, 162 and 165. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 93ca34e1-42aa-4082-8c31-20eb605a6d28
Upgrade the Mocha and VSCE glob dependency paths to support patched minimatch without breaking file discovery. Adapt the patched ESM URI decoder for legacy CommonJS source-map consumers and run its regression checks with backend tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 93ca34e1-42aa-4082-8c31-20eb605a6d28
Co-authored-by: laurenprinn <44309659+laurenprinn@users.noreply.github.com>
Co-authored-by: laurenprinn <44309659+laurenprinn@users.noreply.github.com>
Remove public-registry rewrites from CI and Copilot setup, and report feed failures without assuming throttling. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Hannia Valera (hanniavalera)
approved these changes
Nov 6, 2026
Hannia Valera (hanniavalera)
marked this pull request as ready for review
November 6, 2026 16:50
Hannia Valera (hanniavalera)
deleted the
dev/laurenprinn/fix-cg-package-registry
branch
November 6, 2026 16:54
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.
Summary
qs@6.17.1andsource-map-js@1.2.2through the Azure Artifacts registry configured in.npmrc, preserving those versions and checksums.serialize-javascriptoverride to^7.1.3and lock7.1.3to address alerts 149 and 201.^8.5.23and lock8.5.23to address alerts 144, 161, 162 and 165. Updating only to8.5.10would fix alert 144 but leave the other three exposed.nanoid@3.3.18,picocolors@1.1.1andsource-map-js@1.2.2, and remove the now-unusedpicocolors@1.0.0entry.globpaths to14.0.3, which natively supports patchedminimatch@11.0.3, to address alert 205. Preserve legacyglob@7.2.3/minimatch@3.1.5consumers and remove newly unused dependency entries.decode-uri-component@0.5.1for alerts 200 and 172 through a small private CommonJS adapter, preserving both legacy source-map consumers. Run its regression tests as part of the existingyarn backendTestscommand.Security alerts addressed
fromis unsetWhy
Build 15941073 fails because two lockfile tarball URLs bypass the approved feed and reach the public npm registry blocked by the build proxy (HTTP 403).
Dependabot run 42053808453 separately reports
security_update_not_possible: Mocha 10.8.2 (via gulp-mocha), Mocha 11.7.5 and terser-webpack-plugin 5.3.16 (via Webpack) requestserialize-javascript@^6.0.2. It reports7.0.4as latest resolvable and7.1.3as earliest fixed; the log also shows 404s for the feed's version-specific metadata endpoints. The existing project overrides already select serializer major 7 and PostCSS major 8; this raises their minimums and refreshes the lockfile without upgrading unrelated tooling.Dependency compatibility
^20.19.0 || >=22.12.0; repository CI already uses Node 22. It is development-only and is excluded from VSIX packaging by the existingtools/exclusion. The VS Code runtime requirement is unchanged.Required feed prerequisite
A
cpp_PublicPackagesfeed collaborator/owner must ensureqs@6.17.1,glob@14.0.3,path-scurry@3.0.0, anddecode-uri-component@0.5.1are saved from the npm upstream and readable by the build identity. Available anonymous archive requests returned HTTP 401; authenticated checks for the new glob and decoder archives returned 404. The latest full frozen restore fails fetchingpath-scurry@3.0.0with HTTP 401. Thesource-map-js@1.2.2,postcss@8.5.23, andserialize-javascript@7.1.3archives download successfully from the configured feed. This PR alone does not confirm the pipeline is fixed.Validation
fc93fd5), path-scurry v3.0.0 (31124d9), and decoder v0.5.1 (58ed85f). The VSCE dependency-path check used a small dependency capsule, not a full VSCE packaging run. Registry metadata/integrities are recorded in the lockfile, but this is not verification of the unavailable npm archive contents or a successful full repository build.git diff --checkpasses. All PostCSS selectors share8.5.23, all serializer selectors share7.1.3, and no direct public npm tarball URLs remain inyarn.lock.8.5.23and serializer7.1.3from the configured feed using Yarn 1.22.22. The PostCSS lock entry, including dependency ranges and integrity, matches Yarn-generated metadata.8.4.38using inert CSS and synthetic fixture files only. Confirmed8.5.23escapes closing-style tags (including uppercase and comments) and performs no reads of the synthetic non-map target, traversed-to.map, or absolute.mapwithfromunset.map.prevcallbacks still load. Verified the real@gulp-sourcemaps/identity-map@2.0.1consumer preserves CSS and generates correct source-map positions with PostCSS8.5.23and the lockedsource-map-js@1.2.2.7.0.4;7.1.3fixes both while preserving normal data/function/array serialization.path-scurry@3.0.0fails (HTTP 401), so full repository build/lint/test checks remain blocked. Resolve feed access/caching, then rerun CMake Tools CG [Yaml] and normal build/test checks on this branch. After merge, rerun Dependabot/CG scans to confirm alert closure.