Skip to content

chore(deps): npm audit fix + bump direct deps to latest patch within major#48

Merged
CryptoJones merged 1 commit into
masterfrom
chore/deps-audit-and-bump
May 17, 2026
Merged

chore(deps): npm audit fix + bump direct deps to latest patch within major#48
CryptoJones merged 1 commit into
masterfrom
chore/deps-audit-and-bump

Conversation

@CryptoJones
Copy link
Copy Markdown
Owner

Closes #30.

Summary

Consolidated dependency cleanup — addresses everything in the open Snyk PR backlog that's still relevant.

Transitive fixes via npm audit fix:

  • dottie, moment, moment-timezone, path-to-regexp, qs, underscore, validator
  • 10 → 0 vulnerabilities

Direct dep bumps (within current major, patch-bumped from oldest pinned):

Package Before After Supersedes
express 4.21.1 4.22.2 #23, #42
pg 8.6.0 8.20.0 #9
express-promise-router 4.0.1 4.1.1 #12
sequelize 6.6.5 6.37.8 #18

Test plan

  • npm audit post-fix → 0 vulnerabilities
  • vitest: 24 files / 167 tests still passing
  • Live PG integration: not run in this PR (requires npm run migrate then real DB)

The remaining open Snyk PRs target packages that are already removed (body-parser, #13) or propose downgrades (sequelize-cli to 6.6.3, #24); they should be closed as no-longer-applicable in a follow-up.

Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/

…major

`npm audit fix` cleared 10 transitive-dep vulnerabilities
(dottie, moment, moment-timezone, path-to-regexp, qs, underscore,
validator). All within the existing major lines; no breaking
changes expected.

Also bumps the direct deps that had open Snyk PRs against them to
the latest patch in their current major:

  express                4.21.1 → 4.22.2   (Snyk #23, #42)
  pg                     8.6.0  → 8.20.0   (Snyk #9)
  express-promise-router 4.0.1  → 4.1.1    (Snyk #12)
  sequelize              6.6.5  → 6.37.8   (Snyk #18)

`npm audit` post-fix: 0 vulnerabilities.
Test suite: 24 files / 167 tests still passing.

Supersedes Snyk PRs #9, #12, #18, #23, #42. Closes #30 (the
Snyk-backlog-triage tracker). The ancient PRs that target
already-removed deps (#13 body-parser) get closed separately
with a "no longer applicable" comment.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@CryptoJones CryptoJones merged commit 583241f into master May 17, 2026
@CryptoJones CryptoJones deleted the chore/deps-audit-and-bump branch May 17, 2026 23:45
CryptoJones added a commit that referenced this pull request May 17, 2026
)

Continues the housekeeping pattern of #44 — keep the README endpoint
table and CHANGELOG \`[Unreleased]\` in sync with merged PRs.

README:
  - Append rows for the four PurchaseOrder/Inventory entities
    that gained endpoints in #50, #51, #52.

CHANGELOG (under \`[Unreleased]\`):
  - PurchaseOrder + Inventory API rollout (the tracker, #49, and
    its three PRs)
  - JSON_BODY_LIMIT env hook (#45 / #46 / #47)
  - npm audit fix + dep bumps + Snyk PR triage (#30 / #48)

Co-authored-by: Aaron K. Clark <akclark@thenetwerk.net>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

Triage stale Snyk security PR backlog (10 open, oldest 2021)

1 participant