From f1ab82802dd8d7b8294d4e52323f57fe28776798 Mon Sep 17 00:00:00 2001 From: Grzegorz Date: Wed, 24 Jul 2024 10:32:42 +0200 Subject: [PATCH] fix security and some cleanup --- config.schema.json | 26 +++++++++++++------------- package-lock.json | 16 ++++++++-------- package.json | 2 +- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/config.schema.json b/config.schema.json index 266dcb2..daccec4 100644 --- a/config.schema.json +++ b/config.schema.json @@ -140,7 +140,7 @@ ] } ], - "required": false + "required": true } } } @@ -182,7 +182,7 @@ ] } ], - "required": false + "required": true }, "reference": { "title": "Reference", @@ -533,7 +533,7 @@ } ], "description": "Here select the remote control command.", - "required": false + "required": true }, "displayType": { "title": "Display Type", @@ -559,7 +559,7 @@ } ], "description": "Here select display type in HomeKit app.", - "required": false + "required": true }, "namePrefix": { "title": "Prefix", @@ -699,7 +699,7 @@ } ], "description": "Here select sensor type to be exposed in HomeKit app.", - "required": false + "required": true }, "namePrefix": { "title": "Prefix", @@ -935,7 +935,7 @@ ] } ], - "required": false + "required": true }, "displayType": { "title": "Display Type", @@ -961,7 +961,7 @@ } ], "description": "Here select display type in HomeKit app.", - "required": false + "required": true }, "namePrefix": { "title": "Prefix", @@ -1000,7 +1000,7 @@ } ], "description": "Here select what a volume control mode You want to use. If select *None/Disabled* only hardware buttons in RC app can be used to control volume.", - "required": false + "required": true }, "soundModeControl": { "title": "Sound Modes", @@ -1076,7 +1076,7 @@ ] } ], - "required": false + "required": true }, "displayType": { "title": "Display Type", @@ -1102,7 +1102,7 @@ } ], "description": "Here select display type in HomeKit app.", - "required": false + "required": true }, "namePrefix": { "title": "Prefix", @@ -1200,7 +1200,7 @@ ] } ], - "required": false + "required": true }, "displayType": { "title": "Display Type", @@ -1226,7 +1226,7 @@ } ], "description": "Here select display type in HomeKit app.", - "required": false + "required": true }, "namePrefix": { "title": "Prefix", @@ -1321,7 +1321,7 @@ } ], "description": "Here select the function of info button in RC.", - "required": false + "required": true }, "enableDebugMode": { "title": "Debug", diff --git a/package-lock.json b/package-lock.json index 1ebf04a..a51adde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "homebridge-lgwebos-tv", - "version": "2.19.4", + "version": "2.19.20", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "homebridge-lgwebos-tv", - "version": "2.19.4", + "version": "2.19.20", "license": "MIT", "dependencies": { "async-mqtt": "^2.6.3", @@ -779,9 +779,9 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/mqtt/node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "engines": { "node": ">=8.3.0" }, @@ -1759,9 +1759,9 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "requires": {} } } diff --git a/package.json b/package.json index 5c7c553..a885d6d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "displayName": "LG webOS TV", "name": "homebridge-lgwebos-tv", - "version": "2.19.19", + "version": "2.19.20", "description": "Homebridge plugin to control LG webOS TV.", "license": "MIT", "author": "grzegorz914",