Socket
Socket
Sign inDemoInstall

express

Package Overview
Dependencies
Maintainers
7
Versions
279
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express - npm Package Compare versions

Comparing version 4.12.0 to 4.12.1

4

lib/express.js

@@ -31,4 +31,4 @@ /**

mixin(app, proto);
mixin(app, EventEmitter.prototype);
mixin(app, EventEmitter.prototype, false);
mixin(app, proto, false);

@@ -35,0 +35,0 @@ app.request = { __proto__: req, app: app };

@@ -271,3 +271,3 @@ /**

if (!trust(this.connection.remoteAddress)) {
if (!trust(this.connection.remoteAddress, 0)) {
return proto;

@@ -382,3 +382,3 @@ }

if (!host || !trust(this.connection.remoteAddress)) {
if (!host || !trust(this.connection.remoteAddress, 0)) {
host = this.get('Host');

@@ -385,0 +385,0 @@ }

@@ -952,3 +952,3 @@ /*!

var err = new Error('Request aborted');
err.code = 'ECONNABORT';
err.code = 'ECONNABORTED';
callback(err);

@@ -988,2 +988,3 @@ }

function onfinish(err) {
if (err && err.code === 'ECONNRESET') return onaborted();
if (err) return onerror(err);

@@ -990,0 +991,0 @@ if (done) return;

{
"name": "express",
"description": "Fast, unopinionated, minimalist web framework",
"version": "4.12.0",
"version": "4.12.1",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -40,2 +40,3 @@ "contributors": [

"fresh": "0.2.4",
"merge-descriptors": "1.0.0",
"methods": "~1.1.1",

@@ -53,3 +54,2 @@ "on-finished": "~2.2.0",

"cookie": "0.1.2",
"merge-descriptors": "0.0.2",
"utils-merge": "1.0.0"

@@ -65,3 +65,2 @@ },

"supertest": "~0.15.0",
"hjs": "~0.0.6",
"body-parser": "~1.12.0",

@@ -68,0 +67,0 @@ "connect-redis": "~2.2.0",

Sorry, the diff of this file is too big to display

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