@kubb/core
Advanced tools
Comparing version 0.49.0 to 0.49.1
@@ -204,2 +204,6 @@ import EventEmitter from 'eventemitter3'; | ||
declare const nameSorter: <T extends { | ||
name: string; | ||
}>(a: T, b: T) => 0 | 1 | -1; | ||
type Import = { | ||
@@ -389,2 +393,2 @@ name: string | string[]; | ||
export { Argument0, CLIOptions, Cache, CacheStore, CorePluginOptions, File, FileManager, FileName, Generator, KubbBuild, KubbConfig, KubbJSONPlugin, KubbPlugin, KubbPluginKind, KubbUserConfig, LogLevel, LogType, Logger, MaybePromise, OptionalPath, Path, PathMode, PluginContext, PluginFactoryOptions, PluginLifecycle, PluginLifecycleHooks, PluginManager, ResolveIdParams, SchemaGenerator, Status, Strategy, TransformResult, TreeNode, UUID, ValidationPluginError, build, clean, createPlugin, createPluginCache, build as default, defineConfig, format, getPathMode, getRelativePath, hooks, isPromise, isURL, name, objectToParameters, read, validatePlugins, write }; | ||
export { Argument0, CLIOptions, Cache, CacheStore, CorePluginOptions, File, FileManager, FileName, Generator, KubbBuild, KubbConfig, KubbJSONPlugin, KubbPlugin, KubbPluginKind, KubbUserConfig, LogLevel, LogType, Logger, MaybePromise, OptionalPath, Path, PathMode, PluginContext, PluginFactoryOptions, PluginLifecycle, PluginLifecycleHooks, PluginManager, ResolveIdParams, SchemaGenerator, Status, Strategy, TransformResult, TreeNode, UUID, ValidationPluginError, build, clean, createPlugin, createPluginCache, build as default, defineConfig, format, getPathMode, getRelativePath, hooks, isPromise, isURL, name, nameSorter, objectToParameters, read, validatePlugins, write }; |
@@ -143,2 +143,13 @@ 'use strict'; | ||
// src/utils/nameSorter.ts | ||
var nameSorter = (a, b) => { | ||
if (a.name < b.name) { | ||
return -1; | ||
} | ||
if (a.name > b.name) { | ||
return 1; | ||
} | ||
return 0; | ||
}; | ||
// src/plugin.ts | ||
@@ -761,2 +772,3 @@ function createPlugin(factory) { | ||
exports.name = name; | ||
exports.nameSorter = nameSorter; | ||
exports.objectToParameters = objectToParameters; | ||
@@ -763,0 +775,0 @@ exports.read = read; |
{ | ||
"name": "@kubb/core", | ||
"version": "0.49.0", | ||
"version": "0.49.1", | ||
"description": "Generator core", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2437467
23701