Skip to content

THRIFT-6020: Fix npm audit vulnerabilities in lib/ts and lib/nodejs#3512

Merged
Jens-G merged 1 commit into
apache:masterfrom
Jens-G:THRIFT-6020
May 21, 2026
Merged

THRIFT-6020: Fix npm audit vulnerabilities in lib/ts and lib/nodejs#3512
Jens-G merged 1 commit into
apache:masterfrom
Jens-G:THRIFT-6020

Conversation

@Jens-G
Copy link
Copy Markdown
Member

@Jens-G Jens-G commented May 21, 2026

Summary

  • lib/ts: bump grunt to ^1.6.2; add overrides for bn.js, brace-expansion, grunt-legacy-log, grunt-legacy-log-utils, grunt-legacy-util, micromatch, semver, trim-newlines. Reduces audit findings from 18 → 8.
  • lib/nodejs (root package.json): bump eslint to ^9.27.0; add overrides for @babel/helpers, ajv, brace-expansion, debug, semver, underscore. Reduces audit findings to 0.

This is the sweep ticket for the THRIFT-6016 series (follows THRIFT-6017, THRIFT-6018, THRIFT-6019).

Remaining unfixable in lib/ts (8)

Severity Package Reason
high (×4) grunt-contrib-jshintjshintlodash, minimatch lodash ≤4.17.23 and minimatch ≤3.1.3 have no published fix; all jshint@2.x releases are affected
low (×4) ellipticbrowserify-sign, create-ecdh, crypto-browserify All published elliptic versions are flagged; devDependency only

All remaining findings are in devDependencies only and do not affect the published package.

Test plan

  • npm audit in lib/ts/ reports 8 vulnerabilities (4 high jshint chain, 4 low elliptic chain)
  • npm audit in repo root reports 0 vulnerabilities
  • npx grunt in lib/ts/ continues to work (qunit tests use puppeteer)

🤖 Generated with Claude Code

Client: ts,js

lib/ts: bump grunt to ^1.6.2; add overrides for bn.js, brace-expansion,
grunt-legacy-log, grunt-legacy-log-utils, grunt-legacy-util, micromatch,
semver, trim-newlines. Reduces vulnerabilities from 18 to 8 (jshint->lodash
and elliptic chains have no available fix).

lib/nodejs (root): bump eslint to ^9.27.0; add overrides for @babel/helpers,
ajv, brace-expansion, debug, semver, underscore. Reduces vulnerabilities to 0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Jens-G Jens-G requested a review from emmenlau as a code owner May 21, 2026 01:01
@Jens-G Jens-G merged commit f82344e into apache:master May 21, 2026
88 of 89 checks passed
@Jens-G Jens-G deleted the THRIFT-6020 branch May 21, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant