Socket
Socket
Sign inDemoInstall

serve-static

Package Overview
Dependencies
Maintainers
6
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serve-static - npm Package Compare versions

Comparing version 1.8.1 to 1.9.0

14

HISTORY.md

@@ -0,1 +1,9 @@

1.9.0 / 2015-02-16
==================
* deps: send@0.12.0
- Always read the stat size from the file
- Fix mutating passed-in `options`
- deps: mime@1.3.4
1.8.1 / 2015-01-20

@@ -36,2 +44,8 @@ ==================

1.6.5 / 2015-02-04
==================
* Fix potential open redirect when mounted at root
- Back-ported from v1.7.2
1.6.4 / 2014-10-08

@@ -38,0 +52,0 @@ ==================

4

package.json
{
"name": "serve-static",
"description": "Serve static files",
"version": "1.8.1",
"version": "1.9.0",
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",

@@ -11,3 +11,3 @@ "license": "MIT",

"parseurl": "~1.3.0",
"send": "0.11.1",
"send": "0.12.0",
"utils-merge": "1.0.0"

@@ -14,0 +14,0 @@ },

@@ -144,6 +144,6 @@ # serve-static

```js
var connect = require('connect')
var express = require('express')
var serveStatic = require('serve-static')
var app = connect()
var app = express()

@@ -150,0 +150,0 @@ app.use(serveStatic('public/ftp', {'index': ['default.html', 'default.htm']}))

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