@fidm/x509
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -33,3 +33,3 @@ /// <reference types="node" /> | ||
toJSON(): any; | ||
private getFieldValue(key); | ||
private getFieldValue; | ||
} | ||
@@ -51,2 +51,3 @@ /** | ||
static fromPEM(data: Buffer): Certificate; | ||
readonly raw: Buffer; | ||
readonly version: number; | ||
@@ -53,0 +54,0 @@ readonly serialNumber: string; |
@@ -277,2 +277,3 @@ 'use strict'; | ||
} | ||
this.raw = obj.DER; | ||
this.version = captures.certVersion == null ? 0 : (asn1_1.ASN1.parseIntegerNum(captures.certVersion.bytes) + 1); | ||
@@ -279,0 +280,0 @@ this.serialNumber = asn1_1.ASN1.parseIntegerStr(captures.certSerialNumber.bytes); |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"main": "build/index.js", | ||
@@ -36,3 +36,3 @@ "types": "build/index.d.ts", | ||
"devDependencies": { | ||
"@types/node": "^10.1.4", | ||
"@types/node": "^10.3.0", | ||
"istanbul": "^1.1.0-alpha.1", | ||
@@ -44,3 +44,3 @@ "tman": "^1.7.4", | ||
"typedoc": "^0.11.1", | ||
"typescript": "^2.8.4" | ||
"typescript": "^2.9.1" | ||
}, | ||
@@ -47,0 +47,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
137553
2066