local-web-server
Advanced tools
Comparing version
{ | ||
"name": "local-web-server", | ||
"version": "4.2.1", | ||
"version": "5.2.0", | ||
"description": "A lean, modular web server for rapid full-stack development", | ||
@@ -8,4 +8,5 @@ "repository": "https://github.com/lwsjs/local-web-server", | ||
"bin": { | ||
"ws": "./bin/cli.js" | ||
"ws": "./bin/cli.mjs" | ||
}, | ||
"exports": "./index.mjs", | ||
"license": "MIT", | ||
@@ -28,42 +29,44 @@ "keywords": [ | ||
"frontend", | ||
"full-stack" | ||
"full-stack", | ||
"http-server", | ||
"http", | ||
"http2", | ||
"https" | ||
], | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=12.20" | ||
}, | ||
"scripts": { | ||
"test": "test-runner test/*.js", | ||
"test": "test-runner test/*.mjs", | ||
"cover": "nyc npm test && nyc report --reporter=text-lcov | coveralls" | ||
}, | ||
"files": [ | ||
"bin/*.js", | ||
"lib/*.js", | ||
"index.js" | ||
"bin", | ||
"lib", | ||
"index.mjs" | ||
], | ||
"dependencies": { | ||
"lws": "^3.1.0", | ||
"current-module-paths": "^1.1.0", | ||
"lws": "^4.1.1", | ||
"lws-basic-auth": "^2.0.0", | ||
"lws-blacklist": "^3.0.0", | ||
"lws-body-parser": "^2.0.0", | ||
"lws-compress": "^2.0.0", | ||
"lws-body-parser": "^3.0.0", | ||
"lws-compress": "^3.1.0", | ||
"lws-conditional-get": "^2.0.0", | ||
"lws-cors": "^3.0.0", | ||
"lws-index": "^2.0.0", | ||
"lws-cors": "^4.1.1", | ||
"lws-index": "^3.1.0", | ||
"lws-json": "^2.0.0", | ||
"lws-log": "^2.0.0", | ||
"lws-mime": "^2.0.0", | ||
"lws-range": "^3.0.0", | ||
"lws-range": "^4.0.1", | ||
"lws-request-monitor": "^2.0.0", | ||
"lws-rewrite": "^3.1.1", | ||
"lws-spa": "^3.0.0", | ||
"lws-static": "^2.0.0", | ||
"node-version-matches": "^2.0.1" | ||
"lws-spa": "^4.1.0", | ||
"lws-static": "^3.1.0" | ||
}, | ||
"devDependencies": { | ||
"coveralls": "^3.1.0", | ||
"jsdoc-to-markdown": "^6.0.1", | ||
"node-fetch": "^2.6.0", | ||
"nyc": "^15.1.0", | ||
"test-runner": "^0.8.13" | ||
"coveralls": "^3.1.1", | ||
"node-fetch": "^3.2.3", | ||
"test-runner": "^0.10.1" | ||
} | ||
} |
@@ -5,7 +5,7 @@ [](https://www.npmjs.org/package/local-web-server) | ||
[](https://github.com/lwsjs/local-web-server/network/dependents?dependent_type=PACKAGE) | ||
[](https://travis-ci.org/lwsjs/local-web-server) | ||
[](https://github.com/lwsjs/local-web-server/actions/workflows/node.js.yml) | ||
[](https://coveralls.io/github/lwsjs/local-web-server) | ||
[](https://github.com/feross/standard) | ||
*Upgraders, please read the [release notes](https://github.com/lwsjs/local-web-server/releases)*. | ||
*Upgraders, please read the [release notes](https://github.com/lwsjs/local-web-server/releases). For feedback, discussion and support see [here](https://github.com/lwsjs/local-web-server/discussions).* | ||
@@ -46,3 +46,3 @@ # local-web-server | ||
<img src="https://imgur.com/download/NJC3POY" width="618px" title="Static static log output"> | ||
<img src="https://s9.gifyu.com/images/NJC3POY---Imgur.gif" width="618px" title="Static static log output"> | ||
@@ -64,3 +64,3 @@ | ||
<img src="https://imgur.com/download/IQVmi8v" title="SPA"> | ||
<img src="https://s9.gifyu.com/images/IQVmi8v---Imgur.gif" width="618px" title="SPA"> | ||
@@ -81,3 +81,3 @@ ### URL rewriting and proxied requests | ||
<img src="https://imgur.com/download/3flcbJn" width="618px" title="Proxy json requests to remote resource"> | ||
<img src="https://s9.gifyu.com/images/3flcbJn---Imgur.gif" width="618px" title="Proxy json requests to remote resource"> | ||
@@ -126,2 +126,2 @@ ### HTTPS and HTTP2 | ||
© 2013-20 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown). | ||
© 2013-22 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown). |
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
11897
3%3
-40%98
1.03%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated