@tsed/openapi-utils 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
+ import Fs from "node:fs";
2
+ import { resolve } from "node:path";
1
3
  import { context } from "@tsed/di";
2
- import Fs from "fs";
3
- import { resolve } from "path";
4
4
  /**
5
5
  * Expose a css file.
6
6
  * @param path
@@ -1 +1 @@
1
- {"version":3,"file":"cssMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/cssMiddleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,EAAC,OAAO,EAAC,MAAM,MAAM,CAAC;AAE7B;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,IAAY;IACxC,OAAO,GAAG,EAAE;QACV,MAAM,GAAG,GAAG,OAAO,EAAE,CAAC;QAEtB,MAAM,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAC,QAAQ,EAAE,MAAM,EAAC,CAAC,CAAC;QAEnE,GAAG,CAAC,QAAQ;aACT,UAAU,CAAC;YACV,cAAc,EAAE,UAAU;SAC3B,CAAC;aACD,MAAM,CAAC,GAAG,CAAC;aACX,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"cssMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/cssMiddleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AAEjC;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,IAAY;IACxC,OAAO,GAAG,EAAE;QACV,MAAM,GAAG,GAAG,OAAO,EAAE,CAAC;QAEtB,MAAM,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAC,QAAQ,EAAE,MAAM,EAAC,CAAC,CAAC;QAEnE,GAAG,CAAC,QAAQ;aACT,UAAU,CAAC;YACV,cAAc,EAAE,UAAU;SAC3B,CAAC;aACD,MAAM,CAAC,GAAG,CAAC;aACX,IAAI,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC,CAAC;AACJ,CAAC"}
@@ -1,6 +1,6 @@
1
+ import Fs from "node:fs";
2
+ import { resolve } from "node:path";
1
3
  import { context } from "@tsed/di";
2
- import Fs from "fs";
3
- import { resolve } from "path";
4
4
  /**
5
5
  * Expose a js file.
6
6
  * @param path
@@ -1 +1 @@
1
- {"version":3,"file":"jsMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/jsMiddleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,EAAC,OAAO,EAAC,MAAM,MAAM,CAAC;AAE7B;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY;IACvC,OAAO,GAAG,EAAE;QACV,MAAM,GAAG,GAAG,OAAO,EAAE,CAAC;QAEtB,MAAM,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAC,QAAQ,EAAE,MAAM,EAAC,CAAC,CAAC;QACnE,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAC,cAAc,EAAE,wBAAwB,EAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChG,CAAC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"jsMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/jsMiddleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,EAAC,OAAO,EAAC,MAAM,UAAU,CAAC;AAEjC;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY;IACvC,OAAO,GAAG,EAAE;QACV,MAAM,GAAG,GAAG,OAAO,EAAE,CAAC;QAEtB,MAAM,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAC,QAAQ,EAAE,MAAM,EAAC,CAAC,CAAC;QACnE,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAC,cAAc,EAAE,wBAAwB,EAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChG,CAAC,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/openapi-utils",
3
3
  "description": "OpenAPI utils to build @tsed/swagger package or @tsed/scalar",
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",
@@ -24,25 +24,25 @@
24
24
  "test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
25
25
  },
26
26
  "dependencies": {
27
- "@tsed/openspec": "8.4.3",
27
+ "@tsed/openspec": "8.4.5",
28
28
  "micromatch": "4.0.8",
29
29
  "tslib": "2.7.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@tsed/barrels": "8.4.3",
33
- "@tsed/core": "8.4.3",
34
- "@tsed/di": "8.4.3",
35
- "@tsed/json-mapper": "8.4.3",
36
- "@tsed/openspec": "8.4.3",
37
- "@tsed/platform-http": "8.4.3",
38
- "@tsed/schema": "8.4.3",
39
- "@tsed/typescript": "8.4.3",
32
+ "@tsed/barrels": "8.4.5",
33
+ "@tsed/core": "8.4.5",
34
+ "@tsed/di": "8.4.5",
35
+ "@tsed/json-mapper": "8.4.5",
36
+ "@tsed/openspec": "8.4.5",
37
+ "@tsed/platform-http": "8.4.5",
38
+ "@tsed/schema": "8.4.5",
39
+ "@tsed/typescript": "8.4.5",
40
40
  "eslint": "9.12.0",
41
41
  "typescript": "5.4.5",
42
42
  "vitest": "2.1.2"
43
43
  },
44
44
  "peerDependencies": {
45
- "@tsed/platform-http": ">=8.4.3"
45
+ "@tsed/platform-http": ">=8.4.5"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "@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,6 +1,7 @@
1
+ import Fs from "node:fs";
2
+
1
3
  import {runInContext} from "@tsed/di";
2
4
  import {PlatformTest} from "@tsed/platform-http/testing";
3
- import Fs from "fs";
4
5
 
5
6
  import {cssMiddleware} from "./cssMiddleware.js";
6
7
 
@@ -1,6 +1,7 @@
1
+ import Fs from "node:fs";
2
+ import {resolve} from "node:path";
3
+
1
4
  import {context} from "@tsed/di";
2
- import Fs from "fs";
3
- import {resolve} from "path";
4
5
 
5
6
  /**
6
7
  * Expose a css file.
@@ -1,6 +1,7 @@
1
+ import Fs from "node:fs";
2
+
1
3
  import {runInContext} from "@tsed/di";
2
4
  import {PlatformTest} from "@tsed/platform-http/testing";
3
- import Fs from "fs";
4
5
 
5
6
  import {jsMiddleware} from "./jsMiddleware.js";
6
7
 
@@ -1,6 +1,7 @@
1
+ import Fs from "node:fs";
2
+ import {resolve} from "node:path";
3
+
1
4
  import {context} from "@tsed/di";
2
- import Fs from "fs";
3
- import {resolve} from "path";
4
5
 
5
6
  /**
6
7
  * Expose a js file.
@@ -1,6 +1,7 @@
1
+ import Fs from "node:fs";
2
+
1
3
  import {runInContext} from "@tsed/di";
2
4
  import {PlatformTest} from "@tsed/platform-http/testing";
3
- import Fs from "fs";
4
5
 
5
6
  import {openApiMiddleware} from "./openApiMiddleware.js";
6
7