mirror of
https://github.com/actions/attest-build-provenance.git
synced 2026-07-29 11:54:57 +00:00
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] <support@github.com> * rebuild dist Signed-off-by: Brian DeHamer <bdehamer@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Brian DeHamer <bdehamer@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brian DeHamer <bdehamer@github.com>
This commit is contained in:
+3
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user