-
Couldn't load subscription status.
- Fork 2.8k
Security: Bump react-syntax-highlighter to v15.6.6 to fix multiple CVEs #35355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com>
Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com>
change/@fluentui-react-monaco-editor-f9365ed8-0a5a-4955-922e-e68420a659e0.json
Outdated
Show resolved
Hide resolved
📊 Bundle size report✅ No changes found |
|
Pull request demo site: URL |
| @@ -0,0 +1,7 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕵🏾♀️ visual changes to review in the Visual Change Report
vr-tests-react-components/Avatar Converged 1 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-react-components/Avatar Converged.badgeMask.normal.chromium.png | 1 | Changed |
vr-tests-react-components/Charts-DonutChart 2 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-react-components/Charts-DonutChart.Dynamic - Dark Mode.default.chromium.png | 12635 | Changed |
| vr-tests-react-components/Charts-DonutChart.Dynamic.default.chromium.png | 27053 | Changed |
vr-tests-react-components/Positioning 2 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-react-components/Positioning.Positioning end.updated 2 times.chromium.png | 161 | Changed |
| vr-tests-react-components/Positioning.Positioning end.chromium.png | 867 | Changed |
vr-tests-react-components/TagPicker 1 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-react-components/TagPicker.disabled.disabled input hover.chromium.png | 678 | Changed |
vr-tests-web-components/Switch 1 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests-web-components/Switch. - Dark Mode.normal.chromium_1.png | 92 | Changed |
vr-tests/Callout 6 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests/Callout.No callout width specified.default.chromium.png | 2126 | Changed |
| vr-tests/Callout.Gap space 25.default.chromium.png | 2181 | Changed |
| vr-tests/Callout.Beak 25.default.chromium.png | 2185 | Changed |
| vr-tests/Callout.No beak.default.chromium.png | 2177 | Changed |
| vr-tests/Callout.Root.default.chromium.png | 2181 | Changed |
| vr-tests/Callout.Top right edge.default.chromium.png | 1134 | Changed |
vr-tests/Keytip 1 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests/Keytip.Offset.default.chromium.png | 86 | Changed |
vr-tests/react-charting-LineChart 2 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests/react-charting-LineChart.Events.default.chromium.png | 15 | Changed |
| vr-tests/react-charting-LineChart.Events - RTL.default.chromium.png | 15 | Changed |
vr-tests/react-charting-MultiStackBarChart 2 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests/react-charting-MultiStackBarChart.Basic_PartToWhole - Dark Mode.default.chromium.png | 363 | Changed |
| vr-tests/react-charting-MultiStackBarChart.Basic_Absolute - Dark Mode.default.chromium.png | 363 | Changed |
vr-tests/react-charting-VerticalBarChart 1 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| vr-tests/react-charting-VerticalBarChart.Basic - Secondary Y Axis.default.chromium.png | 3 | Changed |
There were 3 duplicate changes discarded. Check the build logs for more information.
|
@copilot we need to bump the same package also in |
Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com>
Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com>
Updated |
|
@copilot also make sure to bump |
|
Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com>
Updated |
…ctory Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com>
Fixed the PR website build by updating style import paths from |
|
@copilot there are formatting issues , please run |
Co-authored-by: Hotell <1223799+Hotell@users.noreply.github.com>
Applied nx format to fix formatting issues. (commit coming) |
Security Update: Bump react-syntax-highlighter to v15.6.6
This PR addresses security vulnerabilities in
@fluentui/react-monaco-editorand@fluentui/react-docsite-componentsby updating thereact-syntax-highlighterdependency from v10.1.3 to v15.6.6 and@types/react-syntax-highlighterfrom v10.2.1 to v15.5.13.Security Issues Fixed
Updated Dependencies
Packages Updated
@fluentui/react-monaco-editor@fluentui/react-docsite-componentsCode Changes
/dist/styles/to/dist/esm/styles/to match new react-syntax-highlighter v15 package structureIRawStyletoReact.CSSPropertiesfor compatibility with new type definitions in bothTypeScriptSnippetandCodeSnippetcomponentsbaseCodeStyle(IRawStyle) toReact.CSSPropertieswhere needed in react-docsite-componentsString()to match stricter type requirementsBreaking Changes
None. The public API of both packages remains unchanged, and all type definitions are preserved. The update is fully backward compatible.
Verification
Security Summary
All reported CVEs and security advisories have been mitigated by updating to secure versions of the dependencies. No new vulnerabilities were introduced. The update is fully backward compatible with no changes to the public API.
Original prompt
Fixes #35325
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.