@eslint-react/shared 1.22.2 → 1.23.0-beta.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.
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -198,12 +198,14 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
198
198
|
/**
|
|
199
199
|
* The identifier that’s used for JSX Element creation.
|
|
200
200
|
* @default `"createElement"`
|
|
201
|
+
* @deprecated
|
|
201
202
|
*/
|
|
202
203
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
203
204
|
/**
|
|
204
205
|
* The identifier that’s used for JSX fragment elements.
|
|
205
206
|
* @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
|
|
206
207
|
* @default `"Fragment"`
|
|
208
|
+
* @deprecated
|
|
207
209
|
*/
|
|
208
210
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
209
211
|
/**
|
|
@@ -325,12 +327,14 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
325
327
|
/**
|
|
326
328
|
* The identifier that’s used for JSX Element creation.
|
|
327
329
|
* @default `"createElement"`
|
|
330
|
+
* @deprecated
|
|
328
331
|
*/
|
|
329
332
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
330
333
|
/**
|
|
331
334
|
* The identifier that’s used for JSX fragment elements.
|
|
332
335
|
* @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
|
|
333
336
|
* @default `"Fragment"`
|
|
337
|
+
* @deprecated
|
|
334
338
|
*/
|
|
335
339
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
336
340
|
/**
|
|
@@ -449,12 +453,14 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
449
453
|
/**
|
|
450
454
|
* The identifier that’s used for JSX Element creation.
|
|
451
455
|
* @default `"createElement"`
|
|
456
|
+
* @deprecated
|
|
452
457
|
*/
|
|
453
458
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
454
459
|
/**
|
|
455
460
|
* The identifier that’s used for JSX fragment elements.
|
|
456
461
|
* @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
|
|
457
462
|
* @default `"Fragment"`
|
|
463
|
+
* @deprecated
|
|
458
464
|
*/
|
|
459
465
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
460
466
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -198,12 +198,14 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
198
198
|
/**
|
|
199
199
|
* The identifier that’s used for JSX Element creation.
|
|
200
200
|
* @default `"createElement"`
|
|
201
|
+
* @deprecated
|
|
201
202
|
*/
|
|
202
203
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
203
204
|
/**
|
|
204
205
|
* The identifier that’s used for JSX fragment elements.
|
|
205
206
|
* @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
|
|
206
207
|
* @default `"Fragment"`
|
|
208
|
+
* @deprecated
|
|
207
209
|
*/
|
|
208
210
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
209
211
|
/**
|
|
@@ -325,12 +327,14 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
325
327
|
/**
|
|
326
328
|
* The identifier that’s used for JSX Element creation.
|
|
327
329
|
* @default `"createElement"`
|
|
330
|
+
* @deprecated
|
|
328
331
|
*/
|
|
329
332
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
330
333
|
/**
|
|
331
334
|
* The identifier that’s used for JSX fragment elements.
|
|
332
335
|
* @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
|
|
333
336
|
* @default `"Fragment"`
|
|
337
|
+
* @deprecated
|
|
334
338
|
*/
|
|
335
339
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
336
340
|
/**
|
|
@@ -449,12 +453,14 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
449
453
|
/**
|
|
450
454
|
* The identifier that’s used for JSX Element creation.
|
|
451
455
|
* @default `"createElement"`
|
|
456
|
+
* @deprecated
|
|
452
457
|
*/
|
|
453
458
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
454
459
|
/**
|
|
455
460
|
* The identifier that’s used for JSX fragment elements.
|
|
456
461
|
* @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
|
|
457
462
|
* @default `"Fragment"`
|
|
463
|
+
* @deprecated
|
|
458
464
|
*/
|
|
459
465
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
460
466
|
/**
|
package/dist/index.js
CHANGED
|
@@ -313,12 +313,14 @@ var ESLintReactSettingsSchema = valibot.object({
|
|
|
313
313
|
/**
|
|
314
314
|
* The identifier that’s used for JSX Element creation.
|
|
315
315
|
* @default `"createElement"`
|
|
316
|
+
* @deprecated
|
|
316
317
|
*/
|
|
317
318
|
jsxPragma: valibot.optional(valibot.string()),
|
|
318
319
|
/**
|
|
319
320
|
* The identifier that’s used for JSX fragment elements.
|
|
320
321
|
* @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
|
|
321
322
|
* @default `"Fragment"`
|
|
323
|
+
* @deprecated
|
|
322
324
|
*/
|
|
323
325
|
jsxPragmaFrag: valibot.optional(valibot.string()),
|
|
324
326
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -304,12 +304,14 @@ var ESLintReactSettingsSchema = object({
|
|
|
304
304
|
/**
|
|
305
305
|
* The identifier that’s used for JSX Element creation.
|
|
306
306
|
* @default `"createElement"`
|
|
307
|
+
* @deprecated
|
|
307
308
|
*/
|
|
308
309
|
jsxPragma: optional(string()),
|
|
309
310
|
/**
|
|
310
311
|
* The identifier that’s used for JSX fragment elements.
|
|
311
312
|
* @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
|
|
312
313
|
* @default `"Fragment"`
|
|
314
|
+
* @deprecated
|
|
313
315
|
*/
|
|
314
316
|
jsxPragmaFrag: optional(string()),
|
|
315
317
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0-beta.1",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/rEl1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"./package.json"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@typescript-eslint/utils": "^8.
|
|
36
|
+
"@typescript-eslint/utils": "^8.19.0",
|
|
37
37
|
"fast-equals": "^5.0.1",
|
|
38
38
|
"micro-memoize": "^4.1.2",
|
|
39
39
|
"picomatch": "^4.0.2",
|
|
40
40
|
"ts-pattern": "^5.6.0",
|
|
41
41
|
"valibot": "^1.0.0-beta.9",
|
|
42
|
-
"@eslint-react/eff": "1.
|
|
42
|
+
"@eslint-react/eff": "1.23.0-beta.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/picomatch": "^3.0.1",
|