Skip to content

Commit a652e17

Browse files
authored
build: bump Angular dependencies and drop benchpress (#22390)
* Updates the `@angular` dependencies to the latest versions. * Removes the depenency on `@angular/benchpress` since we weren't using it and it was causing some issues in the snapshot builds.
1 parent 16d1f9e commit a652e17

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+943
-897
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ jobs:
366366
# much about any failures that have made it into the main branch.
367367
command: |
368368
if [ -n "$CIRCLE_PR_NUMBER" ]; then
369-
yarn ng-dev commit-message validate-range --range $CI_COMMIT_RANGE
369+
yarn ng-dev commit-message validate-range $CI_GIT_BASE_REVISION $CI_GIT_REVISION
370370
fi
371371
372372
- *slack_notify_on_failure

package.json

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@
5252
},
5353
"version": "12.0.0-next.5",
5454
"dependencies": {
55-
"@angular/animations": "^12.0.0-next.5",
56-
"@angular/common": "^12.0.0-next.5",
57-
"@angular/compiler": "^12.0.0-next.5",
58-
"@angular/core": "^12.0.0-next.5",
59-
"@angular/elements": "^12.0.0-next.5",
60-
"@angular/forms": "^12.0.0-next.5",
61-
"@angular/platform-browser": "^12.0.0-next.5",
55+
"@angular/animations": "^12.0.0-next.7",
56+
"@angular/common": "^12.0.0-next.7",
57+
"@angular/compiler": "^12.0.0-next.7",
58+
"@angular/core": "^12.0.0-next.7",
59+
"@angular/elements": "^12.0.0-next.7",
60+
"@angular/forms": "^12.0.0-next.7",
61+
"@angular/platform-browser": "^12.0.0-next.7",
6262
"@types/googlemaps": "^3.43.1",
6363
"@types/youtube": "^0.0.42",
6464
"@webcomponents/custom-elements": "^1.1.0",
@@ -71,16 +71,15 @@
7171
"zone.js": "~0.11.3"
7272
},
7373
"devDependencies": {
74-
"@angular-devkit/build-optimizer": "^0.1200.0-next.4",
75-
"@angular-devkit/core": "^12.0.0-next.4",
76-
"@angular-devkit/schematics": "^12.0.0-next.4",
77-
"@angular/bazel": "^12.0.0-next.5",
78-
"@angular/benchpress": "^0.2.1",
79-
"@angular/compiler-cli": "^12.0.0-next.5",
80-
"@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#a8dbb0d8cd8de1e86a4ec4ea66b5bd89a47d4876",
81-
"@angular/platform-browser-dynamic": "^12.0.0-next.5",
82-
"@angular/platform-server": "^12.0.0-next.5",
83-
"@angular/router": "^12.0.0-next.5",
74+
"@angular-devkit/build-optimizer": "^0.1200.0-next.6",
75+
"@angular-devkit/core": "^12.0.0-next.6",
76+
"@angular-devkit/schematics": "^12.0.0-next.6",
77+
"@angular/bazel": "^12.0.0-next.7",
78+
"@angular/compiler-cli": "^12.0.0-next.7",
79+
"@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#3953ba9eea35a2660b6068523bafb92634042be9",
80+
"@angular/platform-browser-dynamic": "^12.0.0-next.7",
81+
"@angular/platform-server": "^12.0.0-next.7",
82+
"@angular/router": "^12.0.0-next.7",
8483
"@axe-core/webdriverjs": "^4.1.0",
8584
"@bazel/bazelisk": "^1.4.0",
8685
"@bazel/buildifier": "^4.0.0",
@@ -140,7 +139,7 @@
140139
"@material/touch-target": "11.0.0-canary.15604bd0d.0",
141140
"@material/typography": "11.0.0-canary.15604bd0d.0",
142141
"@octokit/rest": "18.3.5",
143-
"@schematics/angular": "^12.0.0-next.4",
142+
"@schematics/angular": "^12.0.0-next.6",
144143
"@types/autoprefixer": "^9.7.2",
145144
"@types/browser-sync": "^2.26.1",
146145
"@types/fs-extra": "^9.0.5",

tools/public_api_guard/cdk/a11y.d.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
export declare class A11yModule {
22
constructor(highContrastModeDetector: HighContrastModeDetector);
3-
static ɵfac: i0.ɵɵFactoryDef<A11yModule, never>;
4-
static ɵinj: i0.ɵɵInjectorDef<A11yModule>;
5-
static ɵmod: i0.ɵɵNgModuleDefWithMeta<A11yModule, [typeof i1.CdkAriaLive, typeof i2.CdkTrapFocus, typeof i3.CdkMonitorFocus], [typeof i4.PlatformModule, typeof i5.ObserversModule], [typeof i1.CdkAriaLive, typeof i2.CdkTrapFocus, typeof i3.CdkMonitorFocus]>;
3+
static ɵfac: i0.ɵɵFactoryDeclaration<A11yModule, never>;
4+
static ɵinj: i0.ɵɵInjectorDeclaration<A11yModule>;
5+
static ɵmod: i0.ɵɵNgModuleDeclaration<A11yModule, [typeof i1.CdkAriaLive, typeof i2.CdkTrapFocus, typeof i3.CdkMonitorFocus], [typeof i4.PlatformModule, typeof i5.ObserversModule], [typeof i1.CdkAriaLive, typeof i2.CdkTrapFocus, typeof i3.CdkMonitorFocus]>;
66
}
77

88
export declare class ActiveDescendantKeyManager<T> extends ListKeyManager<Highlightable & T> {
@@ -17,7 +17,7 @@ export declare class AriaDescriber implements OnDestroy {
1717
ngOnDestroy(): void;
1818
removeDescription(hostElement: Element, message: string, role?: string): void;
1919
removeDescription(hostElement: Element, message: HTMLElement): void;
20-
static ɵfac: i0.ɵɵFactoryDef<AriaDescriber, never>;
20+
static ɵfac: i0.ɵɵFactoryDeclaration<AriaDescriber, never>;
2121
static ɵprov: i0.ɵɵInjectableDef<AriaDescriber>;
2222
}
2323

@@ -32,17 +32,17 @@ export declare class CdkAriaLive implements OnDestroy {
3232
set politeness(value: AriaLivePoliteness);
3333
constructor(_elementRef: ElementRef, _liveAnnouncer: LiveAnnouncer, _contentObserver: ContentObserver, _ngZone: NgZone);
3434
ngOnDestroy(): void;
35-
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkAriaLive, "[cdkAriaLive]", ["cdkAriaLive"], { "politeness": "cdkAriaLive"; }, {}, never>;
36-
static ɵfac: i0.ɵɵFactoryDef<CdkAriaLive, never>;
35+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAriaLive, "[cdkAriaLive]", ["cdkAriaLive"], { "politeness": "cdkAriaLive"; }, {}, never>;
36+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAriaLive, never>;
3737
}
3838

3939
export declare class CdkMonitorFocus implements AfterViewInit, OnDestroy {
4040
cdkFocusChange: EventEmitter<FocusOrigin>;
4141
constructor(_elementRef: ElementRef<HTMLElement>, _focusMonitor: FocusMonitor);
4242
ngAfterViewInit(): void;
4343
ngOnDestroy(): void;
44-
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkMonitorFocus, "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", never, {}, { "cdkFocusChange": "cdkFocusChange"; }, never>;
45-
static ɵfac: i0.ɵɵFactoryDef<CdkMonitorFocus, never>;
44+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMonitorFocus, "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", never, {}, { "cdkFocusChange": "cdkFocusChange"; }, never>;
45+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkMonitorFocus, never>;
4646
}
4747

4848
export declare class CdkTrapFocus implements OnDestroy, AfterContentInit, OnChanges, DoCheck {
@@ -58,8 +58,8 @@ export declare class CdkTrapFocus implements OnDestroy, AfterContentInit, OnChan
5858
ngOnDestroy(): void;
5959
static ngAcceptInputType_autoCapture: BooleanInput;
6060
static ngAcceptInputType_enabled: BooleanInput;
61-
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkTrapFocus, "[cdkTrapFocus]", ["cdkTrapFocus"], { "enabled": "cdkTrapFocus"; "autoCapture": "cdkTrapFocusAutoCapture"; }, {}, never>;
62-
static ɵfac: i0.ɵɵFactoryDef<CdkTrapFocus, never>;
61+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkTrapFocus, "[cdkTrapFocus]", ["cdkTrapFocus"], { "enabled": "cdkTrapFocus"; "autoCapture": "cdkTrapFocusAutoCapture"; }, {}, never>;
62+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTrapFocus, never>;
6363
}
6464

6565
export declare class ConfigurableFocusTrap extends FocusTrap implements ManagedFocusTrap {
@@ -79,7 +79,7 @@ export declare class ConfigurableFocusTrapFactory {
7979
constructor(_checker: InteractivityChecker, _ngZone: NgZone, _focusTrapManager: FocusTrapManager, _document: any, _inertStrategy?: FocusTrapInertStrategy);
8080
create(element: HTMLElement, config?: ConfigurableFocusTrapConfig): ConfigurableFocusTrap;
8181
create(element: HTMLElement, deferCaptureElements: boolean): ConfigurableFocusTrap;
82-
static ɵfac: i0.ɵɵFactoryDef<ConfigurableFocusTrapFactory, [null, null, null, null, { optional: true; }]>;
82+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurableFocusTrapFactory, [null, null, null, null, { optional: true; }]>;
8383
static ɵprov: i0.ɵɵInjectableDef<ConfigurableFocusTrapFactory>;
8484
}
8585

@@ -114,7 +114,7 @@ export declare class FocusMonitor implements OnDestroy {
114114
ngOnDestroy(): void;
115115
stopMonitoring(element: HTMLElement): void;
116116
stopMonitoring(element: ElementRef<HTMLElement>): void;
117-
static ɵfac: i0.ɵɵFactoryDef<FocusMonitor, [null, null, { optional: true; }, { optional: true; }]>;
117+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusMonitor, [null, null, { optional: true; }, { optional: true; }]>;
118118
static ɵprov: i0.ɵɵInjectableDef<FocusMonitor>;
119119
}
120120

@@ -158,7 +158,7 @@ export declare class FocusTrap {
158158
export declare class FocusTrapFactory {
159159
constructor(_checker: InteractivityChecker, _ngZone: NgZone, _document: any);
160160
create(element: HTMLElement, deferCaptureElements?: boolean): FocusTrap;
161-
static ɵfac: i0.ɵɵFactoryDef<FocusTrapFactory, never>;
161+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapFactory, never>;
162162
static ɵprov: i0.ɵɵInjectableDef<FocusTrapFactory>;
163163
}
164164

@@ -177,7 +177,7 @@ export declare class HighContrastModeDetector {
177177
constructor(_platform: Platform, document: any);
178178
_applyBodyHighContrastModeCssClasses(): void;
179179
getHighContrastMode(): HighContrastMode;
180-
static ɵfac: i0.ɵɵFactoryDef<HighContrastModeDetector, never>;
180+
static ɵfac: i0.ɵɵFactoryDeclaration<HighContrastModeDetector, never>;
181181
static ɵprov: i0.ɵɵInjectableDef<HighContrastModeDetector>;
182182
}
183183

@@ -192,7 +192,7 @@ export declare class InteractivityChecker {
192192
isFocusable(element: HTMLElement, config?: IsFocusableConfig): boolean;
193193
isTabbable(element: HTMLElement): boolean;
194194
isVisible(element: HTMLElement): boolean;
195-
static ɵfac: i0.ɵɵFactoryDef<InteractivityChecker, never>;
195+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractivityChecker, never>;
196196
static ɵprov: i0.ɵɵInjectableDef<InteractivityChecker>;
197197
}
198198

@@ -250,7 +250,7 @@ export declare class LiveAnnouncer implements OnDestroy {
250250
announce(message: string, politeness?: AriaLivePoliteness, duration?: number): Promise<void>;
251251
clear(): void;
252252
ngOnDestroy(): void;
253-
static ɵfac: i0.ɵɵFactoryDef<LiveAnnouncer, [{ optional: true; }, null, null, { optional: true; }]>;
253+
static ɵfac: i0.ɵɵFactoryDeclaration<LiveAnnouncer, [{ optional: true; }, null, null, { optional: true; }]>;
254254
static ɵprov: i0.ɵɵInjectableDef<LiveAnnouncer>;
255255
}
256256

tools/public_api_guard/cdk/accordion.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export declare class CdkAccordion implements OnDestroy, OnChanges {
99
ngOnDestroy(): void;
1010
openAll(): void;
1111
static ngAcceptInputType_multi: BooleanInput;
12-
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkAccordion, "cdk-accordion, [cdkAccordion]", ["cdkAccordion"], { "multi": "multi"; }, {}, never>;
13-
static ɵfac: i0.ɵɵFactoryDef<CdkAccordion, never>;
12+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAccordion, "cdk-accordion, [cdkAccordion]", ["cdkAccordion"], { "multi": "multi"; }, {}, never>;
13+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordion, never>;
1414
}
1515

1616
export declare class CdkAccordionItem implements OnDestroy {
@@ -32,12 +32,12 @@ export declare class CdkAccordionItem implements OnDestroy {
3232
toggle(): void;
3333
static ngAcceptInputType_disabled: BooleanInput;
3434
static ngAcceptInputType_expanded: BooleanInput;
35-
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkAccordionItem, "cdk-accordion-item, [cdkAccordionItem]", ["cdkAccordionItem"], { "expanded": "expanded"; "disabled": "disabled"; }, { "closed": "closed"; "opened": "opened"; "destroyed": "destroyed"; "expandedChange": "expandedChange"; }, never>;
36-
static ɵfac: i0.ɵɵFactoryDef<CdkAccordionItem, [{ optional: true; skipSelf: true; }, null, null]>;
35+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAccordionItem, "cdk-accordion-item, [cdkAccordionItem]", ["cdkAccordionItem"], { "expanded": "expanded"; "disabled": "disabled"; }, { "closed": "closed"; "opened": "opened"; "destroyed": "destroyed"; "expandedChange": "expandedChange"; }, never>;
36+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordionItem, [{ optional: true; skipSelf: true; }, null, null]>;
3737
}
3838

3939
export declare class CdkAccordionModule {
40-
static ɵfac: i0.ɵɵFactoryDef<CdkAccordionModule, never>;
41-
static ɵinj: i0.ɵɵInjectorDef<CdkAccordionModule>;
42-
static ɵmod: i0.ɵɵNgModuleDefWithMeta<CdkAccordionModule, [typeof i1.CdkAccordion, typeof i2.CdkAccordionItem], never, [typeof i1.CdkAccordion, typeof i2.CdkAccordionItem]>;
40+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAccordionModule, never>;
41+
static ɵinj: i0.ɵɵInjectorDeclaration<CdkAccordionModule>;
42+
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkAccordionModule, [typeof i1.CdkAccordion, typeof i2.CdkAccordionItem], never, [typeof i1.CdkAccordion, typeof i2.CdkAccordionItem]>;
4343
}

tools/public_api_guard/cdk/bidi.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export declare class BidiModule {
2-
static ɵfac: i0.ɵɵFactoryDef<BidiModule, never>;
3-
static ɵinj: i0.ɵɵInjectorDef<BidiModule>;
4-
static ɵmod: i0.ɵɵNgModuleDefWithMeta<BidiModule, [typeof i1.Dir], never, [typeof i1.Dir]>;
2+
static ɵfac: i0.ɵɵFactoryDeclaration<BidiModule, never>;
3+
static ɵinj: i0.ɵɵInjectorDeclaration<BidiModule>;
4+
static ɵmod: i0.ɵɵNgModuleDeclaration<BidiModule, [typeof i1.Dir], never, [typeof i1.Dir]>;
55
}
66

77
export declare class Dir implements Directionality, AfterContentInit, OnDestroy {
@@ -12,8 +12,8 @@ export declare class Dir implements Directionality, AfterContentInit, OnDestroy
1212
get value(): Direction;
1313
ngAfterContentInit(): void;
1414
ngOnDestroy(): void;
15-
static ɵdir: i0.ɵɵDirectiveDefWithMeta<Dir, "[dir]", ["dir"], { "dir": "dir"; }, { "change": "dirChange"; }, never>;
16-
static ɵfac: i0.ɵɵFactoryDef<Dir, never>;
15+
static ɵdir: i0.ɵɵDirectiveDeclaration<Dir, "[dir]", ["dir"], { "dir": "dir"; }, { "change": "dirChange"; }, never>;
16+
static ɵfac: i0.ɵɵFactoryDeclaration<Dir, never>;
1717
}
1818

1919
export declare const DIR_DOCUMENT: InjectionToken<Document>;
@@ -25,6 +25,6 @@ export declare class Directionality implements OnDestroy {
2525
readonly value: Direction;
2626
constructor(_document?: any);
2727
ngOnDestroy(): void;
28-
static ɵfac: i0.ɵɵFactoryDef<Directionality, [{ optional: true; }]>;
28+
static ɵfac: i0.ɵɵFactoryDeclaration<Directionality, [{ optional: true; }]>;
2929
static ɵprov: i0.ɵɵInjectableDef<Directionality>;
3030
}

tools/public_api_guard/cdk/clipboard.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export declare class CdkCopyToClipboard implements OnDestroy {
77
constructor(_clipboard: Clipboard, _ngZone: NgZone, config?: CdkCopyToClipboardConfig);
88
copy(attempts?: number): void;
99
ngOnDestroy(): void;
10-
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkCopyToClipboard, "[cdkCopyToClipboard]", never, { "text": "cdkCopyToClipboard"; "attempts": "cdkCopyToClipboardAttempts"; }, { "copied": "cdkCopyToClipboardCopied"; }, never>;
11-
static ɵfac: i0.ɵɵFactoryDef<CdkCopyToClipboard, [null, null, { optional: true; }]>;
10+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCopyToClipboard, "[cdkCopyToClipboard]", never, { "text": "cdkCopyToClipboard"; "attempts": "cdkCopyToClipboardAttempts"; }, { "copied": "cdkCopyToClipboardCopied"; }, never>;
11+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkCopyToClipboard, [null, null, { optional: true; }]>;
1212
}
1313

1414
export interface CdkCopyToClipboardConfig {
@@ -21,14 +21,14 @@ export declare class Clipboard {
2121
constructor(document: any);
2222
beginCopy(text: string): PendingCopy;
2323
copy(text: string): boolean;
24-
static ɵfac: i0.ɵɵFactoryDef<Clipboard, never>;
24+
static ɵfac: i0.ɵɵFactoryDeclaration<Clipboard, never>;
2525
static ɵprov: i0.ɵɵInjectableDef<Clipboard>;
2626
}
2727

2828
export declare class ClipboardModule {
29-
static ɵfac: i0.ɵɵFactoryDef<ClipboardModule, never>;
30-
static ɵinj: i0.ɵɵInjectorDef<ClipboardModule>;
31-
static ɵmod: i0.ɵɵNgModuleDefWithMeta<ClipboardModule, [typeof i1.CdkCopyToClipboard], never, [typeof i1.CdkCopyToClipboard]>;
29+
static ɵfac: i0.ɵɵFactoryDeclaration<ClipboardModule, never>;
30+
static ɵinj: i0.ɵɵInjectorDeclaration<ClipboardModule>;
31+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClipboardModule, [typeof i1.CdkCopyToClipboard], never, [typeof i1.CdkCopyToClipboard]>;
3232
}
3333

3434
export declare class PendingCopy {

tools/public_api_guard/cdk/collections.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export declare class UniqueSelectionDispatcher implements OnDestroy {
100100
listen(listener: UniqueSelectionDispatcherListener): () => void;
101101
ngOnDestroy(): void;
102102
notify(id: string, name: string): void;
103-
static ɵfac: i0.ɵɵFactoryDef<UniqueSelectionDispatcher, never>;
103+
static ɵfac: i0.ɵɵFactoryDeclaration<UniqueSelectionDispatcher, never>;
104104
static ɵprov: i0.ɵɵInjectableDef<UniqueSelectionDispatcher>;
105105
}
106106

0 commit comments

Comments
 (0)