Revision tags: 1.31.0-1, 1.31.0, 1.30.0-1, 1.30.0, 1.29.1-1, 1.29.1, 1.29.0-1, 1.29.0, 1.28.0-1, 1.28.0, 1.27.0-1, 1.27.0, 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0, 1.24.0-1, 1.24.0 |
|
1865:3c551b9721df | 12-May-2021 |
Oisin Canty |
Node.js: a shim for overriding "http" and "websocket" modules.
Also added stubs for Server.address() This was done to prevent crashes in some popular frameworks like express
Supports both CommonJS
Node.js: a shim for overriding "http" and "websocket" modules.
Also added stubs for Server.address() This was done to prevent crashes in some popular frameworks like express
Supports both CommonJS and the new ES Modules system syntax e.g:
app.js: const http = require('http')
app.mjs: import http from "http"
Usage on Node 14.16.x and higher: { "type": "external", "processes": {"spare": 0}, "working_directory": '/project', "executable": "/usr/bin/env", "arguments": [ "node", "--loader", "unit-http/require_shim.mjs" "--require", "unit-http/require_shim", "app.js" ] }
Usage on Node 14.15.x and lower: { "type": "external", "processes": {"spare": 0}, "working_directory": '/project', "executable": "/usr/bin/env", "arguments": [ "node", "--require", "unit-http/require_shim", "app.js" ] }
show more ...
|
Revision tags: 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0, 1.21.0-1, 1.21.0, 1.20.0-1, 1.20.0, 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0, 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0, 1.13.0-1, 1.13.0, 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0, 1.10.0-2, 1.10.0-1, 1.10.0 |
|
1114:6d87da79ec4e | 06-Aug-2019 |
Valentin Bartenev |
Node.js: returning "this" from writeHead() to allow chaining.
In Node.js version 11.10.0 and later, the writeHead() function returns "this". |
Revision tags: 1.9.0-1, 1.9.0 |
|
1039:9859b789a2c2 | 18-Apr-2019 |
Andrey Zelenkov |
Tests: using low-case header names in Node.js tests. |
Revision tags: 1.8.0-1, 1.8.0, 1.7.1-1, 1.7.1, 1.7-1, 1.7 |
|
855:f143c7953df7 | 25-Oct-2018 |
Sergey Kandaurov |
Tests: Node.js application tests. |