Skip to content

fix: update express, morgan, contentstack and qs; bump version to 0.0.14 - #81

Open
cs-raj wants to merge 1 commit into
developmentfrom
chore/bump-version-0.0.14
Open

cs-raj wants to merge 1 commit into
developmentfrom
chore/bump-version-0.0.14

Conversation

@cs-raj

@cs-raj cs-raj commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Updates express, morgan, contentstack and the qs override, refreshes package-lock.json, and bumps the version to 0.0.14. This clears all production-dependency audit findings, including one critical.

Changes

  • package.json, package-lock.json: version 0.0.13 → 0.0.14 (master is already at 0.0.14)
  • dependencies:
    • contentstack ^3.27.0 → ^3.27.1
    • express ^5.2.1 → ^5.3.0
    • http-errors ~2.0.0 → ~2.0.1 (the lock already resolved 2.0.1)
    • morgan ~1.11.0 → ~1.12.1
  • overrides: qs ^6.15.2 → ^6.17.1
  • package-lock.json: installed versions move to contentstack 3.27.1, express 5.3.0, morgan 1.12.1 and qs 6.17.1, plus transitive updates (proxy-addr, body-parser, brace-expansion, js-yaml, content-disposition, content-type, encodeurl, iconv-lite, media-typer, negotiator, on-finished, range-parser, @mongodb-js/saslprep)

No source changes.

Verification

Run on a clean copy of this branch and of current development, Node 24 / npm 11:

  • npm ci succeeds and the lock file is in sync with package.json
  • npm audit: 16 findings (1 critical, 8 high) → 10 (0 critical, 5 high)
  • npm audit --omit=dev (what actually runs): 4 findings → 0. Fixed: proxy-addr (critical), body-parser (high), morgan and qs (moderate).
  • The 10 remaining findings are all dev-only (eslint and its tooling, tmp, inquirer, rimraf, glob, minimatch).

Not verified: the app does not start (already true on development)

There are no tests or build scripts here, and I could not start the app to check express 5.3.0 and morgan 1.12.1 at runtime, on this branch or on development:

  • app.js and middlewares/index.js both require('helmet'), but helmet is not in package.json or the lock file (and never was), so startup fails with Cannot find module 'helmet'.
  • With a throwaway stub for helmet, and again with the real helmet installed, startup then fails on both with watch requires chokidar to be installed. app.js calls nunjucks.configure('views', { watch: true, ... }), and nunjucks needs chokidar (an optional peer dependency, ^3.3.0) when watch is on. chokidar is not declared or installed here.

So there are two undeclared dependencies, helmet and chokidar. I did not try adding both, so I don't know whether the app then runs fully. I left all of this alone as a separate fix. Because of it, please treat the express / morgan upgrade as install-and-audit verified only.

Versions

Version
master 0.0.14
latest tag v0.0.13
this PR 0.0.14

0.0.14 is greater than the latest tag, so check-version-bump should pass.

🤖 Generated with Claude Code

- package.json / package-lock.json: version 0.0.13 -> 0.0.14
- dependencies: contentstack ^3.27.0 -> ^3.27.1, express ^5.2.1 -> ^5.3.0, http-errors ~2.0.0 -> ~2.0.1 (lock already 2.0.1), morgan ~1.11.0 -> ~1.12.1
- overrides: qs ^6.15.2 -> ^6.17.1
- package-lock.json: installed versions move to contentstack 3.27.1, express 5.3.0, morgan 1.12.1, qs 6.17.1, plus @mongodb-js/saslprep, body-parser, brace-expansion, content-disposition, content-type, encodeurl, iconv-lite, js-yaml, media-typer, negotiator, on-finished, proxy-addr, range-parser

npm audit: 16 findings (1 critical, 8 high) -> 10 (0 critical, 5 high). Production-only: 4 (proxy-addr critical, body-parser high, morgan and qs moderate) -> 0. The 10 remaining are dev-only.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@cs-raj
cs-raj requested a review from reeshika-h November 2, 2026 07:29
@snyk-io

snyk-io Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

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.

2 participants