@iobroker/repochecker 3.5.1 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/lib/M100_IOPackageJson.js +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,7 +33,10 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
33
33
|
-->
|
|
34
34
|
|
|
35
35
|
## Changelog
|
|
36
|
-
### 3.5.
|
|
36
|
+
### 3.5.2 (2025-02-19)
|
|
37
|
+
|
|
38
|
+
- (mcm1957) Incorrect admin suggestion for very olf html adapters corrected. [#383]
|
|
39
|
+
- (mcm1957) Errors during parsing if icon improved. [#381]
|
|
37
40
|
- (mcm1957) Crash if protectedNative or encryptedNative is missing. [#382]
|
|
38
41
|
|
|
39
42
|
### 3.5.0 (2025-02-18)
|
|
@@ -784,11 +784,18 @@ async function checkIOPackageJson(context) {
|
|
|
784
784
|
|
|
785
785
|
// check admin dependency
|
|
786
786
|
let requireAdmin =
|
|
787
|
+
// some config is present and does not state 'none'
|
|
787
788
|
context.ioPackageJson.common.materialize ||
|
|
788
789
|
context.ioPackageJson.common.materializeTab ||
|
|
789
790
|
(context.ioPackageJson.common.adminUI?.config && context.ioPackageJson.common.adminUI?.config !== 'none') ||
|
|
790
791
|
(context.ioPackageJson.common.adminUI?.custom && context.ioPackageJson.common.adminUI?.custom !== 'none') ||
|
|
791
|
-
(context.ioPackageJson.common.adminUI?.tab && context.ioPackageJson.common.adminUI?.tab !== 'none')
|
|
792
|
+
(context.ioPackageJson.common.adminUI?.tab && context.ioPackageJson.common.adminUI?.tab !== 'none') ||
|
|
793
|
+
// or its pure old html without any setting
|
|
794
|
+
(!context.ioPackageJson.common.materialize &&
|
|
795
|
+
!context.ioPackageJson.common.materializeTab &&
|
|
796
|
+
!context.ioPackageJson.common.adminUI?.config &&
|
|
797
|
+
!context.ioPackageJson.common.adminUI?.custom &&
|
|
798
|
+
!context.ioPackageJson.common.adminUI?.tab);
|
|
792
799
|
common.debug(`admin dependency is ${requireAdmin ? '' : 'not'}required`);
|
|
793
800
|
|
|
794
801
|
if (context.cfg.hasJsonConfig) {
|
package/package.json
CHANGED