ssl-checker
Advanced tools
Comparing version 2.0.8 to 2.0.9
@@ -82,2 +82,3 @@ 'use strict'; | ||
var _a = res.socket.getPeerCertificate(), valid_from = _a.valid_from, valid_to = _a.valid_to, subjectaltname = _a.subjectaltname; | ||
res.socket.destroy(); | ||
if (!valid_from || !valid_to || !subjectaltname) { | ||
@@ -84,0 +85,0 @@ reject(new Error("No certificate")); |
@@ -61,2 +61,3 @@ import * as https from 'https'; | ||
var _a = res.socket.getPeerCertificate(), valid_from = _a.valid_from, valid_to = _a.valid_to, subjectaltname = _a.subjectaltname; | ||
res.socket.destroy(); | ||
if (!valid_from || !valid_to || !subjectaltname) { | ||
@@ -63,0 +64,0 @@ reject(new Error("No certificate")); |
{ | ||
"name": "ssl-checker", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"description": "ssl-checker", | ||
@@ -15,4 +15,3 @@ "main": "./lib/cjs/index.js", | ||
"prepare": "npm run build", | ||
"prepublishOnly": "npm test && npm run precommit", | ||
"preversion": "npm run precommit", | ||
"prepublishOnly": "npm test", | ||
"version": "npm run format && git add -A src", | ||
@@ -19,0 +18,0 @@ "postversion": "git push && git push --tags" |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
12583
200
2