ng update to 9

This commit is contained in:
Finn Kempers 2020-07-29 13:31:46 +01:00
parent e9c81dc428
commit 3ed88a4d5e
4 changed files with 3185 additions and 1414 deletions

View file

@ -15,8 +15,8 @@ describe('Login Page', () => {
TestBed.configureTestingModule({ providers: [ApiService] }); TestBed.configureTestingModule({ providers: [ApiService] });
}); });
api = TestBed.get(ApiService); api = TestBed.inject(ApiService);
apiSpy = TestBed.get(ApiService); apiSpy = TestBed.inject(ApiService);
it('should have a header saying login', () => { it('should have a header saying login', () => {
expect(page.getLoginHeaderText()).toEqual('Login'); expect(page.getLoginHeaderText()).toEqual('Login');

4563
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -24,14 +24,14 @@
"dependencies": { "dependencies": {
"@agm/core": "1.0.0-beta.6", "@agm/core": "1.0.0-beta.6",
"@agm/js-marker-clusterer": "1.0.0-beta.6", "@agm/js-marker-clusterer": "1.0.0-beta.6",
"@angular/common": "8.2.14", "@angular/common": "9.1.12",
"@angular/compiler": "8.2.14", "@angular/compiler": "9.1.12",
"@angular/core": "8.2.14", "@angular/core": "9.1.12",
"@angular/forms": "8.2.14", "@angular/forms": "9.1.12",
"@angular/platform-browser": "8.2.14", "@angular/platform-browser": "9.1.12",
"@angular/platform-browser-dynamic": "8.2.14", "@angular/platform-browser-dynamic": "9.1.12",
"@angular/router": "8.2.14", "@angular/router": "9.1.12",
"@angular/upgrade": "8.2.14", "@angular/upgrade": "9.1.12",
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.1", "@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.1",
"@coreui/icons": "0.3.0", "@coreui/icons": "0.3.0",
"ajv": "^6.10.0", "ajv": "^6.10.0",
@ -60,12 +60,12 @@
"tslib": "^1.10.0", "tslib": "^1.10.0",
"web-animations-js": "^2.3.2", "web-animations-js": "^2.3.2",
"webpack-dev-server": "^3.11.0", "webpack-dev-server": "^3.11.0",
"zone.js": "~0.9.1" "zone.js": "~0.10.3"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^0.803.21", "@angular-devkit/build-angular": "^0.901.12",
"@angular/cli": "^8.3.29", "@angular/cli": "^9.1.12",
"@angular/compiler-cli": "8.2.14", "@angular/compiler-cli": "9.1.12",
"@types/jasmine": "3.3.13", "@types/jasmine": "3.3.13",
"@types/jasminewd2": "2.0.6", "@types/jasminewd2": "2.0.6",
"@types/node": "12.0.10", "@types/node": "12.0.10",
@ -82,6 +82,6 @@
"readable-stream": "latest", "readable-stream": "latest",
"ts-node": "^8.3.0", "ts-node": "^8.3.0",
"tslint": "^5.18.0", "tslint": "^5.18.0",
"typescript": "~3.5.3" "typescript": "~3.8.3"
} }
} }

View file

@ -227,7 +227,7 @@ export class MoreStuffComponent implements OnInit {
} }
@ViewChild('supplierChart', {read: BaseChartDirective, static: false}) supplierChart: BaseChartDirective; @ViewChild('supplierChart', { read: BaseChartDirective }) supplierChart: BaseChartDirective;
private loadSupplierHistory() { private loadSupplierHistory() {
this.api.loadMiscUrl('organisation/external/supplier_history').subscribe( this.api.loadMiscUrl('organisation/external/supplier_history').subscribe(