Socket
Socket
Sign inDemoInstall

ecstatic

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecstatic - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md

@@ -0,1 +1,4 @@

2015/09/22 Version 1.0.1
- Use encodeURIComponent when creating links in showdir
2015/09/14 Version 1.0.0

@@ -8,2 +11,3 @@ - Optional support for weak Etags and weak Etag *comparison*, useful for cases

- Default status pages return html instead of text/plain
- Contributors are listed in CONTRIBUTORS.md, referenced by LICENSE.txt

@@ -10,0 +14,0 @@ 2015/05/22 Version 0.8.0

2

CONTRIBUTORS.md

@@ -54,2 +54,2 @@ General format is: contributor, github handle, email. In some cases, the

* Mathias Bynens @mathiasbynens
* Chris Lee @clee <clee@mg8.org>

@@ -124,3 +124,3 @@ var ecstatic = require('../ecstatic'),

var isDir = file[1].isDirectory && file[1].isDirectory();
var href = parsed.pathname.replace(/\/$/, '') + '/' + encodeURI(file[0]);
var href = parsed.pathname.replace(/\/$/, '') + '/' + encodeURIComponent(file[0]);

@@ -127,0 +127,0 @@ // append trailing slash and query for dir entry

@@ -5,3 +5,3 @@ {

"description": "A simple static file server middleware that works with both Express and Flatiron",
"version": "1.0.0",
"version": "1.0.1",
"homepage": "https://github.com/jfhbrook/node-ecstatic",

@@ -8,0 +8,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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