Skip to content

THRIFT-6016: Move jsdoc from dependencies to devDependencies in lib/ts#3505

Merged
Jens-G merged 1 commit into
apache:masterfrom
Jens-G:THRIFT-6016
May 20, 2026
Merged

THRIFT-6016: Move jsdoc from dependencies to devDependencies in lib/ts#3505
Jens-G merged 1 commit into
apache:masterfrom
Jens-G:THRIFT-6016

Conversation

@Jens-G
Copy link
Copy Markdown
Member

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

Summary

  • jsdoc is a documentation generator and must not be a runtime dependency of the Thrift TypeScript library.
  • Having it under dependencies caused taffydb (abandoned, HIGH) and lodash to be classified as production transitive dependencies, inflating the vulnerability surface of the published npm package.
  • Moved jsdoc to devDependencies and regenerated package-lock.json; taffydb and lodash are now correctly classified as dev-only.

Test plan

Related

  • THRIFT-6017: Upgrade jsdoc 3.6 → 4.x (eliminates taffydb entirely)
  • THRIFT-6018: Remove phantom/phantomjs-prebuilt from lib/ts
  • THRIFT-6019: Replace html-validator-cli in root package
  • THRIFT-6020: Address remaining transitive npm vulnerabilities

🤖 Generated with Claude Code

Client: ts

jsdoc is a documentation generator and must not be a runtime dependency.
Having it under dependencies caused taffydb and lodash to be classified
as production transitive dependencies, inflating the vulnerability surface
of the published npm package.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Jens-G Jens-G requested a review from emmenlau as a code owner May 20, 2026 21:52
@mergeable mergeable Bot added the typescript label May 20, 2026
@Jens-G Jens-G merged commit b530603 into apache:master May 20, 2026
97 of 98 checks passed
@Jens-G Jens-G deleted the THRIFT-6016 branch May 20, 2026 22:51
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