@nattyjs/express 0.0.1-beta.6 → 0.0.1-beta.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 CHANGED
@@ -90,7 +90,7 @@ const ExpressModule = {
90
90
  }));
91
91
  app.use(express__default.json());
92
92
  app.all("*", requestHandler(config));
93
- if (config.autoGeneratePort == true)
93
+ if (config.autoGeneratePort == true || config.autoGeneratePort == void 0)
94
94
  app.listen(3e3, () => {
95
95
  console.log("Server is running on port 3000 ");
96
96
  });
package/dist/index.mjs CHANGED
@@ -82,7 +82,7 @@ const ExpressModule = {
82
82
  }));
83
83
  app.use(express.json());
84
84
  app.all("*", requestHandler(config));
85
- if (config.autoGeneratePort == true)
85
+ if (config.autoGeneratePort == true || config.autoGeneratePort == void 0)
86
86
  app.listen(3e3, () => {
87
87
  console.log("Server is running on port 3000 ");
88
88
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nattyjs/express",
3
- "version": "0.0.1-beta.6",
3
+ "version": "0.0.1-beta.8",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "ajayojha <ojhaajay@outlook.com>",
@@ -18,9 +18,9 @@
18
18
  "express": "4.18.2",
19
19
  "cors": "2.8.5",
20
20
  "compression": "1.7.4",
21
- "@nattyjs/core": "0.0.1-beta.6",
22
- "@nattyjs/common": "0.0.1-beta.6",
23
- "@nattyjs/types": "0.0.1-beta.6"
21
+ "@nattyjs/core": "0.0.1-beta.8",
22
+ "@nattyjs/common": "0.0.1-beta.8",
23
+ "@nattyjs/types": "0.0.1-beta.8"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/node": "20.3.1",