@eslint-react/jsx 1.5.24-next.5 → 1.5.25-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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -2254,7 +2254,7 @@ var JSXValueHint = {
|
|
|
2254
2254
|
StrictLogical: 1n << 8n,
|
|
2255
2255
|
StrictConditional: 1n << 9n
|
|
2256
2256
|
};
|
|
2257
|
-
var DEFAULT_JSX_VALUE_HINT = JSXValueHint.SkipUndefinedLiteral | JSXValueHint.SkipBooleanLiteral;
|
|
2257
|
+
var DEFAULT_JSX_VALUE_HINT = 0n | JSXValueHint.SkipUndefinedLiteral | JSXValueHint.SkipBooleanLiteral;
|
|
2258
2258
|
function isJSXValue(node, context, hint = DEFAULT_JSX_VALUE_HINT) {
|
|
2259
2259
|
if (!node) return false;
|
|
2260
2260
|
return $(node).with({ type: ast.NodeType.JSXElement }, Function_exports.constTrue).with({ type: ast.NodeType.JSXFragment }, Function_exports.constTrue).with({ type: ast.NodeType.JSXMemberExpression }, Function_exports.constTrue).with({ type: ast.NodeType.JSXNamespacedName }, Function_exports.constTrue).with({ type: ast.NodeType.Literal }, (node2) => {
|
package/dist/index.mjs
CHANGED
|
@@ -2252,7 +2252,7 @@ var JSXValueHint = {
|
|
|
2252
2252
|
StrictLogical: 1n << 8n,
|
|
2253
2253
|
StrictConditional: 1n << 9n
|
|
2254
2254
|
};
|
|
2255
|
-
var DEFAULT_JSX_VALUE_HINT = JSXValueHint.SkipUndefinedLiteral | JSXValueHint.SkipBooleanLiteral;
|
|
2255
|
+
var DEFAULT_JSX_VALUE_HINT = 0n | JSXValueHint.SkipUndefinedLiteral | JSXValueHint.SkipBooleanLiteral;
|
|
2256
2256
|
function isJSXValue(node, context, hint = DEFAULT_JSX_VALUE_HINT) {
|
|
2257
2257
|
if (!node) return false;
|
|
2258
2258
|
return $(node).with({ type: NodeType.JSXElement }, Function_exports.constTrue).with({ type: NodeType.JSXFragment }, Function_exports.constTrue).with({ type: NodeType.JSXMemberExpression }, Function_exports.constTrue).with({ type: NodeType.JSXNamespacedName }, Function_exports.constTrue).with({ type: NodeType.Literal }, (node2) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/jsx",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.25-beta.1",
|
|
4
4
|
"description": "ESLint React's TSESTree AST utility module for static analysis of JSX.",
|
|
5
5
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"@typescript-eslint/scope-manager": "^7.16.0",
|
|
39
39
|
"@typescript-eslint/types": "^7.16.0",
|
|
40
40
|
"@typescript-eslint/utils": "^7.16.0",
|
|
41
|
-
"@eslint-react/ast": "1.5.
|
|
42
|
-
"@eslint-react/tools": "1.5.
|
|
43
|
-
"@eslint-react/
|
|
44
|
-
"@eslint-react/
|
|
41
|
+
"@eslint-react/ast": "1.5.25-beta.1",
|
|
42
|
+
"@eslint-react/tools": "1.5.25-beta.1",
|
|
43
|
+
"@eslint-react/types": "1.5.25-beta.1",
|
|
44
|
+
"@eslint-react/var": "1.5.25-beta.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"effect": "3.4.8",
|