@eslint-react/shared 1.29.0 → 1.29.1-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 CHANGED
@@ -1576,13 +1576,13 @@ declare const ESLintReactSettingsSchema: ObjectSchema<{
1576
1576
  */
1577
1577
  readonly importSource: OptionalSchema<StringSchema<undefined>, undefined>;
1578
1578
  /**
1579
- * The identifier thats used for JSX Element creation.
1579
+ * The identifier that's used for JSX Element creation.
1580
1580
  * @default `"createElement"`
1581
1581
  * @deprecated
1582
1582
  */
1583
1583
  readonly jsxPragma: OptionalSchema<StringSchema<undefined>, undefined>;
1584
1584
  /**
1585
- * The identifier thats used for JSX fragment elements.
1585
+ * The identifier that's used for JSX fragment elements.
1586
1586
  * @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
1587
1587
  * @default `"Fragment"`
1588
1588
  * @deprecated
@@ -1605,7 +1605,7 @@ declare const ESLintReactSettingsSchema: ObjectSchema<{
1605
1605
  */
1606
1606
  readonly skipImportCheck: OptionalSchema<BooleanSchema<undefined>, true>;
1607
1607
  /**
1608
- * React version to use, "detect" means auto detect React version from the projects dependencies.
1608
+ * React version to use, "detect" means auto detect React version from the project's dependencies.
1609
1609
  * If `importSource` is specified, an equivalent version of React should be provided here.
1610
1610
  * @example `"18.3.1"`
1611
1611
  * @default `"detect"`
@@ -1709,13 +1709,13 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
1709
1709
  */
1710
1710
  readonly importSource: OptionalSchema<StringSchema<undefined>, undefined>;
1711
1711
  /**
1712
- * The identifier thats used for JSX Element creation.
1712
+ * The identifier that's used for JSX Element creation.
1713
1713
  * @default `"createElement"`
1714
1714
  * @deprecated
1715
1715
  */
1716
1716
  readonly jsxPragma: OptionalSchema<StringSchema<undefined>, undefined>;
1717
1717
  /**
1718
- * The identifier thats used for JSX fragment elements.
1718
+ * The identifier that's used for JSX fragment elements.
1719
1719
  * @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
1720
1720
  * @default `"Fragment"`
1721
1721
  * @deprecated
@@ -1738,7 +1738,7 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
1738
1738
  */
1739
1739
  readonly skipImportCheck: OptionalSchema<BooleanSchema<undefined>, true>;
1740
1740
  /**
1741
- * React version to use, "detect" means auto detect React version from the projects dependencies.
1741
+ * React version to use, "detect" means auto detect React version from the project's dependencies.
1742
1742
  * If `importSource` is specified, an equivalent version of React should be provided here.
1743
1743
  * @example `"18.3.1"`
1744
1744
  * @default `"detect"`
@@ -1839,13 +1839,13 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
1839
1839
  */
1840
1840
  readonly importSource: OptionalSchema<StringSchema<undefined>, undefined>;
1841
1841
  /**
1842
- * The identifier thats used for JSX Element creation.
1842
+ * The identifier that's used for JSX Element creation.
1843
1843
  * @default `"createElement"`
1844
1844
  * @deprecated
1845
1845
  */
1846
1846
  readonly jsxPragma: OptionalSchema<StringSchema<undefined>, undefined>;
1847
1847
  /**
1848
- * The identifier thats used for JSX fragment elements.
1848
+ * The identifier that's used for JSX fragment elements.
1849
1849
  * @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
1850
1850
  * @default `"Fragment"`
1851
1851
  * @deprecated
@@ -1868,7 +1868,7 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
1868
1868
  */
1869
1869
  readonly skipImportCheck: OptionalSchema<BooleanSchema<undefined>, true>;
1870
1870
  /**
1871
- * React version to use, "detect" means auto detect React version from the projects dependencies.
1871
+ * React version to use, "detect" means auto detect React version from the project's dependencies.
1872
1872
  * If `importSource` is specified, an equivalent version of React should be provided here.
1873
1873
  * @example `"18.3.1"`
1874
1874
  * @default `"detect"`
package/dist/index.d.ts CHANGED
@@ -1576,13 +1576,13 @@ declare const ESLintReactSettingsSchema: ObjectSchema<{
1576
1576
  */
1577
1577
  readonly importSource: OptionalSchema<StringSchema<undefined>, undefined>;
1578
1578
  /**
1579
- * The identifier thats used for JSX Element creation.
1579
+ * The identifier that's used for JSX Element creation.
1580
1580
  * @default `"createElement"`
1581
1581
  * @deprecated
1582
1582
  */
1583
1583
  readonly jsxPragma: OptionalSchema<StringSchema<undefined>, undefined>;
1584
1584
  /**
1585
- * The identifier thats used for JSX fragment elements.
1585
+ * The identifier that's used for JSX fragment elements.
1586
1586
  * @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
1587
1587
  * @default `"Fragment"`
1588
1588
  * @deprecated
@@ -1605,7 +1605,7 @@ declare const ESLintReactSettingsSchema: ObjectSchema<{
1605
1605
  */
1606
1606
  readonly skipImportCheck: OptionalSchema<BooleanSchema<undefined>, true>;
1607
1607
  /**
1608
- * React version to use, "detect" means auto detect React version from the projects dependencies.
1608
+ * React version to use, "detect" means auto detect React version from the project's dependencies.
1609
1609
  * If `importSource` is specified, an equivalent version of React should be provided here.
1610
1610
  * @example `"18.3.1"`
1611
1611
  * @default `"detect"`
@@ -1709,13 +1709,13 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
1709
1709
  */
1710
1710
  readonly importSource: OptionalSchema<StringSchema<undefined>, undefined>;
1711
1711
  /**
1712
- * The identifier thats used for JSX Element creation.
1712
+ * The identifier that's used for JSX Element creation.
1713
1713
  * @default `"createElement"`
1714
1714
  * @deprecated
1715
1715
  */
1716
1716
  readonly jsxPragma: OptionalSchema<StringSchema<undefined>, undefined>;
1717
1717
  /**
1718
- * The identifier thats used for JSX fragment elements.
1718
+ * The identifier that's used for JSX fragment elements.
1719
1719
  * @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
1720
1720
  * @default `"Fragment"`
1721
1721
  * @deprecated
@@ -1738,7 +1738,7 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
1738
1738
  */
1739
1739
  readonly skipImportCheck: OptionalSchema<BooleanSchema<undefined>, true>;
1740
1740
  /**
1741
- * React version to use, "detect" means auto detect React version from the projects dependencies.
1741
+ * React version to use, "detect" means auto detect React version from the project's dependencies.
1742
1742
  * If `importSource` is specified, an equivalent version of React should be provided here.
1743
1743
  * @example `"18.3.1"`
1744
1744
  * @default `"detect"`
@@ -1839,13 +1839,13 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
1839
1839
  */
1840
1840
  readonly importSource: OptionalSchema<StringSchema<undefined>, undefined>;
1841
1841
  /**
1842
- * The identifier thats used for JSX Element creation.
1842
+ * The identifier that's used for JSX Element creation.
1843
1843
  * @default `"createElement"`
1844
1844
  * @deprecated
1845
1845
  */
1846
1846
  readonly jsxPragma: OptionalSchema<StringSchema<undefined>, undefined>;
1847
1847
  /**
1848
- * The identifier thats used for JSX fragment elements.
1848
+ * The identifier that's used for JSX fragment elements.
1849
1849
  * @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
1850
1850
  * @default `"Fragment"`
1851
1851
  * @deprecated
@@ -1868,7 +1868,7 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
1868
1868
  */
1869
1869
  readonly skipImportCheck: OptionalSchema<BooleanSchema<undefined>, true>;
1870
1870
  /**
1871
- * React version to use, "detect" means auto detect React version from the projects dependencies.
1871
+ * React version to use, "detect" means auto detect React version from the project's dependencies.
1872
1872
  * If `importSource` is specified, an equivalent version of React should be provided here.
1873
1873
  * @example `"18.3.1"`
1874
1874
  * @default `"detect"`
package/dist/index.js CHANGED
@@ -77,7 +77,7 @@ function getReactVersion(fallback = "19.0.0") {
77
77
  }
78
78
  }
79
79
 
80
- // ../../node_modules/.pnpm/valibot@1.0.0-rc.2_typescript@5.8.2/node_modules/valibot/dist/index.js
80
+ // ../../node_modules/.pnpm/valibot@1.0.0-rc.3_typescript@5.8.2/node_modules/valibot/dist/index.js
81
81
  var store;
82
82
  // @__NO_SIDE_EFFECTS__
83
83
  function getGlobalConfig(config2) {
@@ -137,7 +137,7 @@ function _addIssue(context, label, dataset, config2, other) {
137
137
  };
138
138
  const isSchema = context.kind === "schema";
139
139
  const message = other?.message ?? context.message ?? /* @__PURE__ */ getSpecificMessage(context.reference, issue.lang) ?? (isSchema ? /* @__PURE__ */ getSchemaMessage(issue.lang) : null) ?? config2.message ?? /* @__PURE__ */ getGlobalMessage(issue.lang);
140
- if (message) {
140
+ if (message !== void 0) {
141
141
  issue.message = typeof message === "function" ? (
142
142
  // @ts-expect-error
143
143
  message(issue)
@@ -499,13 +499,13 @@ var ESLintReactSettingsSchema = object({
499
499
  */
500
500
  importSource: optional(string()),
501
501
  /**
502
- * The identifier thats used for JSX Element creation.
502
+ * The identifier that's used for JSX Element creation.
503
503
  * @default `"createElement"`
504
504
  * @deprecated
505
505
  */
506
506
  jsxPragma: optional(string()),
507
507
  /**
508
- * The identifier thats used for JSX fragment elements.
508
+ * The identifier that's used for JSX fragment elements.
509
509
  * @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
510
510
  * @default `"Fragment"`
511
511
  * @deprecated
@@ -528,7 +528,7 @@ var ESLintReactSettingsSchema = object({
528
528
  */
529
529
  skipImportCheck: optional(boolean(), true),
530
530
  /**
531
- * React version to use, "detect" means auto detect React version from the projects dependencies.
531
+ * React version to use, "detect" means auto detect React version from the project's dependencies.
532
532
  * If `importSource` is specified, an equivalent version of React should be provided here.
533
533
  * @example `"18.3.1"`
534
534
  * @default `"detect"`
package/dist/index.mjs CHANGED
@@ -69,7 +69,7 @@ function getReactVersion(fallback = "19.0.0") {
69
69
  }
70
70
  }
71
71
 
72
- // ../../node_modules/.pnpm/valibot@1.0.0-rc.2_typescript@5.8.2/node_modules/valibot/dist/index.js
72
+ // ../../node_modules/.pnpm/valibot@1.0.0-rc.3_typescript@5.8.2/node_modules/valibot/dist/index.js
73
73
  var store;
74
74
  // @__NO_SIDE_EFFECTS__
75
75
  function getGlobalConfig(config2) {
@@ -129,7 +129,7 @@ function _addIssue(context, label, dataset, config2, other) {
129
129
  };
130
130
  const isSchema = context.kind === "schema";
131
131
  const message = other?.message ?? context.message ?? /* @__PURE__ */ getSpecificMessage(context.reference, issue.lang) ?? (isSchema ? /* @__PURE__ */ getSchemaMessage(issue.lang) : null) ?? config2.message ?? /* @__PURE__ */ getGlobalMessage(issue.lang);
132
- if (message) {
132
+ if (message !== void 0) {
133
133
  issue.message = typeof message === "function" ? (
134
134
  // @ts-expect-error
135
135
  message(issue)
@@ -491,13 +491,13 @@ var ESLintReactSettingsSchema = object({
491
491
  */
492
492
  importSource: optional(string()),
493
493
  /**
494
- * The identifier thats used for JSX Element creation.
494
+ * The identifier that's used for JSX Element creation.
495
495
  * @default `"createElement"`
496
496
  * @deprecated
497
497
  */
498
498
  jsxPragma: optional(string()),
499
499
  /**
500
- * The identifier thats used for JSX fragment elements.
500
+ * The identifier that's used for JSX fragment elements.
501
501
  * @description This should not be a member expression (i.e. use "Fragment" instead of "React.Fragment").
502
502
  * @default `"Fragment"`
503
503
  * @deprecated
@@ -520,7 +520,7 @@ var ESLintReactSettingsSchema = object({
520
520
  */
521
521
  skipImportCheck: optional(boolean(), true),
522
522
  /**
523
- * React version to use, "detect" means auto detect React version from the projects dependencies.
523
+ * React version to use, "detect" means auto detect React version from the project's dependencies.
524
524
  * If `importSource` is specified, an equivalent version of React should be provided here.
525
525
  * @example `"18.3.1"`
526
526
  * @default `"detect"`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "1.29.0",
3
+ "version": "1.29.1-beta.1",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -38,15 +38,15 @@
38
38
  "@typescript-eslint/utils": "^8.25.0",
39
39
  "picomatch": "^4.0.2",
40
40
  "ts-pattern": "^5.6.2",
41
- "@eslint-react/eff": "1.29.0"
41
+ "@eslint-react/eff": "1.29.1-beta.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/picomatch": "^3.0.2",
45
45
  "fast-equals": "^5.2.2",
46
46
  "micro-memoize": "^4.1.3",
47
47
  "tsup": "^8.4.0",
48
- "type-fest": "^4.35.0",
49
- "valibot": "^1.0.0-rc.2",
48
+ "type-fest": "^4.36.0",
49
+ "valibot": "^1.0.0-rc.3",
50
50
  "@local/configs": "0.0.0"
51
51
  },
52
52
  "engines": {