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.2.3 to 5.18.3 #55

Closed

Conversation

rahulyadav-57
Copy link
Member

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.2.3 to 5.18.3.

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

  • The recommended version was released on 21 days ago.

Release notes
Package name: antd
  • 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
    • Typography
      • 🐞 Fix Typography component's ellipsis not working properly in pre tag. #49168 @ nova1751
      • 🐞 Fix Typography ellipsis sometimes not working in Safari. #49221
    • 🐞 Fix Space size setting to 0 did not take effect. #49192 @ coding-ice
    • 🐞 Fix padding of Progress text is invalid in cssinjs. #49250 @ vagusX
    • 🐞 Fix Modal close button's zIndex being incorrect in cssVar mode. #49238
    • 🐞 Fix Image width height being applied to preview images. #49259 @ nova1751
    • 🐞 Fix the icon of the Pagination page switcher disappears when hovering. #49262
    • 🐞 Fix Mentions not responding to Enter event when loading=true. #49292 @ wanpan11
    • 🐞 Fix Notification did not inherit App config properties. #49339 @ hemengke1997
    • 💄 Fix the text color of Drawer was incorrect in dark mode. #49217
    • 💄 Fix the style was not visible and the percent progress was not passed when customizing the indicator of Spin. #49211 @ wanpan11
    • DatePicker
      • 🐞 Fix the placement property of DatePicker/TimePicker was invalid. #49303
      • 💄 Fix the content in the DatePicker header area is not centered. #49332
    • TypeScript
    • 🌐 Locales

    • Typography
      • 🐞 修复 Typography 组件的 ellipsispre 标签中没有正常工作的问题。#49168 @ nova1751
      • 🐞 修复 Typography ellipsis 在 Safari 中有时不生效的问题。#49221
    • 🐞 修复 Space size 设置 0 不生效的问题。#49192 @ coding-ice
    • 🐞 修复 Progress 文本的 padding 在 cssinjs 下单位失效问题。#49250 @ vagusX
    • 🐞 修复 Modal 关闭按钮的 zIndexcssVar 模式下不正确的问题。#49238
    • 🐞 修复 Image width height 被应用到预览图片上的问题。#49259 @ nova1751
    • 🐞 修复 Pagination 页码切换器 hover 时图标消失的问题。#49262
    • 🐞 修复 Mentions 当 loading=true 时不响应 Enter 事件的问题。#49292 @ wanpan11
    • 🐞 修复 Notification 没有继承 App config 属性的问题。#49339 @ hemengke1997
    • 💄 修复 Drawer 在暗黑模式下,文本颜色不正确的问题。#49217
    • 💄 修复 Spin 自定义 indicator 时,样式不可见以及 percent 进度没有传递的问题。#49211 @ wanpan11
    • DatePicker
      • 🐞 修复 DatePicker/TimePicker placement 属性失效的问题。#49303
      • 💄 修复 DatePicker 头部区域内容不居中对齐的问题。#49332
    • TypeScript
    • 🌐 国际化
  • 5.18.0 - 2024-06-03
    • 🛎 Fix Button icon and text align issue by changing inline-block to inline-flex and simplify iconPosition implementation. #47318
    • Drawer
    • Form
      • 🆕 Form.Item add layout property to toggle layout mode. #49119 @ crazyair
      • 🆕 Form ref property supports to access the native element. #48841 @ wanpan11
      • 🆕 Form add clearOnDestroy property to clear form data when destroy. #48921 @ crazyair
    • Image
      • 🆕 Image add onReset and onClose properties. #48936 @ kiner-tang
      • 🆕 Image supports get imgInfo from arguments of toolbarRender and imageRender render functions. #48729 @ nova1751
    • notification
      • 🆕 notification add pauseOnHover property to pause the timer. #49024 @ yociduo
      • 🆕 notification add showProgress property to show the progress bar. #48353 @ yociduo
    • Progress
    • 🆕 Avatar.Group add max property for replace maxCountmaxStylemaxPopoverPlacement and maxPopoverTrigger properties. #49131 @ wanpan11
    • 🆕 Modal add loading property to show the skeleton. #48848 @ li-jia-nan
    • 🆕 Rate add keyboard property to ignore keyboard events. #49132 @ Wxh16144
    • 🆕 Spin support percent to render as progress. #48657
    • 🐞 Watermark add overflow: hidden style to prevent set height: 0 to hide the watermark case. #49130
    • 🐞 Anchor fix scroll animation lost bug when set replace property. #49136 @ mySkey
    • 🐞 Tour fix current argument of onClose is wrong. #49124
    • 💄 List.Item add styles and className properties. #49154 @ wanpan11
    • 🇯🇵 DatePicker add missing ja_JP translations. #49155 @ huyikai
    • 🛠 Simplify several logics and type definitions. #49146 #49156 #49169 #49162 @ coding-ice

    • 🛎 Button 默认布局由 inline-block 切换为 inline-flex 以修复图标和文字对齐问题,并简化了 iconPosition 的实现。#47318
    • Drawer
      • 🆕 Drawer 新增 drawerRender 属性以支持自定义渲染。#49125 @ crazyair
      • 🛠 Drawer 加载中的状态实现由 Spin 替换为 Skeleton。#48886 @ li-jia-nan
    • Form
    • Image
      • 🆕 Image 新增 onResetonClose 属性。#48936 @ kiner-tang
      • 🆕 Image 的 toolbarRenderimageRender 渲染函数入参新增 ImgInfo 信息。#48729 @ nova1751
    • notification
      • 🆕 notification 增加 pauseOnHover 属性以暂停计时器。#49024 @ yociduo
      • 🆕 notification 新增 showProgress 属性以显示进度条。#48353 @ yociduo
    • Progress
    • 🆕 Avatar.Group 新增 max 属性以替代 maxCountmaxStylemaxPopoverPlacementmaxPopoverTrigger#49131 @ wanpan11
    • 🆕 Modal 新增 loading 属性以展示加载中的状态。#48848 @ li-jia-nan
    • 🆕 Rate 新增 keyboard 属性以支持禁用键盘事件。#49132 @ Wxh16144
    • 🆕 Spin 支持 percent属性以进度形态展示。#48657
    • 🐞 Watermark 添加 overflow: hidden 样式以防止通过设置 height: 0 样式达到隐藏水印的效果。#49130
    • 🐞 Anchor 修复设置 replace 属性时滚动动画丢失的问题。#49136 @ mySkey
    • 🐞 Tour 修复 onClosecurrent 参数错误的问题。#49124
    • 💄 List.Item 增加 stylesclassNames 属性。#49154 @ wanpan11
    • 🇯🇵 DatePicker 补充 ja_JP 本地化文案。#49155 @ huyikai
    • 🛠 精简数处判断逻辑及类型定义。#49146 #49156 #49169 #49162 @ coding-ice
  • 5.17.4 - 2024-05-27
    • 🐞 Fix Modal with confirm would not close correctly when returning true in onOk or onCancel. #49054 @ wanpan11
    • 🐞 Fix Carousel was warned about having non-standard DOM attributes by React. #49031
    • 🐞 Fix Form prop of scrollToFirstError not working for InputNumber. #48989 @ Wxh16144
    • TypeScript
      • 🤖 Fix Modal missing styles.wrapper type. #49055
      • 🤖 Enhance Spin component TypeScript definitions and documentation. #49036 @ arvinxx
      • 🤖 Enhance Checkbox.Group TypeScript generic limitation. #49073

    • 🐞 修复 Modal 的 confirmonOkonCancel 中返回 true 时,窗体不会正确关闭的问题。#49054 @ wanpan11
    • 🐞 修复 Carousel 会被提示存在非标准 dom 属性的问题。#49031
    • 🐞 修复 Form 的 scrollToFirstError 对 InputNumber 无效的问题。#48989 @ Wxh16144
    • TypeScript
      • 🤖 修复 Modal styles.wrapper TS 定义丢失的问题。#49055
      • 🤖 优化 Spin 的 TypeScript 定义并提供更详细的描述信息。#49036 @ arvinxx
      • 🤖 优化 Checkbox.Group 的 TypeScript 类型约束。#49073
  • 5.17.3 - 2024-05-19
    • 🐞 MISC: Fix some components throws findDOMNode warning in React 18.3.0. #48958
    • 🐞 Fix Button that fontSize token not works. #48893 @ wanpan11
    • 💄 Fix Pagination size-changer element style. #48931 @ wanpan11

    • 🐞 杂项:修复部分组件在 React 18.3.0 下警告 findDOMNode 的问题。#48958
    • 🐞 修复 Button 字体大小 token 无效的问题。#48893 @ wanpan11
    • 💄 修复 Pagination 组件跳转选择元素样式问题。#48931 @ wanpan11
  • 5.17.2 - 2024-05-14
    • 🐞 MISC: Fix lib bundle mistake deps on the es module which break the build progress. #48914

    • 🐞 MISC: 修复 lib 产物错误引入 es 依赖导致构建错误的问题。#48914
  • 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 type="text"and type="danger" are used together. #48876 @ LonelySnowman
    • Fix issue where some components throw findDOMNode warnings
    • 💄 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 size="small". #48787 @ wanpan11
    • 🐞 Fix AutoComplete tagRender not working for maxTag and clicking on an edge triggering unexpected closure of the layer. #48798
    • RTL
      • 💄 Fix Button's missing icon order and margins under RTL. #48821
    • TypeScript

    • 🐞 优化 Form 组件底层逻辑,修复了 antd 在 Next.js 中构建时间太长的问题。react-component/async-validator#9
    • 🐞 修复 Tooltip 内容只有一个字符时视觉不居中的问题。#48890 @ kiner-tang
    • Button
      • 🐞 修复 Button type="text"type="danger" 同时使用时 hover 和 active 样式没有区分的问题。#48876 @ LonelySnowman
    • 修复部分组件抛出 findDOMNode 警告的问题
    • 💄 给 Drawer 的内部组件 Spin 添加 className,防止内部 Spin 样式覆盖用户传入的 Spin 样式。#48857 @ li-jia-nan
    • 💄 修复 Card size="small" 时下边框丢失的问题。#48787 @ wanpan11
    • 🐞 AutoComplete 修复 tagRender 对 maxTag 无效的问题和点击边缘会触发弹层意外关闭的问题。#48798
    • RTL
      • 💄 修复 Button 在 RTL 下的图标顺序和边距缺失问题。#48821
    • TypeScript
  • 5.17.0 - 2024-05-02
  • 5.16.5 - 2024-04-28
  • 5.16.4 - 2024-04-22
  • 5.16.3 - 2024-04-21
  • 5.16.2 - 2024-04-15
  • 5.16.1 - 2024-04-05
  • 5.16.0 - 2024-03-31
  • 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
  • 5.3.1 - 2023-03-13
  • 5.3.0 - 2023-03-05
  • 5.2.3 - 2023-02-27
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.2.3 to 5.18.3.

See this package in npm:
antd

See this project in Snyk:
https://app.snyk.io/org/rahulyadav-57/project/d872949e-576a-4018-874c-3a9a1eaeaa44?utm_source=github&utm_medium=referral&page=upgrade-pr
@rahulyadav-57 rahulyadav-57 added invalid This doesn't seem right and removed invalid This doesn't seem right labels Sep 17, 2024
@rahulyadav-57 rahulyadav-57 deleted the snyk-upgrade-71b5a12a91dd8e5b563e3840b0ace19e branch September 17, 2024 19:21
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