[Snyk] Upgrade: , , , , , , axios, bootstrap, moment, react-loader-spinner, react-router, react-router-dom, react-scripts, web-vitals #181
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.
Snyk has created this PR to upgrade multiple dependencies.
👯 The following dependencies are linked and will therefore be updated together.ℹ️ 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.
@fortawesome/fontawesome-svg-core
from 6.4.0 to 6.6.0 | 5 versions ahead of your current version | 2 months ago
on 2024-07-16
@fortawesome/free-solid-svg-icons
from 6.4.0 to 6.6.0 | 5 versions ahead of your current version | 2 months ago
on 2024-07-16
@fortawesome/react-fontawesome
from 0.2.0 to 0.2.2 | 2 versions ahead of your current version | 4 months ago
on 2024-05-22
@reduxjs/toolkit
from 1.9.5 to 1.9.7 | 2 versions ahead of your current version | a year ago
on 2023-10-04
@testing-library/jest-dom
from 5.16.1 to 5.17.0 | 5 versions ahead of your current version | a year ago
on 2023-07-18
@testing-library/react
from 12.1.2 to 12.1.5 | 3 versions ahead of your current version | 2 years ago
on 2022-04-11
axios
from 1.4.0 to 1.7.4 | 19 versions ahead of your current version | 24 days ago
on 2024-08-13
bootstrap
from 5.2.3 to 5.3.3 | 7 versions ahead of your current version | 7 months ago
on 2024-02-20
moment
from 2.29.4 to 2.30.1 | 2 versions ahead of your current version | 8 months ago
on 2023-12-27
react-loader-spinner
from 5.3.4 to 5.4.5 | 1 version ahead of your current version | a year ago
on 2023-08-26
react-router
from 6.2.1 to 6.26.1 | 151 versions ahead of your current version | 23 days ago
on 2024-08-15
react-router-dom
from 6.2.1 to 6.26.1 | 151 versions ahead of your current version | 23 days ago
on 2024-08-15
react-scripts
from 5.0.0 to 5.0.1 | 1 version ahead of your current version | 2 years ago
on 2022-04-12
web-vitals
from 2.1.3 to 2.1.4 | 1 version ahead of your current version | 3 years ago
on 2022-01-21
Issues fixed by the recommended upgrade:
SNYK-JS-AXIOS-6032459
SNYK-JS-AXIOS-6144788
SNYK-JS-AXIOS-7361793
SNYK-JS-FOLLOWREDIRECTS-6141137
SNYK-JS-DECODEURICOMPONENT-3149970
SNYK-JS-MINIMATCH-3050818
SNYK-JS-AXIOS-6124857
SNYK-JS-FOLLOWREDIRECTS-6444610
SNYK-JS-MINIMIST-2429795
SNYK-JS-BABELTRAVERSE-5962462
Release notes
Package name: @fortawesome/fontawesome-svg-core
Change log available at https://fontawesome.com/docs/changelog/
Change log available at https://fontawesome.com/docs/changelog/
Change log available at https://fontawesome.com/docs/changelog/
Change log available at https://fontawesome.com/docs/changelog/
Change log available at https://fontawesome.com/docs/changelog/
Change log available at https://fontawesome.com/docs/changelog/
Package name: @fortawesome/free-solid-svg-icons
Change log available at https://fontawesome.com/docs/changelog/
Change log available at https://fontawesome.com/docs/changelog/
Change log available at https://fontawesome.com/docs/changelog/
Change log available at https://fontawesome.com/docs/changelog/
Change log available at https://fontawesome.com/docs/changelog/
Change log available at https://fontawesome.com/docs/changelog/
Package name: @fortawesome/react-fontawesome
Fixed
Changed
Added
Package name: @reduxjs/toolkit
This bugfix release rewrites the RTKQ hook TS types to significantly improve TS perf.
Changelog
RTKQ TS Perf
A number of users had reported that Intellisense for RTKQ API objects was extremely slow (multiple seconds) - see discussion in #3214 . We did some perf investigation on user-provided examples, and concluded that the biggest factor to slow RTKQ TS perf was the calculation of hook names like
useGetPokemonQuery
, which was generating a large TS union of types.We've rewritten that hook names type calculation to use mapped types and a couple of intersections. In a specific user-provided stress test repo, it dropped TS calculation time by 60% (2600ms to 1000ms).
There's more potential work we can do to improve things, but this seems like a major perf improvement worth shipping now.
What's Changed
Full Changelog: v1.9.6...v1.9.7
This bugfix release adds a new dev-mode middleware to catch accidentally dispatching an action creator, adds a new listener middleware option around waiting for forks, adds a new option to update provided tags when
updateQueryData
is used, reworks internal types to better handle uses with TS declaration output, and fixes a variety of small issues.Changelog
Action Creator Dev Check Middleware
RTK already includes dev-mode middleware that check for the common mistakes of accidentally mutating state and putting non-serializable values into state or actions.
Over the years we've also seen a semi-frequent error where users accidentally pass an action creator reference to
dispatch
, instead of calling it and dispatching the action it returns.We've added another dev-mode middleware that specifically catches this error and warns about it.
Additional Options
The listener middleware's
listenerApi.fork()
method now has an optionalautoJoin
flag that can be used to keep the effect from finishing until all active forked tasks have completed.updateQueryData
now has anupdateProvidedTags
option that will force a recalculation of that endpoint's provided tags. It currently defaults tofalse
, and we'll likely turn that totrue
in the next major.Other Fixes
The
builder.addCase
method now throws an error if atype
string is empty.fetchBaseQuery
now uses an alternate method to clone the originalRequest
in order to work around an obscure Chrome bug.The immutability middleware logic was tweaked to avoid a potential stack overflow.
Types Changes
The internal type imports have been reworked to try to fix "type portability" issues when used in combination with TS declaration outputs.
A couple additional types were exported to help with wrapping
createAsyncThunk
.What's Changed
Full Changelog: v1.9.5...v1.9.6
This bugfix release includes notable improvements to TS type inference when using the
enhancers
option inconfigureStore
, and updates the listener middleware to only check predicates if the dispatched value is truly an action object.What's Changed
Full Changelog: v1.9.4...v1.9.5
Package name: @testing-library/jest-dom
5.17.0 (2023-07-18)
Features
toHaveAccessibleErrorMessage
better implementing the spec, deprecatetoHaveErrorMessage
(#503) (d717c66)5.16.5 (2022-08-04)
Bug Fixes
5.16.4 (2022-04-05)
Bug Fixes
5.16.3 (2022-03-24)
Bug Fixes
.not
(#447) (6988a67)5.16.2 (2022-02-03)
Bug Fixes
toBeDisabled
(#368) (8162115)5.16.1 (2021-12-06)
Bug Fixes
toHaveClass
error message format (#405) (a9beb47)Package name: @testing-library/react
12.1.5 (2022-04-11)
Bug Fixes
12.1.4 (2022-03-09)
Bug Fixes
12.1.3 (2022-02-15)
Bug Fixes
@ types/react-dom
as a direct dependency (#1001) (149d9a9)Package name: axios
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Features
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Install
Release notes:
Features
Contributors to this release
Install
Release notes:
Bug Fixes
Contributors to this release
Package name: bootstrap
Highlights
variables-dark.scss
when building Bootstrap with Sass. Now,_variables.scss
will automatically import_variables-dark.scss
. If you were already importing_variables-dark.scss
manually, you should keep doing it as it won't break anything and will be the way to go in v6.Color modes
.text-bg-*
text utilities to be certain that the text is always readable (especially when the customized colors are different in light and dark modes).color-modes.js
script to handle the case where the OS is set to light mode and the auto color mode is used on the website. If you copied the script from our docs, you should apply this change to your own script.color-scheme()
only acceptlight
anddark
values as parameters.Miscellaneous
<dl>
,<dt>
and<dd>
in the sanitizer.🎨 CSS
--bs-accordion-btn-focus-border-color
and deprecate$accordion-button-focus-border-color
☕️ JavaScript
color-mode.js
dl
,dt
anddd
in sanitizer📖 Docs
.text-bg-{color}
for all badgesgetOrCreateInstance()
doc example.table-light
from table foot exampledispose()
to Offcanvas methodsshift-color()
usage example in sass customization page.card-img-*
description