@eslint-react/core 5.3.3-next.2 → 5.3.4-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 +5 -0
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -555,10 +555,15 @@ const SEL_FUNCTION_DISPLAY_NAME_ASSIGNMENT = [
|
|
|
555
555
|
* Component flag constants
|
|
556
556
|
*/
|
|
557
557
|
const FunctionComponentFlag = {
|
|
558
|
+
/** No flags set */
|
|
558
559
|
None: 0n,
|
|
560
|
+
/** Indicates the component is a pure component (ex: extends PureComponent) */
|
|
559
561
|
PureComponent: 1n << 0n,
|
|
562
|
+
/** Indicates the component creates elements using `createElement` instead of JSX */
|
|
560
563
|
CreateElement: 1n << 1n,
|
|
564
|
+
/** Indicates the component is memoized (ex: React.memo) */
|
|
561
565
|
Memo: 1n << 2n,
|
|
566
|
+
/** Indicates the component forwards a ref (ex: React.forwardRef) */
|
|
562
567
|
ForwardRef: 1n << 3n
|
|
563
568
|
};
|
|
564
569
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4-beta.1",
|
|
4
4
|
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"@typescript-eslint/types": "^8.59.0",
|
|
35
35
|
"@typescript-eslint/utils": "^8.59.0",
|
|
36
36
|
"ts-pattern": "^5.9.0",
|
|
37
|
-
"@eslint-react/ast": "5.3.
|
|
38
|
-
"@eslint-react/
|
|
39
|
-
"@eslint-react/
|
|
40
|
-
"@eslint-react/shared": "5.3.
|
|
41
|
-
"@eslint-react/var": "5.3.
|
|
37
|
+
"@eslint-react/ast": "5.3.4-beta.1",
|
|
38
|
+
"@eslint-react/eslint": "5.3.4-beta.1",
|
|
39
|
+
"@eslint-react/jsx": "5.3.4-beta.1",
|
|
40
|
+
"@eslint-react/shared": "5.3.4-beta.1",
|
|
41
|
+
"@eslint-react/var": "5.3.4-beta.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@typescript-eslint/typescript-estree": "^8.59.0",
|
|
45
|
-
"tsdown": "^0.21.
|
|
46
|
-
"@local/
|
|
47
|
-
"@local/
|
|
45
|
+
"tsdown": "^0.21.10",
|
|
46
|
+
"@local/configs": "0.0.0",
|
|
47
|
+
"@local/eff": "3.0.0-beta.72"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"eslint": "^10.2.1",
|