Skip to content

chore(repo): bump jwks-rsa from 3.2.2 to 4.1.0 - #2118

Closed
dependabot[bot] wants to merge 2 commits into
devfrom
dependabot/npm_and_yarn/dev/jwks-rsa-4.1.0
Closed

chore(repo): bump jwks-rsa from 3.2.2 to 4.1.0#2118
dependabot[bot] wants to merge 2 commits into
devfrom
dependabot/npm_and_yarn/dev/jwks-rsa-4.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 9, 2026

Copy link
Copy Markdown
Contributor

Bumps jwks-rsa from 3.2.2 to 4.1.0.

Release notes

Sourced from jwks-rsa's releases.

v4.1.0

Added

  • feat: add cacheMaxAgeFallback and onStaleCacheFallback for graceful JWKS degradation during outages #502 (cschetan77)

v4.0.1

Changed

v4.0.0

⚠️ BREAKING CHANGES

Changelog

Sourced from jwks-rsa's changelog.

v4.1.0 (2026-06-19)

Full Changelog

Added

  • feat: add cacheMaxAgeFallback and onStaleCacheFallback for graceful JWKS degradation during outages #502 (cschetan77)

v4.0.1 (2026-03-02)

Full Changelog

Changed

v4.0.0 (2026-02-27)

Full Changelog

⚠️ BREAKING CHANGES

  • Drops support for Node 14, 16, and 18. The minimum supported Node versions are now 20.19.0, 22.12.0, and 23.0.0.
  • Drops support for the ES256K algorithm (secp256k1 curve). Keys using ES256K will be ignored. Users must transition to a supported curve (e.g., ES256/P-256) or handle legacy keys externally.
  • Relies on Node's native require(esm) support - Loading ECMAScript modules using require(). Non-standard module runtimes such as Jest (uses vm.Script) that do not support this feature may fail while loading ESM. See #493 for details.
  • feat: upgrade jose dependency to v6 #486 (cschetan77)
  • chore: upgrade minimum Node.js runtime to 20.19.0 #485 (cschetan77)
Commits
  • 9f8bbdb Release v4.1.0 (#509)
  • 1489926 feat: add cacheMaxAgeFallback and onStaleCacheFallback for graceful JWKS degr...
  • 588ab0b chore(deps): bump codecov/codecov-action from 6.0.1 to 7.0.0 (#504)
  • 1fcdae1 chore(security): uses pinned versions of actions (#505)
  • 61b26e7 chore(deps): bump codecov/codecov-action from 6.0.0 to 6.0.1 (#503)
  • bb75ac4 chore(deps): bump codecov/codecov-action from 6.0.0 to 6.0.1
  • b7202c7 chore(deps): bump codecov/codecov-action from 5.5.2 to 6.0.0 (#499)
  • ab29051 chore(deps): bump codecov/codecov-action from 5.5.2 to 6.0.0
  • 24ac427 docs: add breaking-change note for require(esm) and Jest (#494)
  • a7e3c9a chore: remove package-lock (#495)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 9, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Bumps [jwks-rsa](https://github.com/auth0/node-jwks-rsa) from 3.2.2 to 4.1.0.
- [Release notes](https://github.com/auth0/node-jwks-rsa/releases)
- [Changelog](https://github.com/auth0/node-jwks-rsa/blob/master/CHANGELOG.md)
- [Commits](auth0/node-jwks-rsa@v3.2.2...v4.1.0)

---
updated-dependencies:
- dependency-name: jwks-rsa
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/dev/jwks-rsa-4.1.0 branch from 64b223e to e6fa5b0 Compare August 9, 2026 21:26
jwks-rsa 4 depends on jose ^6.1.3, and jose 6 is ESM-only: "type": "module"
with no require condition in its exports. This backend is CommonJS, so Jest
could not parse it and six suites died on `Unexpected token 'export'` the
moment anything reached the auth stack transitively.

Downgrading jose is not an option, since jwks-rsa 4 declares ^6.1.3 and
forcing 5 would break the contract it was built against. The jest config
therefore transpiles that one package for the test run: a ts-jest transform
for .js/.mjs with allowJs, and a transformIgnorePatterns that exempts only
jose.

The exemption spells out both segments of the pnpm layout, the store
directory and the link inside it, because a path like
node_modules/.pnpm/jose@6.2.8/node_modules/jose/dist/... contains two
node_modules segments and matching either one would keep the file ignored.

Scope is the test run alone. tsc never looks at node_modules, so the
application build is untouched.

Backend type-check, lint and tests pass: 253 suites, 4820 tests.
@github-actions

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 4c89d90.

@ankit-yc

Copy link
Copy Markdown
Contributor

Closing: superseded by #2188, which took this bump together with the other two backend majors it kept re-conflicting with on pnpm-lock.yaml. The code change this needed shipped there, with the dependency at the same version proposed here.

@ankit-yc ankit-yc closed this Aug 14, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/dev/jwks-rsa-4.1.0 branch August 14, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants