v2.7.16: minor updates and dep updates for v3

This commit is contained in:
AJ ONeal 2019-04-07 21:35:51 -06:00
parent f4cdbe7a47
commit 0d14db1f1c
4 changed files with 12 additions and 11 deletions

View File

@ -28,7 +28,7 @@ function promisifyAllStore(obj) {
if ('function' !== typeof obj[key] || /Async$/.test(key)) { return; }
var p;
if (1 === obj[key].length) {
if (0 === obj[key].length || 1 === obj[key].length) {
// wrap just in case it's synchronous (or improperly throws)
p = function (opts) { return PromiseA.resolve().then(function () { return obj[key](opts); }); };
} else {

View File

@ -152,6 +152,7 @@ module.exports.create = function (gl) {
var accountKeypairPromise;
args.keypair = keypair;
args.receipt = receipt;
if (newAccountKeypair) {
accountKeypairPromise = gl.store.accounts.setKeypairAsync(args, keypair);
}

14
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "greenlock",
"version": "2.7.14",
"version": "2.7.15",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -18,9 +18,9 @@
}
},
"acme-v2": {
"version": "1.7.6",
"resolved": "https://registry.npmjs.org/acme-v2/-/acme-v2-1.7.6.tgz",
"integrity": "sha512-k4ZlTI8txU7AweKny2MK9EAJTSCSu9ueodrv3v91r2NckTuHRu8ELzN3LbP5zlTrb2coNFay4uLcA3u4ona67A==",
"version": "1.7.7",
"resolved": "https://registry.npmjs.org/acme-v2/-/acme-v2-1.7.7.tgz",
"integrity": "sha512-Pg0EQ45h8N2e4K2goYedutCgWxAmtcruwDHr6hgPBgAWEORVb5SQEdXjtEhCrn+APtr7MyFPryyzXpYpDD5ecA==",
"requires": {
"@coolaj86/urequest": "^1.3.6",
"rsa-compat": "^2.0.6"
@ -74,9 +74,9 @@
}
},
"le-store-fs": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/le-store-fs/-/le-store-fs-1.0.2.tgz",
"integrity": "sha512-9Xm9Lro0qCJMSdsR2496lqu+VjjRUC0Rz3BYGpgVbWb+9+4wyLk+Gq76q3nI3UzrpDxcqhR+Jh1FDxsRowKmmg==",
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/le-store-fs/-/le-store-fs-1.0.3.tgz",
"integrity": "sha512-JdnYvfBiJwgjNFQ55Qw5bgWd+MsnE466AgBMWw6dMzORTQ0F2a35u0l8VvZ9qRBeSoAv6Kt/y5saATzjNltcqQ==",
"requires": {
"mkdirp": "^0.5.1",
"safe-replace": "^1.1.0"

View File

@ -1,6 +1,6 @@
{
"name": "greenlock",
"version": "2.7.15",
"version": "2.7.16",
"description": "Let's Encrypt for node.js on npm",
"main": "index.js",
"files": [
@ -39,14 +39,14 @@
},
"dependencies": {
"acme": "^1.3.0",
"acme-v2": "^1.7.6",
"acme-v2": "^1.7.7",
"cert-info": "^1.5.1",
"keypairs": "^1.2.14",
"le-challenge-dns": "^3.0.3",
"le-challenge-fs": "^2.0.2",
"le-sni-auto": "^2.1.8",
"le-store-certbot": "^2.2.2",
"le-store-fs": "^1.0.2",
"le-store-fs": "^1.0.3",
"rsa-compat": "^2.0.6"
},
"engines": {