@elliots/bun-plugin-typical 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +8 -6
  2. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -34,12 +34,6 @@ interface TypicalConfig {
34
34
  * Example: ["React.*", "Express.Request", "*.Event"]
35
35
  */
36
36
  ignoreTypes?: string[];
37
- /**
38
- * Skip validation for DOM types (Document, Element, Node, etc.) and their subclasses.
39
- * These types have complex Window intersections that typia cannot process.
40
- * Default: true
41
- */
42
- ignoreDOMTypes?: boolean;
43
37
  /**
44
38
  * Validate function parameters and return types at runtime.
45
39
  * When enabled, typed function parameters get runtime validation calls injected.
@@ -63,6 +57,14 @@ interface TypicalConfig {
63
57
  * Controls whether and how source maps are generated for transformed code.
64
58
  */
65
59
  sourceMap?: TypicalSourceMapConfig;
60
+ /**
61
+ * Maximum number of helper functions (_io0, _io1, etc.) that can be generated
62
+ * for a single type before erroring. Complex DOM types or library types can
63
+ * generate hundreds of functions which indicates a type that should be excluded.
64
+ * Set to 0 to disable the limit.
65
+ * Default: 50
66
+ */
67
+ maxGeneratedFunctions?: number;
66
68
  }
67
69
  //#endregion
68
70
  //#region src/core/options.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliots/bun-plugin-typical",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Bun plugin for typical - runtime safe TypeScript transformer",
5
5
  "keywords": [
6
6
  "bun",
@@ -36,7 +36,7 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@elliots/typical": "0.2.0"
39
+ "@elliots/typical": "0.2.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/bun": "^1.0.0",