v1.0.4 backcompat with node v6
This commit is contained in:
parent
dfbb24beb3
commit
79e368d783
2
node.js
2
node.js
|
@ -601,7 +601,7 @@ ACME.create = function create(me) {
|
|||
});
|
||||
});
|
||||
};
|
||||
me.promisify = me.promisify || require('util').promisify;
|
||||
me.promisify = me.promisify || require('util').promisify /*node v8+*/ || require('bluebird').promisify /*node v6*/;
|
||||
|
||||
|
||||
if ('function' !== typeof me.getUserAgentString) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "acme-v2",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"description": "Free SSL. A framework for building Let's Encrypt v2 clients, and other ACME v2 (draft 11) clients. Successor to le-acme-core.js",
|
||||
"homepage": "https://git.coolaj86.com/coolaj86/acme-v2.js",
|
||||
"main": "node.js",
|
||||
|
@ -41,5 +41,8 @@
|
|||
"dependencies": {
|
||||
"request": "^2.85.0",
|
||||
"rsa-compat": "^1.3.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"bluebird": "^3.5.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue