@jsenv/server 15.3.2 → 15.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/server",
3
- "version": "15.3.2",
3
+ "version": "15.3.3",
4
4
  "description": "Write your Node.js server using pure functions",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -151,7 +151,7 @@ const writeHead = (
151
151
  if (statusText === undefined) {
152
152
  statusText = statusTextFromStatus(status);
153
153
  } else {
154
- statusText = statusText.replace(/\\n/g, "\n");
154
+ statusText = statusText.replace(/\n/g, "");
155
155
  }
156
156
  if (responseIsServerHttp2Stream) {
157
157
  nodeHeaders = {