@eslint-react/shared 1.5.10-next.0 → 1.5.10-next.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.js CHANGED
@@ -300,9 +300,9 @@ function restAndDefaultArgs(arg1, arg2, arg3) {
300
300
  }
301
301
  function schemaIssue(context, reference, input, config, other) {
302
302
  const received = stringify(input);
303
- const expected = other?.expected ?? context.expects;
303
+ const expected = context.expects;
304
304
  const issue = {
305
- reason: other?.reason ?? "type",
305
+ reason: "type",
306
306
  context: context.type,
307
307
  expected,
308
308
  received,
package/dist/index.mjs CHANGED
@@ -298,9 +298,9 @@ function restAndDefaultArgs(arg1, arg2, arg3) {
298
298
  }
299
299
  function schemaIssue(context, reference, input, config, other) {
300
300
  const received = stringify(input);
301
- const expected = other?.expected ?? context.expects;
301
+ const expected = context.expects;
302
302
  const issue = {
303
- reason: other?.reason ?? "type",
303
+ reason: "type",
304
304
  context: context.type,
305
305
  expected,
306
306
  received,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "1.5.10-next.0",
3
+ "version": "1.5.10-next.1",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/rel1cx/eslint-react",
6
6
  "bugs": {
@@ -35,11 +35,11 @@
35
35
  "./package.json"
36
36
  ],
37
37
  "dependencies": {
38
- "@typescript-eslint/utils": "7.7.0",
38
+ "@typescript-eslint/utils": "^7.7.1",
39
39
  "deepmerge-ts": "5.1.0"
40
40
  },
41
41
  "devDependencies": {
42
- "type-fest": "4.15.0",
42
+ "type-fest": "4.16.0",
43
43
  "valibot": "0.30.0"
44
44
  },
45
45
  "scripts": {