From b21565bffe6134f67f0d7e50f41eccdc7955b1bb Mon Sep 17 00:00:00 2001 From: Zhicheng WANG Date: Tue, 2 Feb 2021 23:00:40 +0800 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20=E9=99=84=E7=9D=80=E6=94=B9?= =?UTF-8?q?=E8=AF=91=E4=B8=BA=E9=99=84=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cdk/a11y/focus-trap/focus-trap.ts | 4 ++-- src/cdk/drag-drop/drop-list-ref.ts | 2 +- .../dispatchers/base-overlay-dispatcher.ts | 8 +++---- .../overlay-keyboard-dispatcher.ts | 6 ++--- src/cdk/overlay/overlay-directives.ts | 2 +- src/cdk/overlay/overlay-ref.ts | 14 +++++------ .../overlay/scroll/block-scroll-strategy.ts | 4 ++-- .../overlay/scroll/close-scroll-strategy.ts | 4 ++-- src/cdk/overlay/scroll/scroll-strategy.ts | 8 +++---- src/cdk/portal/dom-portal-outlet.ts | 12 +++++----- src/cdk/portal/portal-directives.ts | 20 ++++++++-------- src/cdk/portal/portal-errors.ts | 6 ++--- src/cdk/portal/portal.ts | 24 +++++++++---------- .../scrolling/fixed-size-virtual-scroll.ts | 2 +- src/cdk/scrolling/virtual-scroll-strategy.ts | 4 ++-- src/cdk/scrolling/virtual-scroll-viewport.ts | 4 ++-- .../autocomplete/autocomplete-trigger.ts | 2 +- .../bottom-sheet/bottom-sheet-container.ts | 4 ++-- src/material/button-toggle/button-toggle.ts | 2 +- src/material/checkbox/checkbox.ts | 2 +- src/material/datepicker/date-range-input.ts | 2 +- src/material/datepicker/datepicker-base.ts | 2 +- src/material/dialog/dialog-config.ts | 2 +- src/material/dialog/dialog-container.ts | 16 ++++++------- src/material/dialog/dialog.ts | 6 ++--- src/material/expansion/expansion-panel.ts | 2 +- src/material/form-field/form-field.ts | 4 ++-- src/material/menu/menu-content.ts | 4 ++-- src/material/menu/menu-trigger.ts | 4 ++-- .../progress-spinner/progress-spinner.ts | 2 +- src/material/select/select.ts | 2 +- src/material/sidenav/drawer.ts | 2 +- src/material/snack-bar/snack-bar-container.ts | 8 +++---- src/material/snack-bar/snack-bar.ts | 4 ++-- src/material/stepper/stepper-icon.ts | 2 +- src/material/tooltip/tooltip.ts | 6 ++--- 36 files changed, 101 insertions(+), 101 deletions(-) diff --git a/src/cdk/a11y/focus-trap/focus-trap.ts b/src/cdk/a11y/focus-trap/focus-trap.ts index feaf11a35..ff33cc917 100644 --- a/src/cdk/a11y/focus-trap/focus-trap.ts +++ b/src/cdk/a11y/focus-trap/focus-trap.ts @@ -121,7 +121,7 @@ export class FocusTrap { * @returns Whether the focus trap managed to attach successfuly. This may not be the case * if the target element isn't currently in the DOM. * - * 焦点陷阱是否成功附着。如果目标元素当前不在 DOM 中,则可能不是这种情况。 + * 焦点陷阱是否成功附加。如果目标元素当前不在 DOM 中,则可能不是这种情况。 * */ attachAnchors(): boolean { @@ -331,7 +331,7 @@ export class FocusTrap { /** * Checks whether the focus trap has successfully been attached. * - * 检查焦点陷阱是否已附着成功。 + * 检查焦点陷阱是否已附加成功。 * */ hasAttached(): boolean { diff --git a/src/cdk/drag-drop/drop-list-ref.ts b/src/cdk/drag-drop/drop-list-ref.ts index 339a4fca6..152113712 100644 --- a/src/cdk/drag-drop/drop-list-ref.ts +++ b/src/cdk/drag-drop/drop-list-ref.ts @@ -110,7 +110,7 @@ export class DropListRef { /** * Element that the drop list is attached to. * - * 投放表附着到的元素 + * 投放表附加到的元素 * */ element: HTMLElement | ElementRef; diff --git a/src/cdk/overlay/dispatchers/base-overlay-dispatcher.ts b/src/cdk/overlay/dispatchers/base-overlay-dispatcher.ts index 3921afe61..65c690fb7 100644 --- a/src/cdk/overlay/dispatchers/base-overlay-dispatcher.ts +++ b/src/cdk/overlay/dispatchers/base-overlay-dispatcher.ts @@ -15,7 +15,7 @@ import {OverlayReference} from '../overlay-reference'; * if any. It maintains a list of attached overlays to determine best suited overlay based * on event target and order of overlay opens. * - * 本服务用于将落在主体上的事件派发到适当的浮层引用(如果有)。它维护一个已附着的浮层列表,以便根据事件目标和浮层打开的顺序确定最适合的浮层。 + * 本服务用于将落在主体上的事件派发到适当的浮层引用(如果有)。它维护一个已附加的浮层列表,以便根据事件目标和浮层打开的顺序确定最适合的浮层。 * */ @Injectable({providedIn: 'root'}) @@ -24,7 +24,7 @@ export abstract class BaseOverlayDispatcher implements OnDestroy { /** * Currently attached overlays in the order they were attached. * - * 当前已附着的浮层,按其附着顺序排列。 + * 当前已附加的浮层,按其附加顺序排列。 * */ _attachedOverlays: OverlayReference[] = []; @@ -43,7 +43,7 @@ export abstract class BaseOverlayDispatcher implements OnDestroy { /** * Add a new overlay to the list of attached overlay refs. * - * 将新的浮层添加到已附着的浮层引用列表中。 + * 将新的浮层添加到已附加的浮层引用列表中。 * */ add(overlayRef: OverlayReference): void { @@ -55,7 +55,7 @@ export abstract class BaseOverlayDispatcher implements OnDestroy { /** * Remove an overlay from the list of attached overlay refs. * - * 从已附着的浮层引用列表中删除浮层。 + * 从已附加的浮层引用列表中删除浮层。 * */ remove(overlayRef: OverlayReference): void { diff --git a/src/cdk/overlay/dispatchers/overlay-keyboard-dispatcher.ts b/src/cdk/overlay/dispatchers/overlay-keyboard-dispatcher.ts index 429f79bc1..58a631e41 100644 --- a/src/cdk/overlay/dispatchers/overlay-keyboard-dispatcher.ts +++ b/src/cdk/overlay/dispatchers/overlay-keyboard-dispatcher.ts @@ -16,7 +16,7 @@ import {BaseOverlayDispatcher} from './base-overlay-dispatcher'; * if any. It maintains a list of attached overlays to determine best suited overlay based * on event target and order of overlay opens. * - * 本服务用于将落在 body 上的键盘事件派发到适当的浮层引用(如果有)。它维护一个已附着的浮层列表,以便根据事件目标和浮层打开顺序确定最适合的浮层。 + * 本服务用于将落在 body 上的键盘事件派发到适当的浮层引用(如果有)。它维护一个已附加的浮层列表,以便根据事件目标和浮层打开顺序确定最适合的浮层。 * */ @Injectable({providedIn: 'root'}) @@ -29,7 +29,7 @@ export class OverlayKeyboardDispatcher extends BaseOverlayDispatcher { /** * Add a new overlay to the list of attached overlay refs. * - * 将新的浮层添加到已附着的浮层引用列表中。 + * 将新的浮层添加到已附加的浮层引用列表中。 * */ add(overlayRef: OverlayReference): void { @@ -58,7 +58,7 @@ export class OverlayKeyboardDispatcher extends BaseOverlayDispatcher { /** * Keyboard event listener that will be attached to the body. * - * 键盘事件监听器,将被附着到 body 上。 + * 键盘事件监听器,将被附加到 body 上。 * */ private _keydownListener = (event: KeyboardEvent) => { diff --git a/src/cdk/overlay/overlay-directives.ts b/src/cdk/overlay/overlay-directives.ts index ddbeb2daa..40cf88cfa 100644 --- a/src/cdk/overlay/overlay-directives.ts +++ b/src/cdk/overlay/overlay-directives.ts @@ -550,7 +550,7 @@ export class CdkConnectedOverlay implements OnDestroy, OnChanges { /** * Attaches the overlay and subscribes to backdrop clicks if backdrop exists * - * 如果存在背景板,请把浮层附着上去并订阅背景板点击事件 + * 如果存在背景板,请把浮层附加上去并订阅背景板点击事件 * */ private _attachOverlay() { diff --git a/src/cdk/overlay/overlay-ref.ts b/src/cdk/overlay/overlay-ref.ts index 3d80a0b2b..ac7e5c7ad 100644 --- a/src/cdk/overlay/overlay-ref.ts +++ b/src/cdk/overlay/overlay-ref.ts @@ -51,7 +51,7 @@ export class OverlayRef implements PortalOutlet, OverlayReference { * Reference to the parent of the `_host` at the time it was detached. Used to restore * the `_host` to its original position in the DOM when it gets re-attached. * - * 在拆除浮层时,引用其 `_host` 的父元素。当重新附着时,用于把 `_host` 恢复其在 DOM 中的原始位置。 + * 在拆除浮层时,引用其 `_host` 的父元素。当重新附加时,用于把 `_host` 恢复其在 DOM 中的原始位置。 * */ private _previousHostParent: HTMLElement; @@ -131,15 +131,15 @@ export class OverlayRef implements PortalOutlet, OverlayReference { * Attaches content, given via a Portal, to the overlay. * If the overlay is configured to have a backdrop, it will be created. * - * 把通过传送点给出的内容附着到浮层上。如果浮层配置为具有背景板,也会创建它。 + * 把通过传送点给出的内容附加到浮层上。如果浮层配置为具有背景板,也会创建它。 * * @param portal Portal instance to which to attach the overlay. * - * 要附着的传送点实例。 + * 要附加的传送点实例。 * * @returns The portal attachment result. * - * 传送点附着的结果。 + * 传送点附加的结果。 * */ attach(portal: Portal): any { @@ -286,7 +286,7 @@ export class OverlayRef implements PortalOutlet, OverlayReference { /** * Whether the overlay has attached content. * - * 浮层是否附着着内容。 + * 浮层是否附加着内容。 * */ hasAttached(): boolean { @@ -306,7 +306,7 @@ export class OverlayRef implements PortalOutlet, OverlayReference { /** * Gets an observable that emits when the overlay has been attached. * - * 获取一个在附着浮层时会发出通知的可观察对象。 + * 获取一个在附加浮层时会发出通知的可观察对象。 * */ attachments(): Observable { @@ -514,7 +514,7 @@ export class OverlayRef implements PortalOutlet, OverlayReference { /** * Attaches a backdrop for this overlay. * - * 为这个浮层附着一个背景板。 + * 为这个浮层附加一个背景板。 * */ private _attachBackdrop() { diff --git a/src/cdk/overlay/scroll/block-scroll-strategy.ts b/src/cdk/overlay/scroll/block-scroll-strategy.ts index 808b45ca5..697ded960 100644 --- a/src/cdk/overlay/scroll/block-scroll-strategy.ts +++ b/src/cdk/overlay/scroll/block-scroll-strategy.ts @@ -40,7 +40,7 @@ export class BlockScrollStrategy implements ScrollStrategy { /** * Blocks page-level scroll while the attached overlay is open. * - * 打开已附着的浮层时阻止页面级滚动。 + * 打开已附加的浮层时阻止页面级滚动。 * */ enable() { @@ -65,7 +65,7 @@ export class BlockScrollStrategy implements ScrollStrategy { /** * Unblocks page-level scroll while the attached overlay is open. * - * 打开已附着的浮层时,取消阻止页面级滚动。 + * 打开已附加的浮层时,取消阻止页面级滚动。 * */ disable() { diff --git a/src/cdk/overlay/scroll/close-scroll-strategy.ts b/src/cdk/overlay/scroll/close-scroll-strategy.ts index e31775371..038e80ee9 100644 --- a/src/cdk/overlay/scroll/close-scroll-strategy.ts +++ b/src/cdk/overlay/scroll/close-scroll-strategy.ts @@ -61,7 +61,7 @@ export class CloseScrollStrategy implements ScrollStrategy { /** * Enables the closing of the attached overlay on scroll. * - * 启用“滚动时关闭已附着浮层”。 + * 启用“滚动时关闭已附加浮层”。 * */ enable() { @@ -91,7 +91,7 @@ export class CloseScrollStrategy implements ScrollStrategy { /** * Disables the closing the attached overlay on scroll. * - * 禁用“滚动时关闭已附着浮层”。 + * 禁用“滚动时关闭已附加浮层”。 * */ disable() { diff --git a/src/cdk/overlay/scroll/scroll-strategy.ts b/src/cdk/overlay/scroll/scroll-strategy.ts index 732e9aa80..b2b9daf2e 100644 --- a/src/cdk/overlay/scroll/scroll-strategy.ts +++ b/src/cdk/overlay/scroll/scroll-strategy.ts @@ -18,7 +18,7 @@ export interface ScrollStrategy { /** * Enable this scroll strategy (called when the attached overlay is attached to a portal). * - * 启用此滚动策略(将已附着的浮层附着到传送点 Portal 时调用)。 + * 启用此滚动策略(将已附加的浮层附加到传送点 Portal 时调用)。 * */ enable: () => void; @@ -26,7 +26,7 @@ export interface ScrollStrategy { /** * Disable this scroll strategy (called when the attached overlay is detached from a portal). * - * 禁用此滚动策略(当已附着的浮层从传送点 Portal 拆除时调用)。 + * 禁用此滚动策略(当已附加的浮层从传送点 Portal 拆除时调用)。 * */ disable: () => void; @@ -34,7 +34,7 @@ export interface ScrollStrategy { /** * Attaches this `ScrollStrategy` to an overlay. * - * 将此 `ScrollStrategy` 附着到浮层。 + * 将此 `ScrollStrategy` 附加到浮层。 * */ attach: (overlayRef: OverlayReference) => void; @@ -51,7 +51,7 @@ export interface ScrollStrategy { /** * Returns an error to be thrown when attempting to attach an already-attached scroll strategy. * - * 返回一个错误,它将在尝试附着到已附着的滚动策略时引发。 + * 返回一个错误,它将在尝试附加到已附加的滚动策略时引发。 * */ export function getMatScrollStrategyAlreadyAttachedError(): Error { diff --git a/src/cdk/portal/dom-portal-outlet.ts b/src/cdk/portal/dom-portal-outlet.ts index 457a85beb..8e2816570 100644 --- a/src/cdk/portal/dom-portal-outlet.ts +++ b/src/cdk/portal/dom-portal-outlet.ts @@ -19,7 +19,7 @@ import {BasePortalOutlet, ComponentPortal, TemplatePortal, DomPortal} from './po * A PortalOutlet for attaching portals to an arbitrary DOM element outside of the Angular * application context. * - * PortalOutlet,用于把传送点附着到 Angular 应用上下文之外的任意一个 DOM 元素上。 + * PortalOutlet,用于把传送点附加到 Angular 应用上下文之外的任意一个 DOM 元素上。 * */ export class DomPortalOutlet extends BasePortalOutlet { @@ -48,7 +48,7 @@ export class DomPortalOutlet extends BasePortalOutlet { * * @param portal Portal to be attached * - * 要附着到的传送点 + * 要附加到的传送点 * * @returns Reference to the created component. * @@ -89,11 +89,11 @@ export class DomPortalOutlet extends BasePortalOutlet { /** * Attaches a template portal to the DOM as an embedded view. * - * 把一个模板传送点作为嵌入式视图附着到 DOM 上。 + * 把一个模板传送点作为嵌入式视图附加到 DOM 上。 * * @param portal Portal to be attached. * - * 要附着到的传送点。 + * 要附加到的传送点。 * * @returns Reference to the created embedded view. * @@ -129,11 +129,11 @@ export class DomPortalOutlet extends BasePortalOutlet { /** * Attaches a DOM portal by transferring its content into the outlet. * - * 通过把其内容传入指定的地标来附着到 DOM 传送点。 + * 通过把其内容传入指定的地标来附加到 DOM 传送点。 * * @param portal Portal to be attached. * - * 要附着到的传送点。 + * 要附加到的传送点。 * * @deprecated To be turned into a method. * diff --git a/src/cdk/portal/portal-directives.ts b/src/cdk/portal/portal-directives.ts index 1fd112e28..7c365a7c8 100644 --- a/src/cdk/portal/portal-directives.ts +++ b/src/cdk/portal/portal-directives.ts @@ -27,7 +27,7 @@ import {BasePortalOutlet, ComponentPortal, Portal, TemplatePortal, DomPortal} fr * Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal, * the directive instance itself can be attached to a host, enabling declarative use of portals. * - * `TemplatePortal` 的指令版本。由于该指令*是*一个 TemplatePortal,所以该指令实例本身也可以附着到一个宿主上,从而能够声明式地使用这些传送点。 + * `TemplatePortal` 的指令版本。由于该指令*是*一个 TemplatePortal,所以该指令实例本身也可以附加到一个宿主上,从而能够声明式地使用这些传送点。 * */ @Directive({ @@ -62,7 +62,7 @@ export class TemplatePortalDirective extends CdkPortal {} /** * Possible attached references to the CdkPortalOutlet. * - * 可能附着于此 CdkPortalOutlet 上的引用。 + * 可能附加于此 CdkPortalOutlet 上的引用。 * */ export type CdkPortalOutletAttachedRef = ComponentRef | EmbeddedViewRef | null; @@ -71,7 +71,7 @@ export type CdkPortalOutletAttachedRef = ComponentRef | EmbeddedViewRef` @@ -98,7 +98,7 @@ export class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDestr /** * Reference to the currently-attached component/view ref. * - * 对当前附着上来的组件/视图引用的引用。 + * 对当前附加上来的组件/视图引用的引用。 * */ private _attachedRef: CdkPortalOutletAttachedRef; @@ -158,7 +158,7 @@ export class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDestr /** * Component or view reference that is attached to the portal. * - * 附着了传送点的组件或视图的引用。 + * 附加了传送点的组件或视图的引用。 * */ get attachedRef(): CdkPortalOutletAttachedRef { @@ -182,7 +182,7 @@ export class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDestr * * @param portal Portal to be attached to the portal outlet. * - * 要附着到传送点出口地标的传送点。 + * 要附加到传送点出口地标的传送点。 * * @returns Reference to the created component. * @@ -222,11 +222,11 @@ export class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDestr /** * Attach the given TemplatePortal to this PortalHost as an embedded View. * - * 把这个指定的 TemplatePortal 作为嵌入式视图附着到这个 PortalHost 中。 + * 把这个指定的 TemplatePortal 作为嵌入式视图附加到这个 PortalHost 中。 * * @param portal Portal to be attached. * - * 要附着的传送点 + * 要附加的传送点 * * @returns Reference to the created embedded view. * @@ -248,11 +248,11 @@ export class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDestr /** * Attaches the given DomPortal to this PortalHost by moving all of the portal content into it. * - * 把所有的传送点内容都移入到指定的 DomPortal 中,以把它附着到这个 PortalHost 上。 + * 把所有的传送点内容都移入到指定的 DomPortal 中,以把它附加到这个 PortalHost 上。 * * @param portal Portal to be attached. * - * 要附着的传送点 + * 要附加的传送点 * * @deprecated To be turned into a method. * diff --git a/src/cdk/portal/portal-errors.ts b/src/cdk/portal/portal-errors.ts index 5eb209b5d..cce957197 100644 --- a/src/cdk/portal/portal-errors.ts +++ b/src/cdk/portal/portal-errors.ts @@ -9,7 +9,7 @@ /** * Throws an exception when attempting to attach a null portal to a host. * - * 当试图把空的传送点附着到宿主上时抛出异常。 + * 当试图把空的传送点附加到宿主上时抛出异常。 * * @docs-private */ @@ -20,7 +20,7 @@ export function throwNullPortalError() { /** * Throws an exception when attempting to attach a portal to a host that is already attached. * - * 当试图把传送点附着到已经附着过的宿主上时,会抛出异常。 + * 当试图把传送点附加到已经附加过的宿主上时,会抛出异常。 * * @docs-private */ @@ -65,7 +65,7 @@ export function throwNullPortalOutletError() { /** * Throws an exception when attempting to detach a portal that is not attached. * - * 当试图拆除未附着过的传送点时抛出异常。 + * 当试图拆除未附加过的传送点时抛出异常。 * * @docs-private */ diff --git a/src/cdk/portal/portal.ts b/src/cdk/portal/portal.ts index 335f74f08..b070fae0e 100644 --- a/src/cdk/portal/portal.ts +++ b/src/cdk/portal/portal.ts @@ -38,7 +38,7 @@ export interface ComponentType { * A `Portal` is something that you want to render somewhere else. * It can be attach to / detached from a `PortalOutlet`. * - * 你希望在其它地方渲染的 `Portal`。它可以附着到 `PortalOutlet` 或从那里拆除。 + * 你希望在其它地方渲染的 `Portal`。它可以附加到 `PortalOutlet` 或从那里拆除。 * */ export abstract class Portal { @@ -47,7 +47,7 @@ export abstract class Portal { /** * Attach this portal to a host. * - * 把这个传送点附着到宿主上 + * 把这个传送点附加到宿主上 * */ attach(host: PortalOutlet): T { @@ -85,7 +85,7 @@ export abstract class Portal { /** * Whether this portal is attached to a host. * - * 此传送点是否已附着到宿主上。 + * 此传送点是否已附加到宿主上。 * */ get isAttached(): boolean { @@ -124,7 +124,7 @@ export class ComponentPortal extends Portal> { * This is different from where the component *renders*, which is determined by the PortalOutlet. * The origin is necessary when the host is outside of the Angular application context. * - * [可选] 附着组件应该放在 Angular 的*逻辑*组件树中。这与组件*渲染的*位置不同,后者由 PortalOutlet 决定。当宿主在 Angular 应用的上下文之外时,这个原点是必需的。 + * [可选] 附加组件应该放在 Angular 的*逻辑*组件树中。这与组件*渲染的*位置不同,后者由 PortalOutlet 决定。当宿主在 Angular 应用的上下文之外时,这个原点是必需的。 * */ viewContainerRef?: ViewContainerRef | null; @@ -141,7 +141,7 @@ export class ComponentPortal extends Portal> { * Alternate `ComponentFactoryResolver` to use when resolving the associated component. * Defaults to using the resolver from the outlet that the portal is attached to. * - * 在解析相关组件时要用到的 `ComponentFactoryResolver` 替代品。默认使用来自传送点所附着的出口地标的解析器。 + * 在解析相关组件时要用到的 `ComponentFactoryResolver` 替代品。默认使用来自传送点所附加的出口地标的解析器。 * */ componentFactoryResolver?: ComponentFactoryResolver | null; @@ -225,7 +225,7 @@ export class TemplatePortal extends Portal> { * in the DOM and moved into a portal outlet, when it is attached. On detach, the content * will be restored to its original position. * - * `DomPortal` 是一个传送点,它的 DOM 元素会从 DOM 中的当前位置获取,并在附着到传送点时移入其中。在拆除时,内容将恢复到其原来的位置。 + * `DomPortal` 是一个传送点,它的 DOM 元素会从 DOM 中的当前位置获取,并在附加到传送点时移入其中。在拆除时,内容将恢复到其原来的位置。 * */ export class DomPortal extends Portal { @@ -261,7 +261,7 @@ export interface PortalOutlet { /** * Detaches the currently attached portal from this outlet. * - * 从当前出口地标上拆除已经附着上的传送点。 + * 从当前出口地标上拆除已经附加上的传送点。 * */ detach(): any; @@ -298,14 +298,14 @@ export type PortalHost = PortalOutlet; * Partial implementation of PortalOutlet that handles attaching * ComponentPortal and TemplatePortal. * - * PortalOutlet 的部分实现,用于处理附着的 ComponentPortal 和 TemplatePortal。 + * PortalOutlet 的部分实现,用于处理附加的 ComponentPortal 和 TemplatePortal。 * */ export abstract class BasePortalOutlet implements PortalOutlet { /** * The portal currently attached to the host. * - * 这个传送点已经附着到了宿主上。 + * 这个传送点已经附加到了宿主上。 * */ protected _attachedPortal: Portal | null; @@ -329,7 +329,7 @@ export abstract class BasePortalOutlet implements PortalOutlet { /** * Whether this host has an attached portal. * - * 该宿主是否有附着的传送点。 + * 该宿主是否有附加的传送点。 * */ hasAttached(): boolean { @@ -343,7 +343,7 @@ export abstract class BasePortalOutlet implements PortalOutlet { /** * Attaches a portal. * - * 附着一个传送点。 + * 附加一个传送点。 * */ attach(portal: Portal): any { @@ -388,7 +388,7 @@ export abstract class BasePortalOutlet implements PortalOutlet { /** * Detaches a previously attached portal. * - * 拆除以前附着过的传送点。 + * 拆除以前附加过的传送点。 * */ detach(): void { diff --git a/src/cdk/scrolling/fixed-size-virtual-scroll.ts b/src/cdk/scrolling/fixed-size-virtual-scroll.ts index a86efd1e1..fbda016e5 100644 --- a/src/cdk/scrolling/fixed-size-virtual-scroll.ts +++ b/src/cdk/scrolling/fixed-size-virtual-scroll.ts @@ -34,7 +34,7 @@ export class FixedSizeVirtualScrollStrategy implements VirtualScrollStrategy { /** * The attached viewport. * - * 附着的视口。 + * 附加的视口。 * */ private _viewport: CdkVirtualScrollViewport | null = null; diff --git a/src/cdk/scrolling/virtual-scroll-strategy.ts b/src/cdk/scrolling/virtual-scroll-strategy.ts index 793949f84..de49808f1 100644 --- a/src/cdk/scrolling/virtual-scroll-strategy.ts +++ b/src/cdk/scrolling/virtual-scroll-strategy.ts @@ -37,11 +37,11 @@ export interface VirtualScrollStrategy { /** * Attaches this scroll strategy to a viewport. * - * 把这个滚动策略附着到视口中。 + * 把这个滚动策略附加到视口中。 * * @param viewport The viewport to attach this strategy to. * - * 要把此策略附着到的视口。 + * 要把此策略附加到的视口。 * */ attach(viewport: CdkVirtualScrollViewport): void; diff --git a/src/cdk/scrolling/virtual-scroll-viewport.ts b/src/cdk/scrolling/virtual-scroll-viewport.ts index 012cdb7fd..04a69e187 100644 --- a/src/cdk/scrolling/virtual-scroll-viewport.ts +++ b/src/cdk/scrolling/virtual-scroll-viewport.ts @@ -207,7 +207,7 @@ export class CdkVirtualScrollViewport extends CdkScrollable implements OnInit, O /** * the currently attached CdkVirtualScrollRepeater. * - * 当前已附着的 CdkVirtualScrollRepeater。 + * 当前已附加的 CdkVirtualScrollRepeater。 * */ private _forOf: CdkVirtualScrollRepeater | null; @@ -312,7 +312,7 @@ export class CdkVirtualScrollViewport extends CdkScrollable implements OnInit, O /** * Attaches a `CdkVirtualScrollRepeater` to this viewport. * - * 把 `CdkVirtualScrollRepeater` 附着到这个视口。 + * 把 `CdkVirtualScrollRepeater` 附加到这个视口。 * */ attach(forOf: CdkVirtualScrollRepeater) { diff --git a/src/material/autocomplete/autocomplete-trigger.ts b/src/material/autocomplete/autocomplete-trigger.ts index e76f1c7f9..d784a4f9e 100644 --- a/src/material/autocomplete/autocomplete-trigger.ts +++ b/src/material/autocomplete/autocomplete-trigger.ts @@ -242,7 +242,7 @@ export abstract class _MatAutocompleteTriggerBase implements ControlValueAccesso /** * The autocomplete panel to be attached to this trigger. * - * 要附着到此触发器的自动完成面板。 + * 要附加到此触发器的自动完成面板。 * */ @Input('matAutocomplete') autocomplete: _MatAutocompleteBase; diff --git a/src/material/bottom-sheet/bottom-sheet-container.ts b/src/material/bottom-sheet/bottom-sheet-container.ts index 40bfcb8ba..99f33b691 100644 --- a/src/material/bottom-sheet/bottom-sheet-container.ts +++ b/src/material/bottom-sheet/bottom-sheet-container.ts @@ -151,7 +151,7 @@ export class MatBottomSheetContainer extends BasePortalOutlet implements OnDestr /** * Attach a component portal as content to this bottom sheet container. * - * 把组件传送点作为内容附着到这个底部操作表容器中。 + * 把组件传送点作为内容附加到这个底部操作表容器中。 * */ attachComponentPortal(portal: ComponentPortal): ComponentRef { @@ -164,7 +164,7 @@ export class MatBottomSheetContainer extends BasePortalOutlet implements OnDestr /** * Attach a template portal as content to this bottom sheet container. * - * 把模板传送点作为内容附着到这个底部操作表容器中。 + * 把模板传送点作为内容附加到这个底部操作表容器中。 * */ attachTemplatePortal(portal: TemplatePortal): EmbeddedViewRef { diff --git a/src/material/button-toggle/button-toggle.ts b/src/material/button-toggle/button-toggle.ts index 7610487e4..4bba42df8 100644 --- a/src/material/button-toggle/button-toggle.ts +++ b/src/material/button-toggle/button-toggle.ts @@ -567,7 +567,7 @@ export class MatButtonToggle extends _MatButtonToggleMixinBase implements OnInit * Attached to the aria-label attribute of the host element. In most cases, aria-labelledby will * take precedence so this may be omitted. * - * 附着在宿主元素上的 aria-label 属性。在大多数情况下,aria-labelledby 优先,所以可省略。 + * 附加在宿主元素上的 aria-label 属性。在大多数情况下,aria-labelledby 优先,所以可省略。 * */ @Input('aria-label') ariaLabel: string; diff --git a/src/material/checkbox/checkbox.ts b/src/material/checkbox/checkbox.ts index c8e384c34..7a4e5cd0f 100644 --- a/src/material/checkbox/checkbox.ts +++ b/src/material/checkbox/checkbox.ts @@ -183,7 +183,7 @@ export class MatCheckbox extends _MatCheckboxMixinBase implements ControlValueAc * Attached to the aria-label attribute of the host element. In most cases, aria-labelledby will * take precedence so this may be omitted. * - * 附着在宿主元素的 aria-label 属性上。在大多数情况下,aria-labelledby 优先,所以这个可以省略。 + * 附加在宿主元素的 aria-label 属性上。在大多数情况下,aria-labelledby 优先,所以这个可以省略。 * */ @Input('aria-label') ariaLabel: string = ''; diff --git a/src/material/datepicker/date-range-input.ts b/src/material/datepicker/date-range-input.ts index 67ea8354d..baaa15301 100644 --- a/src/material/datepicker/date-range-input.ts +++ b/src/material/datepicker/date-range-input.ts @@ -424,7 +424,7 @@ export class MatDateRangeInput implements MatFormFieldControl>, /** * Gets the element to which the calendar overlay should be attached. * - * 获取要附着日历浮层的元素。 + * 获取要附加日历浮层的元素。 * */ getConnectedOverlayOrigin(): ElementRef { diff --git a/src/material/datepicker/datepicker-base.ts b/src/material/datepicker/datepicker-base.ts index 0ce76fe11..2f66866b4 100644 --- a/src/material/datepicker/datepicker-base.ts +++ b/src/material/datepicker/datepicker-base.ts @@ -337,7 +337,7 @@ export interface MatDatepickerControl { /** * A datepicker that can be attached to a {@link MatDatepickerControl}. * - * 一个可以附着到 {@link MatDatepickerControl} 上的日期选择器。 + * 一个可以附加到 {@link MatDatepickerControl} 上的日期选择器。 * */ export interface MatDatepickerPanel, S, diff --git a/src/material/dialog/dialog-config.ts b/src/material/dialog/dialog-config.ts index 365b028e3..60c2362e8 100644 --- a/src/material/dialog/dialog-config.ts +++ b/src/material/dialog/dialog-config.ts @@ -72,7 +72,7 @@ export class MatDialogConfig { * component instantiated inside of the dialog. This does not affect where the dialog * content will be rendered. * - * 附着到组件应该位于 Angular 的*逻辑*组件树中。这会影响注入时的可用内容以及在对话框中实例化的组件的变更检测顺序。这不会影响对象内容的渲染位置。 + * 附加到组件应该位于 Angular 的*逻辑*组件树中。这会影响注入时的可用内容以及在对话框中实例化的组件的变更检测顺序。这不会影响对象内容的渲染位置。 * */ viewContainerRef?: ViewContainerRef; diff --git a/src/material/dialog/dialog-container.ts b/src/material/dialog/dialog-container.ts index df318a1c6..a5acc3b5a 100644 --- a/src/material/dialog/dialog-container.ts +++ b/src/material/dialog/dialog-container.ts @@ -48,7 +48,7 @@ interface DialogAnimationEvent { * Throws an exception for the case when a ComponentPortal is * attached to a DomPortalOutlet without an origin. * - * 当 ComponentPortal 被附着到一个没有原点(origin)的 DomPortalOutlet 时会引发异常。 + * 当 ComponentPortal 被附加到一个没有原点(origin)的 DomPortalOutlet 时会引发异常。 * * @docs-private */ @@ -150,7 +150,7 @@ export abstract class _MatDialogContainerBase extends BasePortalOutlet { /** * Initializes the dialog container with the attached content. * - * 初始化带有附着内容的对话框容器。 + * 初始化带有附加内容的对话框容器。 * */ _initializeWithAttachedContent() { @@ -166,11 +166,11 @@ export abstract class _MatDialogContainerBase extends BasePortalOutlet { /** * Attach a ComponentPortal as content to this dialog container. * - * 把 ComponentPortal 作为内容附着到这个对话框的容器中。 + * 把 ComponentPortal 作为内容附加到这个对话框的容器中。 * * @param portal Portal to be attached as the dialog content. * - * 要作为对话框内容进行附着的传送点(Portal)。 + * 要作为对话框内容进行附加的传送点(Portal)。 * */ attachComponentPortal(portal: ComponentPortal): ComponentRef { @@ -184,11 +184,11 @@ export abstract class _MatDialogContainerBase extends BasePortalOutlet { /** * Attach a TemplatePortal as content to this dialog container. * - * 把 TemplatePortal 作为内容附着到这个对话框的容器中。 + * 把 TemplatePortal 作为内容附加到这个对话框的容器中。 * * @param portal Portal to be attached as the dialog content. * - * 要作为对话框内容进行附着的传送点。 + * 要作为对话框内容进行附加的传送点。 * */ attachTemplatePortal(portal: TemplatePortal): EmbeddedViewRef { @@ -202,11 +202,11 @@ export abstract class _MatDialogContainerBase extends BasePortalOutlet { /** * Attaches a DOM portal to the dialog container. * - * 把 DOM 传送点附着到对话框容器中。 + * 把 DOM 传送点附加到对话框容器中。 * * @param portal Portal to be attached. * - * 要附着的传送点。 + * 要附加的传送点。 * * @deprecated To be turned into a method. * diff --git a/src/material/dialog/dialog.ts b/src/material/dialog/dialog.ts index c5754a4d2..469d1bf38 100644 --- a/src/material/dialog/dialog.ts +++ b/src/material/dialog/dialog.ts @@ -305,7 +305,7 @@ export abstract class _MatDialogBase implemen /** * Attaches a dialog container to a dialog's already-created overlay. * - * 把一个对话框容器附着到一个已经创建过的对话框中。 + * 把一个对话框容器附加到一个已经创建过的对话框中。 * * @param overlay Reference to the dialog's underlying overlay. * @@ -317,7 +317,7 @@ export abstract class _MatDialogBase implemen * * @returns A promise resolving to a ComponentRef for the attached container. * - * 一个 Promise,会解析为所附着容器的 ComponentRef。 + * 一个 Promise,会解析为所附加容器的 ComponentRef。 */ private _attachDialogContainer(overlay: OverlayRef, config: MatDialogConfig): C { const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector; @@ -336,7 +336,7 @@ export abstract class _MatDialogBase implemen /** * Attaches the user-provided component to the already-created dialog container. * - * 把用户提供的组件附着到已创建的对话框中。 + * 把用户提供的组件附加到已创建的对话框中。 * * @param componentOrTemplateRef The type of component being loaded into the dialog, * or a TemplateRef to instantiate as the content. diff --git a/src/material/expansion/expansion-panel.ts b/src/material/expansion/expansion-panel.ts index 34939b417..bab461234 100644 --- a/src/material/expansion/expansion-panel.ts +++ b/src/material/expansion/expansion-panel.ts @@ -104,7 +104,7 @@ export const MAT_EXPANSION_PANEL_DEFAULT_OPTIONS = * This component can be used as a single element to show expandable content, or as one of * multiple children of an element with the MatAccordion directive attached. * - * 该组件既可以作为单个元素来显示可展开的内容,也可以作为附着了 MatAccordion 指令的元素的多个子元素之一。 + * 该组件既可以作为单个元素来显示可展开的内容,也可以作为附加了 MatAccordion 指令的元素的多个子元素之一。 * */ @Component({ diff --git a/src/material/form-field/form-field.ts b/src/material/form-field/form-field.ts index 6f7cd08dd..837bccfa0 100644 --- a/src/material/form-field/form-field.ts +++ b/src/material/form-field/form-field.ts @@ -397,7 +397,7 @@ export class MatFormField extends _MatFormFieldMixinBase * Gets an ElementRef for the element that a overlay attached to the form-field should be * positioned relative to. * - * 获取一个 ElementRef 元素,它为附着到表单字段上的浮层提供相对于该元素定位。 + * 获取一个 ElementRef 元素,它为附加到表单字段上的浮层提供相对于该元素定位。 * */ getConnectedOverlayOrigin(): ElementRef { @@ -754,7 +754,7 @@ export class MatFormField extends _MatFormFieldMixinBase /** * Checks whether the form field is attached to the DOM. * - * 检查表单字段是否已附着到 DOM。 + * 检查表单字段是否已附加到 DOM。 * */ private _isAttachedToDOM(): boolean { diff --git a/src/material/menu/menu-content.ts b/src/material/menu/menu-content.ts index c922f5d07..61bbf4210 100644 --- a/src/material/menu/menu-content.ts +++ b/src/material/menu/menu-content.ts @@ -49,7 +49,7 @@ export class MatMenuContent implements OnDestroy { /** * Emits when the menu content has been attached. * - * 菜单内容已附着时会触发。 + * 菜单内容已附加时会触发。 * */ _attached = new Subject(); @@ -66,7 +66,7 @@ export class MatMenuContent implements OnDestroy { /** * Attaches the content with a particular context. * - * 使用特定的上下文来附着内容。 + * 使用特定的上下文来附加内容。 * * @docs-private */ diff --git a/src/material/menu/menu-trigger.ts b/src/material/menu/menu-trigger.ts index 05f13f21b..69a5dcbb7 100644 --- a/src/material/menu/menu-trigger.ts +++ b/src/material/menu/menu-trigger.ts @@ -509,7 +509,7 @@ export class MatMenuTrigger implements AfterContentInit, OnDestroy { * This method creates the overlay from the provided menu's template and saves its * OverlayRef so that it can be attached to the DOM when openMenu is called. * - * 这个方法从提供的菜单模板中创建了 overlay,并保存了 OverlayRef,以便在调用 openMenu 时把它附着到 DOM 上。 + * 这个方法从提供的菜单模板中创建了 overlay,并保存了 OverlayRef,以便在调用 openMenu 时把它附加到 DOM 上。 * */ private _createOverlay(): OverlayRef { @@ -738,7 +738,7 @@ export class MatMenuTrigger implements AfterContentInit, OnDestroy { /** * Gets the portal that should be attached to the overlay. * - * 获取应该附着到浮层的传送点。 + * 获取应该附加到浮层的传送点。 * */ private _getPortal(): TemplatePortal { diff --git a/src/material/progress-spinner/progress-spinner.ts b/src/material/progress-spinner/progress-spinner.ts index 0a06ad64c..e3210859f 100644 --- a/src/material/progress-spinner/progress-spinner.ts +++ b/src/material/progress-spinner/progress-spinner.ts @@ -181,7 +181,7 @@ export class MatProgressSpinner extends _MatProgressSpinnerMixinBase implements * elements in the Shadow DOM the style tags are attached to the shadow root, rather * than the document head. * - * 跟踪现有实例的直径,以便对生成的样式进行重复数据删除(默认 d = 100)。我们需要跟踪这个直径已附着到哪些元素,因为对于 Shadow DOM 中的元素,样式标签会附着到 Shadow DOM 根上,而不是 document 头中。 + * 跟踪现有实例的直径,以便对生成的样式进行重复数据删除(默认 d = 100)。我们需要跟踪这个直径已附加到哪些元素,因为对于 Shadow DOM 中的元素,样式标签会附加到 Shadow DOM 根上,而不是 document 头中。 * */ private static _diameters = new WeakMap>(); diff --git a/src/material/select/select.ts b/src/material/select/select.ts index 0a356a8c8..cf8e194cf 100644 --- a/src/material/select/select.ts +++ b/src/material/select/select.ts @@ -1142,7 +1142,7 @@ export abstract class _MatSelectBase extends _MatSelectMixinBase implements A /** * Callback that is invoked when the overlay panel has been attached. * - * 附着到浮层面板时调用的回调函数。 + * 附加到浮层面板时调用的回调函数。 * */ _onAttached(): void { diff --git a/src/material/sidenav/drawer.ts b/src/material/sidenav/drawer.ts index ac6ecc221..165d7359e 100644 --- a/src/material/sidenav/drawer.ts +++ b/src/material/sidenav/drawer.ts @@ -173,7 +173,7 @@ export class MatDrawer implements AfterContentInit, AfterContentChecked, OnDestr /** * The side that the drawer is attached to. * - * 抽屉附着到的一侧。 + * 抽屉附加到的一侧。 * */ @Input() diff --git a/src/material/snack-bar/snack-bar-container.ts b/src/material/snack-bar/snack-bar-container.ts index 0276549e4..552fb2a7d 100644 --- a/src/material/snack-bar/snack-bar-container.ts +++ b/src/material/snack-bar/snack-bar-container.ts @@ -173,7 +173,7 @@ export class MatSnackBarContainer extends BasePortalOutlet /** * Attach a component portal as content to this snack bar container. * - * 把一个组件传送点作为内容附着到这个快餐栏容器中。 + * 把一个组件传送点作为内容附加到这个快餐栏容器中。 * */ attachComponentPortal(portal: ComponentPortal): ComponentRef { @@ -185,7 +185,7 @@ export class MatSnackBarContainer extends BasePortalOutlet /** * Attach a template portal as content to this snack bar container. * - * 把模板传送点作为内容附着到这个快餐栏容器中。 + * 把模板传送点作为内容附加到这个快餐栏容器中。 * */ attachTemplatePortal(portal: TemplatePortal): EmbeddedViewRef { @@ -197,7 +197,7 @@ export class MatSnackBarContainer extends BasePortalOutlet /** * Attaches a DOM portal to the snack bar container. * - * 把 DOM 传送点附着到这个快餐栏容器中。 + * 把 DOM 传送点附加到这个快餐栏容器中。 * * @deprecated To be turned into a method. * @breaking-change 10.0.0 @@ -327,7 +327,7 @@ export class MatSnackBarContainer extends BasePortalOutlet /** * Asserts that no content is already attached to the container. * - * 断言没有任何内容附着到了容器上。 + * 断言没有任何内容附加到了容器上。 * */ private _assertNotAttached() { diff --git a/src/material/snack-bar/snack-bar.ts b/src/material/snack-bar/snack-bar.ts index aee675848..ec1d3481d 100644 --- a/src/material/snack-bar/snack-bar.ts +++ b/src/material/snack-bar/snack-bar.ts @@ -75,7 +75,7 @@ export class MatSnackBar implements OnDestroy { /** * The container component that attaches the provided template or component. * - * 附着在所提供的模板或组件上的容器组件。 + * 附加在所提供的模板或组件上的容器组件。 * */ protected snackBarContainerComponent: Type<_SnackBarContainer> = MatSnackBarContainer; @@ -212,7 +212,7 @@ export class MatSnackBar implements OnDestroy { /** * Attaches the snack bar container component to the overlay. * - * 将快餐栏的容器组件附着到浮层上。 + * 将快餐栏的容器组件附加到浮层上。 * */ private _attachSnackBarContainer(overlayRef: OverlayRef, diff --git a/src/material/stepper/stepper-icon.ts b/src/material/stepper/stepper-icon.ts index 61caf6139..bba919a2f 100644 --- a/src/material/stepper/stepper-icon.ts +++ b/src/material/stepper/stepper-icon.ts @@ -12,7 +12,7 @@ import {StepState} from '@angular/cdk/stepper'; /** * Template context available to an attached `matStepperIcon`. * - * 可用于附着的 `matStepperIcon` 的模板上下文。 + * 可用于附加的 `matStepperIcon` 的模板上下文。 * */ export interface MatStepperIconContext { diff --git a/src/material/tooltip/tooltip.ts b/src/material/tooltip/tooltip.ts index 98558b8d0..83e3fc776 100644 --- a/src/material/tooltip/tooltip.ts +++ b/src/material/tooltip/tooltip.ts @@ -82,7 +82,7 @@ export const SCROLL_THROTTLE_MS = 20; /** * CSS class that will be attached to the overlay panel. * - * 那些要附着到浮层面板上的 CSS 类。 + * 那些要附加到浮层面板上的 CSS 类。 * */ export const TOOLTIP_PANEL_CLASS = 'mat-tooltip-panel'; @@ -175,7 +175,7 @@ export function MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY(): MatTooltipDefaultOptions * Directive that attaches a material design tooltip to the host element. Animates the showing and * hiding of a tooltip provided position (defaults to below the element). * - * 把 Material Design 工具提示附着到宿主元素上的指令。会在工具提示指定的位置(默认在元素下方)进行动画显示和隐藏。 + * 把 Material Design 工具提示附加到宿主元素上的指令。会在工具提示指定的位置(默认在元素下方)进行动画显示和隐藏。 * * */ @@ -574,7 +574,7 @@ export class MatTooltip implements OnDestroy, AfterViewInit { /** * Detaches the currently-attached tooltip. * - * 拆除当前附着的工具提示。 + * 拆除当前附加的工具提示。 * */ private _detach() { From 452126708850a0e18937ecf4c4f02295df0bc70f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Feb 2021 07:29:54 +0000 Subject: [PATCH 2/2] build: bump husky from 5.0.1 to 5.0.9 Bumps [husky](https://github.com/typicode/husky) from 5.0.1 to 5.0.9. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v5.0.1...v5.0.9) Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3a0560798..dc5da905f 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "gulp-cli": "^2.3.0", "gulp-sass": "^4.0.2", "highlight.js": "^10.4.0", - "husky": "5.0.1", + "husky": "5.0.9", "inquirer": "^7.1.0", "jasmine": "^3.5.0", "jasmine-core": "^3.5.0", diff --git a/yarn.lock b/yarn.lock index 980512cad..12f53e378 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6883,10 +6883,10 @@ https-proxy-agent@^5.0.0: agent-base "6" debug "4" -husky@5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/husky/-/husky-5.0.1.tgz#c1b1f2b0da297399e295b6c204b680e45f26feda" - integrity sha512-ZNfMqtluHyMaW795l1jOLGOGSFAyZ6JC8jZj1QkagBmfuxrSFKX+Wrbb9gR+OD8iNJb8JNDpaMtCpE5XnLdHMw== +husky@5.0.9: + version "5.0.9" + resolved "https://registry.yarnpkg.com/husky/-/husky-5.0.9.tgz#6d38706643d66ed395bcd4ee952d02e3f15eb3a3" + integrity sha512-0SjcaY21a+IRdx7p7r/X33Vc09UR2m8SbP8yfkhUX2/jAmwcz+GR7i9jXkp2pP3GfX23JhMkVP6SWwXB18uXtg== iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.11: version "0.4.24"