Skip to content

Remove outdated package.json version resolutions#11722

Merged
aduth merged 1 commit intomainfrom
aduth-rm-package-resolutions
Jan 8, 2025
Merged

Remove outdated package.json version resolutions#11722
aduth merged 1 commit intomainfrom
aduth-rm-package-resolutions

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Jan 8, 2025

🛠 Summary of changes

Removes outdated resolutions fields from package.json. Indirectly resolves a security advisory with nanoid dependency (CVE-2024-55565).

These packages were pinned to specific versions because they were subdependencies with security updates where our direct dependency had not yet updated to the fixed version. Since our direct dependencies are now using updated versions of these packages, the field is no longer necessary.

Previously: #9341

Related: #11719

📜 Testing Plan

Verify there are no audit results after installing Yarn packages:

  1. yarn install
  2. yarn audit

@aduth
Copy link
Contributor Author

aduth commented Jan 8, 2025

The version bump to nanoid made it in with #11721.

changelog: Internal, Dependencies, Update outdated package version pinning

Previously added to pin to versions of subdependencies with fixed security advisories where direct dependencies were using an older version. Direct dependencies now reference fixed versions and the pinned resolutions are no longer necessary.

Indirectly resolves an outstanding security advisory in nanoid, using latest version valid by direct dependency using it (postcss).

Co-Authored-By: lamcodeofpwnosec <lamcodeofpwnosec@users.noreply.github.com>
@aduth aduth force-pushed the aduth-rm-package-resolutions branch from 95982d4 to 8868ba3 Compare January 8, 2025 18:18
@aduth aduth merged commit a125f46 into main Jan 8, 2025
@aduth aduth deleted the aduth-rm-package-resolutions branch January 8, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants