@kubb/adapter-oas 5.10.2 → 5.10.4

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/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { t as __name } from "./rolldown-runtime-C0LytTxp.js";
2
1
  import { AdapterFactoryOptions, ast } from "@kubb/kit";
3
2
  //#region ../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/index.d.ts
4
3
  // ==================================================================================================
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- import "./rolldown-runtime-C0LytTxp.js";
2
1
  import { defineExtension } from "@kubb/core";
3
2
  import { Diagnostics, ast, childName, enumPropName, extractRefName, macroDiscriminatorEnum, macroEnumName, macroSimplifyUnion, mergeAdjacentObjectsLazy } from "@kubb/kit";
4
3
  import { access, readFile } from "node:fs/promises";
5
4
  import { upgrade } from "@scalar/openapi-upgrader";
6
5
  import { bundle } from "api-ref-bundler";
7
6
  import { parse } from "yaml";
7
+ //#endregion
8
8
  //#region kubb-extension.json
9
9
  var compatibility = {
10
10
  "kubb": ">=5.8.3",
11
- "node": ">=22"
11
+ "node": ">=22.12"
12
12
  };
13
13
  //#endregion
14
14
  //#region package.json
15
- var version = "5.10.2";
15
+ var version = "5.10.4";
16
16
  //#endregion
17
17
  //#region src/constants.ts
18
18
  /**
@@ -14,7 +14,7 @@
14
14
  "maintainers": [{ "name": "Stijn Van Hulle", "github": "stijnvanhulle" }],
15
15
  "compatibility": {
16
16
  "kubb": ">=5.8.3",
17
- "node": ">=22"
17
+ "node": ">=22.12"
18
18
  },
19
19
  "options": [
20
20
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/adapter-oas",
3
- "version": "5.10.2",
3
+ "version": "5.10.4",
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",
@@ -49,9 +49,14 @@
49
49
  "types": "./dist/index.d.ts",
50
50
  "exports": {
51
51
  ".": {
52
- "types": "./dist/index.d.ts",
53
- "import": "./dist/index.js",
54
- "require": "./dist/index.cjs"
52
+ "import": {
53
+ "types": "./dist/index.d.ts",
54
+ "default": "./dist/index.js"
55
+ },
56
+ "require": {
57
+ "types": "./dist/index.d.cts",
58
+ "default": "./dist/index.cjs"
59
+ }
55
60
  },
56
61
  "./kubb-extension.json": "./kubb-extension.json",
57
62
  "./package.json": "./package.json"
@@ -61,8 +66,8 @@
61
66
  "registry": "https://registry.npmjs.org/"
62
67
  },
63
68
  "dependencies": {
64
- "@kubb/core": "5.10.2",
65
- "@kubb/kit": "5.10.2",
69
+ "@kubb/core": "5.10.4",
70
+ "@kubb/kit": "5.10.4",
66
71
  "@readme/openapi-parser": "^9.1.0",
67
72
  "@scalar/openapi-upgrader": "^0.4.3",
68
73
  "api-ref-bundler": "0.5.1",
@@ -74,7 +79,7 @@
74
79
  "openapi-types": "^12.1.3"
75
80
  },
76
81
  "engines": {
77
- "node": ">=22"
82
+ "node": ">=22.12"
78
83
  },
79
84
  "inlinedDependencies": {
80
85
  "@types/json-schema": "7.0.15",
@@ -1,8 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __defProp = Object.defineProperty;
3
- var __name = (target, value) => __defProp(target, "name", {
4
- value,
5
- configurable: true
6
- });
7
- //#endregion
8
- export { __name as t };