upgrade all packages.

This commit is contained in:
Miroslav Šedivý 2020-11-10 21:11:44 +01:00
parent 3214d35f24
commit 71a6cea82e
5 changed files with 722 additions and 288 deletions

974
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -19,28 +19,28 @@
"typed-vuex": "^0.1.21",
"vue": "^2.6.12",
"vue-class-component": "^7.2.6",
"vue-context": "^5.2.0",
"vue-property-decorator": "^8.5.1"
"vue-context": "^6.0.0",
"vue-property-decorator": "^9.0.2"
},
"devDependencies": {
"@types/node": "^13.13.30",
"@types/node": "^14.14.7",
"@types/vue": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"@vue/cli-plugin-babel": "^4.5.6",
"@vue/cli-plugin-eslint": "^4.5.6",
"@vue/cli-plugin-typescript": "^4.5.8",
"@vue/cli-service": "^4.5.6",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^5.1.0",
"eslint": "^6.8.0",
"@vue/eslint-config-typescript": "^7.0.0",
"eslint": "^7.13.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-vue": "^6.2.2",
"node-sass": "^4.14.1",
"eslint-plugin-vue": "^7.1.0",
"node-sass": "^5.0.0",
"prettier": "^2.1.2",
"sass-loader": "^8.0.0",
"ts-node": "^8.10.2",
"typescript": "^3.9.7",
"sass-loader": "^10.0.5",
"ts-node": "^9.0.0",
"typescript": "^4.0.5",
"vue-template-compiler": "^2.6.12"
},
"browserslist": [

View File

@ -136,7 +136,7 @@ export class NekoMessages extends EventEmitter<NekoEvents> {
// Screen Events
/////////////////////////////
protected [EVENT.SCREEN.CONFIGURATIONS]({ configurations }: ScreenConfigurationsPayload) {
let data = []
const data = []
for (const i of Object.keys(configurations)) {
const { width, height, rates } = configurations[i]
if (width >= 600 && height >= 300) {
@ -153,7 +153,7 @@ export class NekoMessages extends EventEmitter<NekoEvents> {
}
}
let conf = data.sort((a, b) => {
const conf = data.sort((a, b) => {
if (b.width === a.width && b.height == a.height) {
return b.rate - a.rate
} else if (b.width === a.width) {

View File

@ -94,7 +94,7 @@ export class NekoWebRTC extends EventEmitter<NekoWebRTCEvents> {
this._peer.setRemoteDescription({ type: 'offer', sdp })
let answer = await this._peer.createAnswer()
const answer = await this._peer.createAnswer()
this._peer!.setLocalDescription(answer)
if (!answer.sdp) {

View File

@ -68,7 +68,7 @@ export interface GuacamoleKeyboardInterface {
}
export default function (element?: Element): GuacamoleKeyboardInterface {
var Keyboard = {}
const Keyboard = {}
GuacamoleKeyboard.bind(Keyboard, element)()