jose-node-esm-runtime
Advanced tools
Comparing version 4.11.2 to 4.11.3
@@ -74,9 +74,9 @@ import { isCloudflareWorkers } from '../runtime/env.js'; | ||
} | ||
case isCloudflareWorkers() && 'EdDSA': { | ||
if (!isAlgorithm(key.algorithm, 'NODE-ED25519')) | ||
throw unusable('NODE-ED25519'); | ||
break; | ||
} | ||
case 'EdDSA': { | ||
if (key.algorithm.name !== 'Ed25519' && key.algorithm.name !== 'Ed448') { | ||
if (isCloudflareWorkers()) { | ||
if (isAlgorithm(key.algorithm, 'NODE-ED25519')) | ||
break; | ||
throw unusable('Ed25519, Ed448, or NODE-ED25519'); | ||
} | ||
throw unusable('Ed25519 or Ed448'); | ||
@@ -83,0 +83,0 @@ } |
{ | ||
"name": "jose-node-esm-runtime", | ||
"version": "4.11.2", | ||
"version": "4.11.3", | ||
"homepage": "https://github.com/panva/jose", | ||
@@ -5,0 +5,0 @@ "repository": "panva/jose", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
246248
119
1
52