@eslint-react/jsx 4.2.0-beta.1 → 4.2.0-beta.3
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 +2 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -321,7 +321,7 @@ function getChildren(element) {
|
|
|
321
321
|
* These nodes are formatting artefacts (indentation between JSX tags) that
|
|
322
322
|
* React discards at render time.
|
|
323
323
|
*
|
|
324
|
-
* @param node
|
|
324
|
+
* @param node The JSX child node to check.
|
|
325
325
|
* @internal
|
|
326
326
|
*/
|
|
327
327
|
function isPaddingSpaces(node) {
|
|
@@ -464,7 +464,7 @@ function hasChildren(element) {
|
|
|
464
464
|
* Any `JSXText` whose raw content consists entirely of whitespace characters
|
|
465
465
|
* (spaces, tabs, newlines, etc.) is considered whitespace text. Non-text
|
|
466
466
|
* nodes always return `false`.
|
|
467
|
-
* @param node
|
|
467
|
+
* @param node The JSX child node to check.
|
|
468
468
|
*/
|
|
469
469
|
function isWhitespaceText$1(node) {
|
|
470
470
|
if (node.type !== AST_NODE_TYPES.JSXText) return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/jsx",
|
|
3
|
-
"version": "4.2.0-beta.
|
|
3
|
+
"version": "4.2.0-beta.3",
|
|
4
4
|
"description": "ESLint React's TSESTree JSX utility module for static analysis of JSX patterns.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@typescript-eslint/types": "^8.58.0",
|
|
34
34
|
"@typescript-eslint/utils": "^8.58.0",
|
|
35
35
|
"ts-pattern": "^5.9.0",
|
|
36
|
-
"@eslint-react/ast": "4.2.0-beta.
|
|
37
|
-
"@eslint-react/shared": "4.2.0-beta.
|
|
38
|
-
"@eslint-react/var": "4.2.0-beta.
|
|
36
|
+
"@eslint-react/ast": "4.2.0-beta.3",
|
|
37
|
+
"@eslint-react/shared": "4.2.0-beta.3",
|
|
38
|
+
"@eslint-react/var": "4.2.0-beta.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"tsdown": "^0.21.7",
|