[Snyk] Upgrade @primer/react from 35.4.0 to 35.25.1 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade @primer/react from 35.4.0 to 35.25.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version fixes:
SNYK-JS-SIDEWAYFORMULA-3317169
Why? CVSS 5.5
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: @primer/react
Patch Changes
Permalink to documentation
#3174
d4c6ae5bThanks @ colebemis! -MarkdownEditoris now SSR-compatible.Warning: In this new implementation,
MarkdownEditor.Toolbar,MarkdownEditor.Actions, andMarkdownEditor.Labelmust be direct children ofMarkdownEditor.#3209
a6279536Thanks @ langermank! - Remove--primerprefix from CSS var#3173
6b900e90Thanks @ colebemis! -ActionListandNavListare now SSR-compatible.Warning: In this new implementation,
ActionList.LeadingVisual,ActionList.TrailingVisual,andActionList.Descriptionmust be direct children ofActionList. The same applies toNavList.#3198
a273748bThanks @ langermank! - Bug fix:ButtonGroupborders show incorrectly on hoverPermalink to documentation
Minor Changes
#3186
2b147794Thanks @ joshblack! - Modules under an internal export pattern are not able to be imported from outside @ primer/react#3090
1b8bb16fThanks @ kendallgassner! - Experimental Support: exporting useResponsiveValue#3055
42037c98Thanks @ joshblack! - Add Table.Skeleton componentPatch Changes
#3124
5b3cf499Thanks @ mattcosta7! - replace createRef with useRef#3149
4c2d121fThanks @ colebemis! -FormControlis now SSR-compatible.Warning: In this new implementation,
FormControl.Caption,FormControl.Label,FormControl.LeadingVisual, andFormControl.Validationmust be direct children ofFormControl.#3114
f5c7f299Thanks @ radglob! - Adds the option to declare multiple segments in a ProgressBar.#3127
5224fcbfThanks @ siddharthkp! - Suppress SSR warning for useLayoutEffect in NavList, use useIsomorphicLayoutEffect instead of useLayoutEffect#3165
d749f495Thanks @ broccolinisoup! - UnderlineNav2: Add transparent outline for focus to support WHCM#3120
9e40fdf4Thanks @ simurai! - Bump @ primer/primitives to7.11.5#3093
8b5307daThanks @ simurai! - Bump @ primer/primitives to7.11.3#3097
a38c00e6Thanks @ colebemis! -TreeViewis now SSR-compatible.Warning: In this new implementation,
TreeView.LeadingVisualandTreeView.TrailingViewmust be direct children ofTreeView.Item.#3170
1f2df9b7Thanks @ lukasoppermann! - When an inline description is added to the item the normal text is set to bold#3160
4b05b19eThanks @ joshblack! - Update PageLayout.Pane to provide a warning instead of an error when overflow is detected and no label has been provided#3094
16cae51aThanks @ mperrotti! - Fixes styling issue where PointerBox would show a border between the caret and the box if the background color was transparent.#3112
bd4e1393Thanks @ langermank! - Adds shadow and color change to IssueLabelToken on hover#3146
a19b721cThanks @ colebemis! -CheckboxGroupandRadioGroupare now SSR-compatible.Warning: In this new implementation,
CheckboxGroup.Caption,CheckboxGroup.Label,andCheckboxGroup.Validationmust be direct children ofCheckboxGroup. The same applies toRadioGroup.Permalink to documentation
Minor Changes
#3071
681e2271Thanks @ mperrotti! - Adds a helper component for rendering placeholder text to explain why a DataTable cell has no content.#3089
4a6a9f73Thanks @ mperrotti! - Adds the ability to exclose indentation for flat tree views.#3011
f8132d8eThanks @ edersonlucas! - Add thetooltipDirectionproperty to theTextInput.Actioncomponent to make the tooltip position flexible.Patch Changes
#3085
bf8c73b4Thanks @ mperrotti! - Renames DataTable 'shrink' column width to 'growCollapse'#3104
e46e33b8Thanks @ iansan5653! - FixIssueLabelTokentreating alternative light schemes as darkPermalink to documentation
Minor Changes
#3068
09e11335Thanks @ mperrotti! - Adds text alignment option to columns#3012
04d9db02Thanks @ radglob! - AddstabIndexandrole="region"toPageLayout.Panewhen overflow is detected (scrollHeight > clientHeight). Also requires eitheraria-labelledbyoraria-labelwhen overflow is detected, and throws an error if neither is defined.Patch Changes
#3056
7e4f7714Thanks @ langermank! - Remove incorrect focus styles on ActionList items#3061
b71cb1fbThanks @ broccolinisoup! - Stop renderingactiveClassNamewhen there is notoprop is passed for react-router (TabNav, SubNav, BreadCrumb, UnderlineNav v1)#3041
e5f13300Thanks @ simurai! - Use open/closed colors forStateLabelPermalink to documentation
Minor Changes
#2901
992f1acdThanks @ joshblack! - Add babel-plugin-dev-expression to transform warning calls in package bundle#3027
3153c810Thanks @ talum! - ExportuseResizeObserverhookPatch Changes
#2996
baa63958Thanks @ mperrotti! - Implements column width features for the DataTable#3036
51a2cc94Thanks @ colebemis! -PageLayoutandSplitPageLayoutare now SSR-compatible.Warning: In this new implementation,
PageLayout.HeaderandPageLayout.Footermust be direct children ofPageLayout. The same applies toSplitPageLayout#3029
bb9f1561Thanks @ mperrotti! - Adds new a11y improvements to Pagination.#2993
6aa9205eThanks @ mperrotti! - Makes StateLabel's 'status' prop required#3009
cc4e2bc5Thanks @ iansan5653! - Recalculate autocomplete suggestions if the input data changes while the menu is open#3010
022d449cThanks @ broccolinisoup! - SegmentedControl: Resolve axe-violation by adding a discernible text to the icon button and removing the tooltip until it is marked as accessibleRead more
Read more
Permalink to documentation
Minor Changes
#2807
81447a10Thanks @ joshblack! - Add defaulttype="button"forButton. This removes the implicittype="submit"for a<button>and requires an explicittypeto change.#2789
44f66cb9Thanks @ green6erry! - warn user if linkasprop is not orPatch Changes
7403a47fThanks @ iansan5653! - Improve initialuseComboboxinitialization process to avoid race conditionsPermalink to documentation
Minor Changes
8bd40de2Thanks @ ajhenry! - Overlay: Addposition,right, andbottompropsPatch Changes
#2732
3f70b2e6Thanks @ renbaoshuo! - Prevent automatic batching updates in ThemeProvider to ensure client use right colorMode#2701
73dbefdbThanks @ mperrotti! - Updates visual design of the Checkbox and Radio component to match the new direction defined by design.#2729
4dcf658cThanks @ broccolinisoup! - PageHeader: Add visual ordering for layout enforcement#2710
ac0abd17Thanks @ green6erry! - TreeView: aria status description is now accurate#2729
4dcf658cThanks @ broccolinisoup! - Hidden: Refactor Hidden component to usegetBreakpointsDeclarationsutil function to reduce layout shifts#2759
693ce68cThanks @ manuelpuyol! - Update defaultProps to be JS function defaults