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

fix(deps): update dependencies (non-major) #433

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 4, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@ant-design/icons (source) ^5.1.4 -> ^5.2.4 age adoption passing confidence
antd (source) ^5.7.3 -> ^5.8.2 age adoption passing confidence
prettier (source) ^3.0.0 -> ^3.0.1 age adoption passing confidence

Release Notes

ant-design/ant-design-icons (@​ant-design/icons)

v5.2.4

Compare Source

v5.2.3

Compare Source

v5.2.2

Compare Source

v5.2.1

Compare Source

v5.2.0

Compare Source

ant-design/ant-design (antd)

v5.8.2

Compare Source

  • 🐞 Fix Checkbox & Radio not support customize wave and add className ant-wave-target for this case. #​44014
  • 🐞 Adjust Form.Item renderProps definition to return correct FormInstance. #​43996
  • 🐞 Fixed Table incorrect expand icon direction and row indentation in RTL. #​43977 @​Yuiai01
  • 💄 Fix Pagination that should not have hover and focus style when disabled. #​43970 @​MadCcc
  • TypeScript
    • 🤖 Fix Drawer & Anchor part Design Token TS description not correct issue. #​43994 @​wving5

  • 🐞 修复 Checkbox 与 Radio 不支持自定义水波纹效果的问题,并添加 ant-wave-target className 到对应元素上。#​44014
  • 🐞 调整 Form.Item renderProps 定义,现在会返回正确的 FormInstance#​43996
  • 🐞 修复 Table 在 directionrlt 时展开图标的方向和展开行的缩进有误的问题。#​43977 @​Yuiai01
  • 💄 修复 Pagination 组件禁用状态仍然有悬浮和聚焦样式的问题。#​43970 @​MadCcc
  • TypeScript
    • 🤖 修正 Drawer 和 Anchor 部分 Design Token 的 TS 描述信息错误的问题。#​43994 @​wving5

v5.8.1

Compare Source


v5.8.0

Compare Source

  • 🔥 Component Token support algorithm to calculate derivative tokens same as global. #​43810 @​MadCcc
  • 🔥 Modal hooks function support await call. #​43470
  • 🔥 ConfigProvider support wave to customize wave effect. #​43784
  • 🆕 Form support getFieldsValue({ strict: true }) to support only Item bind values. #​43828
  • 🆕 Descriptions support items prop. #​43483 @​RedJue
  • 🆕 ColorPicker support disabledAlpha prop. #​43355 @​RedJue
  • 🆕 Avatar.Group support shape prop. #​43817 @​li-jia-nan
  • 🆕 AutoComplete/Cascader/DatePicker/Input.Textarea/TimePicker/TreeSelect support allowClear prop to customize clear button。#​43582 @​kiner-tang
  • 🆕 RangePicker presets support callback functions. #​43476 @​Wxh16144
  • 🆕 Added the preview={{ movable: Boolean }} prop to the Image component to support dragging and dropping into folders. #​43823 @​linxianxi
  • 🆕 Slider tooltip support autoAdjustOverflow prop. #​43788
  • 🆕 Added the selectionsIcon property to the Transfer component to support custom icons for the dropdown menu. #​43773 @​li-jia-nan
  • 🗑 Select, Tree-Select and Cascader deprecated showArrow prop. Now suffix arrow should be configured with suffixIcon. #​43520 @​MuxinFeng
  • 🐞 Optimized the import method for @ant-design/icons to avoid importing all icons. #​43915 @​ssxenon01
  • 🐞 Fix Anchor not trigger getCurrentAnchor when scroll. #​43916
  • 🐞 Fix Tooltip hover not trigger on disabled element. #​43872
  • 🐞 Fix ColorPicker not calling onChangeComplete callback when changing value. #​43867 @​RedJue
  • 🐞 Fix Modal.confirm locale setting were reset. #​43277 @​Yuiai01
  • 🐞 Fix Slide description info and slider handle overlap issue. #​43780 @​Wxh16144
  • 🐞 Fix InputNumber handler style in large size. #​43875 @​yee94
  • 🐞 Fix Select popup flip position motion not correct. #​43764
  • 💄 Optimized the design of icons including CloseCircleFilled/CloseSquareFilled/CloseOutlined/CloseCircleOutlined/CloseSquareOutlined/ExportOutlined/ImportOutlined. 824500
  • 💄 Fix when using with other component libraries that use @ant-design/cssinjs, antd styles will always be inserted at the top to avoid style override issues caused by loading order. #​43847
  • 💄 Optimize message and notification to not to extract style in SSR. #​43808
  • ⌨️ Fix Select aria-activedescendant didn't conform to valid value. #​43800
  • ⌨️ Fix Layout.Header accessibility role. #​43749 @​khalibloo
  • TypeScript

  • 🔥 组件 Token 支持配置 algorithm 参数,添加配置即可像全局 Token 一样由部分修改的 token 计算派生 token 的值并用于组件样式中。#​43810 @​MadCcc
  • 🔥 Modal hooks 方法支持 await 调用。#​43470
  • 🔥 ConfigProvider 支持 wave 配置以自定义水波纹效果。#​43784
  • 🆕 Form 新增 getFieldsValue({ strict: true }) 以支持获取仅通过 Item 绑定的字段。#​43828
  • 🆕 Descriptions 支持 items 属性。#​43483 @​RedJue
  • 🆕 ColorPicker 支持 disabledAlpha 属性。#​43355 @​RedJue
  • 🆕 Avatar.Group 支持设置 shape 属性。#​43817 @​li-jia-nan
  • 🆕 AutoComplete/Cascader/DatePicker/Input.Textarea/TimePicker/TreeSelect 组件均已支持通过 allowClear.clearIcon 属性自定义清除按钮。#​43582 @​kiner-tang
  • 🆕 RangePicker presets 属性支持回调函数。#​43476 @​Wxh16144
  • 🆕 Image 新增 preivew={{ movable: Boolean }} 属性以支持可拖拽到文件夹。#​43823 @​linxianxi
  • 🆕 Slider tooltip 支持配置 autoAdjustOverflow 属性。#​43788
  • 🆕 Transfer 组件新增 selectionsIcon 属性以支持自定义下拉菜单图标。#​43773 @​li-jia-nan
  • 🗑 Select、Tree-Select 和 Cascader 组件废弃 showArrow 属性,可由 suffixIcon 统一配置。#​43520 @​MuxinFeng
  • 🐞 优化 @ant-design/icons 导入写法以避免 Tree Shaking 在 Next.js 中失效的问题。#​43915 @​ssxenon01
  • 🐞 修复 Anchor 在滚动时无法触发 getCurrentAnchor 的问题。#​43916
  • 🐞 修复 Tooltip hover 时无法在 disabled 元素上触发的问题。#​43872
  • 🐞 修复 ColorPicker 在更改值时未调用 onChangeComplete 回调的问题。#​43867 @​RedJue
  • 🐞 修复 Modal.confirmlocale 设置被重置的问题。#​43277 @​Yuiai01
  • 🐞 修复 Slider 中描述信息和滑块手柄重叠问题。#​43780 @​Wxh16144
  • 🐞 修复 Select 弹出框翻转时动画不正确的问题。#​43764
  • 🐞 修复 InputNumber 在圆角不同下的样式异常。#​43875 @​yee94
  • 💄 优化了 CloseCircleFilled/CloseSquareFilled/CloseOutlined/CloseCircleOutlined/CloseSquareOutlined/ExportOutlined/ImportOutlined 等图标的设计。824500
  • 💄 修复和其他使用 @ant-design/cssinjs 的组件库混合使用,antd 的样式总是会插入在最前面,以避免加载顺序导致的样式覆盖问题。#​43847
  • 💄 优化 message 和 notification 渲染逻辑,现在在 SSR 环境下不会导出样式。#​43808
  • ⌨️ 修复 Select aria-activedescendant 缺少有效值的问题。#​43800
  • ⌨️ 修复 Layout.Header a11y role 属性。#​43749 @​khalibloo
  • TypeScript
prettier/prettier (prettier)

v3.0.1

Compare Source

diff

Fix cursor positioning for a special case (#​14812 by @​fisker)
// <|> is the cursor position

/* Input */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>  } from "fs"

/* Prettier 3.0.0 */
// All messages are represented in JSON.
// So, the prettier.py <|>controls a subprocess which spawns "node {this_file}".
import {} from "fs"

/* Prettier 3.0.1 */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>} from "fs"
Fix plugins/estree.d.ts to make it a module (#​15018 by @​kingyue737)

Add export {} in plugins/estree.d.ts to fix the "File is not a module" error

Add parenthesis around leading multiline comment in return statement (#​15037 by @​auvred)
// Input
function fn() {
  return (
    /**
     * @&#8203;type {...}
     */ expresssion
  )
}

// Prettier 3.0.0
function fn() {
  return /**
   * @&#8203;type {...}
   */ expresssion;
}

// Prettier 3.0.1
function fn() {
  return (
    /**
     * @&#8203;type {...}
     */ expresssion
  );
}
Add support for Vue "Generic Components" (#​15066 by @​auvred)

https://blog.vuejs.org/posts/vue-3-3#generic-components

<!-- Input -->
<script setup lang="ts" generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean"></script>

<!-- Prettier 3.0.0 -->
<script
  setup
  lang="ts"
  generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean"
></script>

<!-- Prettier 3.0.1 -->
<script
  setup
  lang="ts"
  generic="
    T extends Type1 & Type2 & (Type3 | Type4),
    U extends string | number | boolean
  "
></script>
Fix comments print in IfStatement (#​15076 by @​fisker)
function a(b) {
  if (b) return 1; // comment
  else return 2;
}

/* Prettier 3.0.0 */
Error: Comment "comment" was not printed. Please report this error!

/* Prettier 3.0.1 */
function a(b) {
  if (b) return 1; // comment
  else return 2;
}
Add missing type definition for printer.preprocess (#​15123 by @​so1ve)
export interface Printer<T = any> {
  // ...
+ preprocess?:
+   | ((ast: T, options: ParserOptions<T>) => T | Promise<T>)
+   | undefined;
}
Add missing getVisitorKeys method type definition for Printer (#​15125 by @​auvred)
const printer: Printer = {
  print: () => [],
  getVisitorKeys(node, nonTraversableKeys) {
    return ["body"];
  },
};
Add typing to support readonly array properties of AST Node (#​15127 by @​auvred)
// Input
interface TestNode {
  readonlyArray: readonly string[];
}

declare const path: AstPath<TestNode>;

path.map(() => "", "readonlyArray");

// Prettier 3.0.0
interface TestNode {
  readonlyArray: readonly string[];
}

declare const path: AstPath<TestNode>;

path.map(() => "", "readonlyArray");
//                  ^ Argument of type '"readonlyArray"' is not assignable to parameter of type '"regularArray"'. ts(2345)

// Prettier 3.0.1
interface TestNode {
  readonlyArray: readonly string[];
}

declare const path: AstPath<TestNode>;

path.map(() => "", "readonlyArray");
Add space before unary minus followed by a function call (#​15129 by @​pamelalozano)
// Input
div {
  margin: - func();
}

// Prettier 3.0.0
div {
  margin: -func();
}

// Prettier 3.0.1
div {
  margin: - func();
}

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Aug 4, 2023
@pull-request-quantifier-deprecated

This PR has 6 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!


Quantification details

Label      : Extra Small
Size       : +3 -3
Percentile : 2.4%

Total files changed: 2

Change summary by file extension:
.json : +3 -3
.lock : +0 -0

Change counts above are quantified counts, based on the PullRequestQuantifier customizations.

Why proper sizing of changes matters

Optimal pull request sizes drive a better predictable PR flow as they strike a
balance between between PR complexity and PR review overhead. PRs within the
optimal size (typical small, or medium sized PRs) mean:

  • Fast and predictable releases to production:
    • Optimal size changes are more likely to be reviewed faster with fewer
      iterations.
    • Similarity in low PR complexity drives similar review times.
  • Review quality is likely higher as complexity is lower:
    • Bugs are more likely to be detected.
    • Code inconsistencies are more likely to be detected.
  • Knowledge sharing is improved within the participants:
    • Small portions can be assimilated better.
  • Better engineering practices are exercised:
    • Solving big problems by dividing them in well contained, smaller problems.
    • Exercising separation of concerns within the code changes.

What can I do to optimize my changes

  • Use the PullRequestQuantifier to quantify your PR accurately
    • Create a context profile for your repo using the context generator
    • Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the Excluded section from your prquantifier.yaml context profile.
    • Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your prquantifier.yaml context profile.
    • Only use the labels that matter to you, see context specification to customize your prquantifier.yaml context profile.
  • Change your engineering behaviors
    • For PRs that fall outside of the desired spectrum, review the details and check if:
      • Your PR could be split in smaller, self-contained PRs instead
      • Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR).

How to interpret the change counts in git diff output

  • One line was added: +1 -0
  • One line was deleted: +0 -1
  • One line was modified: +1 -1 (git diff doesn't know about modified, it will
    interpret that line like one addition plus one deletion)
  • Change percentiles: Change characteristics (addition, deletion, modification)
    of this PR in relation to all other PRs within the repository.


Was this comment helpful? 👍  :ok_hand:  :thumbsdown: (Email)
Customize PullRequestQuantifier for this repository.

@socket-security
Copy link

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: @ant-design/icons@5.1.4, antd@5.7.3, prettier@3.0.0

@renovate renovate bot merged commit 8def4bb into main Aug 4, 2023
@renovate renovate bot deleted the renovate/dependencies branch August 4, 2023 21:18
github-actions bot added a commit that referenced this pull request Aug 4, 2023
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 8def4bb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Extra Small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants