Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,4 @@ | ||
2015/10/02 Version 1.1.1 | ||
- Properly handle boolean CLI args | ||
2015/10/01 Version 1.1.0 | ||
@@ -2,0 +5,0 @@ - Adds support for responding to OPTIONS headers |
@@ -322,3 +322,16 @@ #! /usr/bin/env node | ||
var http = require('http'), | ||
opts = require('minimist')(process.argv.slice(2)), | ||
opts = require('minimist')(process.argv.slice(2), { | ||
boolean: [ | ||
'showdir', 'showDir', | ||
'humanreadable', 'humanReadable', 'human-readable', | ||
'si', 'index', | ||
'handleError', 'handleerror', | ||
'cors', 'CORS', | ||
'gzip', | ||
'serverHeader', 'serverheader', 'server-header', | ||
'weakEtags', 'weaketags', 'weak-etags', | ||
'weakcompare', 'weakCompare', 'weak-compare', 'weak-Compare', | ||
'handleOptionsMethod', 'handleoptionsmethod', 'handle-options-method' | ||
] | ||
}), | ||
envPORT = parseInt(process.env.PORT, 10), | ||
@@ -325,0 +338,0 @@ port = envPORT > 1024 && envPORT <= 65536 ? envPORT : opts.port || opts.p || 8000, |
@@ -5,3 +5,3 @@ { | ||
"description": "A simple static file server middleware that works with both Express and Flatiron", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"homepage": "https://github.com/jfhbrook/node-ecstatic", | ||
@@ -8,0 +8,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
238718
815