New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

clean-urls

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clean-urls - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

5

index.js

@@ -6,2 +6,3 @@ var path = require('path');

var deliver = require('deliver');
var mime = require('mime-types');

@@ -23,3 +24,5 @@ module.exports = function (options) {

deliver(req).pipe(res);
deliver(req, {
contentType: mime.lookup(pathname)
}).pipe(res);
};

@@ -26,0 +29,0 @@

{
"name": "clean-urls",
"version": "0.1.0",
"version": "0.1.1",
"description": "Express/Connect middleware to serve static files from cleaner, extensionless urls",

@@ -40,4 +40,5 @@ "main": "index.js",

"fast-url-parser": "^1.0.6-0",
"file-exists": "^0.1.0"
"file-exists": "^0.1.0",
"mime-types": "^1.0.1"
}
}
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