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.3.2 to 5.17.0 #192

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

Conversation

nvmitsme
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade antd from 5.3.2 to 5.17.0.

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

  • The recommended version was released on 22 days ago.

Release notes
Package name: antd
  • 5.17.0 - 2024-05-02
    • 🔥🔥🔥 @ ant-design/cssinjs StyleProvider supports configuring layer to unified downgrade CSS priority. After the downgrade, the style of antd will always be lower than the default CSS selector priority, so that users can override the style (please be sure to check the browser compatibility of @ layer), see full documentation for usage. #48229
    • 🆕 Carousel supports arrows to switching between slides now. #48542
    • Form
      • 🛠 Form move dependency from async-validator to @ rc-component/async-validator, fix a bug that transform don't check it's return value type. #48486 @ crazyair
      • 🆕 Form add inlineMargin token. #48362 @ CooperHash
      • 🐞 Fix Form scrollToFirstError cannot work on Upload. #48211 @ Wxh16144
    • Typography
      • 🆕 Typography.Paragraph could customize tabIndex prop for editable and copyable buttons. #48567 @ nova1751
      • 🐞 Fix Typography editable will trigger focus unexpectedly on mounting. #48741
    • DatePicker
      • 🆕 DatePicker.RangePicker showTime.disabledTime supports info.from for customize time level limitation. #48625
      • 🐞 Fix DatePicker hover value flickering issue when closing panel. #48734
    • Drawer
    • Slider
      • 🐞 Fix Slider tooltip cannot be hidden when tooltip={{ formatter: null }}. #48673 @ wanpan11
      • 🐞 Slider tooltip should not display when tooltip={{ open: false }}. #48708
    • Button
    • 🆕 ConfigProvider supports button.autoInsertSpace prop and deprecated autoInsertSpaceInButton prop. #48348 @ li-jia-nan
    • 🆕 TreeSelect supports onPopScroll prop now. #48636 @ wanpan11
    • 🆕 Tabs supports more={{ .. }} to customize more dropdown. #48321 @ CooperHash
    • 🆕 Flex wrap could be boolean type now. #48391 @ li-jia-nan
    • 🆕 Input.OTP supports mask prop. #48257 @ li-jia-nan
    • 🆕 Alert supports id and ref props. #48336 @ li-jia-nan
    • 🆕 Upload supports ref.nativeElenent. #48210 @ Wxh16144
    • 🐞 Fix List would not rerender when grid changed. #48683 @ coderz-w
    • 🐞 Fix QRCode size cannot fit it's container and remove default padding of bordered={false}. #48194 @ thinkasany
    • 🐞 Fix Table shadow should be show when there are columns where fixed={false}. #1113 @ linxianxi
    • 🐞 Fix Progress tooltip wrong distance. #48686
    • 📖 Table add column-drag sorting demo. #48434 @ GeorgeHcc
    • TypeScript
    • Locales

    • 🔥🔥🔥 @ ant-design/cssinjs StyleProvider 支持配置 layer 统一降级 默认 CSS 优先级。经过降权后,antd 的样式将始终低于默认的 CSS 选择器优先级,以便于用户进行样式覆盖(请务必注意检查 @ layer 浏览器兼容性),详情可见文档#48229
    • 🆕 Carousel 现在支持 arrows 来开启箭头切换功能。#48542
    • Form
      • 🛠 Form 依赖的 async-validator 替换为 @ rc-component/async-validator,并修复 transform 没有自动检测返回值类型的问题。#48486 @ crazyair
      • 🆕 Form 新增 inlineMargin token。#48362 @ CooperHash
      • 🐞 修复 Form 下出现错误时无法滚动到 Upload 组件的问题。#48211 @ Wxh16144
    • Typography
      • 🆕 Typography.Paragraph 的编辑、复制按钮允许修改 tableIndex#48567 @ nova1751
      • 🐞 修复 Typography 开启 editable 时会意外触发 focus 行为的问题。#48741
    • DatePicker
      • 🆕 DatePicker.RangePicker showTime.disabledTime 支持 info.from 以供时间维度的自定义限制能力。#48625
      • 🐞 修复 DatePicker 关闭时回填 hover 值闪烁的问题。#48734
    • Drawer
    • Slider
      • 🐞 修复 Slider tooltip={{ open: false }} 时提示框未正确隐藏的问题。#48708
      • 🐞 修复 Slider tooltip={{ formatter: null }} 无法隐藏 Tooltip 的问题。#48673 @ wanpan11
    • Button
      • 🆕 Button 新增 iconPosition 以指定预置图标位置。#47791 @ GeorgeHcc
      • 🆕 Button 组件支持 autoInsertSpace 属性,用来移除两个汉字之间的空格。#48348 @ li-jia-nan
    • 🆕 ConfigProvider 组件支持 button.autoInsertSpace 属性并废弃 autoInsertSpaceInButton 属性。#48348 @ li-jia-nan
    • 🆕 TreeSelect 支持 onPopScroll 属性。#48636 @ wanpan11
    • 🆕 Tabs 新增 more={{ ... }} 属性以支持自定义下拉菜单的属性。#48321 @ CooperHash
    • 🆕 Flex 组件 wrap 参数支持 boolean 类型。#48391 @ li-jia-nan
    • 🆕 Input.OTP 组件支持 mask 属性,以自定义遮罩字符。#48257 @ li-jia-nan
    • 🆕 Alert 组件支持 idref 属性。#48336 @ li-jia-nan
    • 🆕 Upload 组件 ref.nativeElenent 以支持访问原生元素。#48210 @ Wxh16144
    • 🐞 修复 List grid 属性值更新后组件未重新渲染的问题。#48683 @ coderz-w
    • 🐞 修复 Progress tooltip 提示距离太近的问题。#48686
    • 🐞 修复 QRCode 无法自适应容器大小的问题并移除 bordered={false} 时的默认边距。#48194 @ thinkasany
    • 🐞 修复 Table 组件设置 fixed={false} 时的某些特殊情况下未正常显示投影的问题。#1113 @ linxianxi
    • 📖 添加 Table 表格列拖拽排序演示。#48434 @ GeorgeHcc
    • TypeScript
    • 本地化
  • 5.16.5 - 2024-04-28
    • 🐞 Fix Transfer component issue when trying to select item from the right column while it has "unknown-key" within targetKeys. #48664 @ andreyk1512
    • 🐞 Fix Steps custom icon not vertically centered error. #48650 @ ZinkWu
    • 🐞 Fix Badge number centered but slightly right-aligned. #48605 @ akinocccc
    • 🐞 Fix Popover and Popconfirm blinking when open on the right edge of screen. #48591
    • 🐞 Fix ColorPicker that cleared icon should change when initial value is undefined. #48584 @ MadCcc
    • 💄 Fix Collapse bottom border issue. #48561 @ hamzaseif13
    • 💄 Adjust Input border style in form validation when disabled. #48616 @ nova1751
    • TypeScript
    • Locales
      • 🇪🇸 Added missing es_ES translations for DatePicker component. #48601 @ JMMOLLER
      • 🇩🇪 Added missing german translations for DatePicker component. #48586 @ sebhs

    • 🐞 修复 Transfer 组件在 targetKeys 中含有 "unknown-key" 时,尝试从右侧列选中单项的问题。#48664 @ andreyk1512
    • 🐞 修复 Steps 自定义图标未垂直居中问题。#48650 @ ZinkWu
    • 🐞 修复 Badge 数字居中偏右的问题。#48605 @ akinocccc
    • 🐞 修复 Popover 和 Popconfirm 在屏幕右侧边缘闪烁的问题。#48591
    • 🐞 修复 ColorPicker 在初始未受控时清除图标不会改变的问题。#48584 @ MadCcc
    • 💄 修复 Collapse 组件底部边框样式问题。#48561 @ hamzaseif13
    • 💄 调整 Input 组件在禁用的时候在表单校验时的边框颜色。#48616 @ nova1751
    • TypeScript
    • 国际化
  • 5.16.4 - 2024-04-22
    • 🐞 Fix Select with multiple and paddingXXS=0 will break the height align of controlHeight token. #48574
    • 🐞 Fix Upload miss style when enable CSS Variable. #48569 @ nova1751
    • 🐞 Fix Slider in range tooltip blink when drag the handle over another one. #48536
    • Input
      • 🐞 Fix the text of the button is not the large size when Input.Search is set to a large size. #48527
      • 🐞 Fix abnormal text display in Input.TextArea. #48489 @ korkt-kim
    • 🐞 Fix the stuck animation effect of the Upload component image. #48522 @ nova1751
    • 🐞 Fix the issue where the Switch component using checkedChildren and unCheckedChildren did not add a default height. #48513 @ wanpan11
    • 🐞 Fix the warning reminder when Form.Item uses noStyle with no value. #48508
    • 🐞 Fix Popover defaultOpen setting failed. #48481 @ linhf123
    • 🐞 Fix where placeholder is not displayed when DatePicker is configured with multiple. #48387 @ nova1751
    • 🐞 Fix where ColorPicker clear color could not be changed when controlled in strict mode. #48450
    • 💄 Fix the arrow style issue when Collapse uses third-party icons. #48417 @ guoyunhe
    • 💄 Optimize the animation effect of the embedded Menu Sider when it is expanded. #48127 @ metouch
    • 💄 Optimize Steps process style. #48464
    • Locales

    • 🐞 修复 Select 配置 paddingXXS=0 时,多选下超出设定的 controlHeight token 的问题。#48574
    • 🐞 修复 Upload 在开启 CSS Variable 时样式丢失的问题。#48569 @ nova1751
    • 🐞 修复 Slider 在范围选择下,拖动滑块越过另一个滑块时提示框闪动的问题。#48536
    • Input
      • 🐞 修复 Input.Search 设置大尺寸时,按钮的文字不是大尺寸的问题。#48527
      • 🐞 修复 Input.TextArea 的文字显示异常问题。#48489 @ korkt-kim
    • 🐞 修复 Upload 组件图片卡顿的动画效果。#48522 @ nova1751
    • 🐞 修复 Switch 组件使用 checkedChildren unCheckedChildren 未添加默认高度的问题。#48513 @ wanpan11
    • 🐞 修复 Form.Item 使用 noStyle 无值时的警告提醒。#48508
    • 🐞 修复 Popover defaultOpen 设置失效的问题。#48481 @ linhf123
    • 🐞 修复 DatePicker 配置 multipleplaceholder 不展示的问题。#48387 @ nova1751
    • 🐞 修复 ColorPicker 在严格模式下受控时清除颜色无法改变的问题。#48450
    • 💄 修复 Collapse 使用第三方图标时的 arrow 样式问题。#48417 @ guoyunhe
    • 💄 优化内嵌 Menu 的 Sider 在展开时的动画效果。#48127 @ metouch
    • 💄 优化 Steps process 样式。#48464
    • 国际化
  • 5.16.3 - 2024-04-21
    • 🛠 Script failed to publish an empty package. Do not use this version.

    • 🛠 脚本错误发布空包,请勿使用。
  • 5.16.2 - 2024-04-15
    • 🐞 Fix Input.OTP controlled value to '' not work as expect. #48399
    • 🐞 Fix DatePicker of multiple with week picker not show the selection on the panel. #48355
    • 🐞 Fix Upload listType with picture-card or picture-circle has additional space on top. #48370
    • Typography
      • 🐞 Fix Typography dynamic set copyable or editable will not show the operation button. #48350
      • 🐞 Fix Typography dynamic update copyable.text not working. #48347
      • 🐞 Fix Typography using ellipsis config with expandable="collapsible" and row={1} at both time will make ellipsis not working as expect. #48340
    • 💄 Fix Steps in compact theme not show the correct progress style. #48251
    • 💄 Refactor Tabs and wave-related components CSS duration values with motionDurationSlow Component Token. #48311 #48312 @ li-jia-nan
    • 🇯🇵 Add Transfer missing ja_JP translations. #48411 @ Inshiku-Han
    • 🌐 Fix Picker ja-JP and ko-KR translations. #48382 @ li-jia-nan
    • 🛠 Use constant instead of enumeration to reduce package size. #48406 @ kiner-tang

    • 🐞 修复 Input.OTP 组件受控设置 value'' 时不生效的问题。#48399
    • 🐞 修复 DatePicker 对周选择器配置 multiple 多选时,弹出面板不会正确高亮选中项的问题。#48355
    • 🐞 修复 Upload 配置 listTypepicture-cardpicture-circle 时,上方有额外空隙的问题。#48370
    • Typography
      • 🐞 修复 Typography 动态配置 copyableeditable 时不会显示操作按钮的问题。#48350
      • 🐞 修复 Typography 动态调整 copyable.text 不生效的问题。#48347
      • 🐞 修复 Typography 的 ellipsis 同时配置 expandable="collapsible"row={1} 时,不会正确省略的问题。#48340
    • 💄 修复 Steps 的进度样式在紧凑模式下不正确的问题。#48251
    • 💄 重构 Tabs 和波纹样式相关组件的 CSS 过渡时间值,替换为 motionDurationSlow Component Token。#48311 #48312 @ li-jia-nan
    • 🇯🇵 补充 Transfer 的 ja_JP 本地化文案。#48411 @ Inshiku-Han
    • 🌐 修复 Picker 的 ja_JP 和 ko_KR 本地化文案。#48382 @ li-jia-nan
    • 🛠 使用常量替代枚举减小包体积。#48406 @ kiner-tang
  • 5.16.1 - 2024-04-05
    • 🛠 Adjust Typography ellipsis logic to use CSS ellipsis in SSR to enhance user experience. #48205
    • 🐞 Fix FloatButton config tooltip and badge at same time will make badge customize background not working. #48198 @ LonelySnowman

    • 🛠 调整 Typography 的 ellipsis 使其在 SSR 阶段使用 CSS 省略以优化用户体验。#48205
    • 🐞 修复 FloatButton 中同时配置 tooltipbadge 时, badge 的自定义背景色会失效的问题。#48198 @ LonelySnowman
  • 5.16.0 - 2024-03-31
    • 🔥 New component Input.OTP support. #48076
    • 🆕 Tag support aria-* in closable. #47678 @ kiner-tang
    • 🆕 Table add rowHoverable to control hover effect. #48112 @ madocto
    • 🆕 Typography support async copy. #48123 @ crazyair
    • 🆕 Progress support steps with circle. #47940 @ yykoypj
    • 🆕 Table support onScroll event for table body scroll. #47986
    • 🆕 Typography ellipsis supports expand and collapse. #47264 @ crazyair
    • 🆕 ConfigProvider support configuring FloatButton.Group closeIcon. #47953 @ li-jia-nan
    • 🆕 Table support sorterTooltipTarget prop for sorters. #47409 @ Ke1sy
    • 🆕 Cascader support optionRender. #47727 @ crazyair
    • 🆕 Notification support aria-* in closable. #47710 @ kiner-tang
    • ⌨️ Popover can be closed by ESC when trigger is focus or click. #47928 @ CooperHash
    • 🐞 Fix Button that vertically center icons when icon-only. #48178 @ momesana
    • 🐞 Fix Modal.confirm content is not centered when icon is null. #48173
    • Form #48163 @ madocto
      • 🐞 1. Fix Form getValueProps shouldn't work when FormItem's name doesn't exist .
      • 🐞 2. Fix Form's setFieldsValue should tread same as setFields.
    • 🐞 Fixe Table that internationalization of table columns fails when searching. #48126 @ LingJinT
    • 🐞 Fix Upload that onChange should be triggered when fileList.length is larger than maxCount. #47747 @ Zhou-Bill
    • 🐞 Fix Carousel several bugs by upgrading react-slick changes and renewing TS type. #48093
    • 🐞 Fix ColorPicker that displayed cleared color not change after value changed. #47816 @ MadCcc
    • 🐞 Make Badge consistent with Tag that applay colorInfo token in processing. #47695 @ pfdgithub
    • 🌐 Add missing form translations in is_IS. #48104 @ LonelySnowman
    • 🌐 Add Uzbek(latn) locale. #47899
    • TypeScript
      • 🤖 Improve Transfer's key type, change key: string to key: React.Key. #47879 @ madocto
      • 🤖 Table support for generic pairs dataIndex props verification . @ crazyair

    • 🔥 新增 Input.OTP 组件。#48076
    • 🆕 Tag 组件支持在 closable 中配置 aria 属性。#47678 @ kiner-tang
    • 🆕 Table 增加 rowHoverable 开启或关闭 hover 效果。#48112 @ madocto
    • 🆕 Typography 组件支持异步复制。#48123 @ crazyair
    • 🆕 Progress 组件 circle 模式下支持 steps#47940 @ yykoypj
    • 🆕 Table 支持 onScroll 事件用于监听表单内容滚动。#47986
    • 🆕 Typography 省略支持展开和收起。#47264 @ crazyair
    • 🆕 ConfigProvider 支持配置 FloatButton.Group 的 closeIcon 属性。#47953 @ li-jia-nan
    • 🆕 Table 支持配置排序的 sorterTooltipTarget 属性.#47409 @ Ke1sy
    • 🆕 Cascader 支持 optionRender#47727 @ crazyair
    • 🆕 Notification 组件支持在 closable 中配置 aria-*。#47710 @ kiner-tang
    • ⌨️ Popover 当 triggerfocusclick 时能被 ESC 按键所关闭。#47928 @ CooperHash
    • 🐞 修复 Button 图标位置居中问题。#48178 @ momesana
    • 🐞 修复 Modal.confirm 无图标时内容不居中的问题。#48173
    • Form #48163 @ madocto
      • 🐞 1. 修复 Form 当 FormItem 的 name 不存在时,getValueProps 不应该执行。
      • 🐞 2. 修复 Form 的 setFieldsValuesetFields 的行为应该相同。
    • 🐞 修复 Table 表格列在搜索情况下,国际化失效的问题。#48126 @ LingJinT
    • 🐞 修复 Upload 当文件数量超出限制时,删除不起作用,无法触发 onChange 的问题。#47747 @ Zhou-Bill
    • 🐞 Carousel 组件同步上游 react-slick 改动,修复一系列问题,并更新到最新 TS 定义。#48093
    • 🐞 修复 ColorPicker 展示的清除颜色在受控 value 变化后不会改变的问题。#47816 @ MadCcc
    • 🐞 Badge 与 Tag 组件保持一致,processing 状态使用 colorInfo token 。#47695 @ pfdgithub
    • 🌐 添加冰岛语缺失的 From 翻译。#48104 @ LonelySnowman
    • 🌐 添加乌兹别克语(拉丁字母) 国际化。#47899
    • TypeScript
      • 🤖 改进 Transfer 的key 类型,将 key: string 改为key: React.Key#47879 @ madocto
      • 🤖 Table 支持泛型对 dataIndex 属性校验。#48190 @ crazyair
  • 5.15.4 - 2024-03-25
  • 5.15.3 - 2024-03-16
  • 5.15.2 - 2024-03-11
  • 5.15.1 - 2024-03-06
  • 5.15.0 - 2024-03-02
  • 5.14.2 - 2024-02-23
  • 5.14.1 - 2024-02-13
  • 5.14.0 - 2024-02-03
  • 5.13.3 - 2024-01-28
  • 5.13.2 - 2024-01-19
  • 5.13.1 - 2024-01-15
  • 5.13.0 - 2024-01-13
  • 5.12.8 - 2024-01-05
  • 5.12.7 - 2024-01-02
  • 5.12.6 - 2023-12-30
  • 5.12.5 - 2023-12-22
  • 5.12.4 - 2023-12-19
  • 5.12.3 - 2023-12-18
  • 5.12.2 - 2023-12-11
  • 5.12.1 - 2023-12-04
  • 5.12.0 - 2023-12-04
  • 5.11.5 - 2023-11-27
  • 5.11.4 - 2023-11-24
  • 5.11.3 - 2023-11-22
  • 5.11.3-alpha.0 - 2023-11-22
  • 5.11.2 - 2023-11-17
  • 5.11.1 - 2023-11-09
  • 5.11.0 - 2023-11-03
  • 5.10.3 - 2023-10-30
  • 5.10.2 - 2023-10-20
  • 5.10.1 - 2023-10-15
  • 5.10.0 - 2023-10-10
  • 5.9.4 - 2023-09-28
  • 5.9.3 - 2023-09-25
  • 5.9.2 - 2023-09-19
  • 5.9.1 - 2023-09-15
  • 5.9.0 - 2023-09-08
  • 5.8.6 - 2023-09-02
  • 5.8.5 - 2023-08-28
  • 5.8.4 - 2023-08-18
  • 5.8.3 - 2023-08-11
  • 5.8.2 - 2023-08-04
  • 5.8.1 - 2023-08-02
  • 5.8.0 - 2023-08-01
  • 5.7.3 - 2023-07-24
  • 5.7.2 - 2023-07-20
  • 5.7.1 - 2023-07-19
  • 5.7.0 - 2023-07-11
  • 5.6.4 - 2023-07-03
  • 5.6.3 - 2023-06-25
  • 5.6.2 - 2023-06-19
  • 5.6.2-alpha.0 - 2023-06-15
  • 5.6.1 - 2023-06-07
  • 5.6.0 - 2023-06-06
  • 5.6.0-alpha.0 - 2023-05-22
  • 5.5.2 - 2023-05-30
  • 5.5.1 - 2023-05-22
  • 5.5.0 - 2023-05-15
  • 5.4.7 - 2023-05-06
  • 5.4.6 - 2023-04-26
  • 5.4.5 - 2023-04-23
  • 5.4.4 - 2023-04-20
  • 5.4.3 - 2023-04-19
  • 5.4.2 - 2023-04-11
  • 5.4.1 - 2023-04-11
  • 5.4.0 - 2023-04-03
  • 5.3.3 - 2023-03-28
  • 5.3.2 - 2023-03-20
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.3.2 to 5.17.0.

See this package in npm:
antd

See this project in Snyk:
https://app.snyk.io/org/linjiayi11/project/5c498f4d-1a32-4464-a10e-9025ad9647fb?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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants