eslint-plugin-react-dom 2.0.0-next.43 → 2.0.0-next.45
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 +3 -3
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import * as AST from '@eslint-react/ast';
|
|
|
5
5
|
import { AST_NODE_TYPES } from '@typescript-eslint/types';
|
|
6
6
|
import { compare } from 'compare-versions';
|
|
7
7
|
import { RegExp, Reporter } from '@eslint-react/kit';
|
|
8
|
-
import {
|
|
8
|
+
import { unit } from '@eslint-react/eff';
|
|
9
9
|
|
|
10
10
|
var __defProp = Object.defineProperty;
|
|
11
11
|
var __export = (target, all) => {
|
|
@@ -44,7 +44,7 @@ var settings = {
|
|
|
44
44
|
|
|
45
45
|
// package.json
|
|
46
46
|
var name2 = "eslint-plugin-react-dom";
|
|
47
|
-
var version = "2.0.0-next.
|
|
47
|
+
var version = "2.0.0-next.45";
|
|
48
48
|
function createJsxElementResolver(context) {
|
|
49
49
|
const { components, polymorphicPropName } = getSettingsFromContext(context);
|
|
50
50
|
return {
|
|
@@ -1834,7 +1834,7 @@ function create14(context) {
|
|
|
1834
1834
|
if (attributeValue.kind === "some" && typeof attributeValue.value === "string") {
|
|
1835
1835
|
return attributeValue.value;
|
|
1836
1836
|
}
|
|
1837
|
-
return
|
|
1837
|
+
return unit;
|
|
1838
1838
|
};
|
|
1839
1839
|
if (getAttributeStringValue("target") !== "_blank") {
|
|
1840
1840
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-dom",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.45",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for React DOM related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"compare-versions": "^6.1.1",
|
|
42
42
|
"string-ts": "^2.2.1",
|
|
43
43
|
"ts-pattern": "^5.7.1",
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/
|
|
47
|
-
"@eslint-react/kit": "2.0.0-next.
|
|
48
|
-
"@eslint-react/
|
|
49
|
-
"@eslint-react/
|
|
44
|
+
"@eslint-react/ast": "2.0.0-next.45",
|
|
45
|
+
"@eslint-react/core": "2.0.0-next.45",
|
|
46
|
+
"@eslint-react/eff": "2.0.0-next.45",
|
|
47
|
+
"@eslint-react/kit": "2.0.0-next.45",
|
|
48
|
+
"@eslint-react/var": "2.0.0-next.45",
|
|
49
|
+
"@eslint-react/shared": "2.0.0-next.45"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/react": "^19.1.8",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@local/configs": "0.0.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"eslint": "^9.
|
|
58
|
+
"eslint": "^9.29.0",
|
|
59
59
|
"typescript": "^4.9.5 || ^5.4.5"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|