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

express-subdomain-handler

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-subdomain-handler - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

lib/utils.js

5

lib/esh.js

@@ -1,2 +0,1 @@

/**

@@ -42,3 +41,3 @@ * SubdomainHandler

regex = new RegExp('((?!www)\\b[\\w\\.]+)\\.' + baseUrl + '(?::)?(?:\d+)?');
regex = new RegExp('((?!www)\\b[-\\w\\.]+)\\.' + baseUrl + '(?::)?(?:\d+)?');

@@ -101,2 +100,2 @@ return regex;

};
};
};

18

package.json
{
"name": "express-subdomain-handler",
"version": "0.0.4",
"author": "Wilson Page",
"description": "A tiny module to handle subdomains nicely in Express",
"homepage": "http://github.com/WilsonPage/express-subdomain-handler",
"engines": ["node >= 0.2.2"],
"main": "lib/esh"
}
"name": "express-subdomain-handler",
"version": "0.1.0",
"author": "Wilson Page",
"description": "A tiny module to handle subdomains nicely in Express",
"homepage": "http://github.com/WilsonPage/express-subdomain-handler",
"engines": [
"node >= 0.2.2"
],
"main": "lib/esh"
}
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