minimalistic-server 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# node-minimalistic-server
|
|
2
|
-
Minimalistic server library
|
|
2
|
+
Minimalistic server library for Node.js. It supports routing, middlewares, parsing common request bodies (JSON, form data, etc), static file serving.
|
package/index.mjs
CHANGED
|
@@ -1638,7 +1638,7 @@ function normalizeStaticFileDirectories(staticFileDirectoryOrDirectories) {
|
|
|
1638
1638
|
serverFilePath = urlPath = x;
|
|
1639
1639
|
showWholeDirectory = false;
|
|
1640
1640
|
} else {
|
|
1641
|
-
({
|
|
1641
|
+
({ serverFilePath, urlPath, showWholeDirectory } = x);
|
|
1642
1642
|
}
|
|
1643
1643
|
|
|
1644
1644
|
urlPath = `${urlPath}`.split('/').filter(x => x).join('/');
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "minimalistic-server",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"engines" : {
|
|
5
5
|
"npm" : ">=8.6.0",
|
|
6
6
|
"node" : ">=22.0.0"
|
|
7
7
|
},
|
|
8
8
|
"type": "module",
|
|
9
|
-
"description": "Minimalistic server library
|
|
9
|
+
"description": "Minimalistic server library for Node.js. It supports routing, middlewares, parsing common request bodies (JSON, form data, etc), static file serving.",
|
|
10
10
|
"main": "index.mjs",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"test": "echo \"Error: no test specified\" && exit 1"
|