Socket
Socket
Sign inDemoInstall

express

Package Overview
Dependencies
Maintainers
3
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 5.0.0-alpha.7 to 5.0.0-alpha.8

2

lib/express.js

@@ -78,3 +78,5 @@ /*!

exports.json = bodyParser.json
exports.raw = bodyParser.raw
exports.static = require('serve-static');
exports.text = bodyParser.text
exports.urlencoded = bodyParser.urlencoded

@@ -412,2 +412,6 @@ /*!

val = this.get('Host');
} else if (val.indexOf(',') !== -1) {
// Note: X-Forwarded-Host is normally only ever a
// single value, but this is to be safe.
val = val.substring(0, val.indexOf(',')).trimRight()
}

@@ -414,0 +418,0 @@

@@ -358,2 +358,6 @@ /*!

if (typeof path !== 'string') {
throw new TypeError('path must be a string to res.sendFile')
}
// support function as second arg

@@ -690,3 +694,3 @@ if (typeof options === 'function') {

*
* // save as above
* // same as above
* res.cookie('rememberme', '1', { maxAge: 900000, httpOnly: true })

@@ -993,2 +997,3 @@ *

return '\\u0026'
/* istanbul ignore next: unreachable default */
default:

@@ -995,0 +1000,0 @@ return c

42

package.json
{
"name": "express",
"description": "Fast, unopinionated, minimalist web framework",
"version": "5.0.0-alpha.7",
"version": "5.0.0-alpha.8",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

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

"dependencies": {
"accepts": "~1.3.5",
"accepts": "~1.3.7",
"array-flatten": "2.1.1",
"body-parser": "1.18.3",
"content-disposition": "0.5.2",
"body-parser": "1.19.0",
"content-disposition": "0.5.3",
"content-type": "~1.0.4",
"cookie": "0.3.1",
"cookie": "0.4.0",
"cookie-signature": "1.0.6",

@@ -43,3 +43,3 @@ "debug": "3.1.0",

"etag": "~1.8.1",
"finalhandler": "1.1.1",
"finalhandler": "~1.1.2",
"fresh": "0.5.2",

@@ -49,14 +49,14 @@ "merge-descriptors": "1.0.1",

"on-finished": "~2.3.0",
"parseurl": "~1.3.2",
"parseurl": "~1.3.3",
"path-is-absolute": "1.0.1",
"proxy-addr": "~2.0.4",
"qs": "6.5.2",
"range-parser": "~1.2.0",
"proxy-addr": "~2.0.5",
"qs": "6.7.0",
"range-parser": "~1.2.1",
"router": "2.0.0-alpha.1",
"safe-buffer": "5.1.2",
"send": "0.16.2",
"serve-static": "1.13.2",
"setprototypeof": "1.1.0",
"statuses": "~1.4.0",
"type-is": "~1.6.16",
"send": "0.17.1",
"serve-static": "1.14.1",
"setprototypeof": "1.1.1",
"statuses": "~1.5.0",
"type-is": "~1.6.18",
"utils-merge": "1.0.1",

@@ -67,11 +67,11 @@ "vary": "~1.1.2"

"after": "0.8.2",
"connect-redis": "3.4.0",
"cookie-parser": "~1.4.3",
"cookie-session": "1.3.2",
"connect-redis": "3.4.1",
"cookie-parser": "~1.4.4",
"cookie-session": "1.3.3",
"ejs": "2.6.1",
"eslint": "2.13.1",
"express-session": "1.15.6",
"hbs": "4.0.1",
"express-session": "1.16.1",
"hbs": "4.0.4",
"istanbul": "0.4.5",
"marked": "0.5.1",
"marked": "0.6.2",
"method-override": "3.0.0",

@@ -78,0 +78,0 @@ "mocha": "5.2.0",

@@ -12,4 +12,4 @@ [![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)

```js
var express = require('express')
var app = express()
const express = require('express')
const app = express()

@@ -94,2 +94,4 @@ app.get('/', function (req, res) {

View the website at: http://localhost:3000
## Philosophy

@@ -130,2 +132,6 @@

## Contributing
[Contributing Guide](Contributing.md)
## People

@@ -153,5 +159,1 @@

[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=master
[gratipay-image-visionmedia]: https://img.shields.io/gratipay/visionmedia.svg
[gratipay-url-visionmedia]: https://gratipay.com/visionmedia/
[gratipay-image-dougwilson]: https://img.shields.io/gratipay/dougwilson.svg
[gratipay-url-dougwilson]: https://gratipay.com/dougwilson/

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