@kubb/mcp 5.5.4 → 5.5.5
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.cjs +3 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -7
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import fs, { existsSync } from "node:fs";
|
|
|
11
11
|
import path, { isAbsolute, relative, resolve } from "node:path";
|
|
12
12
|
import process$1 from "node:process";
|
|
13
13
|
//#region package.json
|
|
14
|
-
var version = "5.5.
|
|
14
|
+
var version = "5.5.5";
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/schemas/generateSchema.ts
|
|
17
17
|
const generateSchema = v.object({
|
|
@@ -6053,12 +6053,8 @@ function formatDiagnostic(diagnostic) {
|
|
|
6053
6053
|
return lines.join("\n");
|
|
6054
6054
|
}
|
|
6055
6055
|
const loader = createModuleLoader();
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
if (loadedModules.has(filePath)) return loadedModules.get(filePath);
|
|
6059
|
-
const mod = await loader.load(filePath, { default: true });
|
|
6060
|
-
loadedModules.set(filePath, mod);
|
|
6061
|
-
return mod;
|
|
6056
|
+
function loadModule(filePath) {
|
|
6057
|
+
return loader.load(filePath, { default: true });
|
|
6062
6058
|
}
|
|
6063
6059
|
/**
|
|
6064
6060
|
* Loads the user's Kubb config and returns it with the directory it was found in.
|