eslint-plugin-react-dom 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.
Files changed (2) hide show
  1. package/dist/index.js +14 -3
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -25,7 +25,7 @@ var __exportAll = (all, no_symbols) => {
25
25
  //#endregion
26
26
  //#region package.json
27
27
  var name$2 = "eslint-plugin-react-dom";
28
- var version = "5.18.7";
28
+ var version = "5.18.9";
29
29
 
30
30
  //#endregion
31
31
  //#region src/utils/create-rule.ts
@@ -1992,11 +1992,22 @@ const settings = { ...settings$1 };
1992
1992
 
1993
1993
  //#endregion
1994
1994
  //#region src/index.ts
1995
+ function createConfig(base) {
1996
+ return {
1997
+ ...base,
1998
+ plugins: {
1999
+ ...base.plugins,
2000
+ get ["react-dom"]() {
2001
+ return finalPlugin;
2002
+ }
2003
+ }
2004
+ };
2005
+ }
1995
2006
  const finalPlugin = {
1996
2007
  ...plugin,
1997
2008
  configs: {
1998
- ["recommended"]: recommended_exports,
1999
- ["strict"]: strict_exports
2009
+ ["recommended"]: createConfig(recommended_exports),
2010
+ ["strict"]: createConfig(strict_exports)
2000
2011
  }
2001
2012
  };
2002
2013
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-dom",
3
- "version": "5.18.7",
3
+ "version": "5.18.9",
4
4
  "description": "ESLint React's ESLint plugin for DOM related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -37,10 +37,10 @@
37
37
  "dist"
38
38
  ],
39
39
  "dependencies": {
40
- "@eslint-react/ast": "5.18.7",
41
- "@eslint-react/eslint": "5.18.7",
42
- "@eslint-react/jsx": "5.18.7",
43
- "@eslint-react/shared": "5.18.7",
40
+ "@eslint-react/ast": "5.18.9",
41
+ "@eslint-react/eslint": "5.18.9",
42
+ "@eslint-react/jsx": "5.18.9",
43
+ "@eslint-react/shared": "5.18.9",
44
44
  "@typescript-eslint/types": "^8.69.0",
45
45
  "@typescript-eslint/utils": "^8.69.0",
46
46
  "compare-versions": "^6.1.1"
@@ -49,10 +49,10 @@
49
49
  "@local/configs": "0.0.0",
50
50
  "@local/eff": "0.0.0",
51
51
  "@types/react": "^19.2.18",
52
- "@types/react-dom": "^19.2.5",
52
+ "@types/react-dom": "^19.2.7",
53
53
  "dedent": "^1.7.2",
54
- "eslint": "^10.9.1",
55
- "tsdown": "^0.22.14",
54
+ "eslint": "^10.10.0",
55
+ "tsdown": "^0.23.0",
56
56
  "typescript": "6.0.3"
57
57
  },
58
58
  "peerDependencies": {