eslint-plugin-react-dom 5.3.4-beta.0 → 5.3.4-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 +9 -2
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region package.json
|
|
26
26
|
var name$2 = "eslint-plugin-react-dom";
|
|
27
|
-
var version = "5.3.4-
|
|
27
|
+
var version = "5.3.4-next.1";
|
|
28
28
|
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/utils/create-jsx-element-resolver.ts
|
|
@@ -41,7 +41,14 @@ var version = "5.3.4-beta.0";
|
|
|
41
41
|
*/
|
|
42
42
|
function createJsxElementResolver(context) {
|
|
43
43
|
const { polymorphicPropName } = getSettingsFromContext(context);
|
|
44
|
-
return {
|
|
44
|
+
return {
|
|
45
|
+
/**
|
|
46
|
+
* Resolves the JSX element to determine its type and the underlying DOM element type
|
|
47
|
+
*
|
|
48
|
+
* @param node The JSX element node to resolve
|
|
49
|
+
* @returns An object containing the JSX element type and DOM element type
|
|
50
|
+
*/
|
|
51
|
+
resolve(node) {
|
|
45
52
|
const elementName = getElementFullType(node);
|
|
46
53
|
const result = {
|
|
47
54
|
domElementType: elementName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-dom",
|
|
3
|
-
"version": "5.3.4-
|
|
3
|
+
"version": "5.3.4-next.1",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for DOM related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -43,20 +43,20 @@
|
|
|
43
43
|
"@typescript-eslint/utils": "^8.59.0",
|
|
44
44
|
"compare-versions": "^6.1.1",
|
|
45
45
|
"ts-pattern": "^5.9.0",
|
|
46
|
-
"@eslint-react/ast": "5.3.4-
|
|
47
|
-
"@eslint-react/core": "5.3.4-
|
|
48
|
-
"@eslint-react/
|
|
49
|
-
"@eslint-react/
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/var": "5.3.4-
|
|
46
|
+
"@eslint-react/ast": "5.3.4-next.1",
|
|
47
|
+
"@eslint-react/core": "5.3.4-next.1",
|
|
48
|
+
"@eslint-react/eslint": "5.3.4-next.1",
|
|
49
|
+
"@eslint-react/jsx": "5.3.4-next.1",
|
|
50
|
+
"@eslint-react/shared": "5.3.4-next.1",
|
|
51
|
+
"@eslint-react/var": "5.3.4-next.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/react": "^19.2.14",
|
|
55
55
|
"@types/react-dom": "^19.2.3",
|
|
56
56
|
"eslint": "^10.2.1",
|
|
57
|
-
"tsdown": "^0.21.
|
|
58
|
-
"@local/
|
|
59
|
-
"@local/
|
|
57
|
+
"tsdown": "^0.21.10",
|
|
58
|
+
"@local/configs": "0.0.0",
|
|
59
|
+
"@local/eff": "3.0.0-beta.72"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"eslint": "^10.2.1",
|