From 13b10dd3a8393395d2322f901ef415eb5b379810 Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Wed, 3 Jul 2024 09:12:48 +0200 Subject: [PATCH] chore(release): 4.15.8 --- CHANGELOG.md | 7 +++++ dist/browser/package.json | 2 +- dist/deno/README.md | 64 +++++++++++++++++++------------------- dist/node/esm/package.json | 2 +- package-lock.json | 4 +-- package.json | 2 +- 6 files changed, 44 insertions(+), 37 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ea5f95ece..0dc94e7ffd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [4.15.8](https://github.com/panva/jose/compare/v4.15.7...v4.15.8) (2024-07-03) + + +### Fixes + +* add sideEffects:false to nested ESM package.json files ([17eef5f](https://github.com/panva/jose/commit/17eef5f7755a5fd23ae3f2695ae2ed10c7f64556)) + ## [4.15.7](https://github.com/panva/jose/compare/v4.15.6...v4.15.7) (2024-06-18) ## [4.15.6](https://github.com/panva/jose/compare/v4.15.5...v4.15.6) (2024-06-18) diff --git a/dist/browser/package.json b/dist/browser/package.json index 6990891ff3..8fb7e8f61b 100644 --- a/dist/browser/package.json +++ b/dist/browser/package.json @@ -1 +1 @@ -{"type": "module"} +{"type":"module","sideEffects":false} diff --git a/dist/deno/README.md b/dist/deno/README.md index da4598b90d..54e84c9db4 100644 --- a/dist/deno/README.md +++ b/dist/deno/README.md @@ -10,73 +10,73 @@ Support from the community to continue maintaining and improving this module is **`example`** Deno import ```js -import * as jose from 'https://deno.land/x/jose@v4.15.7/index.ts' +import * as jose from 'https://deno.land/x/jose@v4.15.8/index.ts' ``` ### JSON Web Tokens (JWT) The `jose` module supports JSON Web Tokens (JWT) and provides functionality for signing and verifying tokens, as well as their JWT Claims Set validation. -- [Signing](https://github.com/panva/jose/blob/v4.15.7/docs/classes/jwt_sign.SignJWT.md) using the `SignJWT` class -- [Verification & JWT Claims Set Validation](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwt_verify.jwtVerify.md) using the `jwtVerify` function - - [Using a remote JWKS](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwks_remote.createRemoteJWKSet.md) - - [Using a local JWKS](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwks_local.createLocalJWKSet.md) +- [Signing](https://github.com/panva/jose/blob/v4.15.8/docs/classes/jwt_sign.SignJWT.md) using the `SignJWT` class +- [Verification & JWT Claims Set Validation](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwt_verify.jwtVerify.md) using the `jwtVerify` function + - [Using a remote JWKS](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwks_remote.createRemoteJWKSet.md) + - [Using a local JWKS](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwks_local.createLocalJWKSet.md) - Utility functions - - [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v4.15.7/docs/functions/util_decode_protected_header.decodeProtectedHeader.md) - - [Decoding JWT Claims Set](https://github.com/panva/jose/blob/v4.15.7/docs/functions/util_decode_jwt.decodeJwt.md) prior to its validation + - [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v4.15.8/docs/functions/util_decode_protected_header.decodeProtectedHeader.md) + - [Decoding JWT Claims Set](https://github.com/panva/jose/blob/v4.15.8/docs/functions/util_decode_jwt.decodeJwt.md) prior to its validation ### Encrypted JSON Web Tokens The `jose` module supports encrypted JSON Web Tokens and provides functionality for encrypting and decrypting tokens, as well as their JWT Claims Set validation. -- [Encryption](https://github.com/panva/jose/blob/v4.15.7/docs/classes/jwt_encrypt.EncryptJWT.md) using the `EncryptJWT` class -- [Decryption & JWT Claims Set Validation](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwt_decrypt.jwtDecrypt.md) using the `jwtDecrypt` function +- [Encryption](https://github.com/panva/jose/blob/v4.15.8/docs/classes/jwt_encrypt.EncryptJWT.md) using the `EncryptJWT` class +- [Decryption & JWT Claims Set Validation](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwt_decrypt.jwtDecrypt.md) using the `jwtDecrypt` function - Utility functions - - [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v4.15.7/docs/functions/util_decode_protected_header.decodeProtectedHeader.md) + - [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v4.15.8/docs/functions/util_decode_protected_header.decodeProtectedHeader.md) ### Key Utilities The `jose` module supports importing, exporting, and generating keys and secrets in various formats, including PEM formats like SPKI, X.509 certificate, and PKCS #8, as well as JSON Web Key (JWK). - Key Import Functions - - [JWK Import](https://github.com/panva/jose/blob/v4.15.7/docs/functions/key_import.importJWK.md) - - [Public Key Import (SPKI)](https://github.com/panva/jose/blob/v4.15.7/docs/functions/key_import.importSPKI.md) - - [Public Key Import (X.509 Certificate)](https://github.com/panva/jose/blob/v4.15.7/docs/functions/key_import.importX509.md) - - [Private Key Import (PKCS #8)](https://github.com/panva/jose/blob/v4.15.7/docs/functions/key_import.importPKCS8.md) + - [JWK Import](https://github.com/panva/jose/blob/v4.15.8/docs/functions/key_import.importJWK.md) + - [Public Key Import (SPKI)](https://github.com/panva/jose/blob/v4.15.8/docs/functions/key_import.importSPKI.md) + - [Public Key Import (X.509 Certificate)](https://github.com/panva/jose/blob/v4.15.8/docs/functions/key_import.importX509.md) + - [Private Key Import (PKCS #8)](https://github.com/panva/jose/blob/v4.15.8/docs/functions/key_import.importPKCS8.md) - Key and Secret Generation Functions - - [Asymmetric Key Pair Generation](https://github.com/panva/jose/blob/v4.15.7/docs/functions/key_generate_key_pair.generateKeyPair.md) - - [Symmetric Secret Generation](https://github.com/panva/jose/blob/v4.15.7/docs/functions/key_generate_secret.generateSecret.md) + - [Asymmetric Key Pair Generation](https://github.com/panva/jose/blob/v4.15.8/docs/functions/key_generate_key_pair.generateKeyPair.md) + - [Symmetric Secret Generation](https://github.com/panva/jose/blob/v4.15.8/docs/functions/key_generate_secret.generateSecret.md) - Key Export Functions - - [JWK Export](https://github.com/panva/jose/blob/v4.15.7/docs/functions/key_export.exportJWK.md) - - [Private Key Export](https://github.com/panva/jose/blob/v4.15.7/docs/functions/key_export.exportPKCS8.md) - - [Public Key Export](https://github.com/panva/jose/blob/v4.15.7/docs/functions/key_export.exportSPKI.md) + - [JWK Export](https://github.com/panva/jose/blob/v4.15.8/docs/functions/key_export.exportJWK.md) + - [Private Key Export](https://github.com/panva/jose/blob/v4.15.8/docs/functions/key_export.exportPKCS8.md) + - [Public Key Export](https://github.com/panva/jose/blob/v4.15.8/docs/functions/key_export.exportSPKI.md) ### JSON Web Signature (JWS) The `jose` module supports signing and verification of JWS messages with arbitrary payloads in Compact, Flattened JSON, and General JSON serialization syntaxes. -- Signing - [Compact](https://github.com/panva/jose/blob/v4.15.7/docs/classes/jws_compact_sign.CompactSign.md), [Flattened JSON](https://github.com/panva/jose/blob/v4.15.7/docs/classes/jws_flattened_sign.FlattenedSign.md), [General JSON](https://github.com/panva/jose/blob/v4.15.7/docs/classes/jws_general_sign.GeneralSign.md) -- Verification - [Compact](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jws_compact_verify.compactVerify.md), [Flattened JSON](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jws_flattened_verify.flattenedVerify.md), [General JSON](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jws_general_verify.generalVerify.md) - - [Verify using a remote JWKS](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwks_remote.createRemoteJWKSet.md) - - [Verify using a local JWKS](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwks_local.createLocalJWKSet.md) +- Signing - [Compact](https://github.com/panva/jose/blob/v4.15.8/docs/classes/jws_compact_sign.CompactSign.md), [Flattened JSON](https://github.com/panva/jose/blob/v4.15.8/docs/classes/jws_flattened_sign.FlattenedSign.md), [General JSON](https://github.com/panva/jose/blob/v4.15.8/docs/classes/jws_general_sign.GeneralSign.md) +- Verification - [Compact](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jws_compact_verify.compactVerify.md), [Flattened JSON](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jws_flattened_verify.flattenedVerify.md), [General JSON](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jws_general_verify.generalVerify.md) + - [Verify using a remote JWKS](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwks_remote.createRemoteJWKSet.md) + - [Verify using a local JWKS](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwks_local.createLocalJWKSet.md) - Utility functions - - [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v4.15.7/docs/functions/util_decode_protected_header.decodeProtectedHeader.md) + - [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v4.15.8/docs/functions/util_decode_protected_header.decodeProtectedHeader.md) ### JSON Web Encryption (JWE) The `jose` module supports encryption and decryption of JWE messages with arbitrary plaintext in Compact, Flattened JSON, and General JSON serialization syntaxes. -- Encryption - [Compact](https://github.com/panva/jose/blob/v4.15.7/docs/classes/jwe_compact_encrypt.CompactEncrypt.md), [Flattened JSON](https://github.com/panva/jose/blob/v4.15.7/docs/classes/jwe_flattened_encrypt.FlattenedEncrypt.md), [General JSON](https://github.com/panva/jose/blob/v4.15.7/docs/classes/jwe_general_encrypt.GeneralEncrypt.md) -- Decryption - [Compact](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwe_compact_decrypt.compactDecrypt.md), [Flattened JSON](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwe_flattened_decrypt.flattenedDecrypt.md), [General JSON](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwe_general_decrypt.generalDecrypt.md) +- Encryption - [Compact](https://github.com/panva/jose/blob/v4.15.8/docs/classes/jwe_compact_encrypt.CompactEncrypt.md), [Flattened JSON](https://github.com/panva/jose/blob/v4.15.8/docs/classes/jwe_flattened_encrypt.FlattenedEncrypt.md), [General JSON](https://github.com/panva/jose/blob/v4.15.8/docs/classes/jwe_general_encrypt.GeneralEncrypt.md) +- Decryption - [Compact](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwe_compact_decrypt.compactDecrypt.md), [Flattened JSON](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwe_flattened_decrypt.flattenedDecrypt.md), [General JSON](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwe_general_decrypt.generalDecrypt.md) - Utility functions - - [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v4.15.7/docs/functions/util_decode_protected_header.decodeProtectedHeader.md) + - [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v4.15.8/docs/functions/util_decode_protected_header.decodeProtectedHeader.md) ### Other The following are additional features and utilities provided by the `jose` module: -- [Calculating JWK Thumbprint](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwk_thumbprint.calculateJwkThumbprint.md) -- [Calculating JWK Thumbprint URI](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwk_thumbprint.calculateJwkThumbprintUri.md) -- [Verification using a JWK Embedded in a JWS Header](https://github.com/panva/jose/blob/v4.15.7/docs/functions/jwk_embedded.EmbeddedJWK.md) -- [Unsecured JWT](https://github.com/panva/jose/blob/v4.15.7/docs/classes/jwt_unsecured.UnsecuredJWT.md) -- [JOSE Errors](https://github.com/panva/jose/blob/v4.15.7/docs/modules/util_errors.md) +- [Calculating JWK Thumbprint](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwk_thumbprint.calculateJwkThumbprint.md) +- [Calculating JWK Thumbprint URI](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwk_thumbprint.calculateJwkThumbprintUri.md) +- [Verification using a JWK Embedded in a JWS Header](https://github.com/panva/jose/blob/v4.15.8/docs/functions/jwk_embedded.EmbeddedJWK.md) +- [Unsecured JWT](https://github.com/panva/jose/blob/v4.15.8/docs/classes/jwt_unsecured.UnsecuredJWT.md) +- [JOSE Errors](https://github.com/panva/jose/blob/v4.15.8/docs/modules/util_errors.md) diff --git a/dist/node/esm/package.json b/dist/node/esm/package.json index 6990891ff3..8fb7e8f61b 100644 --- a/dist/node/esm/package.json +++ b/dist/node/esm/package.json @@ -1 +1 @@ -{"type": "module"} +{"type":"module","sideEffects":false} diff --git a/package-lock.json b/package-lock.json index a856cc612f..e9f78ae0da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "jose", - "version": "4.15.7", + "version": "4.15.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "jose", - "version": "4.15.7", + "version": "4.15.8", "license": "MIT", "devDependencies": { "@types/node": "^18.18.5", diff --git a/package.json b/package.json index 849a9eb898..0774d072a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jose", - "version": "4.15.7", + "version": "4.15.8", "description": "'JSON Web Almost Everything' - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes", "keywords": [ "browser",