Skip to content
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

[Snyk] Upgrade: tslib, , react-hook-form, react-pdf-html, react-router-dom #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AyushiSharma1234
Copy link
Owner

snyk-top-banner

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.

Name Versions Released on

tslib
from 2.6.3 to 2.7.0 | 1 version ahead of your current version | 22 days ago
on 2024-08-23
@reduxjs/toolkit
from 2.2.6 to 2.2.7 | 1 version ahead of your current version | 2 months ago
on 2024-07-27
react-hook-form
from 7.52.1 to 7.53.0 | 2 versions ahead of your current version | 21 days ago
on 2024-08-24
react-pdf-html
from 2.0.5 to 2.1.2 | 3 versions ahead of your current version | a month ago
on 2024-08-09
react-router-dom
from 6.24.0 to 6.26.1 | 11 versions ahead of your current version | a month ago
on 2024-08-15

Release notes
Package name: tslib from tslib GitHub release notes
Package name: @reduxjs/toolkit
  • 2.2.7 - 2024-07-27

    This bugfix release fixes issues with "TS type portability" errors, improves build artifact tree shaking behavior, and exports some additional TS types.

    Changelog

    TS Type Portability

    We've had a slew of issues reported around "TS type portability" errors, such as:

    The error messages are typically along the lines of:

    Type error: The inferred type of 'configureStore' cannot be named without a reference to '@ reduxjs/toolkit/node_modules/redux'. This is likely not portable. A type annotation is necessary.

    @ aryaemami59 did some deep investigation and concluded these were due to a mixture of using interface instead of type in most places, not pre-bundling our TS typedefs, and not exporting some of the unique symbols we use internally.

    Arya put together a highly detailed writeup and set of fixes in #4467: Fix: TypeScript Type Portability Issues, and that appears to resolve all of those issues we've seen. Thank you!

    Other Changes

    Arya also did significant work to improve RTK's treeshaking, tweaking internal definitions to let bundlers better separate out unused code.

    We've exported additional types like UpdateDefinitions and RetryOptions, per request.

    listenerMiddleware.withTypes() methods now allow passing in an ExtraArgument generic.

    What's Changed

    Full Changelog: v2.2.6...v2.2.7

  • 2.2.6 - 2024-06-29

    This bugfix release:

    • Brings internal useIsomorphicLayoutEffect usage in line with React Redux in React Native environments
    • Exports FetchBaseQueryArgs type
    • Fixes an issue in recent createEntityAdapter sorting perf improvements that could (in specific cases) cause Immer to throw an error

    What's Changed

    Full Changelog: v2.2.5...v2.2.6

from @reduxjs/toolkit GitHub release notes
Package name: react-hook-form
  • 7.53.0 - 2024-08-24

    🌫️ feat: #12148 support isValid when mode is set to onBlur (#12194)

    // update formstate isValid with onBlur event
    const { formState: { isValid } } = useForm({
      mode: 'onBlur'
    })

    🐞 fix #12021 issue with disable prop not reflecting on re-render without trigger by useEffect (#12193)
    👩‍🌾 close #12168 optimise re-render with validating fields subscription (#12192)
    🐞 fix #12127 issue with compare object value changed with object input (#12185)
    🎲 improve : break out of recursive loops on first focus (#11827)
    📖 fix example of ObjectKeys type (#11965)

    thanks to @ suke & @ DPflasterer

  • 7.52.2 - 2024-08-03

    👍 close #12108 useController should subscribe to exact field name of form's state (#12109)
    👍 chore: upgrade app deps
    🩻 fix: add useCallback for ref callback (#12078)
    🚀 fix: skip call executeBuiltInValidation if no sub-fields left (#12054)

    thanks to @ newsiberian, @ Wendystraite and @ abnud11

  • 7.52.1 - 2024-07-02

    🐞 fix #12024 dirty not update issue with values prop (#12041)
    🐞 fix: field array validate rules shift errors (#12033)

    thanks to @ JardelCheung

from react-hook-form GitHub release notes
Package name: react-pdf-html
  • 2.1.2 - 2024-08-09
    No content.
  • 2.1.1 - 2024-08-09
  • 2.1.0 - 2024-08-09
  • 2.0.5 - 2024-07-21
from react-pdf-html GitHub release notes
Package name: react-router-dom
  • 6.26.1 - 2024-08-15

    [email protected]

  • 6.26.1-pre.0 - 2024-08-14

    [email protected]

  • 6.26.0 - 2024-08-01
  • 6.26.0-pre.1 - 2024-07-31
  • 6.26.0-pre.0 - 2024-07-30
  • 6.25.1 - 2024-07-17
  • 6.25.1-pre.0 - 2024-07-17
  • 6.25.0 - 2024-07-16
  • 6.25.0-pre.0 - 2024-07-12
  • 6.24.1 - 2024-07-03
  • 6.24.1-pre.0 - 2024-07-01
  • 6.24.0 - 2024-06-24
from react-router-dom GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade:
  - tslib from 2.6.3 to 2.7.0.
    See this package in npm: https://www.npmjs.com/package/tslib
  - @reduxjs/toolkit from 2.2.6 to 2.2.7.
    See this package in npm: https://www.npmjs.com/package/@reduxjs/toolkit
  - react-hook-form from 7.52.1 to 7.53.0.
    See this package in npm: https://www.npmjs.com/package/react-hook-form
  - react-pdf-html from 2.0.5 to 2.1.2.
    See this package in npm: https://www.npmjs.com/package/react-pdf-html
  - react-router-dom from 6.24.0 to 6.26.1.
    See this package in npm: https://www.npmjs.com/package/react-router-dom

See this project in Snyk:
https://app.snyk.io/org/ayushisharma1234/project/3ba148ad-e07a-41ca-837e-6d34ec6de61d?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment