Modernize runtime tooling and upgrade dependencies#131
Merged
Conversation
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.
Phase 01 modernizes the runtime/tooling baseline and upgrades dependencies in isolated slices, while explicitly avoiding product behavior changes.
Scope (Phase 01)
What Changed
22.22.0in.nvmrc.22innetlify-api-test.yml.actions/checkout@v4actions/setup-node@v4github/codeql-action/*@v3isolatedModulesintotsconfig.frontend.jsonand making Jest-compatible TS config adjustments.netlify-cli->^24.0.1@babel/core/ presets upgrades@sendgrid/mail->^8.1.6(modern axios transitively)webpack-dev-server->^5.2.3jsonwebtokenpatch upliftmongodblockfile uplift to5.9.2within existing rangeKey Decision Notes
v24.14.0) but failed locally withExec format error.22.x.mongodbmajor upgrade to6.xcaused backend behavioral regressions (multiplePUTpaths returning500in backend tests), so it was deferred to preserve Phase 01’s no-runtime-behavior-change boundary.Validation
yarn lint-> passyarn test:backend(with generated test.env) -> passyarn test:frontend-> known pre-existing locale/ICU assertion failures remain; no new failure class introduced by Phase 01 changesAudit Delta (
yarn audit --json)low=53,moderate=90,high=107,critical=42low=46,moderate=81,high=94,critical=42Deferred / Follow-up
Remaining high/critical advisories are predominantly in dev/test/optional tooling paths and larger dependency-family migrations.
Runtime-impacting major migration (
mongodb6.x) deferred due to observed behavior regressions.Proposed next step: Phase 1.5 to target deferred tooling/security families in controlled slices.
Establish governance
docs: refine phase-01 checklist and loop decisions
chore: align node baseline and ci actions
chore(test): move isolatedModules to tsconfig
fix(test): set verbatimModuleSyntax false for jest
chore(deps): upgrade netlify-cli to 24
chore(deps): upgrade babel core and presets
chore(deps): upgrade sendgrid mail to v8
chore(deps): upgrade webpack dev server to v5
chore(deps): bump jsonwebtoken patch release
chore(deps): refresh mongodb lockfile to 5.9.2
docs: finalize phase-01 checklist and implementation notes
docs: clarify phase-01 validation baseline