@wooksjs/express-adapter 0.3.0 → 0.4.8
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 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -56,7 +56,7 @@ class WooksExpress extends eventHttp.WooksHttp {
|
|
|
56
56
|
this.opts = opts;
|
|
57
57
|
expressApp.use(this.getServerCb());
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
listen(...args) {
|
|
60
60
|
const server = this.server = this.expressApp.listen(...args);
|
|
61
61
|
return new Promise((resolve, reject) => {
|
|
62
62
|
server.once("listening", resolve);
|
package/dist/index.mjs
CHANGED
|
@@ -54,7 +54,7 @@ class WooksExpress extends WooksHttp {
|
|
|
54
54
|
this.opts = opts;
|
|
55
55
|
expressApp.use(this.getServerCb());
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
listen(...args) {
|
|
58
58
|
const server = this.server = this.expressApp.listen(...args);
|
|
59
59
|
return new Promise((resolve, reject) => {
|
|
60
60
|
server.once("listening", resolve);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wooksjs/express-adapter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.8",
|
|
4
4
|
"description": "Express Adapter for Wooks Composables",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
},
|
|
60
60
|
"homepage": "https://github.com/wooksjs/express-adapter#readme",
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@wooksjs/event-http": "^0.
|
|
63
|
-
"wooks": "^0.
|
|
62
|
+
"@wooksjs/event-http": "^0.4.8",
|
|
63
|
+
"wooks": "^0.4.8",
|
|
64
64
|
"express": "^4.0.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"@types/node": "^18.11.0",
|
|
71
71
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
72
72
|
"@typescript-eslint/parser": "^5.0.0",
|
|
73
|
-
"@wooksjs/event-http": "^0.
|
|
74
|
-
"@wooksjs/http-body": "^0.
|
|
73
|
+
"@wooksjs/event-http": "^0.4.8",
|
|
74
|
+
"@wooksjs/http-body": "^0.4.8",
|
|
75
75
|
"conventional-changelog": "^3.1.24",
|
|
76
76
|
"conventional-changelog-cli": "^2.1.1",
|
|
77
77
|
"enquirer": "^2.3.6",
|