[Snyk] Upgrade: , , prop-types, clsx, , , , formik, history, react-feather, react-router, react-router-dom, react-scripts, yup #158
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.
@material-ui/core
from 4.11.0 to 4.12.4 | 11 versions ahead of your current version | 2 years ago
on 2022-04-03
@material-ui/icons
from 4.9.1 to 4.11.3 | 2 versions ahead of your current version | 2 years ago
on 2022-04-03
prop-types
from 15.7.2 to 15.8.1 | 2 versions ahead of your current version | 3 years ago
on 2022-01-05
clsx
from 1.1.1 to 1.2.1 | 2 versions ahead of your current version | 2 years ago
on 2022-07-06
@material-ui/styles
from 4.10.0 to 4.11.5 | 7 versions ahead of your current version | 2 years ago
on 2022-04-03
@testing-library/jest-dom
from 5.1.0 to 5.17.0 | 36 versions ahead of your current version | a year ago
on 2023-07-18
@testing-library/react
from 10.0.0 to 10.4.9 | 23 versions ahead of your current version | 4 years ago
on 2020-08-21
formik
from 2.2.1 to 2.4.6 | 19 versions ahead of your current version | 5 months ago
on 2024-04-24
history
from 5.0.0 to 5.3.0 | 7 versions ahead of your current version | 3 years ago
on 2022-02-22
react-feather
from 2.0.8 to 2.0.10 | 2 versions ahead of your current version | 2 years ago
on 2022-05-30
react-router
from 6.0.0-beta.0 to 6.26.1 | 166 versions ahead of your current version | a month ago
on 2024-08-15
react-router-dom
from 6.0.0-beta.0 to 6.26.1 | 166 versions ahead of your current version | a month 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
yup
from 0.29.3 to 0.32.11 | 15 versions ahead of your current version | 3 years ago
on 2021-10-12
Issues fixed by the recommended upgrade:
SNYK-JS-BABELTRAVERSE-5962462
SNYK-JS-DECODEURICOMPONENT-3149970
SNYK-JS-LODASH-1040724
SNYK-JS-LODASHES-2434283
SNYK-JS-LODASHES-2434284
SNYK-JS-LODASHES-2434285
SNYK-JS-YUP-2420835
SNYK-JS-LODASH-1018905
SNYK-JS-LODASHES-2434289
SNYK-JS-MINIMATCH-3050818
SNYK-JS-MINIMIST-2429795
Release notes
Package name: @material-ui/core
Package name: @material-ui/icons
Package name: prop-types
.data
; callhasOwnProperty
properly (#370)it
functions to arrow functions (#370)eslint
PropTypes.bigint
(#365)oneOfType
: Add expected types to warning (#198)checkPropTypes
: Friendlier message when using a type checker that is not a function (#51)has
(#261, #125, #124)elementType
(#335)PropTypes.node
: add link to react docscheckPropTypes
(#258)sideEffects
field. (#350)in-publish
to avoid running the build on installreact-is
(#347, #346, #345, #340, #338)browserify
,bundle-collapser
,eslint
,in-publish
,react
,uglifyify
,uglifyjs
v15.7.2
Package name: clsx
Patches
clsx
export tooChores
Features
Add named
clsx
export alias (#43, #44): 56ab81fThank you @ danikaze~!
This is purely an alias for the default export so that TypeScript users can avoid the
esModuleInterop
setting. In other words, the followimport
statements are effectively identical, but the latter is preferred by TypeScript:Chores
tape
touvu
for tests: 1c36d10Thank you @ gingerrific~!
Patches
toVal
calls with truthy assertions: 4fa8811, 019ec02typeof
checks for common case: 08a5a7fChores
esm
hook with tests: 0287e40Benchmarks
The snippet below is comparing
[email protected]
(this version) to the previous version, and toclassnames
for ballpark comparison. All candidates are functionally identical!# Strings
classnames x 3,992,284 ops/sec ±1.64% (94 runs sampled)
[email protected] x 11,253,372 ops/sec ±0.35% (96 runs sampled)
[email protected] x 12,784,134 ops/sec ±0.42% (97 runs sampled)
Objects
classnames x 3,772,978 ops/sec ±0.46% (96 runs sampled)
[email protected] x 7,288,178 ops/sec ±0.31% (96 runs sampled)
[email protected] x 9,412,010 ops/sec ±0.42% (95 runs sampled)
Arrays
classnames x 1,665,275 ops/sec ±1.83% (93 runs sampled)
[email protected] x 8,340,174 ops/sec ±0.53% (96 runs sampled)
[email protected] x 9,141,916 ops/sec ±0.42% (95 runs sampled)
Nested Arrays
classnames x 1,164,706 ops/sec ±1.60% (95 runs sampled)
[email protected] x 6,284,485 ops/sec ±0.58% (90 runs sampled)
[email protected] x 7,165,151 ops/sec ±0.47% (91 runs sampled)
Nested Arrays w/ Objects
classnames x 1,597,180 ops/sec ±1.49% (93 runs sampled)
[email protected] x 6,345,248 ops/sec ±0.21% (95 runs sampled)
[email protected] x 7,651,411 ops/sec ±0.56% (95 runs sampled)
Mixed
classnames x 2,129,199 ops/sec ±1.46% (94 runs sampled)
[email protected] x 6,557,515 ops/sec ±0.73% (91 runs sampled)
[email protected] x 8,119,210 ops/sec ±0.42% (93 runs sampled)
Mixed (Bad Data)
classnames x 1,166,577 ops/sec ±0.84% (94 runs sampled)
[email protected] x 2,018,654 ops/sec ±0.15% (98 runs sampled)
[email protected] x 2,238,939 ops/sec ±0.34% (95 runs sampled)
from clsx GitHub release notes
Package name: @material-ui/styles
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)5.16.0 (2021-12-03)
Features
5.15.1 (2021-11-23)
Bug Fixes
5.15.0 (2021-11-02)
Features
5.14.1 (2021-06-11)
Bug Fixes
Package name: @testing-library/react
10.4.9 (2020-08-21)
Bug Fixes
10.4.8 (2020-08-05)
Bug Fixes
10.4.7 (2020-07-15)
Bug Fixes
10.4.6 (2020-07-13)
Bug Fixes
10.4.5 (2020-07-08)
Bug Fixes
10.4.4 (2020-07-05)
Bug Fixes
10.4.3 (2020-06-25)
Bug Fixes
10.4.2 (2020-06-24)
Bug Fixes
10.4.1 (2020-06-23)
Bug Fixes
10.4.0 (2020-06-23)
Features
Latest DOM Testing Library release page: https://github.com/testing-library/dom-testing-library/releases/tag/v7.17.0
The big feature is fake timers working with async utils out of the box
Package name: formik
Patch Changes
f57ca9b
#3949 Thanks @ DeveloperRaj! - Changing the state inside formik was changing reference of initialValues provided via props, deep cloning the initialvalues will fix it.Patch Changes
d7db9cd
#3860 Thanks @ patik! - Add missing dependency@ types/hoist-non-react-statics
, closes #3837fe4ed7e
#3501 Thanks @ markspolakovs! - Markformik
as side-effect free inpackage.json
Patch Changes
41720c2
#3862 Thanks @ yazaldefilimonepinto! - ForwardclassName
for custom components used withField
da58b29
#3858 Thanks @ alaanescobedo! - Remove use of deprecatedStatelessComponent
type in favor ofFunctionComponent
5c01ee7
#3872 Thanks @ rajpatelbot! - FIX: Fixed resetForm function dependency issuePatch Changes
9e0a661
#3843 Thanks @ bonimba! - Fix FormikHelper and FieldHelperProps typesPatch Changes
96280d3
#3817 Thanks @ probablyup! - Updated internal types to support React 18.Package name: history
This release provides support for native ESM consumption of all exports.
No content.
🐛 Bug fixes
State
(now set tounknown
which will require consumer type narrowing)PartialPath
(usePartial<Path>
instead)PartialLocation
(usePartial<Location>
instead)createPath
return value (#813)✨ Features
Full Changelog: v5.1.0...v5.2.0
Because the prior 5.0.2 release removed the
State
type parameter fromLocation
, this was technically a breaking change. To correct for this, I'm bumping this as a minor release. It won't affect runtime code, but it may affect your development experience and tests if you were using that parameter.The
State
type export is also restored, so you shouldn't have issues with installing React Router v6.Oh, by the way, did you hear we released React Router v6?
Full Changelog: v5.0.3...v5.1.0
Fixed
parsePath
adding incorrectly addingsearch
Just a couple fixes:
location.state
type toany
and removed the generic onLocation
Full Changelog: v5.0.1...v5.0.2
This patch release contains a tiny TypeScript update to use the built-in
Partial
utility forPartialPath
andPartialLocation
. We always love it when we can ship just a little less code!🙏 Credits
Thanks to @ liuhanqu, @ hanquliu, @ chaance and @ mjackson for your contributions!
Today we are very pleased to announce the stable release of history version 5!
Overview
This version includes many enhancements and fixes a few important issues with the library.
New Features
location.state
history.block
API, with support for retrying transitions<script type=module>
userswindow
objects)Bugfixes
location.pathname
HistoryLibrary
so it doesn't conflict withwindow.History
Breaking Changes
pushState
)getUserConfirmation
,keyLength
, andhashType
APIsUsage
Please refer to our installation guide for instructions about how to install the library.
There is also a getting started guide as well as a complete API reference in the
docs
folder.We are very excited about this release, especially because it will serve as the foundation for the upcoming release of React Router version 6.
Thank you for your support. Enjoy! 😀
Package name: react-feather
Package name: react-router
[email protected]
[email protected]