eslint-plugin-react-web-api 5.18.7 → 5.18.9
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 +13 -2
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region package.json
|
|
30
30
|
var name$1 = "eslint-plugin-react-web-api";
|
|
31
|
-
var version = "5.18.
|
|
31
|
+
var version = "5.18.9";
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/types/component-phase.ts
|
|
@@ -1399,9 +1399,20 @@ const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
|
|
|
1399
1399
|
|
|
1400
1400
|
//#endregion
|
|
1401
1401
|
//#region src/index.ts
|
|
1402
|
+
function createConfig(base) {
|
|
1403
|
+
return {
|
|
1404
|
+
...base,
|
|
1405
|
+
plugins: {
|
|
1406
|
+
...base.plugins,
|
|
1407
|
+
get ["react-web-api"]() {
|
|
1408
|
+
return finalPlugin;
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
};
|
|
1412
|
+
}
|
|
1402
1413
|
const finalPlugin = {
|
|
1403
1414
|
...plugin,
|
|
1404
|
-
configs: { ["recommended"]: recommended_exports }
|
|
1415
|
+
configs: { ["recommended"]: createConfig(recommended_exports) }
|
|
1405
1416
|
};
|
|
1406
1417
|
|
|
1407
1418
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-web-api",
|
|
3
|
-
"version": "5.18.
|
|
3
|
+
"version": "5.18.9",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for interacting with Web APIs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@eslint-react/ast": "5.18.
|
|
41
|
-
"@eslint-react/core": "5.18.
|
|
42
|
-
"@eslint-react/eslint": "5.18.
|
|
43
|
-
"@eslint-react/shared": "5.18.
|
|
44
|
-
"@eslint-react/var": "5.18.
|
|
40
|
+
"@eslint-react/ast": "5.18.9",
|
|
41
|
+
"@eslint-react/core": "5.18.9",
|
|
42
|
+
"@eslint-react/eslint": "5.18.9",
|
|
43
|
+
"@eslint-react/shared": "5.18.9",
|
|
44
|
+
"@eslint-react/var": "5.18.9",
|
|
45
45
|
"@typescript-eslint/types": "^8.69.0",
|
|
46
46
|
"@typescript-eslint/utils": "^8.69.0",
|
|
47
47
|
"birecord": "^0.1.2",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"@local/configs": "0.0.0",
|
|
52
52
|
"@local/eff": "0.0.0",
|
|
53
53
|
"@types/react": "^19.2.18",
|
|
54
|
-
"@types/react-dom": "^19.2.
|
|
54
|
+
"@types/react-dom": "^19.2.7",
|
|
55
55
|
"dedent": "^1.7.2",
|
|
56
|
-
"eslint": "^10.
|
|
57
|
-
"tsdown": "^0.
|
|
56
|
+
"eslint": "^10.10.0",
|
|
57
|
+
"tsdown": "^0.23.0",
|
|
58
58
|
"typescript": "6.0.3"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|