minimalistic-server 0.0.9 → 0.0.11

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.
Files changed (2) hide show
  1. package/index.mjs +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -792,7 +792,7 @@ export class Request {
792
792
  }
793
793
 
794
794
  getRawUrl() {
795
- this.#request.url;
795
+ return this.#request.url;
796
796
  }
797
797
 
798
798
  getRawBody() {
@@ -1639,7 +1639,7 @@ function normalizeRoutes(routes, handleServerError) {
1639
1639
  }
1640
1640
 
1641
1641
  safePrint(error);
1642
- return wrapInResponseClass(await handler(request, error));
1642
+ return wrapInResponseClass(await handleServerError(request, error));
1643
1643
  }
1644
1644
  };
1645
1645
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minimalistic-server",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "engines" : {
5
5
  "npm" : ">=8.6.0",
6
6
  "node" : ">=22.0.0"