Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jose-browser-runtime

Package Overview
Dependencies
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jose-browser-runtime - npm Package Compare versions

Comparing version 3.12.0 to 3.12.1

dist/browser/runtime/fetch_jwks.js

4

dist/browser/jwks/remote.js
import parseJWK from '../jwk/parse.js';
import { JWKSInvalid, JOSENotSupported, JWKSNoMatchingKey, JWKSMultipleMatchingKeys, } from '../util/errors.js';
import fetchJson from '../runtime/fetch.js';
import fetchJwks from '../runtime/fetch_jwks.js';
import isObject from '../lib/is_object.js';

@@ -106,3 +106,3 @@ function getKtyFromAlg(alg) {

if (!this._pendingFetch) {
this._pendingFetch = fetchJson(this._url, this._timeoutDuration, this._options)
this._pendingFetch = fetchJwks(this._url, this._timeoutDuration, this._options)
.then((json) => {

@@ -109,0 +109,0 @@ if (typeof json !== 'object' ||

{
"name": "jose-browser-runtime",
"version": "3.12.0",
"version": "3.12.1",
"description": "(Browser Runtime) 'JSON Web Almost Everything' - JWA, JWS, JWE, JWT, JWK with no dependencies",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc