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.6.1 to 5.18.0 #5

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

Conversation

apiiro-snyk
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.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
  • 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
    • 🔥🔥🔥 @ 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
  • 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
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.6.1 to 5.18.0.

See this package in npm:
antd

See this project in Snyk:
https://app.snyk.io/org/apiiro-snyk/project/77d6a2b1-7c47-479d-8c1d-4ae6153ca8d6?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