@eslint-react/shared 1.29.1-next.1 → 1.29.1-next.2

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.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)
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "1.29.1-next.1",
3
+ "version": "1.29.1-next.2",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -38,7 +38,7 @@
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.1-next.1"
41
+ "@eslint-react/eff": "1.29.1-next.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/picomatch": "^3.0.2",
@@ -46,7 +46,7 @@
46
46
  "micro-memoize": "^4.1.3",
47
47
  "tsup": "^8.4.0",
48
48
  "type-fest": "^4.36.0",
49
- "valibot": "^1.0.0-rc.2",
49
+ "valibot": "^1.0.0-rc.3",
50
50
  "@local/configs": "0.0.0"
51
51
  },
52
52
  "engines": {