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 antd from 5.16.5 to 5.19.4 #1

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

Conversation

ramzimalhas
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade antd from 5.16.5 to 5.19.4.

ℹ️ 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 14 versions ahead of your current version.

  • The recommended version was released on 22 days ago.

Release notes
Package name: antd
  • 5.19.4 - 2024-07-30
    • 🐞 Fix the internal elements of Form.Item did not inherit the row height. #50020 @ Wanpan
    • 🐞 Fix Overlay is still displayed when both Popover title and content do not exist. #50064 @ LLmoskk
    • 🐞 Fix the Token of Empty setting opacityImage does not take effect. #50066 @ thinkasany
    • 💄 Fix Tour overflowed the screen on mobile devices. #50082
    • 💄 Fix hover style of Checkbox indeterminate state. #50083
    • 💄 Fix DatePicker selection style is not intuitive under rtl. #50045 @ Layouwen
    • 💄 Fix Descriptions overflowing the container in bordered mode. #49946 @ leefinder
    • 🛠 MISC: Migrate common style tools to @ ant-design/cssinjs-utils. #50030 @ YumoImer
    • 🌐 Locales

    • 🐞 修复 Form.Item 内部元素没有继承行高的问题。#50020 @ Wanpan
    • 🐞 修复 Popover titlecontent 都不存在时 Overlay 仍显示的问题。#50064 @ LLmoskk
    • 🐞 修复 Empty Token 设置 opacityImage 不生效的问题。#50066 @ thinkasany
    • 💄 修复 Tour 在移动端下溢出屏幕的问题。#50082
    • 💄 修复 Checkbox indeterminate 状态的 hover 样式。#50083
    • 💄 修复 DatePicker 在 rtl 下选择样式不符直觉。#50045 @ Layouwen
    • 💄 修复 Descriptions 在 bordered 模式下溢出容器的问题。#49946 @ leefinder
    • 🛠 MISC:将通用样式工具迁移到 @ ant-design/cssinjs-utils#50030 @ YumoImer
    • 🌐 国际化
  • 5.19.3 - 2024-07-19
    • 🐞 Fix Table sorter argument of onChange with unexpected value. #49533 @ Zyf665
    • 🐞 Fix Pagination token.itemBg not working. #49933
    • 🐞 Fix List wrong align style of pagination. #49925 @ coding-ice
    • 🐞 Fix Image cannot exit preview, when click blank area on both sides of aciton bar. #49915 @ wanpan11
    • 🐞 Fix Card border radius cannot works for non-img elements from cover property. #49862 @ coding-ice
    • 💄 Fix Dropdown menu item wrong wrap style at edge of viewport. #49899
    • 💄 Fix Descriptions items may too close with each other. #49895 @ crazyair
    • ⌨️ Optimize Select be changed repeatedly when hold the enter key in multi-mode. #49963 @ crazyair
    • 🇪🇬 Add missing translation for the Arabic language(Egypt) (ar_EG). #49852 @ ahmedsamirdev
    • TypeScript

    • 🐞 修复 Table 的 onChange 事件中排序器参数错误的问题。#49533 @ Zyf665
    • 🐞 修复 Pagination token.itemBg 设置不生效的问题。#49933
    • 🐞 修复 List 默认分页位置错误的问题。#49925 @ coding-ice
    • 🐞 修复 Image 预览操作栏两侧空白区域被点击时,无法关闭预览的问题。#49915 @ wanpan11
    • 🐞 修复 Card 圆角对 cover 属性中的非 img 元素不生效的问题。#49862 @ coding-ice
    • 💄 修复 Dropdown 菜单内容在视口边缘换行的问题。#49899
    • 💄 修复 Descriptions 子项之间可能没有边距的问题。#49895 @ crazyair
    • ⌨️ 优化 Select 多选模式下长按回车会不断触发变更的问题。#49963 @ crazyair
    • 🇪🇬 添加阿拉伯文(埃及) (ar_EG) 的翻译。#49852 @ ahmedsamirdev
    • TypeScript
      • 🤖 复用 Tooltips 的定义以简化 ColorPicker 的类型声明。#49949 @ Wxh16144
  • 5.19.2 - 2024-07-15
    • 🐞 Fix List render 0 when actions={[]}. #49842 @ int64ago
    • 🐞 Fix Upload with dragging upload, the fileList in beforeUpload is not fully filled. #49832 @ coderz-w
    • Descriptions
    • 🐞 Fix Spin style issue when use percent and size at same time. #49876
    • 🇮🇳 Fill DatePicker kn_IN missing locales. #49860 @ neerajap-01
    • Typescript
      • 🐞 Fix Tree icon and switcherIcon parameter types not being correctly inferred. #49821
      • 🐞 Revert Cascader multiple definition case value definition missing. #49741 @ YangZhi1

    • 🐞 修复 List actions 为空数组时会渲染 0 的问题。#49842 @ int64ago
    • 🐞 修复 Upload 拖拽上传文件夹时,beforeUpload fileList 不完整的问题。#49832 @ coderz-w
    • Descriptions
      • 🐞 修复 Descriptions 在内容过长时会遮盖后面内容的问题。#49803 @ coding-ice
      • 🐞 修复 Descriptions 在 Table expandedRowRender 中渲染样式异常的问题。#49727 @ ljw-codeking
    • 🐞 修复 Spin percentsize 一同使用时,样式不正确的问题。#49876
    • 🇮🇳 补充 DatePicker 的 kn_IN 本地化文案。#49860 @ neerajap-01
    • Typescript
      • 🐞 修复 Tree iconswitcherIcon 参数类型未能正确推导的问题。#49821
      • 🐞 回滚 Cascader multiple 定义更新导致 value 定义丢失的问题。#49741 @ YangZhi1
  • 5.19.1 - 2024-07-05
    • 🐞 Global: @ ant-design/colors use pre-compiled color presets to improve runtime performance. #49714 @ guoyunhe
    • 🐞 Global: No more limit max auto zIndex increase but use warning instead. #49720
    • 🐞 Adjust position of Input.TextArea to be consistent with other data entry components. #49718 @ wanpan11
    • 🐞 Fix Input variant filled activeBorderColor token invalid. #49699 @ wanpan11
    • TypeScript

    • 🐞 Global: @ ant-design/colors 使用预编译颜色预设来提升运行时性能。#49714 @ guoyunhe
    • 🐞 Global: 对于弹层类自动增长 zIndex 不再限制最大值,而是改成控制台警告。#49720
    • 🐞 优化 Input.TextArea 清除图标的位置,与其他输入组件统一。#49718 @ wanpan11
    • 🐞 修复 Input 组件 filled 变体下 activeBorderColor 不生效问题。#49699 @ wanpan11
    • TypeScript
  • 5.19.0 - 2024-07-01
    • 🆕 ConfigProvider now supports global configuration for variant. #49535 @ MadCcc
    • QRCode
    • 🆕 Select component's filterSort property now includes searchValue parameter. #49352 @ MadCcc
    • 🆕 Pagination adds simple property, supports read-only mode, and introduces align property. #49562 @ coding-ice
    • 🐞 Enhanced Anchor's affix property for more configuration options. #49295 @ gin-lsl
    • DatePicker
      • 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with placement set to topRight or bottomRight.#49333
      • 🐞 Fixed missing accessible text for DatePicker switch button, style issue in RTL mode for DatePicker.RangePicker, and crash when entering wrong end value in year selection of DatePicker.RangePicker.#49333
      • 🐞 Fixed DatePicker.RangePicker resetting selected dates when entering dates via keyboard. #49333
    • 🐞 Button fixed disabled property not working when used as Dropdown trigger. #47363
    • 🐞 InputNumber now warns when using type=number with changeOnWheel. #49648 @ wanpan11
    • Table
      • 🐞 Table fixed issue with locale.emptyText showing default value when set to a non-undefined value. #49599 @照明胧
      • 🐞 Fixed Table filter panel not working after customizing global Empty style. #49548 @ duqigit
    • 🐞 Upload fixed rendering performance issue when listing many files in list mode. #49598 @ tlkv
    • 💄 Added initial styles for SubMenu node in Menu. #49643 @ wanpan11
    • 💄 Improved active style for Slider handle. #49630
    • 💄 Optimized variant=borderless style for DatePicker, TimePicker, Select, TreeSelect, Input, InputNumber, Mentions, now distinguishable when setting status property. #49608
    • 🐞 Fixed Typography ellipsis not working when parent has nowrap style. #49667
    • TypeScript:
      • 🤖 ConfigProvider Improved TypeScript definition for renderEmpty method. #49602 @ Wxh16144
    • 🌐 Locales
      • 🇹🇭 Added missing Thai translations for Transfer.deselectAll, Text.collapse, QRCode.scanned, ColorPicker.presetEmpty. #49588 by @ Tantatorn-dev
      • 🇳🇱 Fixed nl_NL localization issues for Tour. #49612 by @ Hannnnnnnnnnnnnnnn
      • 🇹🇷 Adjusted Turkish language text for DatePicker. #49333

    • 🆕 ConfigProvider 现支持全局配置 variant#49535 @ MadCcc
    • 🆕 QRCode
    • 🆕 Select 组件的 filterSort 属性现新增获取 searchValue 的参数。#49352 @ MadCcc
    • 🆕 Pagination 支持 simple={{ readOnly }} 属性和 align 属性。#49562 @ coding-ice
    • 💄 优化了 Slider 滑块的激活样式。#49630
    • 🐞 增强了 Anchor 的 affix 属性,支持更多配置项。#49295 @ gin-lsl
    • DatePicker
      • 🐞 修复了 DatePicker/TimePicker 的 RangePicker 在 placement 设置为 topRightbottomRight 时箭头丢失的问题。#49333
      • 🐞 修复了 DatePicker 切换按钮缺失可访问性文本的问题,修复了 DatePicker.RangePicker 在 RTL 模式下的样式问题。#49333
      • 🐞 修复了 DatePicker.RangePicker 年选择器输入结束值错误导致报错的问题。#49333
      • 🐞 修复了 DatePicker.RangePicker 键盘输入日期时已选日期重置的问题。#49333
    • 🐞 Button 修复了用作 Dropdown triggerdisabled 属性不生效的问题。#47363
    • 🐞 InputNumber 在同时使用 type=numberchangeOnWheel 时现在会给出警告提示。#49648 @ wanpan11
    • 🐞 修复 Dropdown 次级菜单 reset 样式丢失的问题。#49643 @ wanpan11
    • 💄 优化了 DatePicker、TimePicker、Select、TreeSelect、Input、InputNumber、Mentions 的 variant="borderless" 样式,现在在设置 status 属性时也能够被区分。#49608
    • Table
      • 🐞 Table 修复了 locale.emptyText 设置为非 undefined 值时仍会显示默认值的问题。#49599 @照明胧
      • 🐞 Table 自定义全局组件的 Empty 样式后,Table的过滤面板没生效的问题。#49548 @ duqigit
    • 🐞 Upload 修复了在列表模式下文件过多时出现的渲染性能问题。#49598 @ tlkv
    • 🐞 Typography 修复在父元素存在 nowrap 样式时,ellipsis 不生效的问题。#49667
    • TypeScript:
      • 🤖 ConfigProvider 改进了 renderEmpty 方法的 TypeScript 类型定义。#49602 @ Wxh16144
    • 🌐 国际化
      • 🇹🇭 添加了缺失的泰语翻译,包括 Transfer.deselectAllText.collapseQRCode.scannedColorPicker.presetEmpty#49588 @ Tantatorn-dev
      • 🇳🇱 Tour 修复了 nl_NL 本地化问题。#49612 @ Hannnnnnnnnnnnnnnn
      • 🇹🇷 调整了 DatePicker 的土耳其语言文案。#49333
  • 5.18.3 - 2024-06-19

    • 🐞 回滚 #49289 以修复 5.18.2 引入的 Table 排序状态失效的问题。#49487
    • 🛠 将样式处理的部分功能迁移到 @ ant-design/cssinjs 中。#49463 @ YumoImer
    • 🇳🇵 补充 ne_NP 本地化文案。#49492 @ FuliangZhang
  • 5.18.2 - 2024-06-17
    • 🐞 Fix the bug where the icon and the text aren't strictly centered in message. #49429 @ nova1751
    • 🐞 Fix Table sorter argument of onChange with unexpected value for #49134. #49289 @ Zyf665
    • 🐞 Add aria-label for expand icon in Collapse. #49395 @ wanpan11
    • 🐞 Fix token inputFontSizeSM and inputFontSizeLG not working in InputNumber. #49369
    • 💄 Fix Empty sometimes doesn't take colorTextDescription as description text color. #49408
    • 💄 Resolve Badge processing status style conflict with Tailwind CSS. #49379
    • 🌐 Locales

    • 🐞 修复了 message 图标与文本内容没有严格居中对齐的问题。#49429 @ nova1751
    • 🐞 修复 #49134 #49289 中提到的 Table 组件的 onChange 事件中排序器参数的问题。@ Zyf665
    • 🐞 为 Collapse 组件中展开/折叠图标 添加具有语义的 aria-label 属性值。#49395 @ wanpan11
    • 🐞 修复 InputNumber 组件中 token inputFontSizeSMinputFontSizeLG 不生效的问题。#49369
    • 💄 修复 Empty 部分样式下,描述的 colorTextDescription 不生效的问题。#49408
    • 💄 解决 Badge processing 与 Tailwind CSS 样式冲突的问题。#49379
    • 🌐 国际化
  • 5.18.1 - 2024-06-12
  • 5.18.0 - 2024-06-03
  • 5.17.4 - 2024-05-27
  • 5.17.3 - 2024-05-19
  • 5.17.2 - 2024-05-14
  • 5.17.1 - 2024-05-14
  • 5.17.0 - 2024-05-02
  • 5.16.5 - 2024-04-28
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.

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 antd from 5.16.5 to 5.19.4.

See this package in npm:
antd

See this project in Snyk:
https://app.snyk.io/org/ramzimalhas/project/7f3a87cb-be3a-401e-852d-28504beea122?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

height bot commented Aug 21, 2024

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

Copy link

Changes made by this pull request:

examples/customization-sider/package.json
Updated the version of the "antd" package from "5.16.5" to "5.19.4" in the package.json file.

Copy link

coderabbitai bot commented Aug 21, 2024

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

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