Skip to content

Commit a0eb8b0

Browse files
committed
build: update angular version
Updates to the latest version of Angular which includes angular/angular#53246. It is necessary to get hydration working for the sidenav.
1 parent 926d3ba commit a0eb8b0

File tree

3 files changed

+196
-154
lines changed

3 files changed

+196
-154
lines changed

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@
5858
},
5959
"version": "17.1.0-next.3",
6060
"dependencies": {
61-
"@angular/animations": "^17.1.0-next.1",
62-
"@angular/common": "^17.1.0-next.1",
63-
"@angular/compiler": "^17.1.0-next.1",
64-
"@angular/core": "^17.1.0-next.1",
65-
"@angular/forms": "^17.1.0-next.1",
66-
"@angular/platform-browser": "^17.1.0-next.1",
61+
"@angular/animations": "^17.1.0-next.5",
62+
"@angular/common": "^17.1.0-next.5",
63+
"@angular/compiler": "^17.1.0-next.5",
64+
"@angular/core": "^17.1.0-next.5",
65+
"@angular/forms": "^17.1.0-next.5",
66+
"@angular/platform-browser": "^17.1.0-next.5",
6767
"@types/google.maps": "^3.52.4",
6868
"@types/youtube": "^0.0.46",
6969
"rxjs": "^6.6.7",
@@ -72,18 +72,18 @@
7272
"zone.js": "~0.14.0"
7373
},
7474
"devDependencies": {
75-
"@angular-devkit/build-angular": "^17.1.0-next.0",
76-
"@angular-devkit/core": "^17.1.0-next.0",
77-
"@angular-devkit/schematics": "^17.1.0-next.0",
75+
"@angular-devkit/build-angular": "17.1.0-next.1",
76+
"@angular-devkit/core": "17.1.0-next.1",
77+
"@angular-devkit/schematics": "17.1.0-next.1",
7878
"@angular/bazel": "https://github.com/angular/bazel-builds.git#bac9c1abe1e6ac1801fbbccb53353a1ed7126469",
7979
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#3069be882e3e41cdb3dad58788d878e31d7d82e8",
80-
"@angular/cli": "^17.1.0-next.0",
81-
"@angular/compiler-cli": "^17.1.0-next.1",
82-
"@angular/localize": "^17.1.0-next.1",
80+
"@angular/cli": "17.1.0-next.1",
81+
"@angular/compiler-cli": "^17.1.0-next.5",
82+
"@angular/localize": "^17.1.0-next.5",
8383
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#6f2e63fcda1f645ba3c6709c14a8417f921f9e5c",
84-
"@angular/platform-browser-dynamic": "^17.1.0-next.1",
85-
"@angular/platform-server": "^17.1.0-next.1",
86-
"@angular/router": "^17.1.0-next.1",
84+
"@angular/platform-browser-dynamic": "^17.1.0-next.5",
85+
"@angular/platform-server": "^17.1.0-next.5",
86+
"@angular/router": "^17.1.0-next.5",
8787
"@babel/core": "^7.16.12",
8888
"@babel/helper-explode-assignable-expression": "^7.18.6",
8989
"@babel/helper-string-parser": "^7.22.5",
@@ -149,7 +149,7 @@
149149
"@octokit/rest": "18.3.5",
150150
"@rollup/plugin-commonjs": "^21.0.0",
151151
"@rollup/plugin-node-resolve": "^13.1.3",
152-
"@schematics/angular": "^17.1.0-next.0",
152+
"@schematics/angular": "17.1.0-next.1",
153153
"@types/babel__core": "^7.1.18",
154154
"@types/browser-sync": "^2.26.3",
155155
"@types/fs-extra": "^9.0.13",

src/cdk/portal/portal.spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,10 @@ class Chocolate {
734734
class ChocolateInjector {
735735
constructor(public parentInjector: Injector) {}
736736

737-
get(token: any) {
738-
return token === Chocolate ? new Chocolate() : this.parentInjector.get<any>(token);
737+
get(token: any, notFoundValue?: any) {
738+
return token === Chocolate
739+
? new Chocolate()
740+
: this.parentInjector.get<any>(token, notFoundValue);
739741
}
740742
}
741743

0 commit comments

Comments
 (0)