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.18.0 to 0.19.0

9

lib/middleware/domain.js

@@ -48,4 +48,11 @@ var helpers = require("./util/helpers")

} else {
getDomain(req.suggestedDomain)
if (req.domain == "_"){
req.domain = [moniker.choose(), req.config.platform].join(".")
console.log(label, req.domain)
next()
} else {
getDomain(req.suggestedDomain)
}
}
}

2

lib/surge.js

@@ -56,3 +56,3 @@

? config.endpoint
: config.platform ? "http://surge." + config.platform : 'https://surge.surge.sh'
: config.platform ? "https://surge." + config.platform : 'https://surge.surge.sh'

@@ -59,0 +59,0 @@ config.platform = config.platform || "surge.sh"

{
"name": "surge",
"version": "0.18.0",
"version": "0.19.0",
"description": "CDN for front-end developers",

@@ -5,0 +5,0 @@ "author": "Brock Whitten <brock@chloi.io>",

@@ -48,3 +48,3 @@ # surge(.sh)

When in doubt, run surge from within you project directory.
When in doubt, run surge from within your project directory.

@@ -51,0 +51,0 @@ ```

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