Skip to content

Commit 696d242

Browse files
IgorMinargkalpak
authored andcommitted
build(aio): update to @angular/[email protected]
1 parent dc7e192 commit 696d242

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

aio/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@
7171
"private": true,
7272
"dependencies": {
7373
"@angular/animations": "^6.0.0-rc.3",
74-
"@angular/cdk": "^5.2.4",
74+
"@angular/cdk": "^6.0.0-rc.1",
7575
"@angular/common": "^6.0.0-rc.3",
7676
"@angular/compiler": "^6.0.0-rc.3",
7777
"@angular/core": "^6.0.0-rc.3",
7878
"@angular/elements": "^6.0.0-rc.3",
7979
"@angular/forms": "^6.0.0-rc.3",
8080
"@angular/http": "^6.0.0-rc.3",
81-
"@angular/material": "^5.2.4",
81+
"@angular/material": "^6.0.0-rc.1",
8282
"@angular/platform-browser": "^6.0.0-rc.3",
8383
"@angular/platform-browser-dynamic": "^6.0.0-rc.3",
8484
"@angular/platform-server": "^6.0.0-rc.3",

aio/scripts/_payload-limits.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"master": {
44
"uncompressed": {
55
"runtime": 2689,
6-
"main": 562050,
6+
"main": 474347,
77
"polyfills": 38587,
88
"prettify": 14886
99
}

aio/src/app/shared/custom-icon-registry.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { InjectionToken, Inject, Injectable } from '@angular/core';
1+
import { InjectionToken, Inject, Injectable, Optional } from '@angular/core';
2+
import { DOCUMENT } from '@angular/common';
23
import { of } from 'rxjs';
34
import { MatIconRegistry } from '@angular/material/icon';
45
import { HttpClient } from '@angular/common/http';
@@ -35,8 +36,8 @@ interface SvgIconMap {
3536
export class CustomIconRegistry extends MatIconRegistry {
3637
private preloadedSvgElements: SvgIconMap = {};
3738

38-
constructor(http: HttpClient, sanitizer: DomSanitizer, @Inject(SVG_ICONS) svgIcons: SvgIconInfo[]) {
39-
super(http, sanitizer);
39+
constructor(http: HttpClient, sanitizer: DomSanitizer, @Optional() @Inject(DOCUMENT) document, @Inject(SVG_ICONS) svgIcons: SvgIconInfo[]) {
40+
super(http, sanitizer, document);
4041
this.loadSvgElements(svgIcons);
4142
}
4243

aio/yarn.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@
9898
dependencies:
9999
tslib "^1.9.0"
100100

101-
"@angular/cdk@^5.2.4":
102-
version "5.2.4"
103-
resolved "https://registry.yarnpkg.com/@angular/cdk/-/cdk-5.2.4.tgz#c0a429a8710d8fedb157f546e21cb49d4335f7f7"
101+
"@angular/cdk@^6.0.0-rc.1":
102+
version "6.0.0-rc.1"
103+
resolved "https://registry.yarnpkg.com/@angular/cdk/-/cdk-6.0.0-rc.1.tgz#f0b71280f6ef6d069722f94fecd51649684a7cfb"
104104
dependencies:
105105
tslib "^1.7.1"
106106

@@ -171,9 +171,9 @@
171171
dependencies:
172172
tslib "^1.9.0"
173173

174-
"@angular/material@^5.2.4":
175-
version "5.2.4"
176-
resolved "https://registry.yarnpkg.com/@angular/material/-/material-5.2.4.tgz#9e823798324283d23ea839156fac5bcb73443d55"
174+
"@angular/material@^6.0.0-rc.1":
175+
version "6.0.0-rc.1"
176+
resolved "https://registry.yarnpkg.com/@angular/material/-/material-6.0.0-rc.1.tgz#4f5d76aa6c1d34907027d0d410669f92490eef09"
177177
dependencies:
178178
tslib "^1.7.1"
179179

0 commit comments

Comments
 (0)