From ac6bfa4677d0fda2a0f1ecd1d3fb41464ae2b3c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 10:43:31 -0700 Subject: [PATCH] Bump jose from 5.9.2 to 5.9.3 in the npm-development group (#244) * 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] * rebuild dist Signed-off-by: Brian DeHamer --------- Signed-off-by: dependabot[bot] Signed-off-by: Brian DeHamer Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brian DeHamer --- dist/index.js | 5 +++-- package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/dist/index.js b/dist/index.js index bd8a78a..3af80d9 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) { diff --git a/package-lock.json b/package-lock.json index 43450eb..b2f30f6 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", @@ -5680,9 +5680,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 acdf3ce..88a5dac 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",