Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kubb/core

Package Overview
Dependencies
Maintainers
1
Versions
662
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kubb/core - npm Package Compare versions

Comparing version 3.0.0-alpha.15 to 3.0.0-alpha.16

dist/acorn-75VVZH4M.cjs

11

dist/index.js
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc