Skip to content

Commit 00cf3a8

Browse files
Merge pull request #144 from SV9045/SV9045/ng-update
Angular Version and Dependenices Updated!
2 parents 4a28c40 + ada8f13 commit 00cf3a8

File tree

12 files changed

+107
-57
lines changed

12 files changed

+107
-57
lines changed

angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"optimization": true,
4343
"outputHashing": "all",
4444
"sourceMap": false,
45-
"extractCss": true,
4645
"namedChunks": false,
4746
"extractLicenses": true,
4847
"vendorChunk": false,

browserslist

Lines changed: 0 additions & 12 deletions
This file was deleted.

e2e/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"compilerOptions": {
44
"outDir": "../out-tsc/e2e",
55
"module": "commonjs",
6-
"target": "es5",
6+
"target": "es2018",
77
"types": [
88
"jasmine",
99
"jasminewd2",

package.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,41 +13,41 @@
1313
},
1414
"private": true,
1515
"dependencies": {
16-
"@angular/animations": "9.1.12",
17-
"@angular/cdk": "9.2.4",
18-
"@angular/common": "9.1.12",
19-
"@angular/compiler": "9.1.12",
20-
"@angular/core": "9.1.12",
21-
"@angular/forms": "9.1.12",
22-
"@angular/material": "9.2.4",
23-
"@angular/platform-browser": "9.1.12",
24-
"@angular/platform-browser-dynamic": "9.1.12",
25-
"@angular/router": "9.1.12",
26-
"@angular/service-worker": "9.1.12",
27-
"rxjs": "6.6.2",
28-
"tslib": "1.13.0",
16+
"@angular/animations": "11.0.9",
17+
"@angular/cdk": "11.0.4",
18+
"@angular/common": "11.0.9",
19+
"@angular/compiler": "11.0.9",
20+
"@angular/core": "11.0.9",
21+
"@angular/forms": "11.0.9",
22+
"@angular/material": "11.0.4",
23+
"@angular/platform-browser": "11.0.9",
24+
"@angular/platform-browser-dynamic": "11.0.9",
25+
"@angular/router": "11.0.9",
26+
"@angular/service-worker": "11.0.9",
27+
"rxjs": "6.6.3",
28+
"tslib": "^2.0.0",
2929
"zone.js": "0.10.3"
3030
},
3131
"devDependencies": {
32-
"@angular-devkit/build-angular": "0.1000.5",
33-
"@angular/cli": "9.1.12",
34-
"@angular/compiler-cli": "9.1.12",
35-
"@angular/language-service": "9.1.12",
36-
"@types/jasmine": "3.5.12",
32+
"@angular-devkit/build-angular": "0.1100.7",
33+
"@angular/cli": "11.0.7",
34+
"@angular/compiler-cli": "11.0.9",
35+
"@angular/language-service": "11.0.9",
36+
"@types/jasmine": "~3.6.0",
3737
"@types/jasminewd2": "2.0.8",
3838
"@types/node": "12.12.54",
3939
"all-contributors-cli": "6.17.0",
40-
"codelyzer": "6.0.0",
41-
"jasmine-core": "3.6.0",
42-
"jasmine-spec-reporter": "5.0.2",
43-
"karma": "5.1.1",
44-
"karma-chrome-launcher": "3.1.0",
45-
"karma-coverage-istanbul-reporter": "3.0.3",
46-
"karma-jasmine": "4.0.1",
47-
"karma-jasmine-html-reporter": "1.5.4",
48-
"protractor": "7.0.0",
40+
"codelyzer": "^6.0.0",
41+
"jasmine-core": "~3.6.0",
42+
"jasmine-spec-reporter": "~5.0.0",
43+
"karma": "~5.0.0",
44+
"karma-chrome-launcher": "~3.1.0",
45+
"karma-coverage-istanbul-reporter": "~3.0.2",
46+
"karma-jasmine": "~4.0.0",
47+
"karma-jasmine-html-reporter": "^1.5.0",
48+
"protractor": "~7.0.0",
4949
"ts-node": "8.10.2",
50-
"tslint": "6.1.3",
51-
"typescript": "3.8.3"
50+
"tslint": "~6.1.0",
51+
"typescript": "4.0.5"
5252
}
5353
}

src/app/Utils/components/search-bar/search-bar.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 { SearchBarComponent } from './search-bar.component';
44

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

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

src/app/app-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const routes: Routes = [
1313
];
1414

1515
@NgModule({
16-
imports: [RouterModule.forRoot(routes)],
16+
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
1717
exports: [RouterModule]
1818
})
1919
export class AppRoutingModule { }

src/app/app.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { TestBed, async } from '@angular/core/testing';
1+
import { TestBed, waitForAsync } from '@angular/core/testing';
22
import { RouterTestingModule } from '@angular/router/testing';
33
import { AppComponent } from './app.component';
44

55
describe('AppComponent', () => {
6-
beforeEach(async(() => {
6+
beforeEach(waitForAsync(() => {
77
TestBed.configureTestingModule({
88
imports: [
99
RouterTestingModule

src/app/dashboard/dashboard.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { LayoutModule } from '@angular/cdk/layout';
22
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
3-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
44
import { MatButtonModule } from '@angular/material/button';
55
import { MatCardModule } from '@angular/material/card';
66
import { MatGridListModule } from '@angular/material/grid-list';
@@ -13,7 +13,7 @@ describe('DashboardComponent', () => {
1313
let component: DashboardComponent;
1414
let fixture: ComponentFixture<DashboardComponent>;
1515

16-
beforeEach(async(() => {
16+
beforeEach(waitForAsync(() => {
1717
TestBed.configureTestingModule({
1818
declarations: [DashboardComponent],
1919
imports: [

src/app/main-nav/main-nav.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { LayoutModule } from '@angular/cdk/layout';
2-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
33
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
44
import { MatButtonModule } from '@angular/material/button';
55
import { MatIconModule } from '@angular/material/icon';
@@ -13,7 +13,7 @@ describe('MainNavComponent', () => {
1313
let component: MainNavComponent;
1414
let fixture: ComponentFixture<MainNavComponent>;
1515

16-
beforeEach(async(() => {
16+
beforeEach(waitForAsync(() => {
1717
TestBed.configureTestingModule({
1818
declarations: [MainNavComponent],
1919
imports: [

src/app/references/references.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 { ReferencesComponent } from './references.component';
44

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

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

0 commit comments

Comments
 (0)