ultimate-express 2.0.9 → 2.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.
- package/EXPRESS_LICENSE +25 -25
- package/LICENSE +201 -201
- package/README.md +350 -350
- package/package.json +111 -109
- package/src/application.js +342 -337
- package/src/declarative.js +463 -463
- package/src/index.js +65 -65
- package/src/middlewares.js +351 -346
- package/src/request.js +432 -428
- package/src/response.js +869 -869
- package/src/router.js +659 -658
- package/src/types.d.ts +51 -51
- package/src/utils.js +372 -372
- package/src/view.js +125 -125
- package/src/worker.js +30 -30
package/package.json
CHANGED
|
@@ -1,109 +1,111 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ultimate-express",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "The Ultimate Express. Fastest http server with full Express compatibility, based on uWebSockets.",
|
|
5
|
-
"main": "src/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "node tests/index.js",
|
|
8
|
-
"dev": "node --inspect=9229 demo/index.js",
|
|
9
|
-
"cover": "npm run cover:unit && npm run cover:report",
|
|
10
|
-
"cover:unit": "nyc --silent npm run test",
|
|
11
|
-
"cover:report": "nyc report --reporter=html"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=20"
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"src",
|
|
18
|
-
"EXPRESS_LICENSE"
|
|
19
|
-
],
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/dimdenGD/ultimate-express.git"
|
|
23
|
-
},
|
|
24
|
-
"keywords": [
|
|
25
|
-
"express",
|
|
26
|
-
"http",
|
|
27
|
-
"fast",
|
|
28
|
-
"server",
|
|
29
|
-
"http server",
|
|
30
|
-
"https",
|
|
31
|
-
"https server",
|
|
32
|
-
"ws",
|
|
33
|
-
"websocket",
|
|
34
|
-
"websockets",
|
|
35
|
-
"uwebsockets",
|
|
36
|
-
"uws"
|
|
37
|
-
],
|
|
38
|
-
"types": "src/types.d.ts",
|
|
39
|
-
"author": "dimden.dev",
|
|
40
|
-
"license": "Apache-2.0",
|
|
41
|
-
"bugs": {
|
|
42
|
-
"url": "https://github.com/dimdenGD/ultimate-express/issues"
|
|
43
|
-
},
|
|
44
|
-
"homepage": "https://github.com/dimdenGD/ultimate-express#readme",
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"@types/express": "^4.17.21",
|
|
47
|
-
"accepts": "^1.3.8",
|
|
48
|
-
"acorn": "^8.
|
|
49
|
-
"bytes": "^3.1.2",
|
|
50
|
-
"cookie": "^1.0.2",
|
|
51
|
-
"cookie-signature": "^1.2.2",
|
|
52
|
-
"encodeurl": "^2.0.0",
|
|
53
|
-
"etag": "^1.8.1",
|
|
54
|
-
"fast-querystring": "^1.1.2",
|
|
55
|
-
"fast-zlib": "^2.0.1",
|
|
56
|
-
"fresh": "^0.5.2",
|
|
57
|
-
"mime-types": "^2.1.35",
|
|
58
|
-
"ms": "^2.1.3",
|
|
59
|
-
"proxy-addr": "^2.0.7",
|
|
60
|
-
"qs": "^6.14.0",
|
|
61
|
-
"range-parser": "^1.2.1",
|
|
62
|
-
"statuses": "^2.0.
|
|
63
|
-
"tseep": "^1.3.1",
|
|
64
|
-
"type-is": "^2.0.1",
|
|
65
|
-
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.
|
|
66
|
-
"vary": "^1.1.2"
|
|
67
|
-
},
|
|
68
|
-
"devDependencies": {
|
|
69
|
-
"@codechecks/client": "^0.1.12",
|
|
70
|
-
"better-sse": "^0.14.1",
|
|
71
|
-
"body-parser": "^2.2.0",
|
|
72
|
-
"compression": "^1.8.
|
|
73
|
-
"cookie-parser": "^1.4.7",
|
|
74
|
-
"cookie-session": "^2.1.
|
|
75
|
-
"cors": "^2.8.5",
|
|
76
|
-
"ejs": "^3.1.10",
|
|
77
|
-
"errorhandler": "^1.5.1",
|
|
78
|
-
"eventsource": "^
|
|
79
|
-
"exit-hook": "^2.2.1",
|
|
80
|
-
"express": "latest-4",
|
|
81
|
-
"express-art-template": "^1.0.1",
|
|
82
|
-
"express-async-errors": "^3.1.1",
|
|
83
|
-
"express-dot-engine": "^1.0.8",
|
|
84
|
-
"express-fileupload": "^1.5.
|
|
85
|
-
"express-handlebars": "^8.0.3",
|
|
86
|
-
"express-
|
|
87
|
-
"express-
|
|
88
|
-
"express-
|
|
89
|
-
"express-
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "ultimate-express",
|
|
3
|
+
"version": "2.0.11",
|
|
4
|
+
"description": "The Ultimate Express. Fastest http server with full Express compatibility, based on uWebSockets.",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "node tests/index.js",
|
|
8
|
+
"dev": "node --inspect=9229 demo/index.js",
|
|
9
|
+
"cover": "npm run cover:unit && npm run cover:report",
|
|
10
|
+
"cover:unit": "nyc --silent npm run test",
|
|
11
|
+
"cover:report": "nyc report --reporter=html"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=20"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"src",
|
|
18
|
+
"EXPRESS_LICENSE"
|
|
19
|
+
],
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/dimdenGD/ultimate-express.git"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"express",
|
|
26
|
+
"http",
|
|
27
|
+
"fast",
|
|
28
|
+
"server",
|
|
29
|
+
"http server",
|
|
30
|
+
"https",
|
|
31
|
+
"https server",
|
|
32
|
+
"ws",
|
|
33
|
+
"websocket",
|
|
34
|
+
"websockets",
|
|
35
|
+
"uwebsockets",
|
|
36
|
+
"uws"
|
|
37
|
+
],
|
|
38
|
+
"types": "src/types.d.ts",
|
|
39
|
+
"author": "dimden.dev",
|
|
40
|
+
"license": "Apache-2.0",
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/dimdenGD/ultimate-express/issues"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/dimdenGD/ultimate-express#readme",
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@types/express": "^4.17.21",
|
|
47
|
+
"accepts": "^1.3.8",
|
|
48
|
+
"acorn": "^8.15.0",
|
|
49
|
+
"bytes": "^3.1.2",
|
|
50
|
+
"cookie": "^1.0.2",
|
|
51
|
+
"cookie-signature": "^1.2.2",
|
|
52
|
+
"encodeurl": "^2.0.0",
|
|
53
|
+
"etag": "^1.8.1",
|
|
54
|
+
"fast-querystring": "^1.1.2",
|
|
55
|
+
"fast-zlib": "^2.0.1",
|
|
56
|
+
"fresh": "^0.5.2",
|
|
57
|
+
"mime-types": "^2.1.35",
|
|
58
|
+
"ms": "^2.1.3",
|
|
59
|
+
"proxy-addr": "^2.0.7",
|
|
60
|
+
"qs": "^6.14.0",
|
|
61
|
+
"range-parser": "^1.2.1",
|
|
62
|
+
"statuses": "^2.0.2",
|
|
63
|
+
"tseep": "^1.3.1",
|
|
64
|
+
"type-is": "^2.0.1",
|
|
65
|
+
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.53.0",
|
|
66
|
+
"vary": "^1.1.2"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@codechecks/client": "^0.1.12",
|
|
70
|
+
"better-sse": "^0.14.1",
|
|
71
|
+
"body-parser": "^2.2.0",
|
|
72
|
+
"compression": "^1.8.1",
|
|
73
|
+
"cookie-parser": "^1.4.7",
|
|
74
|
+
"cookie-session": "^2.1.1",
|
|
75
|
+
"cors": "^2.8.5",
|
|
76
|
+
"ejs": "^3.1.10",
|
|
77
|
+
"errorhandler": "^1.5.1",
|
|
78
|
+
"eventsource": "^4.0.0",
|
|
79
|
+
"exit-hook": "^2.2.1",
|
|
80
|
+
"express": "latest-4",
|
|
81
|
+
"express-art-template": "^1.0.1",
|
|
82
|
+
"express-async-errors": "^3.1.1",
|
|
83
|
+
"express-dot-engine": "^1.0.8",
|
|
84
|
+
"express-fileupload": "^1.5.2",
|
|
85
|
+
"express-handlebars": "^8.0.3",
|
|
86
|
+
"express-http-proxy": "^2.1.2",
|
|
87
|
+
"express-mongo-sanitize": "^2.2.0",
|
|
88
|
+
"express-rate-limit": "^8.0.1",
|
|
89
|
+
"express-session": "^1.18.2",
|
|
90
|
+
"express-subdomain": "^1.0.6",
|
|
91
|
+
"graphql-http": "^1.22.4",
|
|
92
|
+
"helmet": "^8.1.0",
|
|
93
|
+
"http-proxy-middleware": "^3.0.5",
|
|
94
|
+
"method-override": "^3.0.0",
|
|
95
|
+
"morgan": "^1.10.1",
|
|
96
|
+
"multer": "^1.4.5-lts.2",
|
|
97
|
+
"mustache-express": "^1.3.2",
|
|
98
|
+
"nyc": "^17.1.0",
|
|
99
|
+
"pako": "^2.1.0",
|
|
100
|
+
"passport": "^0.7.0",
|
|
101
|
+
"passport-local": "^1.0.0",
|
|
102
|
+
"pkg-pr-new": "^0.0.54",
|
|
103
|
+
"pug": "^3.0.3",
|
|
104
|
+
"response-time": "^2.3.4",
|
|
105
|
+
"serve-index": "^1.9.1",
|
|
106
|
+
"serve-static": "^2.2.0",
|
|
107
|
+
"swagger-ui-express": "^5.0.1",
|
|
108
|
+
"swig": "^1.4.2",
|
|
109
|
+
"vhost": "^3.0.2"
|
|
110
|
+
}
|
|
111
|
+
}
|