Upgrade deps to pick up bugfix to --key and --cert

This commit is contained in:
Lloyd Brookes
2017-07-19 12:31:21 +01:00
parent b93180eb49
commit 27c0b02072
3 changed files with 11 additions and 2 deletions

View File

@ -30,7 +30,7 @@ Features:
* Configurable access log
* Route blacklisting
* HTTP Conditional Request support
* Gzip response compression and much more
* Gzip response compression, HTTP Basic Authentication and much more
## Synopsis

View File

@ -3,6 +3,7 @@ const path = require('path')
/**
* @module local-web-server
* @emits module:local-web-server#verbose
* @example
* const LocalWebServer = require('local-web-server')
* const localWebServer = new LocalWebServer()
@ -52,6 +53,14 @@ class LocalWebServer extends Lws {
stack: require('./default-stack')
}, options)
return super.listen(options)
/**
* Highly-verbose debug information event stream.
*
* @event module:local-web-server#verbose
* @param key {string} - An identifying string, e.g. `server.socket.data`.
* @param value {*} - The value, e.g. `{ socketId: 1, bytesRead: '3 Kb' }`.
*/
}
}

View File

@ -32,7 +32,7 @@
"repository": "https://github.com/lwsjs/local-web-server",
"author": "Lloyd Brookes <75pound@gmail.com>",
"dependencies": {
"lws": "^1.1.1",
"lws": "^1.1.2",
"lws-basic-auth": "^0.1.1",
"lws-blacklist": "^0.2.3",
"lws-body-parser": "^0.2.4",