Packages

jose

6.2.18 · 18 Nov 2026MIT244.7M / weekRepositorynpmAtom feed

Your version

6.0.0

major22 Feb 2025Where it was published

6.2.18 is the newest release of 6.x.

In short

16 breaking1 removed2 new10 internal

  • Breaking

    The PEMImportOptions type interface is renamed to KeyImportOptions.

  • Breaking

    All builds and bundles now use ES2022 as target

  • Breaking

    createRemoteJWKSet now uses fetch, because of that its Node.js only options.agent property has been removed and new fetch-related options were added

  • Breaking

    Drop support for Ed448 and X448

  • Breaking

    Drop support for JWK key_ops and CryptoKey usages "(un)wrapKey" and "deriveKey"

  • Breaking

    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

  • Breaking

    Key "Type" Generics are removed

  • Breaking

    CJS-style require is now only possible when require(esm) support is present in the Node.js runtime

Release note

Breaking changes

  • Breaking

    The PEMImportOptions type interface is renamed to KeyImportOptions.

  • Breaking

    All builds and bundles now use ES2022 as target

  • Breaking

    createRemoteJWKSet now uses fetch, because of that its Node.js only options.agent property has been removed and new fetch-related options were added

  • Breaking

    Drop support for Ed448 and X448

  • Breaking

    Drop support for JWK key_ops and CryptoKey usages "(un)wrapKey" and "deriveKey"

  • Breaking

    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

  • Breaking

    Key "Type" Generics are removed

  • Breaking

    CJS-style require is now only possible when require(esm) support is present in the Node.js runtime

  • Breaking

    Private KeyObject instances can no longer be used for verify operations

  • Breaking

    Private KeyObject instances can no longer be used for encryption operations

  • Breaking

    generateSecret, generateKeyPair, importPKCS8, importSPKI, importJWK, and importX509 now yield a CryptoKey instead of a KeyObject in Node.js

  • Breaking

    Drop support for Node.js 18.x and earlier

  • Breaking

    runtime-specific npm releases (jose-browser-runtime, jose-node-cjs-runtime, and jose-node-esm-runtime) are no longer maintained or supported

  • Breaking

    Removed secp256k1 JWS support

  • Breaking

    Removed deprecated experimental APIs

  • Breaking

    Removed RSA1_5 JWE support

Features

  • Enable CryptoKey and KeyObject inputs in JWK thumbprint functions

  • JSON Web Key is now an allowed input everywhere

Refactor

  • Removed

    Removed deprecated APIs

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.