@peculiar/asn1-x509
Advanced tools
Comparing version 2.0.9 to 2.0.10
@@ -25,2 +25,8 @@ "use strict"; | ||
} | ||
toJSON() { | ||
return CRLReasons[this.reason]; | ||
} | ||
toString() { | ||
return this.toJSON(); | ||
} | ||
}; | ||
@@ -27,0 +33,0 @@ tslib_1.__decorate([ |
@@ -23,2 +23,8 @@ import { __decorate } from "tslib"; | ||
} | ||
toJSON() { | ||
return CRLReasons[this.reason]; | ||
} | ||
toString() { | ||
return this.toJSON(); | ||
} | ||
}; | ||
@@ -25,0 +31,0 @@ __decorate([ |
@@ -38,2 +38,4 @@ /** | ||
constructor(reason?: CRLReasons); | ||
toJSON(): string; | ||
toString(): string; | ||
} |
{ | ||
"name": "@peculiar/asn1-x509", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"description": "ASN.1 schema of `Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile` (RFC5280)", | ||
@@ -41,3 +41,3 @@ "bugs": { | ||
}, | ||
"gitHead": "6899580074bcf43c2c8ac48ab14cc4499a6690ba" | ||
"gitHead": "7af6ef39000a91320974ea6ada7357b742b69081" | ||
} |
@@ -49,2 +49,10 @@ import { AsnProp, AsnPropTypes, AsnType, AsnTypeTypes } from "@peculiar/asn1-schema"; | ||
} | ||
public toJSON() { | ||
return CRLReasons[this.reason]; | ||
} | ||
public toString() { | ||
return this.toJSON(); | ||
} | ||
} |
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
175098
4930