Browse Source

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

master
Lloyd Brookes 8 years ago
parent
commit
27c0b02072
  1. 2
      README.md
  2. 9
      lib/local-web-server.js
  3. 2
      package.json

2
README.md

@ -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

9
lib/local-web-server.js

@ -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' }`.
*/
}
}

2
package.json

@ -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",

Loading…
Cancel
Save