From 08fd8c5f426d3ba9fd45501befe8487b2ec3d69a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 01:14:51 +0000 Subject: [PATCH 1/2] Bump jose from 5.9.2 to 5.9.3 in the npm-development group Bumps the npm-development group with 1 update: [jose](https://github.com/panva/jose). Updates `jose` from 5.9.2 to 5.9.3 - [Release notes](https://github.com/panva/jose/releases) - [Changelog](https://github.com/panva/jose/blob/main/CHANGELOG.md) - [Commits](https://github.com/panva/jose/compare/v5.9.2...v5.9.3) --- updated-dependencies: - dependency-name: jose dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2a491437..c7344d81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "eslint-plugin-jsonc": "^2.16.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", - "jose": "^5.9.2", + "jose": "^5.9.3", "markdownlint-cli": "^0.41.0", "nock": "^13.5.5", "prettier": "^3.3.3", @@ -5674,9 +5674,9 @@ } }, "node_modules/jose": { - "version": "5.9.2", - "resolved": "https://registry.npmjs.org/jose/-/jose-5.9.2.tgz", - "integrity": "sha512-ILI2xx/I57b20sd7rHZvgiiQrmp2mcotwsAH+5ajbpFQbrYVQdNHYlQhoA5cFb78CgtBOxtC05TeA+mcgkuCqQ==", + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/jose/-/jose-5.9.3.tgz", + "integrity": "sha512-egLIoYSpcd+QUF+UHgobt5YzI2Pkw/H39ou9suW687MY6PmCwPmkNV/4TNjn1p2tX5xO3j0d0sq5hiYE24bSlg==", "funding": { "url": "https://github.com/sponsors/panva" } diff --git a/package.json b/package.json index 92b1d965..78b93133 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "eslint-plugin-jsonc": "^2.16.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", - "jose": "^5.9.2", + "jose": "^5.9.3", "markdownlint-cli": "^0.41.0", "nock": "^13.5.5", "prettier": "^3.3.3", From 92f1cecc254e89c1484e33ccc201357f807a37ae Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Mon, 23 Sep 2024 08:54:52 -0700 Subject: [PATCH 2/2] rebuild dist Signed-off-by: Brian DeHamer --- dist/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index bd8a78a6..3af80d99 100644 --- a/dist/index.js +++ b/dist/index.js @@ -26010,7 +26010,7 @@ function isCloudflareWorkers() { let USER_AGENT; if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) { const NAME = 'jose'; - const VERSION = 'v5.9.2'; + const VERSION = 'v5.9.3'; USER_AGENT = `${NAME}/${VERSION}`; } exports.jwksCache = Symbol(); @@ -27877,7 +27877,8 @@ exports["default"] = (protectedHeader, encodedPayload, options = {}) => { throw new errors_js_1.JWTClaimValidationFailed(`missing required "${claim}" claim`, payload, claim, 'missing'); } } - if (issuer && !(Array.isArray(issuer) ? issuer : [issuer]).includes(payload.iss)) { + if (issuer && + !(Array.isArray(issuer) ? issuer : [issuer]).includes(payload.iss)) { throw new errors_js_1.JWTClaimValidationFailed('unexpected "iss" claim value', payload, 'iss', 'check_failed'); } if (subject && payload.sub !== subject) {