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.0 to 1.8.1

7

HISTORY.md

@@ -0,1 +1,8 @@

1.8.1 / 2015-01-20
==================
* Fix redirect loop in Node.js 0.11.14
* deps: send@0.11.1
- Fix root path disclosure
1.8.0 / 2015-01-05

@@ -2,0 +9,0 @@ ==================

1

index.js

@@ -83,2 +83,3 @@ /*!

// append trailing slash
originalUrl.path = null
originalUrl.pathname = collapseLeadingSlashes(originalUrl.pathname + '/')

@@ -85,0 +86,0 @@

8

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

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

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

@@ -30,5 +30,5 @@ },

"test": "mocha --reporter spec --bail --check-leaks test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
}
}

@@ -5,3 +5,4 @@ # serve-static

[![NPM Downloads][downloads-image]][downloads-url]
[![Build Status][travis-image]][travis-url]
[![Linux Build][travis-image]][travis-url]
[![Windows Build][appveyor-image]][appveyor-url]
[![Test Coverage][coveralls-image]][coveralls-url]

@@ -38,3 +39,3 @@ [![Gratipay][gratipay-image]][gratipay-url]

disk. If `root` is specified, only the dotfiles above the root are
checked (i.e. the root itself can be within a dotfile when when set
checked (i.e. the root itself can be within a dotfile when set
to "deny").

@@ -160,5 +161,7 @@

[npm-url]: https://npmjs.org/package/serve-static
[travis-image]: https://img.shields.io/travis/expressjs/serve-static.svg?style=flat
[travis-image]: https://img.shields.io/travis/expressjs/serve-static/master.svg?label=linux&style=flat
[travis-url]: https://travis-ci.org/expressjs/serve-static
[coveralls-image]: https://img.shields.io/coveralls/expressjs/serve-static.svg?style=flat
[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/serve-static/master.svg?label=windows&style=flat
[appveyor-url]: https://ci.appveyor.com/project/dougwilson/serve-static
[coveralls-image]: https://img.shields.io/coveralls/expressjs/serve-static/master.svg?style=flat
[coveralls-url]: https://coveralls.io/r/expressjs/serve-static

@@ -165,0 +168,0 @@ [downloads-image]: https://img.shields.io/npm/dm/serve-static.svg?style=flat

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