Skip to content

[Snyk] Upgrade antd from 5.18.0 to 5.26.7#6

Open
VV1NN wants to merge 2 commits intomainfrom
snyk-upgrade-3d7b116e72f88c580b5cd668824c5e9b
Open

[Snyk] Upgrade antd from 5.18.0 to 5.26.7#6
VV1NN wants to merge 2 commits intomainfrom
snyk-upgrade-3d7b116e72f88c580b5cd668824c5e9b

Conversation

@VV1NN
Copy link
Owner

@VV1NN VV1NN commented Aug 29, 2025

snyk-top-banner

Snyk has created this PR to upgrade antd from 5.18.0 to 5.26.7.

ℹ️ 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.


  • The recommended version is 59 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BABELRUNTIME-10044504
452 Proof of Concept
Release notes
Package name: antd
  • 5.26.7 - 2025-07-29
    • 🐞 Fixed Card tabBarExtraContent typing to support both React.ReactNode and { left?: React.ReactNode; right?: React.ReactNode } using TabBarExtraContent from rc-tabs. #54470 @ pueding
    • 🐞 Fixed the issue where the cursor position was incorrect after pasting text into TextArea. #72 @ QdabuliuQ
    • ⚡️ Optimized the size of the Result component icon. #54455 @ 765477020
    • ⚡️ Optimized the calculation performance of internal methods of Dropdown, Tooltip, Tour. #54443 Meet-student
    • TypeScript
      • 🤖 Fixed Tabs TabPaneProps type to be compatible with deprecated APIs. #54482 @ leshalv

    • 🐞 修复 Card 的 tabBarExtraContent 类型定义,仅支持 React.ReactNode 的问题。现在支持完整的 rc-tabs 类型,包括 { left?: React.ReactNode; right?: React.ReactNode }#54470 @ pueding
    • 🐞 修复了 TextArea 在 Firefox 浏览器下粘贴文本后光标位置错误的问题。#72 @ QdabuliuQ
    • ⚡️ 优化了 Result 组件的图标的体积。#54455 @ 765477020
    • ⚡️ 优化了 Dropdown、Tooltip、Tour 等弹层类组件的内部方法的计算性能。#54443 Meet-student
    • TypeScript
      • 🤖 修正了 Tabs 的 TabPaneProps 类型以兼容废弃 api。#54482 @ leshalv
  • 5.26.6 - 2025-07-20
    • 🐞 Fix Input variant=underlined not using activeBorderColor token. #54409 @ Meet-student
    • 🐞 Fix InputNumber fontSizeSM and fontSizeLG tokens not working. #54396 @ guoyunhe
    • 🐞 Fix Flex component children prop is now optional instead of required. #54399 @ Wxh16144
    • 🐞 Fix Menu component not supporting data-* attributes for menu items. #54393 @ salihyavuz
    • 🐞 Fix Mentions component clear and feedback icons overlap. #54390 @ QdabuliuQ

    • 🐞 修复 Input variant=underlined 未使用 activeBorderColor token 的问题。#54409 @ Meet-student
    • 🐞 修复 InputNumber fontSizeSMfontSizeLG token 不生效的问题。#54396 @ guoyunhe
    • 🐞 修复 Flex 组件 children 属性现在为可选而不是必需的问题。#54399 @ Wxh16144
    • 🐞 修复 Menu 组件不支持 data-* 属性的问题。#54393 @ salihyavuz
    • 🐞 修复 Mentions 组件清除图标和反馈图标重叠的问题。#54390 @ QdabuliuQ
  • 5.26.5 - 2025-07-15
    • 🐞 Fix Tag closeIcon not being passed correctly. #54370 @ Meet-student
    • 🐞 Fix Splitter mask was not removed after dragging. #54320 @ QdabuliuQ
    • 🐞 Fix Modal configuration responsive width did not take effect correctly. #54349
    • 💄 Optimize the style issue when Notification description is empty. #54344 @ dengfuping
    • 💄 Fix the border style issue when the FloatButton popup direction is horizontal and is square. #54261 @ WwwHhhYran
    • TypeScript

    • 🐞 修复 Tag closeIcon 未正确传递的问题。#54370 @ Meet-student
    • 🐞 修复 Splitter 蒙层拖拽后未被移除的问题。#54320 @ QdabuliuQ
    • 🐞 修复 Modal 配置响应式 width 没有正确生效的问题。#54349
    • 💄 优化 Notification description 为空时间距样式问题。#54344 @ dengfuping
    • 💄 修复 FloatButton 弹出方向为水平方向为 square 时的边框样式问题。#54261 @ WwwHhhYran
    • TypeScript
  • 5.26.4 - 2025-07-07

  • 5.26.3 - 2025-06-30
    • 🐞 Fix InputNumber using variant=underlined and suffix will show the border radius issue. #54228 @ kiner-tang
    • 🐞 Fix FloatButton.Group always throw the wrong warning of shape. #54215 @ deathemperor
    • 💄 Adjust Typography title using fontWeightStrong token. #54185 @ p-a
    • 🐞 Fix Tree.DirectoryTree dragging inidicator style issue. #54183 @ uioonm
    • TypeScript
      • 🤖 Clear Menu internal definition to align with official site. They are not real working. #54189 @ wanpan11

    • 🐞 修复 InputNumber 在 variant=underlinedsuffix 配合时,样式会出现圆角的问题。#54228 @ kiner-tang
    • 🐞 修复 FloatButton.Group 总是错误的抛出 shape 配置警告信息。#54215 @ deathemperor
    • 💄 调整 Typography 标题使用 fontWeightStrong token。#54185 @ p-a
    • 🐞 修复 Tree.DirectoryTree 拖拽样式指示器位置不正确的问题。#54183 @ uioonm
    • TypeScript
      • 🤖 清理 Menu 内部使用的属性定义与官网保持一致,这些属性并不会真的起效。#54189 @ wanpan11
  • 5.26.2 - 2025-06-24
  • 5.26.1 - 2025-06-16
  • 5.26.0 - 2025-06-10
  • 5.26.0-alpha.0 - 2025-06-03
  • 5.25.4 - 2025-05-31
  • 5.25.3 - 2025-05-26
  • 5.25.2 - 2025-05-19
  • 5.25.1 - 2025-05-09
  • 5.25.0 - 2025-05-07
  • 5.24.9 - 2025-04-29
  • 5.24.8 - 2025-04-21
  • 5.24.7 - 2025-04-14
  • 5.24.6 - 2025-04-01
  • 5.24.5 - 2025-03-24
  • 5.24.4 - 2025-03-17
  • 5.24.3 - 2025-03-05
  • 5.24.2 - 2025-02-24
  • 5.24.1 - 2025-02-17
  • 5.24.0 - 2025-02-11
  • 5.23.4 - 2025-02-05
  • 5.23.3 - 2025-01-28
  • 5.23.2 - 2025-01-20
  • 5.23.1 - 2025-01-13
  • 5.23.0 - 2025-01-06
  • 5.22.7 - 2024-12-27
  • 5.22.6 - 2024-12-23
  • 5.22.5 - 2024-12-14
  • 5.22.4 - 2024-12-09
  • 5.22.3 - 2024-12-02
  • 5.22.2 - 2024-11-20
  • 5.22.1 - 2024-11-13
  • 5.22.0 - 2024-11-11
  • 5.21.6 - 2024-10-28
  • 5.21.5 - 2024-10-21
  • 5.21.4 - 2024-10-14
  • 5.21.3 - 2024-10-09
  • 5.21.2 - 2024-09-30
  • 5.21.1 - 2024-09-25
  • 5.21.0 - 2024-09-22
  • 5.20.6 - 2024-09-09
  • 5.20.5 - 2024-09-03
  • 5.20.4 - 2024-09-02
  • 5.20.3 - 2024-08-26
  • 5.20.2 - 2024-08-19
  • 5.20.1 - 2024-08-11
  • 5.20.0 - 2024-08-03
  • 5.19.4 - 2024-07-30
  • 5.19.3 - 2024-07-19
  • 5.19.2 - 2024-07-15
  • 5.19.1 - 2024-07-05
  • 5.19.0 - 2024-07-01
  • 5.18.3 - 2024-06-19
  • 5.18.2 - 2024-06-17
  • 5.18.1 - 2024-06-12
  • 5.18.0 - 2024-06-03
from antd 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.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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:

VV1NN and others added 2 commits August 22, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants