@forklaunch/express 1.2.18 → 1.2.20
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/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -2034,7 +2034,6 @@ var Application = class extends import_http3.ForklaunchExpressLikeApplication {
|
|
|
2034
2034
|
this.openapiConfiguration = options2?.openapi;
|
|
2035
2035
|
}
|
|
2036
2036
|
listen(...args) {
|
|
2037
|
-
this.validateAllRoutes();
|
|
2038
2037
|
if (process.env.FORKLAUNCH_MODE === "openapi") {
|
|
2039
2038
|
const openApiSpec = (0, import_http3.generateOpenApiSpecs)(
|
|
2040
2039
|
this.schemaValidator,
|
|
@@ -2066,6 +2065,7 @@ var Application = class extends import_http3.ForklaunchExpressLikeApplication {
|
|
|
2066
2065
|
);
|
|
2067
2066
|
process.exit(0);
|
|
2068
2067
|
}
|
|
2068
|
+
this.validateAllRoutes();
|
|
2069
2069
|
const port2 = typeof args[0] === "number" ? args[0] : Number(process.env.PORT);
|
|
2070
2070
|
const host = typeof args[1] === "string" ? args[1] : process.env.HOST ?? "localhost";
|
|
2071
2071
|
const protocol = process.env.PROTOCOL ?? "http";
|
package/lib/index.mjs
CHANGED
|
@@ -2010,7 +2010,6 @@ var Application = class extends ForklaunchExpressLikeApplication {
|
|
|
2010
2010
|
this.openapiConfiguration = options2?.openapi;
|
|
2011
2011
|
}
|
|
2012
2012
|
listen(...args) {
|
|
2013
|
-
this.validateAllRoutes();
|
|
2014
2013
|
if (process.env.FORKLAUNCH_MODE === "openapi") {
|
|
2015
2014
|
const openApiSpec = generateOpenApiSpecs(
|
|
2016
2015
|
this.schemaValidator,
|
|
@@ -2042,6 +2041,7 @@ var Application = class extends ForklaunchExpressLikeApplication {
|
|
|
2042
2041
|
);
|
|
2043
2042
|
process.exit(0);
|
|
2044
2043
|
}
|
|
2044
|
+
this.validateAllRoutes();
|
|
2045
2045
|
const port2 = typeof args[0] === "number" ? args[0] : Number(process.env.PORT);
|
|
2046
2046
|
const host = typeof args[1] === "string" ? args[1] : process.env.HOST ?? "localhost";
|
|
2047
2047
|
const protocol = process.env.PROTOCOL ?? "http";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/express",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.20",
|
|
4
4
|
"description": "Forklaunch framework for express.",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"qs": "^6.15.0",
|
|
38
38
|
"range-parser": "^1.2.1",
|
|
39
39
|
"swagger-ui-express": "^5.0.1",
|
|
40
|
-
"@forklaunch/common": "1.2.
|
|
41
|
-
"@forklaunch/
|
|
42
|
-
"@forklaunch/
|
|
40
|
+
"@forklaunch/common": "1.2.11",
|
|
41
|
+
"@forklaunch/core": "1.3.10",
|
|
42
|
+
"@forklaunch/validator": "1.2.11"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@eslint/js": "^10.0.1",
|