@kubb/adapter-oas 5.14.6 → 5.15.1

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 { parentPort, workerData } from "node:worker_threads";
2
2
  import { validate } from "@readme/openapi-parser";
3
- //#region src/load/validateWorker.ts
3
+ // src/load/validateWorker.ts
4
4
  try {
5
5
  const result = await validate(workerData, { validate: { errors: { colorize: false } } });
6
6
  parentPort?.postMessage(result.valid ? { valid: true } : {
@@ -11,7 +11,6 @@ try {
11
11
  } catch (error) {
12
12
  parentPort?.postMessage({ thrown: error instanceof Error ? error.message : String(error) });
13
13
  }
14
- //#endregion
15
14
  export {};
16
15
 
17
16
  //# sourceMappingURL=validateWorker.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/adapter-oas",
3
- "version": "5.14.6",
3
+ "version": "5.15.1",
4
4
  "description": "OpenAPI and Swagger adapter for Kubb. Parses and validates OAS 2.0/3.x specifications into a @kubb/ast RootNode for downstream code generation plugins.",
5
5
  "keywords": [
6
6
  "adapter",
@@ -66,10 +66,10 @@
66
66
  "registry": "https://registry.npmjs.org/"
67
67
  },
68
68
  "dependencies": {
69
- "@kubb/core": "5.14.6",
70
- "@kubb/kit": "5.14.6",
69
+ "@kubb/core": "5.15.1",
70
+ "@kubb/kit": "5.15.1",
71
71
  "@readme/openapi-parser": "^10.0.0",
72
- "@scalar/openapi-upgrader": "^0.4.5",
72
+ "@scalar/openapi-upgrader": "^0.4.6",
73
73
  "api-ref-bundler": "0.5.1",
74
74
  "js-yaml": "^5.5.0",
75
75
  "yaml": "^2.9.1"