Comparing version 0.20.3 to 0.20.4
@@ -157,4 +157,8 @@ var fs = require("fs") | ||
if (payload.hasOwnProperty("type") && payload.type === "cert") { | ||
//console.log(payload.data) | ||
helpers.log(helpers.smart("encryption:").grey + " " + payload.data.altnames.join(", ") + ( " (" + payload.data.expiresInWords + ")").grey) | ||
try{ | ||
helpers.log(helpers.smart("encryption:").grey + " " + (payload.data.altnames || []).join(", ") + ( " (" + payload.data.expiresInWords + ")").grey) | ||
} catch(e){ | ||
console.log("ERROR (please report error to support@surge.sh") | ||
console.log(e) | ||
} | ||
} else | ||
@@ -161,0 +165,0 @@ |
{ | ||
"name": "surge", | ||
"version": "0.20.3", | ||
"version": "0.20.4", | ||
"description": "CDN for front-end developers", | ||
@@ -5,0 +5,0 @@ "author": "Brock Whitten <brock@chloi.io>", |
@@ -20,10 +20,9 @@ # surge(.sh) | ||
``` | ||
Surge – Single-command web publishing. (v0.17.6) | ||
Surge – Single-command web publishing. (v0.20.3) | ||
Usage: | ||
surge [options] | ||
surge <project> <domain> | ||
Options: | ||
-p, --project path to projects asset directory (./) | ||
-d, --domain domain of your project (<random>.surge.sh) | ||
-a, --add adds user to list of collaborators (email address) | ||
@@ -34,5 +33,2 @@ -r, --remove removes user from list of collaborators (email address) | ||
Shorthand usage: | ||
surge [project] [domain] | ||
Additional commands: | ||
@@ -44,2 +40,3 @@ surge whoami show who you are logged in as | ||
surge teardown tear down a published project | ||
surge plan set account plan | ||
@@ -46,0 +43,0 @@ Guides: |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
32
75088
48
2182
64