jose-browser-runtime
Advanced tools
Comparing version 4.15.4 to 4.15.5
@@ -63,2 +63,12 @@ export class JOSEError extends Error { | ||
} | ||
export class JWEDecompressionFailed extends JOSEError { | ||
constructor() { | ||
super(...arguments); | ||
this.code = 'ERR_JWE_DECOMPRESSION_FAILED'; | ||
this.message = 'decompression operation failed'; | ||
} | ||
static get code() { | ||
return 'ERR_JWE_DECOMPRESSION_FAILED'; | ||
} | ||
} | ||
export class JWEInvalid extends JOSEError { | ||
@@ -65,0 +75,0 @@ constructor() { |
@@ -66,2 +66,11 @@ import type { KeyLike } from '../types'; | ||
/** | ||
* An error subclass thrown when a JWE ciphertext decompression fails. | ||
* | ||
*/ | ||
export declare class JWEDecompressionFailed extends JOSEError { | ||
static get code(): 'ERR_JWE_DECOMPRESSION_FAILED'; | ||
code: string; | ||
message: string; | ||
} | ||
/** | ||
* An error subclass thrown when a JWE is invalid. | ||
@@ -68,0 +77,0 @@ * |
{ | ||
"name": "jose-browser-runtime", | ||
"version": "4.15.4", | ||
"version": "4.15.5", | ||
"homepage": "https://github.com/panva/jose", | ||
@@ -5,0 +5,0 @@ "repository": "panva/jose", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
12402
0
579317
117
1
0