@eslint-react/shared
Advanced tools
Comparing version 1.5.14-next.2 to 1.5.14-next.3
@@ -193,3 +193,3 @@ 'use strict'; | ||
// ../../node_modules/.pnpm/valibot@0.31.0-rc.5/node_modules/valibot/dist/index.js | ||
// ../../node_modules/.pnpm/valibot@0.31.0-rc.6/node_modules/valibot/dist/index.js | ||
var store2; | ||
@@ -210,3 +210,3 @@ function getGlobalMessage(lang) { | ||
if (type === "object") { | ||
type = input ? Object.getPrototypeOf(input).constructor.name : "null"; | ||
type = (input && Object.getPrototypeOf(input)?.constructor?.name) ?? "null"; | ||
} | ||
@@ -325,3 +325,3 @@ return type === "string" ? `"${input}"` : type === "number" || type === "bigint" || type === "boolean" ? `${input}` : type; | ||
const input = dataset.value; | ||
if (input && typeof input === "object" && input.constructor === Object) { | ||
if (input && typeof input === "object") { | ||
dataset.typed = true; | ||
@@ -328,0 +328,0 @@ dataset.value = {}; |
{ | ||
"name": "@eslint-react/shared", | ||
"version": "1.5.14-next.2", | ||
"version": "1.5.14-next.3", | ||
"description": "ESLint React's Shared constants and functions.", | ||
@@ -44,3 +44,3 @@ "homepage": "https://github.com/rel1cx/eslint-react", | ||
"type-fest": "4.18.3", | ||
"valibot": "0.31.0-rc.5" | ||
"valibot": "0.31.0-rc.6" | ||
}, | ||
@@ -47,0 +47,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
42009