@tsed/swagger 8.33.0 → 8.35.0

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.
@@ -1,10 +1,10 @@
1
+ import { ProviderType, constant, injectable } from "@tsed/di";
2
+ import { ROOT_DIR, SWAGGER_UI_DIST } from "./constants.js";
3
+ import { OpenAPIBaseModule } from "@tsed/openapi-utils";
4
+ import { indexMiddleware } from "./middlewares/indexMiddleware.js";
1
5
  import { join } from "node:path";
2
- import { constant, injectable, ProviderType } from "@tsed/di";
3
6
  import { normalizePath } from "@tsed/normalize-path";
4
- import { OpenAPIBaseModule } from "@tsed/openapi-utils";
5
7
  import { useContextHandler } from "@tsed/platform-router";
6
- import { ROOT_DIR, SWAGGER_UI_DIST } from "./constants.js";
7
- import { indexMiddleware } from "./middlewares/indexMiddleware.js";
8
8
  export class SwaggerModule extends OpenAPIBaseModule {
9
9
  constructor() {
10
10
  super(...arguments);
@@ -1,5 +1,5 @@
1
- import { join } from "node:path";
2
- import { getValue } from "@tsed/core";
3
1
  import getAbsoluteFSPath from "swagger-ui-dist/absolute-path.js";
2
+ import { getValue } from "@tsed/core";
3
+ import { join } from "node:path";
4
4
  export const SWAGGER_UI_DIST = getAbsoluteFSPath();
5
5
  export const ROOT_DIR = join(getValue(import.meta, "dirname", ""), "..");
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@tsed/swagger",
3
+ "version": "8.35.0",
3
4
  "description": "Swagger package for Ts.ED framework",
4
- "type": "module",
5
- "version": "8.33.0",
6
5
  "source": "./src/index.ts",
6
+ "type": "module",
7
7
  "main": "./lib/esm/index.js",
8
8
  "module": "./lib/esm/index.js",
9
9
  "typings": "./lib/types/index.d.ts",
@@ -26,24 +26,23 @@
26
26
  "test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
27
27
  },
28
28
  "dependencies": {
29
- "@tsed/normalize-path": "8.33.0",
30
- "@tsed/openapi-utils": "8.33.0",
31
- "@tsed/openspec": "8.33.0",
29
+ "@tsed/normalize-path": "8.35.0",
30
+ "@tsed/openapi-utils": "8.35.0",
31
+ "@tsed/openspec": "8.35.0",
32
32
  "swagger-ui-dist": ">=5.17.14",
33
33
  "tslib": ">=2.7.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@tsed/barrels": "8.33.0",
37
- "@tsed/core": "8.33.0",
38
- "@tsed/di": "8.33.0",
39
- "@tsed/json-mapper": "8.33.0",
40
- "@tsed/openapi-utils": "8.33.0",
41
- "@tsed/openspec": "8.33.0",
42
- "@tsed/platform-http": "8.33.0",
43
- "@tsed/schema": "8.33.0",
44
- "@tsed/typescript": "8.33.0",
36
+ "@tsed/barrels": "8.35.0",
37
+ "@tsed/core": "8.35.0",
38
+ "@tsed/di": "8.35.0",
39
+ "@tsed/json-mapper": "8.35.0",
40
+ "@tsed/openapi-utils": "8.35.0",
41
+ "@tsed/openspec": "8.35.0",
42
+ "@tsed/platform-http": "8.35.0",
43
+ "@tsed/schema": "8.35.0",
44
+ "@tsed/typescript": "8.35.0",
45
45
  "@types/swagger-ui-dist": "3.30.5",
46
- "eslint": "9.12.0",
47
46
  "typescript": "6.0.2",
48
47
  "vitest": "4.1.4"
49
48
  },