solr-proxy
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -0,1 +1,6 @@ | ||
1.1.0 | ||
===== | ||
* --version flag | ||
1.0.1 | ||
@@ -2,0 +7,0 @@ ===== |
@@ -12,2 +12,3 @@ module.exports = function(argv, logger, SolrProxy) { | ||
' --validMethods Allowed HTTP methods (comma separated) [default: "GET,HEAD"]\n' + | ||
' --version, -v Show version' + | ||
' --help, -h Show this message'; | ||
@@ -20,2 +21,8 @@ | ||
if (argv.version || argv.v) { | ||
var version = require('../../package.json').version; | ||
logger(version); | ||
return; | ||
} | ||
var proxyOptions = { | ||
@@ -22,0 +29,0 @@ backend: {} |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"author": "Rich Trott <rtrott@gmail.com>", | ||
@@ -20,2 +20,6 @@ "bugs": { | ||
}, | ||
"pre-commit": [ | ||
"lint", | ||
"test" | ||
], | ||
"bin": { | ||
@@ -27,3 +31,4 @@ "solr-proxy": "bin/solr-proxy.js" | ||
"index.js", | ||
"lib" | ||
"lib", | ||
"npm-shrinkwrap.json" | ||
], | ||
@@ -30,0 +35,0 @@ "repository": { |
@@ -6,3 +6,3 @@ solr-proxy | ||
This is a clone/rewrite of https://github.com/dergachev/solr-security-proxy with some bug fixes and other changes. Much of the material in this README and many of the tests are taken from that project. | ||
This is a rewrite of https://github.com/dergachev/solr-security-proxy with some bug fixes and other changes. | ||
@@ -38,9 +38,10 @@ [![Build Status](https://secure.travis-ci.org/Trott/solr-proxy.png)](http://travis-ci.org/Trott/solr-proxy) | ||
``` | ||
--port Listen on this port [default: 8008] | ||
--backendPort Solr backend port [default: 8080] | ||
--backendHost Solr backend host [default: "localhost"] | ||
--validPaths Only allow these paths (comma separated) [default: "/solr/select"] | ||
--invalidParams Block these query params (comma separated) [default: "qt,stream"] | ||
--validMethods Allow only these HTTP methods (comma separated) [default: "GET"] | ||
--help, -h Show usage | ||
--port Listen on this port [default: 8008] | ||
--backendPort Solr backend port [default: 8080] | ||
--backendHost Solr backend host [default: "localhost"] | ||
--validPaths Allowed paths (comma separated) [default: "/solr/select"] | ||
--invalidParams Blocked parameters (comma separated) [default: "qt,stream"] | ||
--validMethods Allowed HTTP methods (comma separated) [default: "GET,HEAD"] | ||
--version, -v Show version | ||
--help, -h Show this message | ||
``` | ||
@@ -47,0 +48,0 @@ |
NPM Shrinkwrap
Supply chain riskPackage contains a shrinkwrap file. This may allow the package to bypass normal install procedures.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9439
9
143
88
2
1