Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

surge

Package Overview
Dependencies
Maintainers
2
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

surge - npm Package Compare versions

Comparing version 0.20.3 to 0.20.4

8

lib/middleware/deploy.js

@@ -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:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc