@kubb/parser-ts 5.18.6 → 5.18.7

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
@@ -11,7 +11,7 @@ var compatibility = {
11
11
  "node": ">=22.22"
12
12
  };
13
13
  // package.json
14
- var version = "5.18.6";
14
+ var version = "5.18.7";
15
15
  // src/inline.ts
16
16
  const keyStarts = /* @__PURE__ */ new Set([
17
17
  yuku_parser.TokenKind.LeftBrace,
package/dist/index.d.cts CHANGED
@@ -76,5 +76,4 @@ export declare const parserTs: import("@kubb/core").ParserFactory<ParserTsOption
76
76
  * ```
77
77
  */
78
78
  export declare const parserTsx: import("@kubb/core").ParserFactory<ParserTsOptions, object, string | TsNode>;
79
- export type { ParserTsOptions, TsNode };
80
- //# sourceMappingURL=index.d.cts.map
79
+ export type { ParserTsOptions, TsNode };
package/dist/index.d.ts CHANGED
@@ -76,5 +76,4 @@ export declare const parserTs: import("@kubb/core").ParserFactory<ParserTsOption
76
76
  * ```
77
77
  */
78
78
  export declare const parserTsx: import("@kubb/core").ParserFactory<ParserTsOptions, object, string | TsNode>;
79
- export type { ParserTsOptions, TsNode };
80
- //# sourceMappingURL=index.d.ts.map
79
+ export type { ParserTsOptions, TsNode };
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ var compatibility = {
10
10
  "node": ">=22.22"
11
11
  };
12
12
  // package.json
13
- var version = "5.18.6";
13
+ var version = "5.18.7";
14
14
  // src/inline.ts
15
15
  const keyStarts = /* @__PURE__ */ new Set([
16
16
  TokenKind.LeftBrace,
package/docs/options.md CHANGED
@@ -16,7 +16,7 @@ Rewrites the extensions emitted in relative `import`/`export` statements. Each k
16
16
 
17
17
  Use `{ '.ts': '.js' }` to emit `.js` specifiers for ESM output compiled to JavaScript. Use `{ '.ts': '.ts' }` to keep `.ts` specifiers when you run the `.ts` files directly in Node.js or compile them with `rewriteRelativeImportExtensions`.
18
18
 
19
- The same mapping applies to runtime templates a plugin copies into the output, such as the `.kubb/` runtime files of `@kubb/plugin-fetch`. Their top-level `import` and `export … from` statements become import and export nodes, so the whole output follows one convention.
19
+ The same mapping applies to runtime templates a plugin copies into the output, such as the `.kubb/` runtime files of `@kubb/plugin-fetch`. Their top-level `import` and `export … from` statements are rewritten the same way, so the whole output follows one convention.
20
20
 
21
21
  | | |
22
22
  | -------- | ------------------------ |
package/docs/overview.md CHANGED
@@ -6,7 +6,7 @@ The package also exports `parserTsx`, which writes `.tsx` and `.jsx` files with
6
6
 
7
7
  ## Setup
8
8
 
9
- With `defineConfig` from `kubb/config`, Kubb registers `parserTs`, `parserTsx`, and `parserMd` by default, so no setup is needed. Bundler integrations register only `parserTs` and `parserTsx`. Set `parsers` in `defineConfig` only to change an option or add a parser. A custom `parsers` array replaces the default set, so list every parser your plugins need. Files that no parser claims are written as their source text only, without imports, exports, banner, or footer.
9
+ Kubb registers `parserTs`, `parserTsx`, and `parserMd` by default, in `defineConfig` and in the bundler integrations, so no setup is needed. Set `parsers` in `defineConfig` only to change an option or add a parser. A custom `parsers` array replaces the default set, so list every parser your plugins need. Files that no parser claims are written as their source text only, without imports, exports, banner, or footer.
10
10
 
11
11
  ## Options worth knowing
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/parser-ts",
3
- "version": "5.18.6",
3
+ "version": "5.18.7",
4
4
  "description": "TypeScript and TSX parser for Kubb. Prints AST nodes as TypeScript and TSX source, with imports, exports and JSDoc.",
5
5
  "keywords": [
6
6
  "codegen",
@@ -64,8 +64,8 @@
64
64
  "registry": "https://registry.npmjs.org/"
65
65
  },
66
66
  "dependencies": {
67
- "@kubb/ast": "^5.18.6",
68
- "@kubb/core": "^5.18.6",
67
+ "@kubb/ast": "^5.18.7",
68
+ "@kubb/core": "^5.18.7",
69
69
  "yuku-parser": "^0.19.0"
70
70
  },
71
71
  "devDependencies": {