v4.0.3: update deps for bugfixes, better logging

This commit is contained in:
AJ ONeal 2020-01-13 18:47:01 -07:00
parent e5456249a2
commit 83d4a9204e
3 changed files with 9 additions and 7 deletions

View File

@ -38,7 +38,9 @@ module.exports.create = function(opts) {
greenlock._find({}).then(function(sites) { greenlock._find({}).then(function(sites) {
if (sites.length <= 0) { if (sites.length <= 0) {
console.warn("warning: No sites available. Did you add them?"); console.warn("Warning: `find({})` returned 0 sites.");
console.warn(" Does `" + greenlock.manager._modulename + "` implement `find({})`?");
console.warn(" Did you add sites?");
console.warn(" npx greenlock add --subject example.com --altnames example.com"); console.warn(" npx greenlock add --subject example.com --altnames example.com");
return; return;
} }

8
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@root/greenlock-express", "name": "@root/greenlock-express",
"version": "4.0.2", "version": "4.0.3",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -48,9 +48,9 @@
"integrity": "sha512-OaEub02ufoU038gy6bsNHQOjIn8nUjGiLcaRmJ40IUykneJkIW5fxDqKxQx48cszuNflYldsJLPPXCrGfHs8yQ==" "integrity": "sha512-OaEub02ufoU038gy6bsNHQOjIn8nUjGiLcaRmJ40IUykneJkIW5fxDqKxQx48cszuNflYldsJLPPXCrGfHs8yQ=="
}, },
"@root/greenlock": { "@root/greenlock": {
"version": "4.0.3", "version": "4.0.4",
"resolved": "https://registry.npmjs.org/@root/greenlock/-/greenlock-4.0.3.tgz", "resolved": "https://registry.npmjs.org/@root/greenlock/-/greenlock-4.0.4.tgz",
"integrity": "sha512-ocXz91v9LW3Y1OnEpZ3ExfW07CfxtdYfetsYaSXihMWWWOvy+tqWdn2lPIpEYrW9KoCmGj+ooqp44K0d+ZtsAg==", "integrity": "sha512-eSBuAs9LLn11I3oQECB7C61M8SrFSgXLaUGyWW87ctWybrV8wFAzc5QZTebOf97ymFX0gCebiWEO2iBtmLH59g==",
"requires": { "requires": {
"@greenlock/manager": "^3.1.0", "@greenlock/manager": "^3.1.0",
"@root/acme": "^3.0.9", "@root/acme": "^3.0.9",

View File

@ -1,6 +1,6 @@
{ {
"name": "@root/greenlock-express", "name": "@root/greenlock-express",
"version": "4.0.2", "version": "4.0.3",
"description": "Free SSL and managed or automatic HTTPS for node.js with Express, Koa, Connect, Hapi, and all other middleware systems.", "description": "Free SSL and managed or automatic HTTPS for node.js with Express, Koa, Connect, Hapi, and all other middleware systems.",
"main": "greenlock-express.js", "main": "greenlock-express.js",
"homepage": "https://greenlock.domains", "homepage": "https://greenlock.domains",
@ -17,7 +17,7 @@
"example": "examples" "example": "examples"
}, },
"dependencies": { "dependencies": {
"@root/greenlock": "^4.0.3", "@root/greenlock": "^4.0.4",
"redirect-https": "^1.1.5" "redirect-https": "^1.1.5"
}, },
"trulyOptionalDependencies": { "trulyOptionalDependencies": {