Skip to content

chore(deps): update lock files to resolve security alerts - #31616

Open
thetaPC wants to merge 3 commits into
mainfrom
lockfile-audit-cleanup
Open

thetaPC wants to merge 3 commits into
mainfrom
lockfile-audit-cleanup

Conversation

@thetaPC

@thetaPC thetaPC commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Issue number: internal


What is the current behavior?

Dependabot reports high and critical alerts against the lock files in core and packages/*. None of them reach users: lock files are not published, and our declared ranges already resolve to the patched versions on a fresh install. The alerts are noise that can bury a real one.

What is the new behavior?

  • Updated the vulnerable packages, and the parents that pin them, within the existing ranges.
  • Added an override in core for compression under serve, since the latest serve pins the vulnerable version. Remove it once a serve release includes fix(compression): bump compression to 1.8.2 vercel/serve#868.
  • Angular dev dependencies move from 22.0 to 22.2. Angular 22.2 dropped the private contexts field from the ChildrenOutletContexts typings, so ion-router-outlet now casts to a local type when it saves and restores tab state. The field still exists at runtime, so behavior is unchanged.
  • @angular/cli 22.2 no longer bundles its MCP server, which accounts for most of the removals in the Angular lock file.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Test app lock files are out of scope. The postcss 7 alerts in core remain: they come from stylelint 13 and need a stylelint upgrade, as noted in #31436.

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-framework Ready Ready Preview Oct 20, 2026 10:29pm UTC

Request Review

@github-actions github-actions Bot added package: core @ionic/core package package: angular @ionic/angular package package: vue @ionic/vue package package: react @ionic/react package labels Oct 20, 2026
@thetaPC
thetaPC marked this pull request as ready for review October 20, 2026 23:44
@thetaPC
thetaPC requested a review from a team as a code owner October 20, 2026 23:44
@thetaPC
thetaPC requested a review from brandyscarney October 20, 2026 23:44

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with comments!

Comment on lines +62 to +65
/**
* `ChildrenOutletContexts` keeps each outlet's context in a private `contexts`
* map. Saving and restoring it preserves tab state.
*/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could the comment say this field isn't in Angular’s public typings, so it gets checked on upgrades? Something like:

Suggested change
/**
* `ChildrenOutletContexts` keeps each outlet's context in a private `contexts`
* map. Saving and restoring it preserves tab state.
*/
/**
* `ChildrenOutletContexts` keeps each outlet's context in a private `contexts`
* map that is not part of Angular's public typings. Saving and restoring it
* preserves tab state, so confirm the field still exists when upgrading Angular.
*/

Comment thread core/package-lock.json

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm audit --package-lock-only still shows high alerts for picomatch 2.3.1 (core, react, vue), semver 6.3.0/7.3.7/5.7.1 (core), micromatch (core, react) and vite 7.3.6 (migrate). These look fixable within the current ranges, and the angular lock file already has picomatch 2.3.2. Could you refresh these, or call them out under Other information if they're being left on purpose?

This branch was successfully deployed

1 active deployment
Preview — 7dd31ac0 Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package package: core @ionic/core package package: react @ionic/react package package: vue @ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants