@eslint-react/kit 1.50.0-next.5 → 1.50.0-next.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.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as typescript from 'typescript';
2
2
  import * as tseslint from '@typescript-eslint/utils/ts-eslint';
3
3
  import { ReportDescriptor } from '@typescript-eslint/utils/ts-eslint';
4
- import * as z from 'zod';
4
+ import { z } from 'zod/v4';
5
5
  import { _ } from '@eslint-react/eff';
6
6
  import { TSESTree } from '@typescript-eslint/utils';
7
7
 
@@ -81,27 +81,13 @@ declare namespace index$1 {
81
81
  * @internal
82
82
  */
83
83
  declare const LanguagePreferenceSchema: z.ZodObject<{
84
- indentStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"tab">, z.ZodLiteral<"space">]>>;
84
+ indentStyle: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"tab">, z.ZodLiteral<"space">]>>;
85
85
  indentWidth: z.ZodOptional<z.ZodNumber>;
86
- quoteStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
87
- semicolons: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"always">, z.ZodLiteral<"asNeeded">]>>;
88
- trailingCommas: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"es5">, z.ZodLiteral<"none">]>>;
89
- jsxQuoteStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
90
- }, "strip", z.ZodTypeAny, {
91
- indentStyle?: "tab" | "space" | undefined;
92
- indentWidth?: number | undefined;
93
- quoteStyle?: "single" | "double" | undefined;
94
- semicolons?: "always" | "asNeeded" | undefined;
95
- trailingCommas?: "all" | "es5" | "none" | undefined;
96
- jsxQuoteStyle?: "single" | "double" | undefined;
97
- }, {
98
- indentStyle?: "tab" | "space" | undefined;
99
- indentWidth?: number | undefined;
100
- quoteStyle?: "single" | "double" | undefined;
101
- semicolons?: "always" | "asNeeded" | undefined;
102
- trailingCommas?: "all" | "es5" | "none" | undefined;
103
- jsxQuoteStyle?: "single" | "double" | undefined;
104
- }>;
86
+ quoteStyle: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
87
+ semicolons: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"always">, z.ZodLiteral<"asNeeded">]>>;
88
+ trailingCommas: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodLiteral<"es5">, z.ZodLiteral<"none">]>>;
89
+ jsxQuoteStyle: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
90
+ }, z.core.$strip>;
105
91
 
106
92
  /**
107
93
  * @internal
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as typescript from 'typescript';
2
2
  import * as tseslint from '@typescript-eslint/utils/ts-eslint';
3
3
  import { ReportDescriptor } from '@typescript-eslint/utils/ts-eslint';
4
- import * as z from 'zod';
4
+ import { z } from 'zod/v4';
5
5
  import { _ } from '@eslint-react/eff';
6
6
  import { TSESTree } from '@typescript-eslint/utils';
7
7
 
@@ -81,27 +81,13 @@ declare namespace index$1 {
81
81
  * @internal
82
82
  */
83
83
  declare const LanguagePreferenceSchema: z.ZodObject<{
84
- indentStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"tab">, z.ZodLiteral<"space">]>>;
84
+ indentStyle: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"tab">, z.ZodLiteral<"space">]>>;
85
85
  indentWidth: z.ZodOptional<z.ZodNumber>;
86
- quoteStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
87
- semicolons: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"always">, z.ZodLiteral<"asNeeded">]>>;
88
- trailingCommas: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"es5">, z.ZodLiteral<"none">]>>;
89
- jsxQuoteStyle: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
90
- }, "strip", z.ZodTypeAny, {
91
- indentStyle?: "tab" | "space" | undefined;
92
- indentWidth?: number | undefined;
93
- quoteStyle?: "single" | "double" | undefined;
94
- semicolons?: "always" | "asNeeded" | undefined;
95
- trailingCommas?: "all" | "es5" | "none" | undefined;
96
- jsxQuoteStyle?: "single" | "double" | undefined;
97
- }, {
98
- indentStyle?: "tab" | "space" | undefined;
99
- indentWidth?: number | undefined;
100
- quoteStyle?: "single" | "double" | undefined;
101
- semicolons?: "always" | "asNeeded" | undefined;
102
- trailingCommas?: "all" | "es5" | "none" | undefined;
103
- jsxQuoteStyle?: "single" | "double" | undefined;
104
- }>;
86
+ quoteStyle: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
87
+ semicolons: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"always">, z.ZodLiteral<"asNeeded">]>>;
88
+ trailingCommas: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodLiteral<"es5">, z.ZodLiteral<"none">]>>;
89
+ jsxQuoteStyle: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"single">, z.ZodLiteral<"double">]>>;
90
+ }, z.core.$strip>;
105
91
 
106
92
  /**
107
93
  * @internal
package/dist/index.js CHANGED
@@ -1,27 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var eff = require('@eslint-react/eff');
4
- var z = require('zod');
5
-
6
- function _interopNamespace(e) {
7
- if (e && e.__esModule) return e;
8
- var n = Object.create(null);
9
- if (e) {
10
- Object.keys(e).forEach(function (k) {
11
- if (k !== 'default') {
12
- var d = Object.getOwnPropertyDescriptor(e, k);
13
- Object.defineProperty(n, k, d.get ? d : {
14
- enumerable: true,
15
- get: function () { return e[k]; }
16
- });
17
- }
18
- });
19
- }
20
- n.default = e;
21
- return Object.freeze(n);
22
- }
23
-
24
- var z__namespace = /*#__PURE__*/_interopNamespace(z);
4
+ var v4 = require('zod/v4');
25
5
 
26
6
  var __defProp = Object.defineProperty;
27
7
  var __export = (target, all) => {
@@ -158,38 +138,38 @@ function make2() {
158
138
  function getFromContext2() {
159
139
  throw new Error("getFromContext is not implemented");
160
140
  }
161
- var LanguagePreferenceSchema = z__namespace.object({
162
- indentStyle: z__namespace.optional(
163
- z__namespace.union([
164
- z__namespace.literal("tab"),
165
- z__namespace.literal("space")
141
+ var LanguagePreferenceSchema = v4.z.object({
142
+ indentStyle: v4.z.optional(
143
+ v4.z.union([
144
+ v4.z.literal("tab"),
145
+ v4.z.literal("space")
166
146
  ])
167
147
  ),
168
- indentWidth: z__namespace.optional(z__namespace.number()),
169
- quoteStyle: z__namespace.optional(
170
- z__namespace.union([
171
- z__namespace.literal("single"),
172
- z__namespace.literal("double")
148
+ indentWidth: v4.z.optional(v4.z.number()),
149
+ quoteStyle: v4.z.optional(
150
+ v4.z.union([
151
+ v4.z.literal("single"),
152
+ v4.z.literal("double")
173
153
  ])
174
154
  ),
175
- semicolons: z__namespace.optional(
176
- z__namespace.union([
177
- z__namespace.literal("always"),
178
- z__namespace.literal("asNeeded")
155
+ semicolons: v4.z.optional(
156
+ v4.z.union([
157
+ v4.z.literal("always"),
158
+ v4.z.literal("asNeeded")
179
159
  ])
180
160
  ),
181
- trailingCommas: z__namespace.optional(
182
- z__namespace.union([
183
- z__namespace.literal("all"),
184
- z__namespace.literal("es5"),
185
- z__namespace.literal("none")
161
+ trailingCommas: v4.z.optional(
162
+ v4.z.union([
163
+ v4.z.literal("all"),
164
+ v4.z.literal("es5"),
165
+ v4.z.literal("none")
186
166
  ])
187
167
  ),
188
168
  // JSX specific options
189
- jsxQuoteStyle: z__namespace.optional(
190
- z__namespace.union([
191
- z__namespace.literal("single"),
192
- z__namespace.literal("double")
169
+ jsxQuoteStyle: v4.z.optional(
170
+ v4.z.union([
171
+ v4.z.literal("single"),
172
+ v4.z.literal("double")
193
173
  ])
194
174
  )
195
175
  }, {});
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { dual, getOrElseUpdate } from '@eslint-react/eff';
2
- import * as z from 'zod';
2
+ import { z } from 'zod/v4';
3
3
 
4
4
  var __defProp = Object.defineProperty;
5
5
  var __export = (target, all) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/kit",
3
- "version": "1.50.0-next.5",
3
+ "version": "1.50.0-next.7",
4
4
  "description": "ESLint React's plugin kit for building plugins and rules.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -38,7 +38,7 @@
38
38
  "@typescript-eslint/utils": "^8.32.1",
39
39
  "ts-pattern": "^5.7.1",
40
40
  "zod": "^3.25.28",
41
- "@eslint-react/eff": "1.50.0-next.5"
41
+ "@eslint-react/eff": "1.50.0-next.7"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@tsconfig/node22": "^22.0.2",