@forklaunch/hyper-express 1.2.17 → 1.2.19

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 CHANGED
@@ -471,7 +471,6 @@ var Application = class extends import_http13.ForklaunchExpressLikeApplication {
471
471
  this.openapiConfiguration = configurationOptions?.openapi;
472
472
  }
473
473
  async listen(arg0, arg1, arg2) {
474
- this.validateAllRoutes();
475
474
  if (process.env.FORKLAUNCH_MODE === "openapi") {
476
475
  const openApiSpec = (0, import_http13.generateOpenApiSpecs)(
477
476
  this.schemaValidator,
@@ -503,6 +502,7 @@ var Application = class extends import_http13.ForklaunchExpressLikeApplication {
503
502
  );
504
503
  process.exit(0);
505
504
  }
505
+ this.validateAllRoutes();
506
506
  if (typeof arg0 === "number") {
507
507
  const port2 = arg0 || Number(process.env.PORT);
508
508
  const protocol = process.env.PROTOCOL || "http";
package/lib/index.mjs CHANGED
@@ -468,7 +468,6 @@ var Application = class extends ForklaunchExpressLikeApplication {
468
468
  this.openapiConfiguration = configurationOptions?.openapi;
469
469
  }
470
470
  async listen(arg0, arg1, arg2) {
471
- this.validateAllRoutes();
472
471
  if (process.env.FORKLAUNCH_MODE === "openapi") {
473
472
  const openApiSpec = generateOpenApiSpecs(
474
473
  this.schemaValidator,
@@ -500,6 +499,7 @@ var Application = class extends ForklaunchExpressLikeApplication {
500
499
  );
501
500
  process.exit(0);
502
501
  }
502
+ this.validateAllRoutes();
503
503
  if (typeof arg0 === "number") {
504
504
  const port2 = arg0 || Number(process.env.PORT);
505
505
  const protocol = process.env.PROTOCOL || "http";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/hyper-express",
3
- "version": "1.2.17",
3
+ "version": "1.2.19",
4
4
  "description": "Forklaunch framework for hyper-express.",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -34,10 +34,10 @@
34
34
  "swagger-ui-dist": "^5.32.1",
35
35
  "swagger-ui-express": "^5.0.1",
36
36
  "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.52.0",
37
- "@forklaunch/common": "1.2.9",
38
- "@forklaunch/ws": "1.2.17",
39
- "@forklaunch/validator": "1.2.9",
40
- "@forklaunch/core": "1.3.7"
37
+ "@forklaunch/common": "1.2.10",
38
+ "@forklaunch/ws": "1.2.19",
39
+ "@forklaunch/core": "1.3.9",
40
+ "@forklaunch/validator": "1.2.10"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@eslint/js": "^10.0.1",