@spinajs/http 2.0.99 → 2.0.100
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/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -10
- package/lib/cjs/package.json +0 -1
- package/lib/mjs/package.json +0 -1
- package/lib/static/favicon.ico +0 -0
- package/lib/static/style.css +0 -15
- package/lib/views/responses/badRequest.pug +0 -13
- package/lib/views/responses/conflict.pug +0 -13
- package/lib/views/responses/forbidden.pug +0 -13
- package/lib/views/responses/noContent.pug +0 -13
- package/lib/views/responses/not-allowed.pug +0 -13
- package/lib/views/responses/notFound.pug +0 -13
- package/lib/views/responses/ok.pug +0 -12
- package/lib/views/responses/serverError.pug +0 -13
- package/lib/views/responses/unauthorized.pug +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spinajs/http",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.100",
|
|
4
4
|
"description": "framework HTTP module base on express.js",
|
|
5
5
|
|
|
6
6
|
"main": "lib/cjs/index.js",
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
"cpx": "1.5.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@spinajs/configuration": "^2.0.
|
|
66
|
-
"@spinajs/di": "^2.0.
|
|
67
|
-
"@spinajs/exceptions": "^2.0.
|
|
68
|
-
"@spinajs/fs": "^2.0.
|
|
69
|
-
"@spinajs/log": "^2.0.
|
|
70
|
-
"@spinajs/reflection": "^2.0.
|
|
71
|
-
"@spinajs/templates": "^2.0.
|
|
72
|
-
"@spinajs/validation": "^2.0.
|
|
73
|
-
"@spinajs/templates-pug": "^2.0.
|
|
65
|
+
"@spinajs/configuration": "^2.0.100",
|
|
66
|
+
"@spinajs/di": "^2.0.100",
|
|
67
|
+
"@spinajs/exceptions": "^2.0.100",
|
|
68
|
+
"@spinajs/fs": "^2.0.100",
|
|
69
|
+
"@spinajs/log": "^2.0.100",
|
|
70
|
+
"@spinajs/reflection": "^2.0.100",
|
|
71
|
+
"@spinajs/templates": "^2.0.100",
|
|
72
|
+
"@spinajs/validation": "^2.0.100",
|
|
73
|
+
"@spinajs/templates-pug": "^2.0.100",
|
|
74
74
|
"compression": "^1.7.4",
|
|
75
75
|
"cookie-parser": "^1.4.6",
|
|
76
76
|
"cookie-signature": "^1.2.0",
|
package/lib/cjs/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"commonjs"}
|
package/lib/mjs/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"module"}
|
package/lib/static/favicon.ico
DELETED
|
Binary file
|
package/lib/static/style.css
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
html
|
|
2
|
-
head
|
|
3
|
-
link(rel="icon", type="image/x-icon", href="/_static/favicon.ico")
|
|
4
|
-
|
|
5
|
-
title #{__("Bad request")}
|
|
6
|
-
|
|
7
|
-
link(href="/_static/style.css",rel="stylesheet")
|
|
8
|
-
body
|
|
9
|
-
div(class="container")
|
|
10
|
-
div(class="item")
|
|
11
|
-
div(class="entry")
|
|
12
|
-
h1 400 - #{__("Bad request")}
|
|
13
|
-
div #{__(message)}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
html
|
|
2
|
-
head
|
|
3
|
-
link(rel="icon", type="image/x-icon", href="/_static/favicon.ico")
|
|
4
|
-
|
|
5
|
-
title #{__("Conflict")}
|
|
6
|
-
|
|
7
|
-
link(href="/_static/style.css",rel="stylesheet")
|
|
8
|
-
body
|
|
9
|
-
div(class="container")
|
|
10
|
-
div(class="item")
|
|
11
|
-
div(class="entry")
|
|
12
|
-
h1 409 - #{__("Conflict")}
|
|
13
|
-
div #{__(message)}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
html
|
|
2
|
-
head
|
|
3
|
-
link(rel="icon", type="image/x-icon", href="/_static/favicon.ico")
|
|
4
|
-
|
|
5
|
-
title #{__("Forbidden")}
|
|
6
|
-
|
|
7
|
-
link(href="/_static/style.css",rel="stylesheet")
|
|
8
|
-
body
|
|
9
|
-
div(class="container")
|
|
10
|
-
div(class="item")
|
|
11
|
-
div(class="entry")
|
|
12
|
-
h1 403 - #{__("Forbidden")}
|
|
13
|
-
div #{__(message)}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
html
|
|
2
|
-
head
|
|
3
|
-
link(rel="icon", type="image/x-icon", href="/_static/favicon.ico")
|
|
4
|
-
|
|
5
|
-
title #{__("No content")}
|
|
6
|
-
|
|
7
|
-
link(href="/_static/style.css",rel="stylesheet")
|
|
8
|
-
body
|
|
9
|
-
div(class="container")
|
|
10
|
-
div(class="item")
|
|
11
|
-
div(class="entry")
|
|
12
|
-
h1 204 - #{__("No content")}
|
|
13
|
-
div #{__(message)}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
html
|
|
2
|
-
head
|
|
3
|
-
link(rel="icon", type="image/x-icon", href="/_static/favicon.ico")
|
|
4
|
-
|
|
5
|
-
title #{__("Not allowed")}
|
|
6
|
-
|
|
7
|
-
link(href="/_static/style.css",rel="stylesheet")
|
|
8
|
-
body
|
|
9
|
-
div(class="container")
|
|
10
|
-
div(class="item")
|
|
11
|
-
div(class="entry")
|
|
12
|
-
h1 405 - #{__("Not allowed")}
|
|
13
|
-
div #{__(message)}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
html
|
|
2
|
-
head
|
|
3
|
-
link(rel="icon", type="image/x-icon", href="/_static/favicon.ico")
|
|
4
|
-
|
|
5
|
-
title #{__("Not found")}
|
|
6
|
-
|
|
7
|
-
link(href="/_static/style.css",rel="stylesheet")
|
|
8
|
-
body
|
|
9
|
-
div(class="container")
|
|
10
|
-
div(class="item")
|
|
11
|
-
div(class="entry")
|
|
12
|
-
h1 404 - #{__("Not found")}
|
|
13
|
-
div #{__(message)}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
html
|
|
2
|
-
head
|
|
3
|
-
link(rel="icon", type="image/x-icon", href="/_static/favicon.png")
|
|
4
|
-
|
|
5
|
-
title #{__("All ok")}
|
|
6
|
-
|
|
7
|
-
link(href="/_static/style.css",rel="stylesheet")
|
|
8
|
-
body
|
|
9
|
-
div(class="container")
|
|
10
|
-
div(class="item")
|
|
11
|
-
div(class="entry")
|
|
12
|
-
h1 200 - #{__("All ok")}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
html
|
|
2
|
-
head
|
|
3
|
-
link(rel="icon", type="image/x-icon", href="/_static/favicon.ico")
|
|
4
|
-
|
|
5
|
-
title #{__("Server error")}
|
|
6
|
-
|
|
7
|
-
link(href="/_static/style.css",rel="stylesheet")
|
|
8
|
-
body
|
|
9
|
-
div(class="container")
|
|
10
|
-
div(class="item")
|
|
11
|
-
div(class="entry")
|
|
12
|
-
h1 500 - #{__("Server error")}
|
|
13
|
-
div #{__(message)}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
html
|
|
2
|
-
head
|
|
3
|
-
link(rel="icon", type="image/x-icon", href="/_static/favicon.ico")
|
|
4
|
-
|
|
5
|
-
title #{__("Unauthorized")}
|
|
6
|
-
|
|
7
|
-
link(href="/_static/style.css",rel="stylesheet")
|
|
8
|
-
body
|
|
9
|
-
div(class="container")
|
|
10
|
-
div(class="item")
|
|
11
|
-
div(class="entry")
|
|
12
|
-
h1 401 - #{__("Unauthorized")}
|
|
13
|
-
div #{__(message)}
|