nomad-nmr / nomad-server

Server side code for NOMAD system
https://www.nomad-nmr.uk/
GNU Affero General Public License v3.0
3 stars 2 forks source link

[Snyk] Upgrade antd from 5.16.5 to 5.17.0 #95

Closed tomlebl closed 5 months ago

tomlebl commented 6 months ago

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.16.5 to 5.17.0.

:information_source: 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 **1 version** ahead of your current version. - The recommended version was released on **23 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
    • 国际化
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:** > - 🧐 [View latest project report](https://app.snyk.io/org/tomlebl/project/72941f4e-bb01-4849-83bc-7a555b2b885c?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates) > - 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/tomlebl/project/72941f4e-bb01-4849-83bc-7a555b2b885c/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/tomlebl/project/72941f4e-bb01-4849-83bc-7a555b2b885c/settings/integration?pkg=antd&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)