Skip to content

build: bump a few Angular and external dependencies #22507

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

Merged
merged 1 commit into from
Apr 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ jobs:
name: Prepare CDK artifacts for publish.
command: |
mkdir -p /tmp/cdk-umd-minified-bundles
cp dist/releases/cdk/bundles/*.umd.min.js /tmp/cdk-umd-minified-bundles
cp dist/releases/cdk/bundles/*.umd.js /tmp/cdk-umd-minified-bundles
# Publish bundle artifacts which will be used to calculate the size change.
# Note: Make sure that the size plugin from the Angular robot fetches the artifacts
# from this CircleCI job (see .github/angular-robot.yml). Additionally any artifacts need to
Expand All @@ -427,8 +427,8 @@ jobs:
# artifacts from CircleCI. See:
# https://github.com/angular/github-robot/blob/master/functions/src/plugins/size.ts#L392-L394
- store_artifacts:
path: dist/releases/material/bundles/material.umd.min.js
destination: /angular_material/material_release_output/material.umd.min.js
path: dist/releases/material/bundles/material.umd.js
destination: /angular_material/material_release_output/material.umd.js
- store_artifacts:
path: /tmp/cdk-umd-minified-bundles
destination: /angular_material/cdk_release_output/
Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
},
"version": "12.1.0-next.0",
"dependencies": {
"@angular/animations": "^12.0.0-next.7",
"@angular/common": "^12.0.0-next.7",
"@angular/compiler": "^12.0.0-next.7",
"@angular/core": "^12.0.0-next.7",
"@angular/elements": "^12.0.0-next.7",
"@angular/forms": "^12.0.0-next.7",
"@angular/platform-browser": "^12.0.0-next.7",
"@angular/animations": "^12.0.0-next.9",
"@angular/common": "^12.0.0-next.9",
"@angular/compiler": "^12.0.0-next.9",
"@angular/core": "^12.0.0-next.9",
"@angular/elements": "^12.0.0-next.9",
"@angular/forms": "^12.0.0-next.9",
"@angular/platform-browser": "^12.0.0-next.9",
"@types/googlemaps": "^3.43.1",
"@types/youtube": "^0.0.42",
"@webcomponents/custom-elements": "^1.1.0",
Expand All @@ -71,15 +71,15 @@
"zone.js": "~0.11.3"
},
"devDependencies": {
"@angular-devkit/build-optimizer": "^0.1200.0-next.6",
"@angular-devkit/core": "^12.0.0-next.6",
"@angular-devkit/schematics": "^12.0.0-next.6",
"@angular/bazel": "^12.0.0-next.7",
"@angular/compiler-cli": "^12.0.0-next.7",
"@angular-devkit/build-optimizer": "^0.1200.0-next.9",
"@angular-devkit/core": "^12.0.0-next.9",
"@angular-devkit/schematics": "^12.0.0-next.9",
"@angular/bazel": "^12.0.0-next.9",
"@angular/compiler-cli": "^12.0.0-next.9",
"@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#3953ba9eea35a2660b6068523bafb92634042be9",
"@angular/platform-browser-dynamic": "^12.0.0-next.7",
"@angular/platform-server": "^12.0.0-next.7",
"@angular/router": "^12.0.0-next.7",
"@angular/platform-browser-dynamic": "^12.0.0-next.9",
"@angular/platform-server": "^12.0.0-next.9",
"@angular/router": "^12.0.0-next.9",
"@axe-core/webdriverjs": "^4.1.0",
"@bazel/bazelisk": "1.7.5",
"@bazel/buildifier": "4.0.1",
Expand Down Expand Up @@ -140,7 +140,7 @@
"@material/touch-target": "11.0.0-canary.15604bd0d.0",
"@material/typography": "11.0.0-canary.15604bd0d.0",
"@octokit/rest": "18.3.5",
"@schematics/angular": "^12.0.0-next.6",
"@schematics/angular": "^12.0.0-next.9",
"@types/autoprefixer": "^9.7.2",
"@types/browser-sync": "^2.26.1",
"@types/fs-extra": "^9.0.5",
Expand Down Expand Up @@ -179,7 +179,7 @@
"inquirer": "^8.0.0",
"jasmine": "^3.6.0",
"jasmine-core": "^3.6.0",
"kagekiri": "^1.0.18",
"kagekiri": "^1.4.1",
"karma": "^4.4.1",
"karma-browserstack-launcher": "^1.6.0",
"karma-chrome-launcher": "^3.1.0",
Expand Down Expand Up @@ -214,7 +214,7 @@
"stylelint": "^13.8.0",
"terser": "^4.8.0",
"ts-api-guardian": "^0.6.0",
"ts-node": "^9.0.0",
"ts-node": "^9.1.1",
"tsickle": "0.39.1",
"tslint": "^6.1.3",
"tsutils": "^3.17.1",
Expand Down
5 changes: 0 additions & 5 deletions src/cdk/schematics/ng-generate/drag-drop/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@
"type": "boolean",
"default": false,
"description": "Specifies if declaring module exports the component."
},
"entryComponent": {
"type": "boolean",
"default": false,
"description": "Specifies if the component is an entry component of declaring module."
}
},
"required": ["name"]
Expand Down
21 changes: 0 additions & 21 deletions src/cdk/schematics/utils/build-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import {dirname, join, resolve} from 'path';
import * as ts from 'typescript';
import {
addDeclarationToModule,
addEntryComponentToModule,
addExportToModule,
} from '../utils/vendored-ast-utils';
import {getProjectFromWorkspace} from './get-project';
Expand Down Expand Up @@ -119,26 +118,6 @@ function addDeclarationToNgModule(options: ComponentOptions): Rule {
host.commitUpdate(exportRecorder);
}

if (options.entryComponent) {
// Need to refresh the AST because we overwrote the file in the host.
source = readIntoSourceFile(host, modulePath);

const entryComponentRecorder = host.beginUpdate(modulePath);
const entryComponentChanges = addEntryComponentToModule(
source,
modulePath,
strings.classify(`${options.name}Component`),
relativePath);

for (const change of entryComponentChanges) {
if (change instanceof InsertChange) {
entryComponentRecorder.insertLeft(change.pos, change.toAdd);
}
}
host.commitUpdate(entryComponentRecorder);
}


return host;
};
}
Expand Down
13 changes: 0 additions & 13 deletions src/cdk/schematics/utils/vendored-ast-utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,19 +489,6 @@ export function addExportToModule(source: ts.SourceFile,
return addSymbolToNgModuleMetadata(source, modulePath, 'exports', classifiedName, importPath);
}

/**
* Custom function to insert an entryComponent into NgModule. It also imports it.
* @deprecated - Since version 9.0.0 with Ivy, entryComponents is no longer necessary.
*/
export function addEntryComponentToModule(source: ts.SourceFile,
modulePath: string, classifiedName: string,
importPath: string): Change[] {
return addSymbolToNgModuleMetadata(
source, modulePath,
'entryComponents', classifiedName, importPath,
);
}

export function findBootstrapModuleCall(host: Tree, mainPath: string): ts.CallExpression | null {
const mainBuffer = host.read(mainPath);
if (!mainBuffer) {
Expand Down
5 changes: 0 additions & 5 deletions src/material/schematics/ng-generate/address-form/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@
"type": "boolean",
"default": false,
"description": "Specifies if declaring module exports the component."
},
"entryComponent": {
"type": "boolean",
"default": false,
"description": "Specifies if the component is an entry component of declaring module."
}
},
"required": ["name"]
Expand Down
5 changes: 0 additions & 5 deletions src/material/schematics/ng-generate/dashboard/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@
"type": "boolean",
"default": false,
"description": "Specifies if declaring module exports the component."
},
"entryComponent": {
"type": "boolean",
"default": false,
"description": "Specifies if the component is an entry component of declaring module."
}
},
"required": ["name"]
Expand Down
5 changes: 0 additions & 5 deletions src/material/schematics/ng-generate/navigation/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@
"default": false,
"description": "Specifies if declaring module exports the component."
},
"entryComponent": {
"type": "boolean",
"default": false,
"description": "Specifies if the component is an entry component of declaring module."
},
"routing": {
"type": "boolean",
"default": false,
Expand Down
5 changes: 0 additions & 5 deletions src/material/schematics/ng-generate/table/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@
"type": "boolean",
"default": false,
"description": "Specifies if declaring module exports the component."
},
"entryComponent": {
"type": "boolean",
"default": false,
"description": "Specifies if the component is an entry component of declaring module."
}
},
"required": ["name"]
Expand Down
5 changes: 0 additions & 5 deletions src/material/schematics/ng-generate/tree/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@
"type": "boolean",
"default": false,
"description": "Specifies if declaring module exports the component."
},
"entryComponent": {
"type": "boolean",
"default": false,
"description": "Specifies if the component is an entry component of declaring module."
}
},
"required": ["name"]
Expand Down
14 changes: 7 additions & 7 deletions tools/public_api_guard/cdk/a11y.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export declare class AriaDescriber implements OnDestroy {
removeDescription(hostElement: Element, message: string, role?: string): void;
removeDescription(hostElement: Element, message: HTMLElement): void;
static ɵfac: i0.ɵɵFactoryDeclaration<AriaDescriber, never>;
static ɵprov: i0.ɵɵInjectableDef<AriaDescriber>;
static ɵprov: i0.ɵɵInjectableDeclaration<AriaDescriber>;
}

export declare type AriaLivePoliteness = 'off' | 'polite' | 'assertive';
Expand Down Expand Up @@ -80,7 +80,7 @@ export declare class ConfigurableFocusTrapFactory {
create(element: HTMLElement, config?: ConfigurableFocusTrapConfig): ConfigurableFocusTrap;
create(element: HTMLElement, deferCaptureElements: boolean): ConfigurableFocusTrap;
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurableFocusTrapFactory, [null, null, null, null, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDef<ConfigurableFocusTrapFactory>;
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurableFocusTrapFactory>;
}

export declare class EventListenerFocusTrapInertStrategy implements FocusTrapInertStrategy {
Expand Down Expand Up @@ -115,7 +115,7 @@ export declare class FocusMonitor implements OnDestroy {
stopMonitoring(element: HTMLElement): void;
stopMonitoring(element: ElementRef<HTMLElement>): void;
static ɵfac: i0.ɵɵFactoryDeclaration<FocusMonitor, [null, null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDef<FocusMonitor>;
static ɵprov: i0.ɵɵInjectableDeclaration<FocusMonitor>;
}

export declare const enum FocusMonitorDetectionMode {
Expand Down Expand Up @@ -159,7 +159,7 @@ export declare class FocusTrapFactory {
constructor(_checker: InteractivityChecker, _ngZone: NgZone, _document: any);
create(element: HTMLElement, deferCaptureElements?: boolean): FocusTrap;
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapFactory, never>;
static ɵprov: i0.ɵɵInjectableDef<FocusTrapFactory>;
static ɵprov: i0.ɵɵInjectableDeclaration<FocusTrapFactory>;
}

export interface FocusTrapInertStrategy {
Expand All @@ -178,7 +178,7 @@ export declare class HighContrastModeDetector {
_applyBodyHighContrastModeCssClasses(): void;
getHighContrastMode(): HighContrastMode;
static ɵfac: i0.ɵɵFactoryDeclaration<HighContrastModeDetector, never>;
static ɵprov: i0.ɵɵInjectableDef<HighContrastModeDetector>;
static ɵprov: i0.ɵɵInjectableDeclaration<HighContrastModeDetector>;
}

export interface Highlightable extends ListKeyManagerOption {
Expand All @@ -193,7 +193,7 @@ export declare class InteractivityChecker {
isTabbable(element: HTMLElement): boolean;
isVisible(element: HTMLElement): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<InteractivityChecker, never>;
static ɵprov: i0.ɵɵInjectableDef<InteractivityChecker>;
static ɵprov: i0.ɵɵInjectableDeclaration<InteractivityChecker>;
}

export declare function isFakeMousedownFromScreenReader(event: MouseEvent): boolean;
Expand Down Expand Up @@ -251,7 +251,7 @@ export declare class LiveAnnouncer implements OnDestroy {
clear(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<LiveAnnouncer, [{ optional: true; }, null, null, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDef<LiveAnnouncer>;
static ɵprov: i0.ɵɵInjectableDeclaration<LiveAnnouncer>;
}

export interface LiveAnnouncerDefaultOptions {
Expand Down
2 changes: 1 addition & 1 deletion tools/public_api_guard/cdk/bidi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ export declare class Directionality implements OnDestroy {
constructor(_document?: any);
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<Directionality, [{ optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDef<Directionality>;
static ɵprov: i0.ɵɵInjectableDeclaration<Directionality>;
}
2 changes: 1 addition & 1 deletion tools/public_api_guard/cdk/clipboard.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export declare class Clipboard {
beginCopy(text: string): PendingCopy;
copy(text: string): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<Clipboard, never>;
static ɵprov: i0.ɵɵInjectableDef<Clipboard>;
static ɵprov: i0.ɵɵInjectableDeclaration<Clipboard>;
}

export declare class ClipboardModule {
Expand Down
2 changes: 1 addition & 1 deletion tools/public_api_guard/cdk/collections.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export declare class UniqueSelectionDispatcher implements OnDestroy {
ngOnDestroy(): void;
notify(id: string, name: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<UniqueSelectionDispatcher, never>;
static ɵprov: i0.ɵɵInjectableDef<UniqueSelectionDispatcher>;
static ɵprov: i0.ɵɵInjectableDeclaration<UniqueSelectionDispatcher>;
}

export declare type UniqueSelectionDispatcherListener = (id: string, name: string) => void;
4 changes: 2 additions & 2 deletions tools/public_api_guard/cdk/drag-drop.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export declare class DragDrop {
createDrag<T = any>(element: ElementRef<HTMLElement> | HTMLElement, config?: DragRefConfig): DragRef<T>;
createDropList<T = any>(element: ElementRef<HTMLElement> | HTMLElement): DropListRef<T>;
static ɵfac: i0.ɵɵFactoryDeclaration<DragDrop, never>;
static ɵprov: i0.ɵɵInjectableDef<DragDrop>;
static ɵprov: i0.ɵɵInjectableDeclaration<DragDrop>;
}

export interface DragDropConfig extends Partial<DragRefConfig> {
Expand Down Expand Up @@ -257,7 +257,7 @@ export declare class DragDropRegistry<I extends {
startDragging(drag: I, event: TouchEvent | MouseEvent): void;
stopDragging(drag: I): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DragDropRegistry<any, any>, never>;
static ɵprov: i0.ɵɵInjectableDef<DragDropRegistry<any, any>>;
static ɵprov: i0.ɵɵInjectableDeclaration<DragDropRegistry<any, any>>;
}

export declare class DragRef<T = any> {
Expand Down
4 changes: 2 additions & 2 deletions tools/public_api_guard/cdk/layout.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export declare class BreakpointObserver implements OnDestroy {
ngOnDestroy(): void;
observe(value: string | readonly string[]): Observable<BreakpointState>;
static ɵfac: i0.ɵɵFactoryDeclaration<BreakpointObserver, never>;
static ɵprov: i0.ɵɵInjectableDef<BreakpointObserver>;
static ɵprov: i0.ɵɵInjectableDeclaration<BreakpointObserver>;
}

export declare const Breakpoints: {
Expand Down Expand Up @@ -41,5 +41,5 @@ export declare class MediaMatcher {
constructor(_platform: Platform);
matchMedia(query: string): MediaQueryList;
static ɵfac: i0.ɵɵFactoryDeclaration<MediaMatcher, never>;
static ɵprov: i0.ɵɵInjectableDef<MediaMatcher>;
static ɵprov: i0.ɵɵInjectableDeclaration<MediaMatcher>;
}
4 changes: 2 additions & 2 deletions tools/public_api_guard/cdk/observers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ export declare class ContentObserver implements OnDestroy {
observe(element: Element): Observable<MutationRecord[]>;
observe(element: ElementRef<Element>): Observable<MutationRecord[]>;
static ɵfac: i0.ɵɵFactoryDeclaration<ContentObserver, never>;
static ɵprov: i0.ɵɵInjectableDef<ContentObserver>;
static ɵprov: i0.ɵɵInjectableDeclaration<ContentObserver>;
}

export declare class MutationObserverFactory {
create(callback: MutationCallback): MutationObserver | null;
static ɵfac: i0.ɵɵFactoryDeclaration<MutationObserverFactory, never>;
static ɵprov: i0.ɵɵInjectableDef<MutationObserverFactory>;
static ɵprov: i0.ɵɵInjectableDeclaration<MutationObserverFactory>;
}

export declare class ObserversModule {
Expand Down
Loading