get-ssl-certificate
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -60,5 +60,8 @@ var https = require('https'); | ||
function get(url, timeout, port = 443, protocol = 'https:') { | ||
function get(url, timeout, port, protocol) { | ||
validateUrl(url); | ||
port = port || 443; | ||
protocol = protocol || 'https:'; | ||
var options = getOptions(url, port, protocol); | ||
@@ -65,0 +68,0 @@ |
{ | ||
"name": "get-ssl-certificate", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "A micro-library that returns a website's SSL certificate", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,3 +8,3 @@ # get-ssl-certificate | ||
[![Code Climate](https://codeclimate.com/github/johncrisostomo/get-ssl-certificate/badges/gpa.svg)](https://codeclimate.com/github/johncrisostomo/get-ssl-certificate) | ||
[![npm](https://img.shields.io/badge/npm-v2.3.0-blue.svg)](https://www.npmjs.com/package/get-ssl-certificate) | ||
[![npm](https://img.shields.io/badge/npm-v2.3.1-blue.svg)](https://www.npmjs.com/package/get-ssl-certificate) | ||
@@ -11,0 +11,0 @@ ### Installation |
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
15032
196