@kubb/plugin-client 6.0.0 → 6.0.1

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.
@@ -1,5 +1,5 @@
1
- import { c as HttpMethod, g as RequestBody, s as HeadersInit, v as Serializers, y as Styles } from "./serializers-BRgfPGr1.js";
2
- import { a as ValidateOption, i as StandardSchemaValidator, s as ValidationErrorHandler } from "./standardSchema-CGuiSK7F.js";
1
+ import { HeadersInit, HttpMethod, RequestBody, Serializers, Styles } from "./templates/serializers.js";
2
+ import { StandardSchemaValidator, ValidateOption, ValidationErrorHandler } from "./templates/standardSchema.js";
3
3
  /**
4
4
  * What a media type handler gets next to the body.
5
5
  */
package/dist/index.cjs CHANGED
@@ -37,7 +37,7 @@ var compatibility = {
37
37
  "node": ">=22.22"
38
38
  };
39
39
  // package.json
40
- var version = "6.0.0";
40
+ var version = "6.0.1";
41
41
  // ../../internals/utils/src/reserved.ts
42
42
  /**
43
43
  * JavaScript and Java reserved words.
@@ -1669,8 +1669,7 @@ function collectImportsByFile(ops, pick) {
1669
1669
  ops.forEach((op) => {
1670
1670
  const { file, names } = pick(op);
1671
1671
  if (!file || names.length === 0) return;
1672
- if (!namesByPath.has(file.path)) namesByPath.set(file.path, /* @__PURE__ */ new Set());
1673
- const set = namesByPath.get(file.path);
1672
+ const set = (0, _kubb_kit.memo)(namesByPath, file.path, () => /* @__PURE__ */ new Set());
1674
1673
  names.forEach((n) => set.add(n));
1675
1674
  filesByPath.set(file.path, file);
1676
1675
  });