- Notifications
You must be signed in to change notification settings - Fork218
Commita0e38e6
Upgrade React to v19.2.3 (and fix type errors in useRef hooks) (#4237)
* Initial plan* Merge React 19 upgrade from dependabot branchCo-authored-by: d10c <9970661+d10c@users.noreply.github.com>* Fix React 19 useRef type errors and eslint configCo-authored-by: d10c <9970661+d10c@users.noreply.github.com>* Upgrade react-dom to 19.2.3 to match react versionCo-authored-by: d10c <9970661+d10c@users.noreply.github.com>* Restore correct package versions (revert unintended downgrades from dependabot merge)Co-authored-by: d10c <9970661+d10c@users.noreply.github.com>* Security fix: Update glob to 11.1.0 to address command injection vulnerabilityCo-authored-by: d10c <9970661+d10c@users.noreply.github.com>* Upgrade React to 19.2.3 and fix useRef type errors- Upgrade react and react-dom from 18.3.1 to 19.2.3- Upgrade @types/react and @types/react-dom to 19.2.3 (matching versions)- Fix useRef hooks to include explicit initial values (React 19 requirement)- Update ref prop types to handle React 19's stricter null handling- Fix eslint config for reactHooks.configs compatibilityCo-authored-by: d10c <9970661+d10c@users.noreply.github.com>* Fix eslint config: restore .flat accessor for reactHooks.configsThe previous change removed the .flat accessor which caused ESLint to usethe old eslintrc format config (with plugins as array of strings) insteadof the flat config format (with plugins as object). This led to CI failures.Co-authored-by: d10c <9970661+d10c@users.noreply.github.com>* Use caret (^) prefix for React package versionsUpdated react, react-dom, @types/react, and @types/react-dom to use"^19.2.3" instead of "19.2.3" to match the convention used by otherdependencies in the project.Co-authored-by: d10c <9970661+d10c@users.noreply.github.com>---------Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Co-authored-by: d10c <9970661+d10c@users.noreply.github.com>1 parent44529e4 commita0e38e6
File tree
10 files changed
+47
-51
lines changed- extensions/ql-vscode
- src/view
- model-alerts
- model-editor
- results
- __tests__
10 files changed
+47
-51
lines changedSome generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2080 | 2080 | | |
2081 | 2081 | | |
2082 | 2082 | | |
2083 | | - | |
2084 | | - | |
| 2083 | + | |
| 2084 | + | |
2085 | 2085 | | |
2086 | 2086 | | |
2087 | 2087 | | |
| |||
2135 | 2135 | | |
2136 | 2136 | | |
2137 | 2137 | | |
2138 | | - | |
2139 | | - | |
| 2138 | + | |
| 2139 | + | |
2140 | 2140 | | |
2141 | 2141 | | |
2142 | 2142 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments
Comments
(0)