From d0e1667d4063f193d83249dfee1405a133d8ff73 Mon Sep 17 00:00:00 2001 From: BoykoAlex Date: Wed, 5 Jun 2019 15:35:32 -0400 Subject: [PATCH] Switch to Angular 8 --- package.json | 42 ++++++++++++++-------------- src/lib/directives/resizer.ts | 2 +- src/lib/palette/palette.component.ts | 2 +- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 8ad29c5..92c6878 100644 --- a/package.json +++ b/package.json @@ -49,21 +49,21 @@ "ts-disposables": "2.2.3" }, "peerDependencies": { - "@angular/core": ">=6.0.0 <8.0.0", - "@angular/forms": ">=6.0.0 < 8.0.0", - "@angular/platform-browser": ">=6.0.0 <8.0.0", + "@angular/core": ">=7.0.0 <9.0.0", + "@angular/forms": ">=7.0.0 < 9.0.0", + "@angular/common": ">=7.0.0 <9.0.0", "rxjs": ">=6.0.0 <7.0.0" }, "devDependencies": { - "@angular/animations": "7.2.10", - "@angular/common": "7.2.10", - "@angular/compiler": "7.2.10", - "@angular/compiler-cli": "7.2.10", - "@angular/core": "7.2.10", - "@angular/forms": "7.2.10", - "@angular/platform-browser": "7.2.10", - "@angular/platform-browser-dynamic": "7.2.10", - "@angular/platform-server": "7.2.10", + "@angular/animations": "8.0.0", + "@angular/common": "8.0.0", + "@angular/compiler": "8.0.0", + "@angular/compiler-cli": "8.0.0", + "@angular/core": "8.0.0", + "@angular/forms": "8.0.0", + "@angular/platform-browser": "8.0.0", + "@angular/platform-browser-dynamic": "8.0.0", + "@angular/platform-server": "8.0.0", "@types/backbone": "1.3.42", "@types/codemirror": "0.0.64", "@types/jasmine": "2.5.36", @@ -92,19 +92,19 @@ "ngx-bootstrap": "2.0.5", "node-sass": "4.9.0", "rimraf": "2.6.1", - "rollup": "0.62.0", - "rollup-plugin-commonjs": "9.1.3", - "rollup-plugin-node-resolve": "3.3.0", + "rollup": "1.14.2", + "rollup-plugin-commonjs": "10.0.0", + "rollup-plugin-node-resolve": "5.0.1", "rollup-plugin-sourcemaps": "0.4.2", - "rxjs": "6.3.3", + "rxjs": "6.5.2", "shelljs": "0.8.1", "standard-version": "4.0.0", "systemjs": "0.21.4", "ts-disposables": "2.2.3", - "tslint": "5.12.1", - "typescript": "3.1.4", - "uglify-js": "3.3.23", - "zone.js": "0.8.29", - "rxjs-compat": "^6.4.0" + "tslint": "5.17.0", + "typescript": "~3.4.0", + "uglify-js": "3.6.0", + "zone.js": "0.9.1", + "rxjs-compat": "^6.5.2" } } diff --git a/src/lib/directives/resizer.ts b/src/lib/directives/resizer.ts index 035a761..759d231 100644 --- a/src/lib/directives/resizer.ts +++ b/src/lib/directives/resizer.ts @@ -1,5 +1,5 @@ import {Directive, Input, Output, EventEmitter, Inject, ElementRef, OnInit, OnDestroy} from '@angular/core'; -import {DOCUMENT} from '@angular/platform-browser' +import {DOCUMENT} from '@angular/common' import { fromEvent } from 'rxjs'; import { sampleTime } from 'rxjs/operators'; diff --git a/src/lib/palette/palette.component.ts b/src/lib/palette/palette.component.ts index f8f30c5..5d70e0f 100644 --- a/src/lib/palette/palette.component.ts +++ b/src/lib/palette/palette.component.ts @@ -4,7 +4,7 @@ import { debounceTime } from 'rxjs/operators'; import { dia } from 'jointjs'; import { Flo } from '../shared/flo-common'; import { Shapes, Constants } from '../shared/shapes'; -import { DOCUMENT } from '@angular/platform-browser' +import { DOCUMENT } from '@angular/common' import * as _$ from 'jquery'; const joint: any = Flo.joint; const $: any = _$;