Repository navigation
Raise the locked versions behind the open advisories, within the current ranges - #39
Merged
Merged
Conversation
Kinflou
force-pushed
the
deps/refresh-lockfile
branch
from
November 15, 2026 23:22
ba8f552 to
4726857
Compare
This was referenced Nov 15, 2026
Kinflou
marked this pull request as ready for review
November 16, 2026 00:00
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.
Clears 46 of the 54 open Dependabot alerts, including all 10 against what the
.vsixships.package.jsonis untouched: the diff isyarn.lock(12 packages) and a CHANGELOG line. The 8 left need a range change or a major version; they belong to the next two pull requests, plus one that needs a decision (below).How
I removed the lock entries of the packages the alerts name (
brace-expansion,minimatch,flatted,form-data,js-yaml,picomatch,qs,tmp,undici) and ranyarn install, which re-resolves exactly those to the newest version their dependents' ranges allow and leaves every other entry alone. Lockfile stays v1.A plain
yarn upgradewas my first try and is not what this is. It moves 66 packages, and among them the@azure/*family under@vscode/vsce^2 (via@azure/identity) to versions whoseengines.nodeis>=22:yarn install --frozen-lockfilethen fails on the Node 20 the workflows use (error @azure/identity@4.14.1: The engine "node" is incompatible). That update belongs with the Node 22 move in the next pull request. It also clears no alert beyond these, exceptuuid(alert 25), which is only dropped by that Azure update.The alerts come from
gh api repos/ComlineProject/comline-vscode/dependabot/alerts. Dependabot only rescansmain, so "cleared" below is computed: each alert'svulnerable_version_rangeagainst the version(s) of that package in the newyarn.lock(an alert is one locked version of a package, so a package with three locked copies has three alerts per advisory).Shipped (runtime): all 10 cleared
The only packaged dependency is
vscode-languageclient.minimatch(viavscode-languageclient)brace-expansion(viaminimatch)What the
.vsixcarriesvsce package --yarnbuilds its file list fromyarn list --prod, which hoists for the production tree alone, and copies from the top level of the realnode_modules, where the development dependencies change what is hoisted. So the package holds the top-level copy of a package, which is not always the copyvscode-languageclientlocks. Here that isminimatch,brace-expansionandbalanced-match: the.vsixonmaincontainsminimatch3.1.2,brace-expansion2.0.2 andbalanced-match1.0.2 (eslint 8'sminimatch3, hoisted), and nothing undervscode-languageclient/node_modules. With this change it containsminimatch3.1.5 andbrace-expansion2.1.8, both outside every advisory range, so the shipped package is as clean as the lock says. It is not a regression introduced here; it is how the package has always been put together, and it matters in the last pull request of this stack (see there).Package contents,
mainagainst this branch (the Package Test artifact, 225 against 224 files, compared by file name and CRC): the only file gone isbrace-expansion/.github/FUNDING.yml; the only files whose content differs areCHANGELOG.md, andindex.js,package.jsonandREADME.mdofbrace-expansionandminimatch(plusminimatch.js).Development only: 36 cleared
brace-expansion1.x (eslint 8'sminimatch3)minimatch3.x (eslint 8)flattedform-datajs-yamlpicomatchqstmpundici(vsce, viacheerio)(
side-channel,side-channel-listand a secondhasownmove asqsandform-datadependencies.)Remaining: 8, all development only
markdown-it@vscode/vsce^2 (markdown-it^12)linkify-itmarkdown-it12uuid@azure/msal-node3, from@azure/identity4.13, which needs a newer@azure/*that needs Node 22minimatch@typescript-eslint^6 pins it exactly@vscode/vsce4 (the next pull request, which moves CI to Node 22) is what moves the first three. Theminimatch9.0.3 pin goes withtypescript-eslint8 (the pull request after).CI
All checks pass on this pull request, including Lint and Compile and Package Test (
yarn install --frozen-lockfile,yarn compile,yarn test,npx vsce package --yarn) and the release.yml dry run, which builds and packages the six platform.vsixfiles (Package (...), all green).