@kubb/plugin-oas
Advanced tools
Comparing version 0.0.0-canary-20240521185452 to 0.0.0-canary-20240522194532
@@ -5,4 +5,4 @@ import { | ||
Schema | ||
} from "./chunk-6XCLXSEM.js"; | ||
import "./chunk-TKI775FL.js"; | ||
} from "./chunk-BNNQAPTT.js"; | ||
import "./chunk-7BOENSFI.js"; | ||
import { | ||
@@ -9,0 +9,0 @@ init_esm_shims |
@@ -5,4 +5,4 @@ import { | ||
useSchema | ||
} from "./chunk-6XCLXSEM.js"; | ||
import "./chunk-TKI775FL.js"; | ||
} from "./chunk-BNNQAPTT.js"; | ||
import "./chunk-7BOENSFI.js"; | ||
import { | ||
@@ -9,0 +9,0 @@ init_esm_shims |
@@ -75,3 +75,3 @@ import * as _kubb_core from '@kubb/core'; | ||
*/ | ||
abstract schema(name: string, object: SchemaObject): SchemaMethodResult<TFileMeta>; | ||
abstract schema(name: string, object: SchemaObject, options: TOptions): SchemaMethodResult<TFileMeta>; | ||
} | ||
@@ -78,0 +78,0 @@ |
@@ -8,3 +8,3 @@ import { | ||
schemaKeywords | ||
} from "./chunk-TKI775FL.js"; | ||
} from "./chunk-7BOENSFI.js"; | ||
import { | ||
@@ -11,0 +11,0 @@ __privateAdd, |
{ | ||
"name": "@kubb/plugin-oas", | ||
"version": "0.0.0-canary-20240521185452", | ||
"version": "0.0.0-canary-20240522194532", | ||
"description": "Generator swagger", | ||
@@ -71,6 +71,6 @@ "keywords": [ | ||
"remeda": "^1.61.0", | ||
"@kubb/fs": "0.0.0-canary-20240521185452", | ||
"@kubb/core": "0.0.0-canary-20240521185452", | ||
"@kubb/oas": "0.0.0-canary-20240521185452", | ||
"@kubb/react": "0.0.0-canary-20240521185452" | ||
"@kubb/core": "0.0.0-canary-20240522194532", | ||
"@kubb/fs": "0.0.0-canary-20240522194532", | ||
"@kubb/oas": "0.0.0-canary-20240522194532", | ||
"@kubb/react": "0.0.0-canary-20240522194532" | ||
}, | ||
@@ -83,8 +83,8 @@ "devDependencies": { | ||
"typescript": "^5.4.5", | ||
"@kubb/config-biome": "0.0.0-canary-20240521185452", | ||
"@kubb/config-ts": "0.0.0-canary-20240521185452", | ||
"@kubb/config-tsup": "0.0.0-canary-20240521185452" | ||
"@kubb/config-biome": "0.0.0-canary-20240522194532", | ||
"@kubb/config-ts": "0.0.0-canary-20240522194532", | ||
"@kubb/config-tsup": "0.0.0-canary-20240522194532" | ||
}, | ||
"peerDependencies": { | ||
"@kubb/react": "0.0.0-canary-20240521185452" | ||
"@kubb/react": "0.0.0-canary-20240522194532" | ||
}, | ||
@@ -91,0 +91,0 @@ "engines": { |
@@ -813,3 +813,7 @@ import { type FileMetaBase, Generator } from '@kubb/core' | ||
const promises = Object.entries(schemas).reduce((acc, [name, schema]) => { | ||
const promiseOperation = this.schema.call(this, name, schema) | ||
const options = this.#getOptions({ name }) | ||
const promiseOperation = this.schema.call(this, name, schema, { | ||
...this.options, | ||
...options, | ||
}) | ||
@@ -832,3 +836,3 @@ if (promiseOperation) { | ||
*/ | ||
abstract schema(name: string, object: SchemaObject): SchemaMethodResult<TFileMeta> | ||
abstract schema(name: string, object: SchemaObject, options: TOptions): SchemaMethodResult<TFileMeta> | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1112310
12276
1
+ Added@kubb/core@0.0.0-canary-20240522194532(transitive)
+ Added@kubb/fs@0.0.0-canary-20240522194532(transitive)
+ Added@kubb/oas@0.0.0-canary-20240522194532(transitive)
+ Added@kubb/parser-ts@0.0.0-canary-20240522194532(transitive)
+ Added@kubb/react@0.0.0-canary-20240522194532(transitive)
+ Added@kubb/types@0.0.0-canary-20240522194532(transitive)
- Removed@kubb/core@0.0.0-canary-20240521185452(transitive)
- Removed@kubb/fs@0.0.0-canary-20240521185452(transitive)
- Removed@kubb/oas@0.0.0-canary-20240521185452(transitive)
- Removed@kubb/parser-ts@0.0.0-canary-20240521185452(transitive)
- Removed@kubb/react@0.0.0-canary-20240521185452(transitive)
- Removed@kubb/types@0.0.0-canary-20240521185452(transitive)