Socket
Socket
Sign inDemoInstall

connect

Package Overview
Dependencies
Maintainers
0
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

lib/connect.js

@@ -29,3 +29,3 @@

exports.version = '1.0.4';
exports.version = '1.0.5';

@@ -32,0 +32,0 @@ /**

@@ -102,3 +102,3 @@

if (arguments.length > 2) {
Array.prototype.slice.call(arguments, 1).forEach(function(fn){
return Array.prototype.slice.call(arguments, 1).forEach(function(fn){
this.use(route, fn);

@@ -105,0 +105,0 @@ }, this);

@@ -89,3 +89,3 @@

, end = res.end
, url = req.url;
, url = req.originalUrl;

@@ -145,3 +145,3 @@ // mount safety

return str
.replace(':url', req.url)
.replace(':url', req.originalUrl)
.replace(':method', req.method)

@@ -148,0 +148,0 @@ .replace(':status', res._statusCode)

{
"name": "connect",
"version": "1.0.4",
"version": "1.0.5",
"description": "High performance middleware framework",

@@ -5,0 +5,0 @@ "keywords": ["framework", "web", "middleware", "connect", "rack"],

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