mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-18 02:39:50 +00:00
Update dependencies
This commit is contained in:
parent
70b8556873
commit
8e58103b85
@ -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.
|
||||
|
||||
|
||||
|
||||
## Code scaffolding
|
||||
|
||||
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
1141
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
46
package.json
46
package.json
@ -12,20 +12,20 @@
|
||||
},
|
||||
"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",
|
||||
"@angular/animations": "^5.1.2",
|
||||
"@angular/cdk": "^5.0.3",
|
||||
"@angular/common": "^5.1.2",
|
||||
"@angular/compiler": "^5.1.2",
|
||||
"@angular/core": "^5.1.2",
|
||||
"@angular/forms": "^5.1.2",
|
||||
"@angular/http": "^5.1.2",
|
||||
"@angular/material": "^5.0.3",
|
||||
"@angular/platform-browser": "^5.1.2",
|
||||
"@angular/platform-browser-dynamic": "^5.1.2",
|
||||
"@angular/router": "^5.1.2",
|
||||
"@ng-bootstrap/ng-bootstrap": "^1.0.0-beta.4",
|
||||
"angular2-indexeddb": "^1.0.11",
|
||||
"bootstrap": "^4.0.0-beta",
|
||||
"bootstrap": "4.0.0-beta.2",
|
||||
"core-js": "^2.4.1",
|
||||
"d3-ng2-service": "^1.16.0",
|
||||
"ng2-toasty": "^4.0.3",
|
||||
@ -34,16 +34,18 @@
|
||||
"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",
|
||||
"@angular/cli": "^1.6.3",
|
||||
"@angular/compiler-cli": "^5.1.2",
|
||||
"@angular/language-service": "^5.1.2",
|
||||
"@types/jasmine": "~2.8.3",
|
||||
"@types/jasminewd2": "~2.0.2",
|
||||
"@types/node": "~8.0.44",
|
||||
"codelyzer": "~3.2.1",
|
||||
"@types/node": "~8.5.2",
|
||||
"codelyzer": "~4.0.2",
|
||||
"electron": "1.7.10",
|
||||
"electron-builder": "^19.42.1",
|
||||
"jasmine-core": "~2.8.0",
|
||||
"jasmine-spec-reporter": "~4.2.1",
|
||||
"karma": "~1.7.0",
|
||||
"karma": "~2.0.0",
|
||||
"karma-chrome-launcher": "~2.2.0",
|
||||
"karma-cli": "~1.0.1",
|
||||
"karma-coverage-istanbul-reporter": "^1.2.1",
|
||||
@ -51,8 +53,8 @@
|
||||
"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"
|
||||
"ts-node": "~4.1.0",
|
||||
"tslint": "~5.8.0",
|
||||
"typescript": ">=2.4.0 <2.6.0"
|
||||
}
|
||||
}
|
||||
|
@ -3,6 +3,7 @@ import { NgModule } from '@angular/core';
|
||||
import { HttpModule } from '@angular/http';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { CdkTableModule } from "@angular/cdk/table";
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import {
|
||||
@ -76,6 +77,7 @@ import { NodeSelectInterfaceComponent } from './shared/node-select-interface/nod
|
||||
ToastyModule.forRoot(),
|
||||
BrowserModule,
|
||||
HttpModule,
|
||||
HttpClientModule,
|
||||
AppRoutingModule,
|
||||
FormsModule,
|
||||
BrowserAnimationsModule,
|
||||
|
@ -120,7 +120,7 @@ export class LinksWidget implements Widget {
|
||||
.attr('map-source', (l: Link) => l.source.node_id)
|
||||
.attr('map-target', (l: Link) => l.target.node_id)
|
||||
|
||||
this.revise(link.merge(link_enter));
|
||||
//this.revise(link.merge(link_enter));
|
||||
|
||||
link
|
||||
.exit()
|
||||
|
@ -39,9 +39,9 @@ export class NodesWidget implements Widget {
|
||||
}
|
||||
|
||||
private executeOnNodeDraggingCallback(n: Node) {
|
||||
this.onNodeDraggingCallbacks.forEach((callback: (n: Node) => void) => {
|
||||
callback(n);
|
||||
});
|
||||
// this.onNodeDraggingCallbacks.forEach((callback: (n: Node) => void) => {
|
||||
// callback(n);
|
||||
// });
|
||||
}
|
||||
|
||||
public revise(selection: SVGSelection) {
|
||||
|
@ -10,7 +10,7 @@ export class ServerService {
|
||||
private ready: Promise<any>;
|
||||
|
||||
constructor(private indexedDbService: IndexedDbService) {
|
||||
this.ready = indexedDbService.get().createStore(1, (evt) => {
|
||||
this.ready = indexedDbService.get().openDatabase(1, (evt) => {
|
||||
const store = evt.currentTarget.result.createObjectStore(
|
||||
this.tablename, { keyPath: "id", autoIncrement: true });
|
||||
});
|
||||
|
@ -9,5 +9,9 @@
|
||||
"exclude": [
|
||||
"test.ts",
|
||||
"**/*.spec.ts"
|
||||
],
|
||||
"include": [
|
||||
"../src/**/*",
|
||||
"../node_modules/angular2-indexeddb/index.ts"
|
||||
]
|
||||
}
|
||||
|
90
yarn-error.log
Normal file
90
yarn-error.log
Normal 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
|
Loading…
Reference in New Issue
Block a user