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

chore(deps): bump react-hook-form from 7.42.1 to 7.43.2 #145

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 27, 2023

Bumps react-hook-form from 7.42.1 to 7.43.2.

Release notes

Sourced from react-hook-form's releases.

Version 7.43.2

🐞 fix #9972 input focus with submitted form (#9978) πŸ’‰ improve perf & save some bytes (#9968) 🐞 fix #9955 useForm values prop keepDirtyValues not update isDirty (#9959) πŸ—‘οΈ remove JSX message check (#9921)

Version 7.43.1

🐞 fix #9871 issue with error type (#9873) 🐞 fix #9842 clearErrors method does not support global error (#9843)

Version 7.43.0

🌏 feature: support global error type #9746

const onSubmit = async () => {
  const response = await fetch(...)
  if (response.statusCode > 200) {
      setError('root.serverError', { 
        type: response.statusCode,
      })
  }
}
const onClick = () => {
setError('root.random', {
type: 'random',
})
}
return (
<>
{errors.root.serverError.type === 400 && <p>server response message</p>}
<p>{errors.root?.serverError?.message}</p>
<p>{errors.root?.random?.message}</p>
</>
)

πŸͺœ fix set values for controlled components (#9780)

const { control } = useForm({ values: { test: '' } })
<Controller name="test" /> // no longer throw react warning for uncontrolled become controlled.

πŸš“ stronger typing to document non-spec attribute uses (#9809)

register('number', {
  valueAsNumber: true,
  pattern: /[1-4]/g // ❌ type error
})
</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.42.1 to 7.43.2.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](react-hook-form/react-hook-form@v7.42.1...v7.43.2)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the πŸ”— dependencies Pull requests that update a dependency file label Feb 27, 2023
@socket-security
Copy link

Socket Security Pull Request Report

Dependency issues detected: If you merge this pull request, you will not be alerted to the instances of these issues again.

⚠️ Minified code

This package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.

In many cases minified code is harmless, however minified code can be used to hide a supply chain attack. Consider not shipping minified code on npm.

Package Confidence Location Source
react-hook-form@7.43.2 (upgraded) 1.00 dist/index.cjs.js package.json via @hookform/resolvers@2.9.11
⚠️ Chronological version anomaly

Semantic versions published out of chronological order.

This could either indicate dependency confusion or a patched vulnerability.

Package Previous Chronological Previous Semver Source
react-hook-form@7.43.2 (upgraded) react-hook-form@7.44.0-next.1 (2/16/2023, 10:44:52β€―PM) react-hook-form@7.43.1 (2/7/2023, 9:00:34β€―AM) package.json via @hookform/resolvers@2.9.11
Pull request report summary
Issue Status
Critical CVE βœ… 0 issues
CVE βœ… 0 issues
Mild CVE βœ… 0 issues
Install scripts βœ… 0 issues
Native code βœ… 0 issues
Bin script confusion βœ… 0 issues
Bin script shell injection βœ… 0 issues
Filesystem access βœ… 0 issues
Network access βœ… 0 issues
Shell access βœ… 0 issues
Debug access βœ… 0 issues
Long strings βœ… 0 issues
High entropy strings βœ… 0 issues
URL strings βœ… 0 issues
Uses eval βœ… 0 issues
Dynamic require βœ… 0 issues
Environment variable access βœ… 0 issues
Missing dependency βœ… 0 issues
Unused dependency βœ… 0 issues
Peer dependency βœ… 0 issues
Uncaught optional dependency βœ… 0 issues
Unresolved require βœ… 0 issues
Extraneous dependency βœ… 0 issues
Obfuscated require βœ… 0 issues
Obfuscated code βœ… 0 issues
Minified code ⚠️ 1 issue
Bidirectional unicode control characters βœ… 0 issues
Zero width unicode chars βœ… 0 issues
Bad text encoding βœ… 0 issues
Unicode homoglyphs βœ… 0 issues
Invisible chars βœ… 0 issues
Suspicious strings βœ… 0 issues
Invalid package.json βœ… 0 issues
HTTP dependency βœ… 0 issues
Git dependency βœ… 0 issues
GitHub dependency βœ… 0 issues
File dependency βœ… 0 issues
No tests βœ… 0 issues
No repository βœ… 0 issues
Bad semver βœ… 0 issues
Bad dependency semver βœ… 0 issues
No v1 βœ… 0 issues
No website βœ… 0 issues
No bug tracker βœ… 0 issues
No contributors or author data βœ… 0 issues
CommonJS depending on ESModule βœ… 0 issues
Empty package βœ… 0 issues
Trivial Package βœ… 0 issues
No README βœ… 0 issues
Deprecated βœ… 0 issues
Chronological version anomaly ⚠️ 1 issue
Semver anomaly βœ… 0 issues
New author βœ… 0 issues
Unstable ownership βœ… 0 issues
Non-existent author βœ… 0 issues
Unmaintained βœ… 0 issues
Unpublished package βœ… 0 issues
Major refactor βœ… 0 issues
Missing package tarball βœ… 0 issues
Unsafe copyright βœ… 0 issues
License change βœ… 0 issues
Non OSI license βœ… 0 issues
Deprecated license βœ… 0 issues
Missing license βœ… 0 issues
Non SPDX license βœ… 0 issues
Unclear license βœ… 0 issues
Mixed license βœ… 0 issues
Legal notice βœ… 0 issues
Modified license βœ… 0 issues
Modified license exception βœ… 0 issues
License exception βœ… 0 issues
Deprecated SPDX exception βœ… 0 issues
Potential typo squat βœ… 0 issues
Known Malware βœ… 0 issues
Telemetry βœ… 0 issues
Protestware/Troll package βœ… 0 issues
AI detected malware βœ… 0 issues
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@2.4.2

  • @SocketSecurity ignore react-hook-form@7.43.2

Powered by socket.dev

@dahal dahal merged commit 53d128e into main Feb 27, 2023
@dahal dahal deleted the dependabot/npm_and_yarn/react-hook-form-7.43.2 branch February 27, 2023 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
πŸ”— dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant