[Snyk] Upgrade antd from 5.6.1 to 5.18.0 #5
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-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.6.1 to 5.18.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 64 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: antd
inline-block
toinline-flex
and simplifyiconPosition
implementation. #47318drawerRender
property to control render. #49125 @ crazyairlayout
property to toggle layout mode. #49119 @ crazyairref
property supports to access the native element. #48841 @ wanpan11clearOnDestroy
property to clear form data when destroy. #48921 @ crazyaironReset
andonClose
properties. #48936 @ kiner-tangimgInfo
from arguments oftoolbarRender
andimageRender
render functions. #48729 @ nova1751pauseOnHover
property to pause the timer. #49024 @ yociduoshowProgress
property to show the progress bar. #48353 @ yociduopercentPosition
property to control position for percent value. #48157 @ LonelySnowmansize
property supports object value. #48805 @ crazyairmax
property for replacemaxCount
、maxStyle
、maxPopoverPlacement
andmaxPopoverTrigger
properties. #49131 @ wanpan11loading
property to show the skeleton. #48848 @ li-jia-nankeyboard
property to ignore keyboard events. #49132 @ Wxh16144percent
to render as progress. #48657overflow: hidden
style to prevent setheight: 0
to hide the watermark case. #49130replace
property. #49136 @ mySkeycurrent
argument ofonClose
is wrong. #49124styles
andclassName
properties. #49154 @ wanpan11inline-block
切换为inline-flex
以修复图标和文字对齐问题,并简化了iconPosition
的实现。#47318drawerRender
属性以支持自定义渲染。#49125 @ crazyairlayout
属性以切换布局方式。#49119 @ crazyairref
属性支持获取原生节点。#48841 @ wanpan11clearOnDestroy
属性以在卸载时清空表单数据。#48921 @ crazyaironReset
和onClose
属性。#48936 @ kiner-tangtoolbarRender
和imageRender
渲染函数入参新增ImgInfo
信息。#48729 @ nova1751pauseOnHover
属性以暂停计时器。#49024 @ yociduoshowProgress
属性以显示进度条。#48353 @ yociduopercentPosition
属性用于控制数值位置。#48157 @ LonelySnowmansize
属性支持配置为对象值。#48805 @ crazyairmax
属性以替代maxCount
、maxStyle
、maxPopoverPlacement
和maxPopoverTrigger
。#49131 @ wanpan11loading
属性以展示加载中的状态。#48848 @ li-jia-nankeyboard
属性以支持禁用键盘事件。#49132 @ Wxh16144percent
属性以进度形态展示。#48657overflow: hidden
样式以防止通过设置height: 0
样式达到隐藏水印的效果。#49130replace
属性时滚动动画丢失的问题。#49136 @ mySkeyonClose
的current
参数错误的问题。#49124styles
及classNames
属性。#49154 @ wanpan11confirm
would not close correctly when returningtrue
inonOk
oronCancel
. #49054 @ wanpan11scrollToFirstError
not working for InputNumber. #48989 @ Wxh16144styles.wrapper
type. #49055confirm
在onOk
或onCancel
中返回true
时,窗体不会正确关闭的问题。#49054 @ wanpan11scrollToFirstError
对 InputNumber 无效的问题。#48989 @ Wxh16144styles.wrapper
TS 定义丢失的问题。#49055findDOMNode
warning in React 18.3.0. #48958fontSize
token not works. #48893 @ wanpan11findDOMNode
的问题。#48958lib
bundle mistake deps on thees
module which break the build progress. #48914lib
产物错误引入es
依赖导致构建错误的问题。#48914type="text"
andtype="danger"
are used together. #48876 @ LonelySnowmanfindDOMNode
warning. #48830 @ wanpan11findDOMNode
warnings. #48878 @ wanpan11findDOMNode
warnings. #48868 @ wanpan11findDOMNode
warnings. #48865 @ wanpan11size="small"
. #48787 @ wanpan11tagRender
not 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/cssinjs
StyleProvider supports configuringlayer
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. #48229arrows
to switching between slides now. #48542async-validator
to@ rc-component/async-validator
, fix a bug thattransform
don't check it's return value type. #48486 @ crazyairinlineMargin
token. #48362 @ CooperHashscrollToFirstError
cannot work on Upload. #48211 @ Wxh16144tabIndex
prop for editable and copyable buttons. #48567 @ nova1751editable
will trigger focus unexpectedly on mounting. #48741showTime.disabledTime
supportsinfo.from
for customize time level limitation. #48625loading
prop now. #48563 @ EnigamaclassNames.wrapper
not working. #48721 @ replygirltooltip={{ formatter: null }}
. #48673 @ wanpan11tooltip={{ open: false }}
. #48708iconPosition
prop to specify icon position. #47791 @ GeorgeHccautoInsertSpace
prop. #48348 @ li-jia-nanbutton.autoInsertSpace
prop and deprecatedautoInsertSpaceInButton
prop. #48348 @ li-jia-nanonPopScroll
prop now. #48636 @ wanpan11more={{ .. }}
to customize more dropdown. #48321 @ CooperHashwrap
could be boolean type now. #48391 @ li-jia-nanmask
prop. #48257 @ li-jia-nanid
andref
props. #48336 @ li-jia-nanref.nativeElenent
. #48210 @ Wxh16144grid
changed. #48683 @ coderz-wbordered={false}
. #48194 @ thinkasanyfixed={false}
. #1113 @ linxianxi@ ant-design/cssinjs
StyleProvider 支持配置layer
统一降级 默认 CSS 优先级。经过降权后,antd 的样式将始终低于默认的 CSS 选择器优先级,以便于用户进行样式覆盖(请务必注意检查 @ layer 浏览器兼容性),详情可见文档。#48229arrows
来开启箭头切换功能。#48542async-validator
替换为@ rc-component/async-validator
,并修复transform
没有自动检测返回值类型的问题。#48486 @ crazyairinlineMargin
token。#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 @ linxianxiImportant
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: