[Snyk] Upgrade antd from 5.16.5 to 5.17.4 #117
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade antd from 5.16.5 to 5.17.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 5 versions ahead of your current version.
The recommended version was released on 24 days ago.
Release notes
Package name: antd
-
5.17.4 - 2024-05-27
- 🐞 Fix Modal with
- 🐞 Fix Carousel was warned about having non-standard DOM attributes by React. #49031
- 🐞 Fix Form prop of
- TypeScript
- 🤖 Fix Modal missing
- 🤖 Enhance Spin component TypeScript definitions and documentation. #49036 @ arvinxx
- 🤖 Enhance Checkbox.Group TypeScript generic limitation. #49073
- 🐞 修复 Modal 的
- 🐞 修复 Carousel 会被提示存在非标准 dom 属性的问题。#49031
- 🐞 修复 Form 的
- TypeScript
- 🤖 修复 Modal
- 🤖 优化 Spin 的 TypeScript 定义并提供更详细的描述信息。#49036 @ arvinxx
- 🤖 优化 Checkbox.Group 的 TypeScript 类型约束。#49073
-
5.17.3 - 2024-05-19
- 🐞 MISC: Fix some components throws
- 🐞 Fix Button that
- 💄 Fix Pagination size-changer element style. #48931 @ wanpan11
- 🐞 杂项:修复部分组件在 React 18.3.0 下警告
- 🐞 修复 Button 字体大小 token 无效的问题。#48893 @ wanpan11
- 💄 修复 Pagination 组件跳转选择元素样式问题。#48931 @ wanpan11
-
5.17.2 - 2024-05-14
- 🐞 MISC: Fix
- 🐞 MISC: 修复
-
5.17.1 - 2024-05-14
- 🐞 Optimize the internal logic of the Form, fix the problem that antd takes too long time to build in Next.js. react-component/async-validator#9
- 🐞 Fix visually not centered when Tooltip content is only one character. #48890 @ kiner-tang
- Button
- 🐞 Fix hover and active styles not differentiating when Button
- Fix issue where some components throw findDOMNode warnings
- 🐞 Fix Button throwing
- 🐞 Fix Badge throwing
- 🐞 Fix Alert throwing
- 🐞 Fix FloatButton.BackTop throwing
- 💄 Add className to internal component Spin given by Drawer to prevent internal Spin styles from overriding user-passed Spin styles. #48857 @ li-jia-nan
- 💄 Fix missing bottom border when Card
- 🐞 Fix AutoComplete
- RTL
- 💄 Fix Button's missing icon order and margins under RTL. #48821
- TypeScript
- 🤖 Fix Cascader redundant generalization issue. #48879 @ crazyair
- 🐞 优化 Form 组件底层逻辑,修复了 antd 在 Next.js 中构建时间太长的问题。react-component/async-validator#9
- 🐞 修复 Tooltip 内容只有一个字符时视觉不居中的问题。#48890 @ kiner-tang
- Button
- 🐞 修复 Button
- 修复部分组件抛出 findDOMNode 警告的问题
- 🐞 修复 Button 抛出
- 🐞 修复 Badge 抛出
- 🐞 修复 Alert 抛出
- 🐞 修复 FloatButton.BackTop 抛出
- 💄 给 Drawer 的内部组件 Spin 添加 className,防止内部 Spin 样式覆盖用户传入的 Spin 样式。#48857 @ li-jia-nan
- 💄 修复 Card
- 🐞 AutoComplete 修复
- RTL
- 💄 修复 Button 在 RTL 下的图标顺序和边距缺失问题。#48821
- TypeScript
- 🤖 修复 Cascader 多余泛型问题。#48879 @ crazyair
-
5.17.0 - 2024-05-02
- 🔥🔥🔥
- 🆕 Carousel supports
- Form
- 🛠 Form move dependency from
- 🆕 Form add
- 🐞 Fix Form
- Typography
- 🆕 Typography.Paragraph could customize
- 🐞 Fix Typography
- DatePicker
- 🆕 DatePicker.RangePicker
- 🐞 Fix DatePicker hover value flickering issue when closing panel. #48734
- Drawer
- 🆕 Drawer supports
- 🐞 Fix Drawer
- Slider
- 🐞 Fix Slider tooltip cannot be hidden when
- 🐞 Slider tooltip should not display when
- Button
- 🆕 Button add
- 🆕 Button supports
- 🆕 ConfigProvider supports
- 🆕 TreeSelect supports
- 🆕 Tabs supports
- 🆕 Flex
- 🆕 Input.OTP supports
- 🆕 Alert supports
- 🆕 Upload supports
- 🐞 Fix List would not rerender when
- 🐞 Fix QRCode size cannot fit it's container and remove default padding of
- 🐞 Fix Table shadow should be show when there are columns where
- 🐞 Fix Progress tooltip wrong distance. #48686
- 📖 Table add column-drag sorting demo. #48434 @ GeorgeHcc
- TypeScript
- 🤖 Optimize Cascader typing. #48420 @ crazyair
- Locales
- 🇯🇵 Fix missing Japanese locale translation. #48704 @ edikurniawan-dev
- 🇮🇩 Fix missing Indonesian locale translation. #48703 @ edikurniawan-dev
- 🔥🔥🔥
- 🆕 Carousel 现在支持
- Form
- 🛠 Form 依赖的
- 🆕 Form 新增
- 🐞 修复 Form 下出现错误时无法滚动到 Upload 组件的问题。#48211 @ Wxh16144
- Typography
- 🆕 Typography.Paragraph 的编辑、复制按钮允许修改
- 🐞 修复 Typography 开启
- DatePicker
- 🆕 DatePicker.RangePicker
- 🐞 修复 DatePicker 关闭时回填 hover 值闪烁的问题。#48734
- Drawer
- 🆕 Drawer 新增
- 🐞 修复 Drawer 不支持
- Slider
- 🐞 修复 Slider
- 🐞 修复 Slider
- Button
- 🆕 Button 新增
- 🆕 Button 组件支持
- 🆕 ConfigProvider 组件支持
- 🆕 TreeSelect 支持
- 🆕 Tabs 新增
- 🆕 Flex 组件
- 🆕 Input.OTP 组件支持
- 🆕 Alert 组件支持
- 🆕 Upload 组件
- 🐞 修复 List
- 🐞 修复 Progress tooltip 提示距离太近的问题。#48686
- 🐞 修复 QRCode 无法自适应容器大小的问题并移除
- 🐞 修复 Table 组件设置
- 📖 添加 Table 表格列拖拽排序演示。#48434 @ GeorgeHcc
- TypeScript
- 🤖 优化 Cascader 属性定义。#48420 @ crazyair
- 本地化
- 🇯🇵 补充日语本地化文案。#48704 @ edikurniawan-dev
- 🇮🇩 补充印尼语本地化文案。#48703 @ edikurniawan-dev
-
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
- 💄 Fix Collapse bottom border issue. #48561 @ hamzaseif13
- 💄 Adjust Input border style in form validation when disabled. #48616 @ nova1751
- TypeScript
- 🤖 Add missing generic type of Upload prop. #48614 @ li-jia-nan
- 🤖 Fix missing generic type of Upload
- 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
- 🤖 补充 Upload 组件缺失的泛型。#48614 @ li-jia-nan
- 🤖 修复 Upload
- 国际化
- 🇪🇸 为 DatePicker 补充 西班牙语 多语言。#48601 @ JMMOLLER
- 🇩🇪 为 DatePicker 补充 德语 多语言。#48586 @ sebhs
from antd GitHub release notesconfirmwould not close correctly when returningtrueinonOkoronCancel. #49054 @ wanpan11scrollToFirstErrornot working for InputNumber. #48989 @ Wxh16144styles.wrappertype. #49055confirm在onOk或onCancel中返回true时,窗体不会正确关闭的问题。#49054 @ wanpan11scrollToFirstError对 InputNumber 无效的问题。#48989 @ Wxh16144styles.wrapperTS 定义丢失的问题。#49055findDOMNodewarning in React 18.3.0. #48958fontSizetoken not works. #48893 @ wanpan11findDOMNode的问题。#48958libbundle mistake deps on theesmodule which break the build progress. #48914lib产物错误引入es依赖导致构建错误的问题。#48914type="text"andtype="danger"are used together. #48876 @ LonelySnowmanfindDOMNodewarning. #48830 @ wanpan11findDOMNodewarnings. #48878 @ wanpan11findDOMNodewarnings. #48868 @ wanpan11findDOMNodewarnings. #48865 @ wanpan11size="small". #48787 @ wanpan11tagRendernot working for maxTag and clicking on an edge triggering unexpected closure of the layer. #48798type="text"和type="danger"同时使用时 hover 和 active 样式没有区分的问题。#48876 @ LonelySnowmanfindDOMNode警告的问题。#48830 @ wanpan11findDOMNode警告的问题。#48878 @ wanpan11findDOMNode警告的问题。#48868 @ wanpan11findDOMNode警告的问题。#48865 @ wanpan11size="small"时下边框丢失的问题。#48787 @ wanpan11tagRender对 maxTag 无效的问题和点击边缘会触发弹层意外关闭的问题。#48798@ ant-design/cssinjsStyleProvider supports configuringlayerto 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. #48229arrowsto switching between slides now. #48542async-validatorto@ rc-component/async-validator, fix a bug thattransformdon't check it's return value type. #48486 @ crazyairinlineMargintoken. #48362 @ CooperHashscrollToFirstErrorcannot work on Upload. #48211 @ Wxh16144tabIndexprop for editable and copyable buttons. #48567 @ nova1751editablewill trigger focus unexpectedly on mounting. #48741showTime.disabledTimesupportsinfo.fromfor customize time level limitation. #48625loadingprop now. #48563 @ EnigamaclassNames.wrappernot working. #48721 @ replygirltooltip={{ formatter: null }}. #48673 @ wanpan11tooltip={{ open: false }}. #48708iconPositionprop to specify icon position. #47791 @ GeorgeHccautoInsertSpaceprop. #48348 @ li-jia-nanbutton.autoInsertSpaceprop and deprecatedautoInsertSpaceInButtonprop. #48348 @ li-jia-nanonPopScrollprop now. #48636 @ wanpan11more={{ .. }}to customize more dropdown. #48321 @ CooperHashwrapcould be boolean type now. #48391 @ li-jia-nanmaskprop. #48257 @ li-jia-nanidandrefprops. #48336 @ li-jia-nanref.nativeElenent. #48210 @ Wxh16144gridchanged. #48683 @ coderz-wbordered={false}. #48194 @ thinkasanyfixed={false}. #1113 @ linxianxi@ ant-design/cssinjsStyleProvider 支持配置layer统一降级 默认 CSS 优先级。经过降权后,antd 的样式将始终低于默认的 CSS 选择器优先级,以便于用户进行样式覆盖(请务必注意检查 @ layer 浏览器兼容性),详情可见文档。#48229arrows来开启箭头切换功能。#48542async-validator替换为@ rc-component/async-validator,并修复transform没有自动检测返回值类型的问题。#48486 @ crazyairinlineMargintoken。#48362 @ CooperHashtableIndex。#48567 @ nova1751editable时会意外触发 focus 行为的问题。#48741showTime.disabledTime支持info.from以供时间维度的自定义限制能力。#48625loading属性。#48563 @ EnigamaclassNames.wrapper的问题。#48721 @ replygirltooltip={{ open: false }}时提示框未正确隐藏的问题。#48708tooltip={{ formatter: null }}无法隐藏 Tooltip 的问题。#48673 @ wanpan11iconPosition以指定预置图标位置。#47791 @ GeorgeHccautoInsertSpace属性,用来移除两个汉字之间的空格。#48348 @ li-jia-nanbutton.autoInsertSpace属性并废弃autoInsertSpaceInButton属性。#48348 @ li-jia-nanonPopScroll属性。#48636 @ wanpan11more={{ ... }}属性以支持自定义下拉菜单的属性。#48321 @ CooperHashwrap参数支持 boolean 类型。#48391 @ li-jia-nanmask属性,以自定义遮罩字符。#48257 @ li-jia-nanid和ref属性。#48336 @ li-jia-nanref.nativeElenent以支持访问原生元素。#48210 @ Wxh16144grid属性值更新后组件未重新渲染的问题。#48683 @ coderz-wbordered={false}时的默认边距。#48194 @ thinkasanyfixed={false}时的某些特殊情况下未正常显示投影的问题。#1113 @ linxianxiundefined. #48584 @ MadCcccustomRequestprop. #48612 @ jas0ncncustomRequest参数丢失泛型的问题。#48612 @ jas0ncnImportant
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: