@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 CHANGED
@@ -38,7 +38,7 @@ let node_module = require("node:module");
38
38
  let node_process = require("node:process");
39
39
  node_process = __toESM(node_process, 1);
40
40
  //#region package.json
41
- var version = "5.5.4";
41
+ var version = "5.5.5";
42
42
  //#endregion
43
43
  //#region src/schemas/generateSchema.ts
44
44
  const generateSchema = valibot.object({
@@ -6080,12 +6080,8 @@ function formatDiagnostic(diagnostic) {
6080
6080
  return lines.join("\n");
6081
6081
  }
6082
6082
  const loader = createModuleLoader();
6083
- const loadedModules = /* @__PURE__ */ new Map();
6084
- async function loadModule(filePath) {
6085
- if (loadedModules.has(filePath)) return loadedModules.get(filePath);
6086
- const mod = await loader.load(filePath, { default: true });
6087
- loadedModules.set(filePath, mod);
6088
- return mod;
6083
+ function loadModule(filePath) {
6084
+ return loader.load(filePath, { default: true });
6089
6085
  }
6090
6086
  /**
6091
6087
  * Loads the user's Kubb config and returns it with the directory it was found in.