[Snyk] Upgrade: , , prop-types, clsx, , , , formik, history, react-feather, react-router, react-router-dom, react-scripts, yup #156
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-YUP-2420835
SNYK-JS-BABELTRAVERSE-5962462
SNYK-JS-DECODEURICOMPONENT-3149970
SNYK-JS-LODASHES-2434284
SNYK-JS-LODASHES-2434285
SNYK-JS-LODASH-1040724
SNYK-JS-LODASHES-2434283
SNYK-JS-LODASHES-2434289
SNYK-JS-MINIMATCH-3050818
SNYK-JS-LODASH-1018905
SNYK-JS-MINIMIST-2429795
Release notes
Package name: @material-ui/core
-
4.12.4 - 2022-04-03
-
4.12.3 - 2021-07-30
-
4.12.2 - 2021-07-19
-
4.12.1 - 2021-07-07
-
4.12.0 - 2021-07-06
-
4.11.4 - 2021-04-27
-
4.11.3 - 2021-01-24
-
4.11.3-deprecations.1 - 2021-01-25
-
4.11.3-deprecations.0 - 2021-01-24
-
4.11.2 - 2020-12-02
-
4.11.1 - 2020-11-24
-
4.11.0 - 2020-06-30
from @material-ui/core GitHub release notesPackage name: @material-ui/icons
-
4.11.3 - 2022-04-03
-
4.11.2 - 2020-12-02
-
4.9.1 - 2020-02-02
from @material-ui/icons GitHub release notesPackage name: prop-types
-
15.8.1 - 2022-01-05
- [Fix] fix crash when a custom propType return lacks
- [meta] Fix formatting in CHANGELOG.md (#367)
- [Tests] add missing test coverage (#370)
- [Tests] convert normal
- [Tests] do not fail fast; add react 17 (#366)
- [Dev Deps] update
-
15.8.0 - 2021-12-22
- [New] add
- [New]
- [New] Add type check for validator for 'shape' and 'exact' (#234)
- [Fix]
- [Refactor] extract
- [readme] Fix branch name (master -> main) (#364)
- [readme] Clarify usage of
- [docs] highlighted the func name (#321)
- [docs] Typo fix in example (#300)
- [docs] Add instructions for intentional inclusion of validation in production. (#262)
- [docs]
- [docs] Improve wording for
- [meta] Add a package
- [meta] use
- [deps] regenerate yarn.lock
- [deps] update
- [eslint] enable some rules (#360)
- [Tests] Use GH Actions (#363)
- [Tests] Fix spelling (#318)
- [Tests] Fixed typo: 'Any type should accept any value' (#281)
- [Tests] fix broken tests; test the build process
- [Dev Deps] update
-
15.7.2 - 2019-02-13
from prop-types GitHub release notes.data; callhasOwnPropertyproperly (#370)itfunctions to arrow functions (#370)eslintPropTypes.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)sideEffectsfield. (#350)in-publishto avoid running the build on installreact-is(#347, #346, #345, #340, #338)browserify,bundle-collapser,eslint,in-publish,react,uglifyify,uglifyjsv15.7.2
Package name: clsx
Patches
clsxexport tooChores
Features
Add named
clsxexport alias (#43, #44): 56ab81fThank you @ danikaze~!
This is purely an alias for the default export so that TypeScript users can avoid the
esModuleInteropsetting. In other words, the followimportstatements are effectively identical, but the latter is preferred by TypeScript:Chores
tapetouvufor tests: 1c36d10Thank you @ gingerrific~!
Patches
toValcalls with truthy assertions: 4fa8811, 019ec02typeofchecks for common case: 08a5a7fChores
esmhook with tests: 0287e40Benchmarks
The snippet below is comparing
[email protected](this version) to the previous version, and toclassnamesfor ballpark comparison. All candidates are functionally identical!# Stringsclassnames 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
-
4.11.5 - 2022-04-03
-
4.11.4 - 2021-04-27
-
4.11.3 - 2021-01-24
-
4.11.3-deprecations.1 - 2021-01-25
-
4.11.3-deprecations.0 - 2021-01-24
-
4.11.2 - 2020-12-02
-
4.11.1 - 2020-11-24
-
4.10.0 - 2020-05-23
from @material-ui/styles GitHub release notesPackage name: @testing-library/jest-dom
-
5.17.0 - 2023-07-18
- New
-
5.16.5 - 2022-08-04
- migrate ccs v3 to @ adobe/css-tools v4 (#470) (948d90f)
-
5.16.4 - 2022-04-05
- Support unenclosed inner text for details elements in to be visible (#396) (af18453)
-
5.16.3 - 2022-03-24
- clarify toHaveFocus message when using
-
5.16.2 - 2022-02-03
- add custom element support to
-
5.16.1 - 2021-12-06
- Improve
-
5.16.0 - 2021-12-03
- Update aria-query to 5.0.0 (#414) (de26c7a)
-
5.15.1 - 2021-11-23
- wrong deprecate error message (#422) (dfcefa2)
-
5.15.0 - 2021-11-02
- import parse directly from css (#415) (4cb606c)
-
5.14.1 - 2021-06-11
- Updates deprecated matchers info (#378) (fc9ce6d)
-
5.14.0 - 2021-06-11
-
5.13.0 - 2021-06-03
-
5.12.0 - 2021-04-22
-
5.11.10 - 2021-03-25
-
5.11.9 - 2021-01-12
-
5.11.8 - 2020-12-30
-
5.11.7 - 2020-12-30
-
5.11.6 - 2020-11-13
-
5.11.5 - 2020-10-23
-
5.11.4 - 2020-08-22
-
5.11.3 - 2020-08-11
-
5.11.2 - 2020-07-28
-
5.11.1 - 2020-07-15
-
5.11.0 - 2020-06-25
-
5.10.1 - 2020-06-14
-
5.10.0 - 2020-06-11
-
5.9.0 - 2020-05-28
-
5.8.0 - 2020-05-19
-
5.7.0 - 2020-05-07
-
5.7.0-beta.1 - 2020-05-08
-
5.6.0 - 2020-05-07
-
5.5.0 - 2020-04-09
-
5.4.0 - 2020-04-08
-
5.3.0 - 2020-03-26
-
5.2.0 - 2020-03-25
-
5.1.1 - 2020-02-03
-
5.1.0 - 2020-01-31
from @testing-library/jest-dom GitHub release notes5.17.0 (2023-07-18)
Features
toHaveAccessibleErrorMessagebetter 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
toHaveClasserror 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
- Bump @ testing-library/dom to 7.22.3 (#766) (276eb65)
-
10.4.8 - 2020-08-05
- fireEvent: Make sure react dispatches focus/blur events (#758) (9aac157)
-
10.4.7 - 2020-07-15
- unmount: Flush useEffect cleanup functions syncronously (#746) (b82773c)
-
10.4.6 - 2020-07-13
- cleanup: remove scheduler code from flush-microtasks (#744) (240900c)
-
10.4.5 - 2020-07-08
- flushMicroTasks: fallback to no scheduler (#739) (9e5cf59)
-
10.4.4 - 2020-07-05
- React next fails on build (#726) (#732) (604d3e9)
-
10.4.3 - 2020-06-25
- cleanup: Cleanup should flush microtask queue after unmount (#632) (aac2e44)
-
10.4.2 - 2020-06-24
- cleanup: microtask flushing now supports fake timers (#720) (5814b29)
-
10.4.1 - 2020-06-23
- update @ testing-library/dom to get a bug fix (6558845)
-
10.4.0 - 2020-06-23
- force update of @ testing-library/dom (d10a13d)
-
10.3.1-alpha.2 - 2020-06-23
-
10.3.1-alpha.1 - 2020-06-23
-
10.3.0 - 2020-06-18
-
10.3.0-alpha.1 - 2020-06-14
-
10.2.1 - 2020-06-05
-
10.2.0 - 2020-06-04
-
10.1.0 - 2020-06-04
-
10.0.6 - 2020-06-02
-
10.0.5 - 2020-06-01
-
10.0.4 - 2020-04-30
-
10.0.3 - 2020-04-20
-
10.0.2 - 2020-03-30
-
10.0.1 - 2020-03-13
-
10.0.0 - 2020-03-12
from @testing-library/react GitHub release notes10.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
-
2.4.6 - 2024-04-24
-
2.4.5 - 2023-09-17
-
-
-
2.4.4 - 2023-09-06
-
-
-
-
2.4.3 - 2023-08-02
-
2.4.2 - 2023-06-14
-
2.4.1 - 2023-05-31
-
2.4.0 - 2023-05-27
-
2.3.3 - 2023-05-27
-
2.3.2 - 2023-05-26
-
2.3.0 - 2023-05-26
-
2.2.10 - 2023-05-26
-
2.2.9 - 2021-06-02
-
2.2.8 - 2021-05-21
-
2.2.7 - 2021-05-19
-
2.2.6 - 2020-12-10
-
2.2.5 - 2020-11-11
-
2.2.4 - 2020-11-10
-
2.2.3 - 2020-11-07
-
2.2.2 - 2020-11-05
-
2.2.1 - 2020-10-23
from formik GitHub release notesPatch 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! - Markformikas side-effect free inpackage.jsonPatch Changes
41720c2#3862 Thanks @ yazaldefilimonepinto! - ForwardclassNamefor custom components used withFieldda58b29#3858 Thanks @ alaanescobedo! - Remove use of deprecatedStatelessComponenttype in favor ofFunctionComponent5c01ee7#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
-
5.3.0 - 2022-02-22
-
5.3.0-pre.0 - 2022-02-18
-
5.2.0 - 2021-12-17
- Fixed a few type declarations and deprecated the following types:
- Fixed a regression related to the
- We now use statically analyzable CJS exports. This enables named imports in Node ESM scripts (See the commit).
-
5.1.0 - 2021-11-02
-
5.0.3 - 2021-11-01
-
5.0.2 - 2021-11-01
- Fixed search params persisting on redirects
- Changed the
-
5.0.1 - 2021-08-13
-
5.0.0 - 2020-06-12
- Hash history now has support for
- Better
- Full TypeScript declarations and IntelliSense docs
- Adds development and production builds for
- Both browser and hash history have support for iframes (custom
- About 50% smaller than v4 (and no dependencies)
- Fixed some long-standing encoding issues with
- Removed unfixable warnings about pushing the same path in hash history
- Renamed browser global to
- Removed support for browsers that do not support the HTML5 history API (no
- Removed relative pathname support in hash history and memory history
- Removed
from history GitHub release notesThis release provides support for native ESM consumption of all exports.
No content.
🐛 Bug fixes
State(now set tounknownwhich will require consumer type narrowing)PartialPath(usePartial<Path>instead)PartialLocation(usePartial<Location>instead)createPathreturn value (#813)✨ Features
Full Changelog: v5.1.0...v5.2.0
Because the prior 5.0.2 release removed the
Statetype 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
Statetype 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
parsePathadding incorrectly addingsearchJust a couple fixes:
location.statetype toanyand removed the generic onLocationFull Changelog: v5.0.1...v5.0.2
This patch release contains a tiny TypeScript update to use the built-in
Partialutility forPartialPathandPartialLocation. 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.statehistory.blockAPI, with support for retrying transitions<script type=module>userswindowobjects)Bugfixes
location.pathnameHistoryLibraryso it doesn't conflict withwindow.HistoryBreaking Changes
pushState)getUserConfirmation,keyLength, andhashTypeAPIsUsage
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
docsfolder.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
-
2.0.10 - 2022-05-30
-
2.0.9 - 2020-11-17
-
2.0.8 - 2020-04-25
from react-feather GitHub release notesPackage name: react-router
[email protected]
[email protected]