Update packages, incl. Angular 7, Ref. #179

This commit is contained in:
ziajka 2018-11-19 08:28:24 +01:00
parent c81a1fa659
commit 4a0b960634
3 changed files with 3466 additions and 2386 deletions

View File

@ -26,66 +26,66 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^6.0.7", "@angular/animations": "^7.0.4",
"@angular/cdk": "^6.3.2", "@angular/cdk": "^7.0.4",
"@angular/common": "^6.0.7", "@angular/common": "^7.0.4",
"@angular/compiler": "^6.0.7", "@angular/compiler": "^7.0.4",
"@angular/core": "^6.0.7", "@angular/core": "^7.0.4",
"@angular/forms": "^6.0.7", "@angular/forms": "^7.0.4",
"@angular/http": "^6.0.7", "@angular/http": "^7.0.4",
"@angular/material": "^6.3.2", "@angular/material": "^7.0.4",
"@angular/platform-browser": "^6.0.7", "@angular/platform-browser": "^7.0.4",
"@angular/platform-browser-dynamic": "^6.0.7", "@angular/platform-browser-dynamic": "^7.0.4",
"@angular/router": "^6.0.7", "@angular/router": "^7.0.4",
"@ng-bootstrap/ng-bootstrap": "^2.2.0", "@ng-bootstrap/ng-bootstrap": "^4.0.0",
"angular-persistence": "^1.0.1", "angular-persistence": "^1.0.1",
"angular2-hotkeys": "^2.1.2", "angular2-hotkeys": "^2.1.4",
"angular2-indexeddb": "^1.2.2", "angular2-indexeddb": "^1.2.3",
"bootstrap": "4.1.1", "bootstrap": "4.1.3",
"core-js": "^2.5.7", "core-js": "^2.5.7",
"css-tree": "^1.0.0-alpha.29", "css-tree": "^1.0.0-alpha.29",
"d3-ng2-service": "^2.1.0", "d3-ng2-service": "^2.1.0",
"electron-settings": "^3.2.0", "electron-settings": "^3.2.0",
"material-design-icons": "^3.0.1", "material-design-icons": "^3.0.1",
"ng2-file-upload": "^1.3.0", "ng2-file-upload": "^1.3.0",
"ngx-electron": "^1.0.4", "ngx-electron": "^2.0.0",
"notosans-fontface": "^1.1.0", "notosans-fontface": "^1.1.0",
"npm-check-updates": "^2.14.1", "npm-check-updates": "^2.14.3",
"raven-js": "^3.24.1", "raven-js": "^3.27.0",
"rxjs": "^6.2.1", "rxjs": "^6.3.3",
"rxjs-compat": "^6.2.1", "rxjs-compat": "^6.3.3",
"typeface-roboto": "^0.0.54", "typeface-roboto": "^0.0.54",
"yargs": "^12.0.1", "yargs": "^12.0.4",
"zone.js": "^0.8.26" "zone.js": "^0.8.26"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.6.8", "@angular-devkit/build-angular": "~0.10.6",
"@angular/cli": "^6.0.8", "@angular/cli": "^7.0.6",
"@angular/compiler-cli": "^6.0.7", "@angular/compiler-cli": "^7.0.4",
"@angular/language-service": "^6.0.7", "@angular/language-service": "^7.0.4",
"@sentry/electron": "^0.7.0", "@sentry/electron": "^0.13.0",
"@types/jasmine": "~2.8.8", "@types/jasmine": "~3.3.0",
"@types/jasminewd2": "~2.0.2", "@types/jasminewd2": "~2.0.6",
"@types/node": "~10.5.2", "@types/node": "~10.12.9",
"codelyzer": "~4.4.2", "codelyzer": "~4.5.0",
"electron": "2.0.4", "electron": "3.0.9",
"electron-builder": "^20.19.2", "electron-builder": "^20.36.2",
"jasmine-core": "~3.1.0", "jasmine-core": "~3.3.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"jquery": "^3.3.1", "jquery": "^3.3.1",
"karma": "~2.0.4", "karma": "~3.1.1",
"karma-chrome-launcher": "~2.2.0", "karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1", "karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^2.0.1", "karma-coverage-istanbul-reporter": "^2.0.4",
"karma-jasmine": "~1.1.0", "karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.2.0", "karma-jasmine-html-reporter": "^1.4.0",
"node-sass": "^4.9.1", "node-sass": "^4.10.0",
"popper.js": "^1.14.3", "popper.js": "^1.14.5",
"protractor": "~5.4.0", "protractor": "~5.4.1",
"ts-mockito": "^2.3.0", "ts-mockito": "^2.3.1",
"ts-node": "~7.0.0", "ts-node": "~7.0.1",
"tslint": "~5.10.0", "tslint": "~5.11.0",
"typescript": "<2.8.0" "typescript": "3.1.6"
}, },
"greenkeeper": { "greenkeeper": {
"ignore": [ "ignore": [

View File

@ -48,7 +48,7 @@ describe('SelectionTool', () => {
it('path should be visible and have parameters', () => { it('path should be visible and have parameters', () => {
expect(path_selection.attr('visibility')).toEqual('visible'); expect(path_selection.attr('visibility')).toEqual('visible');
expect(path_selection.attr('d')).toEqual('M92,100 l0,0 l0,0 l0,0z'); expect(path_selection.attr('d')).toEqual('M100,108 l0,0 l0,0 l0,0z');
}); });
}); });
@ -59,7 +59,7 @@ describe('SelectionTool', () => {
}); });
it('path should have got changed parameters', () => { it('path should have got changed parameters', () => {
expect(path_selection.attr('d')).toEqual('M92,100 l200,0 l0,200 l-200,0z'); expect(path_selection.attr('d')).toEqual('M100,108 l200,0 l0,200 l-200,0z');
}); });
}); });
@ -75,7 +75,7 @@ describe('SelectionTool', () => {
}); });
it('rectangle should be selected', () => { it('rectangle should be selected', () => {
expect(selected_rectangle).toEqual(new Rectangle(92, 100, 100, 100)); expect(selected_rectangle).toEqual(new Rectangle(100, 108, 100, 100));
}); });
describe('SelectionTool can deselect after click outside', () => { describe('SelectionTool can deselect after click outside', () => {
@ -85,7 +85,7 @@ describe('SelectionTool', () => {
}); });
it('rectangle should be selected', () => { it('rectangle should be selected', () => {
expect(selected_rectangle).toEqual(new Rectangle(292, 300, 0, 0)); expect(selected_rectangle).toEqual(new Rectangle(300, 308, 0, 0));
}); });
}); });
}); });
@ -98,7 +98,7 @@ describe('SelectionTool', () => {
}); });
it('rectangle should be selected', () => { it('rectangle should be selected', () => {
expect(selected_rectangle).toEqual(new Rectangle(92, 100, 100, 100)); expect(selected_rectangle).toEqual(new Rectangle(100, 108, 100, 100));
}); });
}); });
@ -123,7 +123,7 @@ describe('SelectionTool', () => {
}); });
it('path should have d adjusted for transformation', () => { it('path should have d adjusted for transformation', () => {
expect(path_selection.attr('d')).toEqual('M-8,0 l0,0 l0,0 l0,0z'); expect(path_selection.attr('d')).toEqual('M0,8 l0,0 l0,0 l0,0z');
}); });
}); });
}); });

5752
yarn.lock

File diff suppressed because it is too large Load Diff