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 3.2.0 to 3.2.1

scripts/build-icons.js

7

CHANGELOG.md

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

2018/07/06 Version 3.2.1
- Update package.json project description
- Move tools folder to scripts folder
- Linting now passes on windows if git converts newlines to CRLFs
- No longer return a 416 when input range header has extra untrimmed whitespace
- Remove extra double quotes in ETAGs
2018/02/03 Version 3.2.0

@@ -2,0 +9,0 @@ - Add hidePermissions flag to hide file permissions from directory listings

4

CONTRIBUTORS.md

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

* David Refoua @DRSDavidSoft <david@refoua.me>
* @mmmm1998 <warquark@gmail.com>
* @mmmm1998 <warquark@gmail.com>
* Victor Didenko @victordidenko
* Zong Jhe Wu @s25g5d4

@@ -265,3 +265,3 @@ #! /usr/bin/env node

const total = stat.size;
const parts = range.replace(/bytes=/, '').split('-');
const parts = range.trim().replace(/bytes=/, '').split('-');
const partialstart = parts[0];

@@ -268,0 +268,0 @@ const partialend = parts[1];

'use strict';
module.exports = (stat, weakEtag) => {
let etag = `"${[stat.ino, stat.size, JSON.stringify(stat.mtime)].join('-')}"`;
let etag = `"${[stat.ino, stat.size, stat.mtime.toISOString()].join('-')}"`;
if (weakEtag) {

@@ -6,0 +6,0 @@ etag = `W/${etag}`;

{
"author": "Joshua Holbrook <josh@nodejitsu.com> (http://jesusabdullah.net)",
"name": "ecstatic",
"description": "A simple static file server middleware that works with both Express and Flatiron",
"version": "3.2.0",
"description": "A simple static file server middleware",
"version": "3.2.1",
"homepage": "https://github.com/jfhbrook/node-ecstatic",

@@ -29,5 +29,5 @@ "repository": {

"he": "^1.1.1",
"mime": "^1.4.1",
"mime": "^1.6.0",
"minimist": "^1.1.0",
"url-join": "^2.0.2"
"url-join": "^2.0.5"
},

@@ -37,10 +37,10 @@ "devDependencies": {

"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.2.0",
"eslint-plugin-import": "^2.3.0",
"express": "^4.12.3",
"eslint-config-airbnb-base": "^11.3.2",
"eslint-plugin-import": "^2.11.0",
"express": "^4.16.3",
"mkdirp": "^0.5.0",
"request": "^2.49.0",
"tap": "^10.3.3"
"request": "^2.85.0",
"tap": "^10.7.3"
},
"license": "MIT"
}
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