Upgrade deps to pick up bugfix to --key and --cert
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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' }`.
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user