eslint-plugin-react-dom 1.48.3 → 2.0.0-next.0
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.d.mts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +2 -5
- package/dist/index.mjs +2 -5
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -27,7 +27,6 @@ declare const _default: {
|
|
|
27
27
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
28
28
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
29
29
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
30
|
-
readonly "no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
31
30
|
};
|
|
32
31
|
};
|
|
33
32
|
};
|
|
@@ -60,7 +59,6 @@ declare const _default: {
|
|
|
60
59
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
61
60
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
62
61
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
63
|
-
readonly "no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
64
62
|
};
|
|
65
63
|
};
|
|
66
64
|
|
package/dist/index.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ declare const _default: {
|
|
|
27
27
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
28
28
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
29
29
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
30
|
-
readonly "no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
31
30
|
};
|
|
32
31
|
};
|
|
33
32
|
};
|
|
@@ -60,7 +59,6 @@ declare const _default: {
|
|
|
60
59
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
61
60
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
62
61
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
63
|
-
readonly "no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
64
62
|
};
|
|
65
63
|
};
|
|
66
64
|
|
package/dist/index.js
CHANGED
|
@@ -67,7 +67,7 @@ var settings = {
|
|
|
67
67
|
|
|
68
68
|
// package.json
|
|
69
69
|
var name2 = "eslint-plugin-react-dom";
|
|
70
|
-
var version = "
|
|
70
|
+
var version = "2.0.0-next.0";
|
|
71
71
|
function createJsxElementResolver(context) {
|
|
72
72
|
const { components, polymorphicPropName } = shared.getSettingsFromContext(context);
|
|
73
73
|
return {
|
|
@@ -2041,10 +2041,7 @@ var plugin = {
|
|
|
2041
2041
|
"no-unsafe-iframe-sandbox": no_unsafe_iframe_sandbox_default,
|
|
2042
2042
|
"no-unsafe-target-blank": no_unsafe_target_blank_default,
|
|
2043
2043
|
"no-use-form-state": no_use_form_state_default,
|
|
2044
|
-
"no-void-elements-with-children": no_void_elements_with_children_default
|
|
2045
|
-
// Part: deprecated rules
|
|
2046
|
-
/** @deprecated Use `no-void-elements-with-children` instead */
|
|
2047
|
-
"no-children-in-void-dom-elements": no_void_elements_with_children_default
|
|
2044
|
+
"no-void-elements-with-children": no_void_elements_with_children_default
|
|
2048
2045
|
}
|
|
2049
2046
|
};
|
|
2050
2047
|
|
package/dist/index.mjs
CHANGED
|
@@ -44,7 +44,7 @@ var settings = {
|
|
|
44
44
|
|
|
45
45
|
// package.json
|
|
46
46
|
var name2 = "eslint-plugin-react-dom";
|
|
47
|
-
var version = "
|
|
47
|
+
var version = "2.0.0-next.0";
|
|
48
48
|
function createJsxElementResolver(context) {
|
|
49
49
|
const { components, polymorphicPropName } = getSettingsFromContext(context);
|
|
50
50
|
return {
|
|
@@ -2018,10 +2018,7 @@ var plugin = {
|
|
|
2018
2018
|
"no-unsafe-iframe-sandbox": no_unsafe_iframe_sandbox_default,
|
|
2019
2019
|
"no-unsafe-target-blank": no_unsafe_target_blank_default,
|
|
2020
2020
|
"no-use-form-state": no_use_form_state_default,
|
|
2021
|
-
"no-void-elements-with-children": no_void_elements_with_children_default
|
|
2022
|
-
// Part: deprecated rules
|
|
2023
|
-
/** @deprecated Use `no-void-elements-with-children` instead */
|
|
2024
|
-
"no-children-in-void-dom-elements": no_void_elements_with_children_default
|
|
2021
|
+
"no-void-elements-with-children": no_void_elements_with_children_default
|
|
2025
2022
|
}
|
|
2026
2023
|
};
|
|
2027
2024
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-dom",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-next.0",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for React DOM related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"compare-versions": "^6.1.1",
|
|
50
50
|
"string-ts": "^2.2.1",
|
|
51
51
|
"ts-pattern": "^5.7.0",
|
|
52
|
-
"@eslint-react/ast": "
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"@eslint-react/
|
|
56
|
-
"@eslint-react/
|
|
57
|
-
"@eslint-react/
|
|
52
|
+
"@eslint-react/ast": "2.0.0-next.0",
|
|
53
|
+
"@eslint-react/kit": "2.0.0-next.0",
|
|
54
|
+
"@eslint-react/eff": "2.0.0-next.0",
|
|
55
|
+
"@eslint-react/core": "2.0.0-next.0",
|
|
56
|
+
"@eslint-react/var": "2.0.0-next.0",
|
|
57
|
+
"@eslint-react/shared": "2.0.0-next.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/react": "^19.1.2",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@local/configs": "0.0.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"eslint": "^
|
|
67
|
-
"typescript": "^4.9.5 || ^5.
|
|
66
|
+
"eslint": "^9.24.0",
|
|
67
|
+
"typescript": "^4.9.5 || ^5.4.5"
|
|
68
68
|
},
|
|
69
69
|
"peerDependenciesMeta": {
|
|
70
70
|
"eslint": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"bun": ">=1.0.15",
|
|
79
|
-
"node": ">=
|
|
79
|
+
"node": ">=20.19.0"
|
|
80
80
|
},
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|