Socket
Socket
Sign inDemoInstall

express-naked-redirect

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.4 to 0.1.6

2

index.js

@@ -8,3 +8,3 @@ /**

var subdomainParser = (function () {
const parseDomain = require('parse-domain')
const parseDomain = require('parse-domain/lib/parseDomain')
const parsedDomain = {}

@@ -11,0 +11,0 @@

{
"name": "express-naked-redirect",
"version": "0.1.4",
"version": "0.1.6",
"description": "expressNakedRedirect is a middleware for Express that redirects naked(root domain) request to www or its reverse.",

@@ -31,8 +31,8 @@ "contributors": [

"dependencies": {
"parse-domain": "^2.3.4"
"parse-domain": "github:why2pac/parse-domain"
},
"devDependencies": {
"express": "^4.17.1",
"mocha": "^6.2.2",
"standard": "^14.3.1",
"mocha": "^7.1.1",
"standard": "^14.3.3",
"supertest": "^4.0.2",

@@ -39,0 +39,0 @@ "url-pattern": "^1.0.3"

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc