Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Snyk] Upgrade: , , clsx, lucide-react, next-themes, react-hook-form, react-router-dom, tailwind-merge #26

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

zntb
Copy link
Owner

@zntb zntb commented Sep 14, 2024

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

@radix-ui/react-aspect-ratio
from 1.0.3 to 1.1.0 | 8 versions ahead of your current version | 3 months ago
on 2024-06-19
@radix-ui/react-separator
from 1.0.3 to 1.1.0 | 8 versions ahead of your current version | 3 months ago
on 2024-06-19
clsx
from 2.1.0 to 2.1.1 | 1 version ahead of your current version | 5 months ago
on 2024-04-23
lucide-react
from 0.408.0 to 0.435.0 | 25 versions ahead of your current version | 22 days ago
on 2024-08-23
next-themes
from 0.2.1 to 0.3.0 | 2 versions ahead of your current version | 6 months ago
on 2024-03-13
react-hook-form
from 7.50.1 to 7.52.2 | 9 versions ahead of your current version | a month ago
on 2024-08-03
react-router-dom
from 6.25.1 to 6.26.1 | 5 versions ahead of your current version | a month ago
on 2024-08-15
tailwind-merge
from 2.4.0 to 2.5.2 | 18 versions ahead of your current version | a month ago
on 2024-08-12

Release notes
Package name: @radix-ui/react-aspect-ratio
  • 1.1.0 - 2024-06-19
  • 1.1.0-rc.7 - 2024-06-19
  • 1.1.0-rc.6 - 2024-06-11
  • 1.1.0-rc.5 - 2024-06-11
  • 1.1.0-rc.4 - 2024-06-10
  • 1.1.0-rc.3 - 2024-06-03
  • 1.1.0-rc.2 - 2024-06-03
  • 1.1.0-rc.1 - 2024-06-03
  • 1.0.3 - 2023-05-26
from @radix-ui/react-aspect-ratio GitHub release notes
Package name: @radix-ui/react-separator
  • 1.1.0 - 2024-06-19
  • 1.1.0-rc.7 - 2024-06-19
  • 1.1.0-rc.6 - 2024-06-11
  • 1.1.0-rc.5 - 2024-06-11
  • 1.1.0-rc.4 - 2024-06-10
  • 1.1.0-rc.3 - 2024-06-03
  • 1.1.0-rc.2 - 2024-06-03
  • 1.1.0-rc.1 - 2024-06-03
  • 1.0.3 - 2023-05-26
from @radix-ui/react-separator GitHub release notes
Package name: clsx
  • 2.1.1 - 2024-04-23

    Patches

    • (types) Include bigint in ClassValue type: (#96): 3d960ab
      Accommodates recent @ types/react changes to ReactNode.
      Thank you @ ViliamKopecky~!

    Chores

    • Add licenses.dev badge: 684509c
      This service recursively analyzes entire dependency graphs to ensure that a package (or your project) is using permissive licenses. For example, here's a results table for polka@next and a larger astro example.

    Full Changelog: v2.1.0...v2.1.1

  • 2.1.0 - 2023-12-29

    Features

    • Add new clsx/lite submodule for string-only usage: 1a49142

      This is a 140b version of clsx that is ideal for Tailwind and/or React contexts, which typically follow this clsx usage pattern:

      clsx('foo bar', props.maybe && 'conditional classes', props.className);

      Important: This clsx/lite module ignores all non-string arguments and is therefore not a 1:1 replacement for clsx itself!

      import { clsx } from 'clsx';
      import { clsx as lite } from 'clsx/lite';

      // strings-only usage is identical
      clsx('foo', null, 'bar', true && 'baz'); //=> "foo bar baz"
      lite('foo', null, 'bar', true && 'baz'); //=> "foo bar baz"

      // clsx/lite ignores all non-strings
      clsx('foo', { a: true, b: false, c: true }); //=> "foo a c"
      lite('foo', { a: true, b: false, c: true }); //=> "foo"


    Full Changelog: v2.0.1...v2.1.0

from clsx GitHub release notes
Package name: lucide-react from lucide-react GitHub release notes
Package name: next-themes from next-themes GitHub release notes
Package name: react-hook-form
  • 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

  • 7.52.0 - 2024-06-15

    ⚛️ close #11932 enable react 19 peer dependency (#11935)
    👮‍♀️ close #11954 getFieldState remove unnessaried inValidating and touched subscription (#11995)
    🐞 fix #11985 logic createFormControl check field before usage (#11986)
    ⌨️ fix: enforce type safety for deps property in RegisterOptions (#11969)
    🐞 fix #11922 keep dirty on reset with dirty fields (#11958)
    🚔 close #11937 add validation in the cleanup process in useController (#11938)
    Revert "⌨️ close: correct type of error field in getFieldState return object (#11831)"
    📖 fix: change info.values type in WatchObserver (#11917)

    thanks to @ nakaakist, @ IdoBouskila, @ pincy and @ peinguin

  • 7.51.5 - 2024-05-21

    📖 fix broken link to examples in README.md (#11805)
    ⌨️ close: correct type of error field in getFieldState return object (#11831)
    🐞 fix #11842 radio buttons not disabled when multiple share a name (#11873)
    🐞 fix #11821 set value with disabled false before mount (#11880)
    🐞 fix setError to preserve existing errors elsewhere in the object (#11888)
    ⌨️ fix: add info.value type to WatchObserver (#11872)
    🫡 fix issue with internal set api (#11915)

    thanks to @ mjr2595 @ erashu212 @ SimonJTurner and @ peinguin

  • 7.51.4 - 2024-05-04

    👹 close #11778 improve unregister omit key with getValues method (#11779)
    🐞 fix #11794 issue: Fields dirty state is not updated when passing values to useForm

  • 7.51.3 - 2024-04-11

    🐞 fix #11773 regression on dirty check with reset (#11775)

  • 7.51.2 - 2024-03-26

    🐞 fix #11719 validation stuck on true state (#11723)

  • 7.51.1 - 2024-03-17

    🐛 bug(validatingFields, trigger): handle all fields validation trigger (#11624)
    💚 ci: cleanup actions versions (#11629)
    🐞 fix #11590 issue with trigger on validatingFields (#11613)

    thanks to @ Moshyfawn

  • 7.51.0 - 2024-03-01

    💬 add isValidating and validatingFields to field state (#10657)

    const { formState: { validatingFields } } = useForm({ mode: 'onBlur' });

    ⌨️ chore: replace ts-ignore with ts-expect-error (#11573)
    🧗‍♂️ chore: update lib dev deps (#11548)
    💅 related #11541 improve dirty check when undefined provided with reset api
    😾 fix #11514 issue under strict mode reset invoke twice reset mounted field names with keepDirtyValues (#11546)
    🤡 fix flush root render hack (#11521)
    🧽 chore: removed unused utils and resp. test cases (#11476)
    🐞 close #11503 issue dirty field update with async validation (#11509)

    Revert "🔧 fix data param in handleSubmit when TTransformedValues is a union type (#11420)"
    Revert "✨ feat(values): priorities values over defaultvalues (#11399)" (#11545)

    ❤️ Thanks to @ deepgolani4, @ pbankonier and @ deepgolani4
    ❤️ Thank you principal.com for your contribution

  • 7.50.1 - 2024-02-06

    🥲 Regression: Revert "⌨️ fix #10734 watch and useWatch without parameters return type (#11359)"

from react-hook-form GitHub release notes
Package name: react-router-dom
  • 6.26.1 - 2024-08-15

    react-router-native@6.26.1

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

    react-router-native@6.26.1-pre.0

  • 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
from react-router-dom GitHub release notes
Package name: tailwind-merge
  • 2.5.2 - 2024-08-12

    Sorry for all the bugs today!

    Bug Fixes

    Full Changelog: v2.5.1...v2.5.2

    Thanks to @ brandonmcconnell, @ manavm1990, @ langy, @ jamesreaco and @ jamaluddinrumi for sponsoring tailwind-merge! ❤️

  • 2.5.2-dev.a9aa5911cc624d0ddd2ee81bcce00b932a437aea - 2024-08-30
  • 2.5.2-dev.a72f2f474fbba41c9940d3c9737cd3ad431d68da - 2024-08-12
  • 2.5.2-dev.9a68667c3a6710512dedcee4e74cbd60dbe57f38 - 2024-09-02
  • 2.5.2-dev.34753fec69281e1f001a4129b6518b2e589eb28f - 2024-08-18
  • 2.5.2-dev.1bed05d40bc8f053548fb85c40eeaac60e0234ef - 2024-08-18
  • 2.5.2-dev.0c74ac3cababfa706594629e5244995535ca70a1 - 2024-08-18
  • 2.5.1 - 2024-08-12

    Bug Fixes

    • Fix space at beginning of input causing infinite loop by @ dcastil in #457

    Full Changelog: v2.5.0...v2.5.1

    Thanks to @ brandonmcconnell, @ manavm1990, @ langy, @ jamesreaco and @ jamaluddinrumi for sponsoring tailwind-merge! ❤️

  • 2.5.1-dev.c795f4bcf2ef5a80b735db30d20f96b49a14ae57 - 2024-08-12
  • 2.5.1-dev.a9ebe22aaea320d0894ce4255eaffcb6b2d1a649 - 2024-08-12
  • 2.5.1-dev.0f0f53e1b3d930b21560eea24b467e0870854f52 - 2024-08-12
  • 2.5.1-dev.056b2a31bf7d9244aa97cc859e110bdbae6723e5 - 2024-08-12
  • 2.5.0 - 2024-08-11

    New Features

Snyk has created this PR to upgrade:
  - @radix-ui/react-aspect-ratio from 1.0.3 to 1.1.0.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-aspect-ratio
  - @radix-ui/react-separator from 1.0.3 to 1.1.0.
    See this package in npm: https://www.npmjs.com/package/@radix-ui/react-separator
  - clsx from 2.1.0 to 2.1.1.
    See this package in npm: https://www.npmjs.com/package/clsx
  - lucide-react from 0.408.0 to 0.435.0.
    See this package in npm: https://www.npmjs.com/package/lucide-react
  - next-themes from 0.2.1 to 0.3.0.
    See this package in npm: https://www.npmjs.com/package/next-themes
  - react-hook-form from 7.50.1 to 7.52.2.
    See this package in npm: https://www.npmjs.com/package/react-hook-form
  - react-router-dom from 6.25.1 to 6.26.1.
    See this package in npm: https://www.npmjs.com/package/react-router-dom
  - tailwind-merge from 2.4.0 to 2.5.2.
    See this package in npm: https://www.npmjs.com/package/tailwind-merge

See this project in Snyk:
https://app.snyk.io/org/zntb/project/ce950247-bd90-40e8-b6d3-0edee8f12e33?utm_source=github&utm_medium=referral&page=upgrade-pr
@zntb zntb merged commit b48ebce into main Sep 14, 2024
1 check passed
@zntb zntb deleted the snyk-upgrade-4d13024726f456ff53799da5fdb3c2ba branch September 14, 2024 09:59
# for free to join this conversation on GitHub. Already have an account? # to comment