Skip to content

Commit 4a01383

Browse files
chore(deps): upgrade angular/cli
1 parent 8cefac0 commit 4a01383

File tree

13 files changed

+79
-170
lines changed

13 files changed

+79
-170
lines changed

package-lock.json

Lines changed: 42 additions & 134 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
},
2121
"private": true,
2222
"dependencies": {
23-
"@angular/animations": "10.2.3",
23+
"@angular/animations": "11.0.4",
2424
"@angular/cdk": "11.0.2",
25-
"@angular/common": "10.2.3",
26-
"@angular/compiler": "10.2.3",
27-
"@angular/core": "10.2.3",
25+
"@angular/common": "11.0.4",
26+
"@angular/compiler": "11.0.4",
27+
"@angular/core": "11.0.4",
2828
"@angular/flex-layout": "10.0.0-beta.32",
29-
"@angular/forms": "10.2.3",
29+
"@angular/forms": "11.0.4",
3030
"@angular/http": "7.2.16",
3131
"@angular/material": "11.0.2",
32-
"@angular/platform-browser": "10.2.3",
33-
"@angular/platform-browser-dynamic": "10.2.3",
34-
"@angular/router": "10.2.3",
32+
"@angular/platform-browser": "11.0.4",
33+
"@angular/platform-browser-dynamic": "11.0.4",
34+
"@angular/router": "11.0.4",
3535
"core-js": "2.6.12",
3636
"hammerjs": "2.0.8",
3737
"ngx-perfect-scrollbar": "10.0.1",
@@ -45,8 +45,8 @@
4545
"devDependencies": {
4646
"@angular-devkit/build-angular": "0.1100.2",
4747
"@angular/cli": "10.2.0",
48-
"@angular/compiler-cli": "10.2.3",
49-
"@angular/language-service": "10.2.3",
48+
"@angular/compiler-cli": "11.0.4",
49+
"@angular/language-service": "11.0.4",
5050
"@commitlint/cli": "11.0.0",
5151
"@commitlint/config-angular": "11.0.0",
5252
"@types/jasmine": "3.6.2",
@@ -74,7 +74,7 @@
7474
"rimraf": "3.0.2",
7575
"ts-node": "9.1.1",
7676
"tslint": "6.1.3",
77-
"typescript": "3.9.7",
77+
"typescript": "4.0.5",
7878
"uuid": "8.3.2",
7979
"yargs": "16.1.1"
8080
},

src/app/app-routing.module.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,12 @@ const routes: Routes = [
204204
@NgModule({
205205
imports: [
206206
RouterModule.forRoot(routes, {
207-
// enableTracing: !environment.production,
208-
scrollPositionRestoration: 'enabled',
209-
anchorScrolling: 'enabled',
210-
preloadingStrategy: PreloadAllModules,
211-
}),
207+
// enableTracing: !environment.production,
208+
scrollPositionRestoration: 'enabled',
209+
anchorScrolling: 'enabled',
210+
preloadingStrategy: PreloadAllModules,
211+
relativeLinkResolution: 'legacy'
212+
}),
212213
],
213214
providers: [RedirectGuard],
214215
exports: [RouterModule],

src/app/common/social-wrapper/social-wrapper.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
22

33
import { SocialWrapperComponent } from './social-wrapper.component';
44

55
describe('SocialWrapperComponent', () => {
66
let component: SocialWrapperComponent;
77
let fixture: ComponentFixture<SocialWrapperComponent>;
88

9-
beforeEach(async(() => {
9+
beforeEach(waitForAsync(() => {
1010
TestBed.configureTestingModule({
1111
declarations: [ SocialWrapperComponent ]
1212
})

src/app/homepage/footer/footer.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
22

33
import { FooterComponent } from './footer.component';
44

55
describe('FooterComponent', () => {
6-
beforeEach(async(() => {
6+
beforeEach(waitForAsync(() => {
77
return TestBed.configureTestingModule({
88
declarations: [ FooterComponent ]
99
})

src/app/homepage/header/header.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
22

33
import { HeaderComponent } from './header.component';
44
import { SocialWrapperComponent } from '../../common/social-wrapper/social-wrapper.component';
55

66
describe('HeaderComponent', () => {
7-
beforeEach(async(() => {
7+
beforeEach(waitForAsync(() => {
88
return TestBed.configureTestingModule({
99
declarations: [HeaderComponent, SocialWrapperComponent],
1010
}).compileComponents();

src/app/homepage/homepage.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
22
import { HomepageComponent } from './homepage.component';
33
import { FooterComponent } from './footer/footer.component';
44
import { HeaderComponent } from './header/header.component';
@@ -12,7 +12,7 @@ import { HttpClient, HttpHandler } from '@angular/common/http';
1212
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
1313

1414
describe('HomepageComponent', () => {
15-
beforeEach(async(() => {
15+
beforeEach(waitForAsync(() => {
1616
return TestBed.configureTestingModule({
1717
imports: [RouterTestingModule, BrowserAnimationsModule],
1818
declarations: [

0 commit comments

Comments
 (0)