Skip to content

chore(deps): upgrade uuid to v11.1.1#109

Draft
kiranmohan-hh wants to merge 1 commit into
jwtk:masterfrom
kiranmohan-hh:chore/upgrade-uuid-v11
Draft

chore(deps): upgrade uuid to v11.1.1#109
kiranmohan-hh wants to merge 1 commit into
jwtk:masterfrom
kiranmohan-hh:chore/upgrade-uuid-v11

Conversation

@kiranmohan-hh

Copy link
Copy Markdown

Summary

  • Upgrades uuid from ^8.3.2 to ^11.1.1
  • Bumps engines.node from >=12.0 to >=16.0 to match uuid v11 support matrix

Why v11 and not v12+

uuid v12 removed CommonJS support (require('uuid')). njwt is a CJS library — upgrading past v11 would require an ESM migration and would be a breaking change for CJS consumers. v11.1.1 is the latest CJS-compatible release.

Test plan

  • All 77 existing tests pass unchanged (./node_modules/.bin/mocha test/ -R spec --no-timeouts)
  • No code changes required — uuid.v4() API is identical across v8–v11

Generated with Claude Code

Last CJS-compatible major; v12+ dropped CommonJS support.
Bumps minimum Node engine from 12 to 16 to match uuid v11 support matrix.

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Code <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.

1 participant