@wooksjs/event-http 0.4.7 → 0.4.9
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/dist/index.cjs +1 -3
- package/dist/index.mjs +1 -3
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -433,8 +433,6 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
433
433
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
434
434
|
PERFORMANCE OF THIS SOFTWARE.
|
|
435
435
|
***************************************************************************** */
|
|
436
|
-
/* global Reflect, Promise */
|
|
437
|
-
|
|
438
436
|
|
|
439
437
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
440
438
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -836,7 +834,7 @@ class HttpErrorRenderer extends BaseHttpResponseRenderer {
|
|
|
836
834
|
`<head><title>${data.statusCode} ${httpStatusCodes[data.statusCode]}</title></head>` +
|
|
837
835
|
`<body><center><h1>${data.statusCode} ${httpStatusCodes[data.statusCode]}</h1></center>` +
|
|
838
836
|
`<center><h4>${data.message}</h1></center><hr color="#666">` +
|
|
839
|
-
`<center style="color: #666;"> Wooks v${"0.4.
|
|
837
|
+
`<center style="color: #666;"> Wooks v${"0.4.9"} </center>` +
|
|
840
838
|
`${keys.length
|
|
841
839
|
? `<pre style="${preStyles}">${JSON.stringify(Object.assign(Object.assign({}, data), { statusCode: undefined, message: undefined, error: undefined }), null, ' ')}</pre>`
|
|
842
840
|
: ''}` +
|
package/dist/index.mjs
CHANGED
|
@@ -431,8 +431,6 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
431
431
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
432
432
|
PERFORMANCE OF THIS SOFTWARE.
|
|
433
433
|
***************************************************************************** */
|
|
434
|
-
/* global Reflect, Promise */
|
|
435
|
-
|
|
436
434
|
|
|
437
435
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
438
436
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -834,7 +832,7 @@ class HttpErrorRenderer extends BaseHttpResponseRenderer {
|
|
|
834
832
|
`<head><title>${data.statusCode} ${httpStatusCodes[data.statusCode]}</title></head>` +
|
|
835
833
|
`<body><center><h1>${data.statusCode} ${httpStatusCodes[data.statusCode]}</h1></center>` +
|
|
836
834
|
`<center><h4>${data.message}</h1></center><hr color="#666">` +
|
|
837
|
-
`<center style="color: #666;"> Wooks v${"0.4.
|
|
835
|
+
`<center style="color: #666;"> Wooks v${"0.4.9"} </center>` +
|
|
838
836
|
`${keys.length
|
|
839
837
|
? `<pre style="${preStyles}">${JSON.stringify(Object.assign(Object.assign({}, data), { statusCode: undefined, message: undefined, error: undefined }), null, ' ')}</pre>`
|
|
840
838
|
: ''}` +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wooksjs/event-http",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"description": "@wooksjs/event-http",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"url": "https://github.com/wooksjs/wooksjs/issues"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"wooks": "0.4.
|
|
34
|
+
"wooks": "0.4.9",
|
|
35
35
|
"@prostojs/router": "^0.2.1",
|
|
36
|
-
"@wooksjs/event-core": "0.4.
|
|
36
|
+
"@wooksjs/event-core": "0.4.9"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@prostojs/logger": "^0.3.
|
|
39
|
+
"@prostojs/logger": "^0.3.7"
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://github.com/wooksjs/wooksjs/tree/main/packages/event-http#readme"
|
|
42
42
|
}
|