Update dependencies (#344)
* Update angular to 4.2.6 * Update rxjs * Update webpack * Update type definitions * Update tslint
This commit is contained in:
committed by
László Monda
parent
d06892912f
commit
e57a2f8637
@@ -168,15 +168,15 @@ function sendIpcToWindow(message: string, arg?: any) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function allowPreRelease() {
|
function allowPreRelease() {
|
||||||
const settings = getAutoUpdateSettings();
|
const autoUpdateSettings = getAutoUpdateSettings();
|
||||||
|
|
||||||
return settings && settings.usePreReleaseUpdate;
|
return autoUpdateSettings && autoUpdateSettings.usePreReleaseUpdate;
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkForUpdateAtStartup() {
|
function checkForUpdateAtStartup() {
|
||||||
const settings = getAutoUpdateSettings();
|
const autoUpdateSettings = getAutoUpdateSettings();
|
||||||
|
|
||||||
return settings && settings.checkForUpdateOnStartUp;
|
return autoUpdateSettings && autoUpdateSettings.checkForUpdateOnStartUp;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAutoUpdateSettings() {
|
function getAutoUpdateSettings() {
|
||||||
|
|||||||
@@ -27,8 +27,7 @@ export class UhkLibUsbApiService extends UhkDeviceService implements OnDestroy {
|
|||||||
device.deviceDescriptor.idProduct === Constants.PRODUCT_ID;
|
device.deviceDescriptor.idProduct === Constants.PRODUCT_ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor(zone: NgZone,
|
constructor(zone: NgZone, protected logService: LogService) {
|
||||||
protected logService: LogService) {
|
|
||||||
super(logService);
|
super(logService);
|
||||||
|
|
||||||
this.initialize();
|
this.initialize();
|
||||||
|
|||||||
412
package-lock.json
generated
412
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
30
package.json
30
package.json
@@ -16,12 +16,12 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ngrx/store-devtools": "3.2.4",
|
"@ngrx/store-devtools": "3.2.4",
|
||||||
"@ngrx/store-log-monitor": "3.0.2",
|
"@ngrx/store-log-monitor": "3.0.2",
|
||||||
"@types/core-js": "0.9.35",
|
"@types/core-js": "0.9.42",
|
||||||
"@types/electron-devtools-installer": "^2.0.2",
|
"@types/electron-devtools-installer": "^2.0.2",
|
||||||
"@types/electron-settings": "^3.0.0",
|
"@types/electron-settings": "^3.0.0",
|
||||||
"@types/file-saver": "0.0.1",
|
"@types/file-saver": "0.0.1",
|
||||||
"@types/jquery": "3.2.1",
|
"@types/jquery": "^3.2.6",
|
||||||
"@types/node": "^6.0.78",
|
"@types/node": "^8.0.9",
|
||||||
"@types/node-hid": "^0.5.2",
|
"@types/node-hid": "^0.5.2",
|
||||||
"@types/usb": "^1.1.3",
|
"@types/usb": "^1.1.3",
|
||||||
"angular2-template-loader": "0.6.2",
|
"angular2-template-loader": "0.6.2",
|
||||||
@@ -44,20 +44,20 @@
|
|||||||
"standard-version": "^4.0.0",
|
"standard-version": "^4.0.0",
|
||||||
"stylelint": "^7.12.0",
|
"stylelint": "^7.12.0",
|
||||||
"ts-loader": "^2.0.3",
|
"ts-loader": "^2.0.3",
|
||||||
"tslint": "~5.4.3",
|
"tslint": "~5.5.0",
|
||||||
"webpack": "^2.4.1",
|
"webpack": "^3.1.0",
|
||||||
"webpack-dev-server": "^2.4.4",
|
"webpack-dev-server": "^2.5.1",
|
||||||
"webpack-svgstore-plugin": "4.0.1"
|
"webpack-svgstore-plugin": "4.0.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "4.2.3",
|
"@angular/animations": "4.2.6",
|
||||||
"@angular/common": "4.2.3",
|
"@angular/common": "4.2.6",
|
||||||
"@angular/compiler": "4.2.3",
|
"@angular/compiler": "4.2.6",
|
||||||
"@angular/core": "4.2.3",
|
"@angular/core": "4.2.6",
|
||||||
"@angular/forms": "4.2.3",
|
"@angular/forms": "4.2.6",
|
||||||
"@angular/platform-browser": "4.2.3",
|
"@angular/platform-browser": "4.2.6",
|
||||||
"@angular/platform-browser-dynamic": "4.2.3",
|
"@angular/platform-browser-dynamic": "4.2.6",
|
||||||
"@angular/router": "4.2.3",
|
"@angular/router": "4.2.6",
|
||||||
"@ngrx/core": "1.2.0",
|
"@ngrx/core": "1.2.0",
|
||||||
"@ngrx/effects": "2.0.3",
|
"@ngrx/effects": "2.0.3",
|
||||||
"@ngrx/router-store": "^1.2.6",
|
"@ngrx/router-store": "^1.2.6",
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
"ngrx-store-freeze": "^0.1.9",
|
"ngrx-store-freeze": "^0.1.9",
|
||||||
"node-hid": "0.5.4",
|
"node-hid": "0.5.4",
|
||||||
"reselect": "3.0.1",
|
"reselect": "3.0.1",
|
||||||
"rxjs": "^5.4.1",
|
"rxjs": "^5.4.2",
|
||||||
"select2": "^4.0.3",
|
"select2": "^4.0.3",
|
||||||
"sudo-prompt": "^7.0.0",
|
"sudo-prompt": "^7.0.0",
|
||||||
"typescript": "2.3.4",
|
"typescript": "2.3.4",
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
/// <reference path="../../function.d.ts" />
|
|
||||||
|
|
||||||
import { Macro } from '../macro';
|
import { Macro } from '../macro';
|
||||||
import { UhkBuffer } from '../../uhk-buffer';
|
import { UhkBuffer } from '../../uhk-buffer';
|
||||||
|
|
||||||
|
|||||||
3
shared/src/config-serializer/function.d.ts
vendored
3
shared/src/config-serializer/function.d.ts
vendored
@@ -1,3 +0,0 @@
|
|||||||
interface Function {
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import 'core-js/es7/array';
|
||||||
import 'core-js/es7/object';
|
import 'core-js/es7/object';
|
||||||
import 'core-js/es7/reflect';
|
import 'core-js/es7/reflect';
|
||||||
import 'zone.js/dist/zone';
|
import 'zone.js/dist/zone';
|
||||||
|
|||||||
@@ -17,9 +17,6 @@ import { ActionTypes } from '../actions/user-config';
|
|||||||
|
|
||||||
const initialState: UserConfiguration = new UserConfiguration();
|
const initialState: UserConfiguration = new UserConfiguration();
|
||||||
|
|
||||||
/* tslint:disable:no-switch-case-fall-through */
|
|
||||||
// tslint bug: https://github.com/palantir/tslint/issues/1538
|
|
||||||
|
|
||||||
export default function (state = initialState, action: Action): UserConfiguration {
|
export default function (state = initialState, action: Action): UserConfiguration {
|
||||||
const changedUserConfiguration: UserConfiguration = Object.assign(new UserConfiguration(), state);
|
const changedUserConfiguration: UserConfiguration = Object.assign(new UserConfiguration(), state);
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
|
|||||||
@@ -8,7 +8,14 @@
|
|||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"removeComments": false,
|
"removeComments": false,
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"suppressImplicitAnyIndexErrors": true
|
"suppressImplicitAnyIndexErrors": true,
|
||||||
|
"lib": [
|
||||||
|
"es6",
|
||||||
|
"es2016.array.include",
|
||||||
|
"dom",
|
||||||
|
"dom.iterable",
|
||||||
|
"scripthost"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"./dist",
|
"./dist",
|
||||||
|
|||||||
Reference in New Issue
Block a user