@kubb/core
Advanced tools
Comparing version 3.0.0-alpha.15 to 3.0.0-alpha.16
import { transformReservedWord } from './chunk-2EU7DMPM.js'; | ||
import { EventEmitter, createLogger } from './chunk-E6CN2CZC.js'; | ||
import { FileManager, setUniqueName, processFiles, URLPath } from './chunk-IUN6LRFH.js'; | ||
export { FileManager, getSource } from './chunk-IUN6LRFH.js'; | ||
import { EventEmitter, createLogger } from './chunk-JSL2IBGJ.js'; | ||
import { FileManager, setUniqueName, processFiles, URLPath } from './chunk-IS3U2E4B.js'; | ||
export { FileManager, getSource } from './chunk-IS3U2E4B.js'; | ||
import './chunk-4X5FFJPJ.js'; | ||
import './chunk-HBQM723K.js'; | ||
import './chunk-ZEL4DI72.js'; | ||
import './chunk-PZ5AY32C.js'; | ||
import { getRelativePath, read, readSync, clean } from '@kubb/fs'; | ||
@@ -692,3 +693,3 @@ import path, { resolve, join } from 'node:path'; | ||
const meta = file.meta; | ||
return item.name === meta?.pluginKey?.[0]; | ||
return item.key === meta?.pluginKey; | ||
}); | ||
@@ -695,0 +696,0 @@ if (plugin?.output?.exportType === false) { |
@@ -1,4 +0,5 @@ | ||
export { LogMapper, createLogger, randomCliColour, randomColour } from './chunk-E6CN2CZC.js'; | ||
import './chunk-HBQM723K.js'; | ||
export { LogMapper, createLogger, randomCliColour, randomColour } from './chunk-JSL2IBGJ.js'; | ||
import './chunk-ZEL4DI72.js'; | ||
import './chunk-PZ5AY32C.js'; | ||
//# sourceMappingURL=logger.js.map | ||
//# sourceMappingURL=logger.js.map |
@@ -9,5 +9,6 @@ import { ResolvedFile, File } from '@kubb/fs/types'; | ||
declare const mockedLogger: Logger; | ||
declare const createMockedPluginManager: (name?: string) => PluginManager; | ||
declare const mockedPluginManager: PluginManager; | ||
declare function matchFiles(files: Array<ResolvedFile | File> | undefined): Promise<undefined>; | ||
export { matchFiles, mockedLogger, mockedPluginManager }; | ||
export { createMockedPluginManager, matchFiles, mockedLogger, mockedPluginManager }; |
@@ -5,2 +5,3 @@ import { transformReservedWord } from './chunk-2EU7DMPM.js'; | ||
export { camelCase, orderBy, pascalCase, pathCase } from './chunk-4X5FFJPJ.js'; | ||
import './chunk-PZ5AY32C.js'; | ||
import { merge } from 'remeda'; | ||
@@ -7,0 +8,0 @@ export { merge } from 'remeda'; |
@@ -1,4 +0,5 @@ | ||
export { FunctionParams, URLPath, createFile, createFileExport, createFileImport, createFileParser, getFileParser, getUniqueName, isPromise, isPromiseFulfilledResult, isPromiseRejectedResult, renderTemplate, setUniqueName, timeout } from './chunk-IUN6LRFH.js'; | ||
export { FunctionParams, URLPath, createFile, createFileExport, createFileImport, createFileParser, getFileParser, getUniqueName, isPromise, isPromiseFulfilledResult, isPromiseRejectedResult, renderTemplate, setUniqueName, timeout } from './chunk-IS3U2E4B.js'; | ||
import './chunk-4X5FFJPJ.js'; | ||
import './chunk-PZ5AY32C.js'; | ||
//# sourceMappingURL=utils.js.map | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@kubb/core", | ||
"version": "3.0.0-alpha.15", | ||
"version": "3.0.0-alpha.16", | ||
"description": "Generator core", | ||
@@ -87,5 +87,5 @@ "keywords": [ | ||
"unraw": "^3.0.0", | ||
"@kubb/fs": "3.0.0-alpha.15", | ||
"@kubb/parser-ts": "3.0.0-alpha.15", | ||
"@kubb/types": "3.0.0-alpha.15" | ||
"@kubb/fs": "3.0.0-alpha.16", | ||
"@kubb/parser-ts": "3.0.0-alpha.16", | ||
"@kubb/types": "3.0.0-alpha.16" | ||
}, | ||
@@ -101,6 +101,6 @@ "devDependencies": { | ||
"tsup": "^8.2.4", | ||
"typescript": "^5.5.4", | ||
"@kubb/config-biome": "3.0.0-alpha.15", | ||
"@kubb/config-ts": "3.0.0-alpha.15", | ||
"@kubb/config-tsup": "3.0.0-alpha.15" | ||
"typescript": "^5.6.2", | ||
"@kubb/config-biome": "3.0.0-alpha.16", | ||
"@kubb/config-ts": "3.0.0-alpha.16", | ||
"@kubb/config-tsup": "3.0.0-alpha.16" | ||
}, | ||
@@ -107,0 +107,0 @@ "engines": { |
@@ -48,2 +48,3 @@ [ | ||
], | ||
"meta": {}, | ||
"id": "feabc02536bd6630458e734990f7e2a21a55c469", | ||
@@ -87,2 +88,3 @@ "name": "index", | ||
], | ||
"meta": {}, | ||
"id": "c67967bd2363dd9637437671f6fe1ed146debdbf", | ||
@@ -89,0 +91,0 @@ "name": "index", |
@@ -23,3 +23,4 @@ { | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
}, | ||
@@ -38,3 +39,4 @@ "path": "src/axios/file2.ts" | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
}, | ||
@@ -57,3 +59,4 @@ "path": "src/axios/file1.ts" | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
}, | ||
@@ -74,3 +77,4 @@ "path": "src/axios/controller/pet.ts" | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
}, | ||
@@ -95,3 +99,4 @@ "path": "src/axios/index.ts" | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
}, | ||
@@ -112,3 +117,4 @@ "path": "src/controller/test.ts" | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
}, | ||
@@ -115,0 +121,0 @@ "path": "src/test.ts" |
@@ -10,3 +10,4 @@ [ | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
}, | ||
@@ -21,3 +22,4 @@ { | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
}, | ||
@@ -32,3 +34,4 @@ { | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
}, | ||
@@ -43,3 +46,4 @@ { | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
}, | ||
@@ -54,3 +58,4 @@ { | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
}, | ||
@@ -65,4 +70,5 @@ { | ||
"imports": [], | ||
"exports": [] | ||
"exports": [], | ||
"meta": {} | ||
} | ||
] |
@@ -109,3 +109,3 @@ import { clean, read } from '@kubb/fs' | ||
const meta = file.meta as any | ||
return item.name === meta?.pluginKey?.[0] | ||
return item.key === meta?.pluginKey | ||
}) | ||
@@ -112,0 +112,0 @@ |
@@ -139,3 +139,3 @@ import { extname, join, relative } from 'node:path' | ||
async getBarrelFiles({ files, meta, root, output, logger }: AddIndexesProps): Promise<KubbFile.File[]> { | ||
async getBarrelFiles({ files, meta = {}, root, output, logger }: AddIndexesProps): Promise<KubbFile.File[]> { | ||
const { exportType = 'barrelNamed' } = output | ||
@@ -142,0 +142,0 @@ const barrelManager = new BarrelManager({ logger }) |
@@ -32,2 +32,3 @@ import { extname } from 'node:path' | ||
sources: sources.map((item) => createFileSource(item)), | ||
meta: file.meta || ({} as TMeta), | ||
} | ||
@@ -34,0 +35,0 @@ } |
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
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 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
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
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 8 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
High entropy strings
Supply chain riskContains high entropy strings. This could be a sign of encrypted data, leaked secrets or obfuscated code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 5 instances 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
32614464
160
223976
8
82
1
+ Added@kubb/fs@3.0.0-alpha.16(transitive)
+ Added@kubb/parser-ts@3.0.0-alpha.16(transitive)
+ Added@kubb/types@3.0.0-alpha.16(transitive)
- Removed@kubb/fs@3.0.0-alpha.15(transitive)
- Removed@kubb/parser-ts@3.0.0-alpha.15(transitive)
- Removed@kubb/types@3.0.0-alpha.15(transitive)
Updated@kubb/fs@3.0.0-alpha.16
Updated@kubb/types@3.0.0-alpha.16