@tsed/swagger 8.4.3 → 8.4.5

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,6 +1,6 @@
1
1
  import { basename } from "node:path";
2
+ import { join } from "node:path";
2
3
  import { context } from "@tsed/di";
3
- import { join } from "path";
4
4
  /**
5
5
  * @ignore
6
6
  * @param viewPath
@@ -1 +1 @@
1
- {"version":3,"file":"indexMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/indexMiddleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AAEnC,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AAEjC,OAAO,EAAC,IAAI,EAAC,MAAM,MAAM,CAAC;AAI1B;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,QAAgB,EAAE,IAAwC;IACxF,OAAO,KAAK,IAAI,EAAE;QAChB,MAAM,GAAG,GAAG,OAAO,EAAE,CAAC;QACtB,MAAM,EAAC,IAAI,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAC,GAAG,IAAI,CAAC;QAEjF,GAAG,CAAC,QAAQ,CAAC,IAAI,CACf,MAAM,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE;YAClC,IAAI,EAAE,EAAE;YACR,GAAG,EAAE,GAAG,IAAI,IAAI,QAAQ,EAAE;YAC1B,IAAI;YACJ,YAAY;YACZ,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;YACjD,MAAM,EAAE,MAAM,IAAI,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;YAC9C,cAAc,EAAE,OAAO;SACxB,CAAC,CACH,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"indexMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/indexMiddleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AACnC,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAE/B,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AAKjC;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,QAAgB,EAAE,IAAwC;IACxF,OAAO,KAAK,IAAI,EAAE;QAChB,MAAM,GAAG,GAAG,OAAO,EAAE,CAAC;QACtB,MAAM,EAAC,IAAI,EAAE,OAAO,GAAG,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAC,GAAG,IAAI,CAAC;QAEjF,GAAG,CAAC,QAAQ,CAAC,IAAI,CACf,MAAM,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE;YAClC,IAAI,EAAE,EAAE;YACR,GAAG,EAAE,GAAG,IAAI,IAAI,QAAQ,EAAE;YAC1B,IAAI;YACJ,YAAY;YACZ,OAAO,EAAE,OAAO,IAAI,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;YACjD,MAAM,EAAE,MAAM,IAAI,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;YAC9C,cAAc,EAAE,OAAO;SACxB,CAAC,CACH,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/swagger",
3
3
  "description": "Swagger package for Ts.ED framework",
4
4
  "type": "module",
5
- "version": "8.4.3",
5
+ "version": "8.4.5",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/esm/index.js",
8
8
  "module": "./lib/esm/index.js",
@@ -26,29 +26,29 @@
26
26
  "test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
27
27
  },
28
28
  "dependencies": {
29
- "@tsed/normalize-path": "8.4.3",
30
- "@tsed/openapi-utils": "8.4.3",
31
- "@tsed/openspec": "8.4.3",
29
+ "@tsed/normalize-path": "8.4.5",
30
+ "@tsed/openapi-utils": "8.4.5",
31
+ "@tsed/openspec": "8.4.5",
32
32
  "swagger-ui-dist": ">=5.17.14",
33
33
  "tslib": "2.7.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@tsed/barrels": "8.4.3",
37
- "@tsed/core": "8.4.3",
38
- "@tsed/di": "8.4.3",
39
- "@tsed/json-mapper": "8.4.3",
40
- "@tsed/openapi-utils": "8.4.3",
41
- "@tsed/openspec": "8.4.3",
42
- "@tsed/platform-http": "8.4.3",
43
- "@tsed/schema": "8.4.3",
44
- "@tsed/typescript": "8.4.3",
36
+ "@tsed/barrels": "8.4.5",
37
+ "@tsed/core": "8.4.5",
38
+ "@tsed/di": "8.4.5",
39
+ "@tsed/json-mapper": "8.4.5",
40
+ "@tsed/openapi-utils": "8.4.5",
41
+ "@tsed/openspec": "8.4.5",
42
+ "@tsed/platform-http": "8.4.5",
43
+ "@tsed/schema": "8.4.5",
44
+ "@tsed/typescript": "8.4.5",
45
45
  "@types/swagger-ui-dist": "3.30.5",
46
46
  "eslint": "9.12.0",
47
47
  "typescript": "5.4.5",
48
48
  "vitest": "2.1.2"
49
49
  },
50
50
  "peerDependencies": {
51
- "@tsed/platform-http": ">=8.4.3"
51
+ "@tsed/platform-http": ">=8.4.5"
52
52
  },
53
53
  "peerDependenciesMeta": {
54
54
  "@tsed/platform-http": {
package/readme.md CHANGED
@@ -42,7 +42,7 @@ Then add the following configuration in your Server:
42
42
  ```typescript
43
43
  import {Configuration} from "@tsed/di";
44
44
  import "@tsed/swagger"; // import swagger Ts.ED module
45
- import {resolve} from "path";
45
+ import {resolve} from "node:path";
46
46
 
47
47
  @Configuration({
48
48
  swagger: [
@@ -1,8 +1,8 @@
1
1
  import {basename} from "node:path";
2
+ import {join} from "node:path";
2
3
 
3
4
  import {context} from "@tsed/di";
4
5
  import {PlatformContext} from "@tsed/platform-http";
5
- import {join} from "path";
6
6
 
7
7
  import {SwaggerSettings} from "../interfaces/SwaggerSettings.js";
8
8