Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

fix(deps): update dependency jose to v6 #725

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 8, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
jose 5.10.0 -> 6.0.11 age adoption passing confidence

Release Notes

panva/jose (jose)

v6.0.11

Compare Source

Fixes
  • typ checking edge-cases when it contains a slash (/) character (31e4baf)

v6.0.10

Compare Source

Refactor
  • removed unused claims methods (74719cf)
  • reorganize jwt claim set utils (1f12d88)

v6.0.9

Compare Source

Documentation
  • add more symbol document, ignore ts-private fields (8b73687)
  • bump typedoc (6163a8b)
  • drop cdnjs links in README (a910038)
  • drop denoland/x links in README and add jsr (3662b9e)
  • fix key export links from docs/README.md (c8edfc2)
Refactor
  • always assume structuredClone is present (f7898a9)
  • hide internal private fields and drop ProduceJWT inheritance (ab18881)
  • less objects when JWE JWT Replicated Header Parameters are used (c763a0e)

v6.0.8

Compare Source

Fixes
  • export [customFetch] symbol from the default entrypoint (1615614), closes #​762

v6.0.7

Compare Source

Documentation
  • improve generate key/secret and import function descriptions (cd06359)
Fixes
  • use [customFetch] when provided to createRemoteJWKSet (35f6509), closes #​760

v6.0.6

Compare Source

Refactor
Documentation
  • add various exported symbol descriptions (3b8ff71)
  • add various exported symbol descriptions (fc4e7da)
  • add various exported symbol descriptions (74f02c8)
  • update base64url function descriptions (03d72c8)

v6.0.5

Compare Source

Refactor
Documentation
  • add various exported symbol descriptions (f52c2ff)

v6.0.4

Compare Source

Refactor
  • optimize base64 with tc39/proposal-arraybuffer-base64 (8a0da69), closes #​752
  • update getSPKI to use crypto.createPublicKey when available (92392a0), closes #​752
  • use Double HMAC pattern for AES-CBC tag comparison (f3ba4c7), closes #​752

v6.0.3

Compare Source

Documentation
  • remove root module tag so that README.md shows up on jsr.io (ee70698)

v6.0.2

Compare Source

Documentation
  • add module tags to all entrypoints (a5687aa)

v6.0.1

Compare Source

Refactor
  • removed unused claims methods (74719cf)
  • reorganize jwt claim set utils (1f12d88)

v6.0.0

Compare Source

⚠ BREAKING CHANGES
  • The PEMImportOptions type interface is renamed to KeyImportOptions.
  • all builds and bundles now use ES2022 as target
  • createRemoteJWKSet now uses fetch, because of that its Node.js only options.agent property has been removed and new fetch-related options were added
  • drop support for Ed448 and X448
  • drop support for JWK key_ops and CryptoKey usages "(un)wrapKey" and "deriveKey"
  • resolved keys returned as part of verify/decrypt operations (when get key functions are used) are always normalized to either Uint8Array / CryptoKey depending on what's more efficient for the executed operation
  • Key "Type" Generics are removed
  • CJS-style require is now only possible when require(esm) support is present in the Node.js runtime
  • private KeyObject instances can no longer be used for verify operations
  • private KeyObject instances can no longer be used for encryption operations
  • generateSecret, generateKeyPair, importPKCS8, importSPKI, importJWK, and importX509 now yield a CryptoKey instead of a KeyObject in Node.js
  • drop support for Node.js 18.x and earlier
  • runtime-specific npm releases (jose-browser-runtime, jose-node-cjs-runtime, and jose-node-esm-runtime) are no longer maintained or supported
  • removed secp256k1 JWS support
  • removed deprecated experimental APIs
  • removed RSA1_5 JWE support
Features
  • enable CryptoKey and KeyObject inputs in JWK thumbprint functions (6fc9c44)
  • JSON Web Key is now an allowed input everywhere (ebda967)
Refactor
  • always use infered CryptoKey (c4abaa2)
  • backport the Ed25519 JWS Algorithm Identifier support (7a94cb9)
  • drop support for Ed448 and X448 (2fae1c4)
  • drop support for JWK key_ops and CryptoKey usages "(un)wrapKey" and "deriveKey" (ef918be)
  • ensure export functions continue to work with KeyObject inputs (28e9e68)
  • hardcode the cryptoRuntime export since it is now always WebCryptoAPI (e00f273)
  • JWK import extractable default for public keys is now true (64dcebe)
  • PEM import extractable default for public keys is now true (4e9f114)
  • removed deprecated APIs (5352083)
  • removed secp256k1 JWS support (e2b58a5)
  • restructure src/lib and src/runtime now that runtime is fixed (9b236ce)
  • target is now ES2022 everywhere (aa590d5)
  • update importJWK args to align with other import functions (355a2dd)
  • WebCryptoAPI is now the only crypto used (161de46)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/jose-6.x branch 2 times, most recently from dc6dcfb to 4712ee6 Compare March 12, 2025 11:04
Copy link

@renovate renovate bot force-pushed the renovate/jose-6.x branch from 4712ee6 to 4bb5e0f Compare May 5, 2025 11:51
Copy link

sonarqubecloud bot commented May 5, 2025

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants