-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): upgrade swagger-ui-react v5.17.3, react-dom v18.3.1, and r…
…eact v18.3.1. Fixes CVEs (#13069) Signed-off-by: Yuan Tang <[email protected]>
- Loading branch information
1 parent
ff646fe
commit d4b9327
Showing
3 changed files
with
438 additions
and
573 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import * as React from 'react'; | ||
import * as ReactDOM from 'react-dom'; | ||
import {App} from './app'; | ||
import {createRoot} from 'react-dom/client'; | ||
|
||
ReactDOM.render(<App />, document.getElementById('app')); | ||
const container = document.getElementById('app'); | ||
const root = createRoot(container!); | ||
root.render(<App />); |
Oops, something went wrong.