Update dependencies

This commit is contained in:
Dominik Ziajka 2018-01-03 14:26:35 +01:00
parent 70b8556873
commit 8e58103b85
10 changed files with 10575 additions and 34 deletions

View File

@ -33,7 +33,6 @@ ng serve --port 8080
Application is accessible on `http://localhost:8080/`. The app will automatically reload if you change any of the source files. Application is accessible on `http://localhost:8080/`. The app will automatically reload if you change any of the source files.
## Code scaffolding ## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`. Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.

1141
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,20 +12,20 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^4.4.6", "@angular/animations": "^5.1.2",
"@angular/cdk": "^2.0.0-beta.12", "@angular/cdk": "^5.0.3",
"@angular/common": "^4.0.0", "@angular/common": "^5.1.2",
"@angular/compiler": "^4.0.0", "@angular/compiler": "^5.1.2",
"@angular/core": "^4.0.0", "@angular/core": "^5.1.2",
"@angular/forms": "^4.0.0", "@angular/forms": "^5.1.2",
"@angular/http": "^4.0.0", "@angular/http": "^5.1.2",
"@angular/material": "^2.0.0-beta.12", "@angular/material": "^5.0.3",
"@angular/platform-browser": "^4.0.0", "@angular/platform-browser": "^5.1.2",
"@angular/platform-browser-dynamic": "^4.0.0", "@angular/platform-browser-dynamic": "^5.1.2",
"@angular/router": "^4.0.0", "@angular/router": "^5.1.2",
"@ng-bootstrap/ng-bootstrap": "^1.0.0-beta.4", "@ng-bootstrap/ng-bootstrap": "^1.0.0-beta.4",
"angular2-indexeddb": "^1.0.11", "angular2-indexeddb": "^1.0.11",
"bootstrap": "^4.0.0-beta", "bootstrap": "4.0.0-beta.2",
"core-js": "^2.4.1", "core-js": "^2.4.1",
"d3-ng2-service": "^1.16.0", "d3-ng2-service": "^1.16.0",
"ng2-toasty": "^4.0.3", "ng2-toasty": "^4.0.3",
@ -34,16 +34,18 @@
"zone.js": "^0.8.14" "zone.js": "^0.8.14"
}, },
"devDependencies": { "devDependencies": {
"@angular/cli": "^1.4.7", "@angular/cli": "^1.6.3",
"@angular/compiler-cli": "^4.0.0", "@angular/compiler-cli": "^5.1.2",
"@angular/language-service": "^4.0.0", "@angular/language-service": "^5.1.2",
"@types/jasmine": "~2.6.0", "@types/jasmine": "~2.8.3",
"@types/jasminewd2": "~2.0.2", "@types/jasminewd2": "~2.0.2",
"@types/node": "~8.0.44", "@types/node": "~8.5.2",
"codelyzer": "~3.2.1", "codelyzer": "~4.0.2",
"electron": "1.7.10",
"electron-builder": "^19.42.1",
"jasmine-core": "~2.8.0", "jasmine-core": "~2.8.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.0", "karma": "~2.0.0",
"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": "^1.2.1", "karma-coverage-istanbul-reporter": "^1.2.1",
@ -51,8 +53,8 @@
"karma-jasmine-html-reporter": "^0.2.2", "karma-jasmine-html-reporter": "^0.2.2",
"node-sass": "^4.5.3", "node-sass": "^4.5.3",
"protractor": "~5.2.0", "protractor": "~5.2.0",
"ts-node": "~3.3.0", "ts-node": "~4.1.0",
"tslint": "~5.7.0", "tslint": "~5.8.0",
"typescript": "^2.3.4" "typescript": ">=2.4.0 <2.6.0"
} }
} }

View File

@ -3,6 +3,7 @@ import { NgModule } from '@angular/core';
import { HttpModule } from '@angular/http'; import { HttpModule } from '@angular/http';
import { FormsModule } from '@angular/forms'; import { FormsModule } from '@angular/forms';
import { CdkTableModule } from "@angular/cdk/table"; import { CdkTableModule } from "@angular/cdk/table";
import { HttpClientModule } from '@angular/common/http';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { import {
@ -76,6 +77,7 @@ import { NodeSelectInterfaceComponent } from './shared/node-select-interface/nod
ToastyModule.forRoot(), ToastyModule.forRoot(),
BrowserModule, BrowserModule,
HttpModule, HttpModule,
HttpClientModule,
AppRoutingModule, AppRoutingModule,
FormsModule, FormsModule,
BrowserAnimationsModule, BrowserAnimationsModule,

View File

@ -120,7 +120,7 @@ export class LinksWidget implements Widget {
.attr('map-source', (l: Link) => l.source.node_id) .attr('map-source', (l: Link) => l.source.node_id)
.attr('map-target', (l: Link) => l.target.node_id) .attr('map-target', (l: Link) => l.target.node_id)
this.revise(link.merge(link_enter)); //this.revise(link.merge(link_enter));
link link
.exit() .exit()

View File

@ -39,9 +39,9 @@ export class NodesWidget implements Widget {
} }
private executeOnNodeDraggingCallback(n: Node) { private executeOnNodeDraggingCallback(n: Node) {
this.onNodeDraggingCallbacks.forEach((callback: (n: Node) => void) => { // this.onNodeDraggingCallbacks.forEach((callback: (n: Node) => void) => {
callback(n); // callback(n);
}); // });
} }
public revise(selection: SVGSelection) { public revise(selection: SVGSelection) {

View File

@ -10,7 +10,7 @@ export class ServerService {
private ready: Promise<any>; private ready: Promise<any>;
constructor(private indexedDbService: IndexedDbService) { constructor(private indexedDbService: IndexedDbService) {
this.ready = indexedDbService.get().createStore(1, (evt) => { this.ready = indexedDbService.get().openDatabase(1, (evt) => {
const store = evt.currentTarget.result.createObjectStore( const store = evt.currentTarget.result.createObjectStore(
this.tablename, { keyPath: "id", autoIncrement: true }); this.tablename, { keyPath: "id", autoIncrement: true });
}); });

View File

@ -9,5 +9,9 @@
"exclude": [ "exclude": [
"test.ts", "test.ts",
"**/*.spec.ts" "**/*.spec.ts"
],
"include": [
"../src/**/*",
"../node_modules/angular2-indexeddb/index.ts"
] ]
} }

90
yarn-error.log Normal file
View File

@ -0,0 +1,90 @@
Arguments:
/usr/bin/node /usr/bin/yarn
PATH:
/home/notiachafe/software/Komodo-Edit-6/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.4:/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/vmware/bin
Yarn version:
1.2.1
Node version:
6.11.5
Platform:
linux x64
npm manifest:
{
"name": "gns3-web-ui",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^4.4.6",
"@angular/cdk": "^2.0.0-beta.12",
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.0.0",
"@angular/forms": "^4.0.0",
"@angular/http": "^4.0.0",
"@angular/material": "^2.0.0-beta.12",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
"@ng-bootstrap/ng-bootstrap": "^1.0.0-beta.4",
"angular2-indexeddb": "^1.0.11",
"bootstrap": "^4.0.0-beta",
"core-js": "^2.4.1",
"d3-ng2-service": "^1.16.0",
"ng2-toasty": "^4.0.3",
"npm-check-updates": "^2.13.0",
"rxjs": "^5.4.1",
"zone.js": "^0.8.14"
},
"devDependencies": {
"@angular/cli": "^1.4.7",
"@angular/compiler-cli": "^4.0.0",
"@angular/language-service": "^4.0.0",
"@types/jasmine": "~2.6.0",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~8.0.44",
"codelyzer": "~3.2.1",
"jasmine-core": "~2.8.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"node-sass": "^4.5.3",
"protractor": "~5.2.0",
"ts-node": "~3.3.0",
"tslint": "~5.7.0",
"typescript": "^2.3.4",
"electron": "1.7.9",
"electron-builder": "^19.42.1",
}
}
yarn manifest:
No manifest
Lockfile:
No lockfile
Trace:
SyntaxError: /home/notiachafe/work/gns3/gns3-web-ui/package.json: Unexpected token } in JSON at position 1699
at Object.parse (native)
at /usr/lib64/node_modules/yarn/lib/cli.js:770:59
at next (native)
at step (/usr/lib64/node_modules/yarn/lib/cli.js:92:30)
at /usr/lib64/node_modules/yarn/lib/cli.js:103:13

9315
yarn.lock Normal file

File diff suppressed because it is too large Load Diff