@elliots/bun-plugin-typical 0.2.1 → 0.2.3

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 +7 -1
  2. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -24,7 +24,13 @@ interface TypicalSourceMapConfig {
24
24
  interface TypicalConfig {
25
25
  include?: string[];
26
26
  exclude?: string[];
27
- reusableValidators?: boolean;
27
+ /**
28
+ * Controls whether validators are hoisted to module scope for reuse.
29
+ * - 'auto' (default): Hoist only validators used more than once
30
+ * - 'never': Never hoist, always generate inline validators
31
+ * - 'always': Always hoist validators, even if only used once
32
+ */
33
+ reusableValidators?: 'auto' | 'never' | 'always';
28
34
  validateCasts?: boolean;
29
35
  hoistRegex?: boolean;
30
36
  debug?: TypicalDebugConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliots/bun-plugin-typical",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
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.1"
39
+ "@elliots/typical": "0.2.3"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/bun": "^1.0.0",