v2.2.5 backcompat with node v6

This commit is contained in:
AJ ONeal 2018-04-24 11:43:27 -06:00
parent 5061b7391d
commit 03f6b2dff1
2 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,8 @@ var path = require('path');
var homeRe = new RegExp("^~(\\/|\\\\|\\" + path.sep + ")");
var re = /^[a-zA-Z0-9\.\-]+$/;
var punycode = require('punycode');
var dnsResolveMxAsync = require('util').promisify(require('dns').resolveMx);
var promisify = (require('util').promisify || require('bluebird').promisify);
var dnsResolveMxAsync = promisify(require('dns').resolveMx);
module.exports.attachCertInfo = function (results) {
// XXX Note: Parsing the certificate info comes at a great cost (~500kb)

View File

@ -1,6 +1,6 @@
{
"name": "greenlock",
"version": "2.2.4",
"version": "2.2.5",
"description": "Let's Encrypt for node.js on npm",
"main": "index.js",
"scripts": {
@ -54,11 +54,12 @@
"devDependencies": {
"request": "^2.75.0"
},
"optionalDependencies": {},
"optionalDependencies": {
"bluebird": "^3.5.1"
},
"dependencies": {
"acme-v2": "^1.0.2",
"asn1js": "^1.2.12",
"bluebird": "^3.0.6",
"certpem": "^1.0.0",
"homedir": "^0.6.0",
"le-acme-core": "^2.1.2",