@iobroker/repochecker 5.23.0 → 5.23.1
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 +3 -4
- package/lib/M1000_IOPackageJson.js +3 -1
- package/lib/M5000_Code.js +1 -1
- package/lib/postprocessing.js +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,6 +56,9 @@ GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
56
56
|
Placeholder for the next version (at the beginning of the line):
|
|
57
57
|
### **WORK IN PROGRESS**
|
|
58
58
|
-->
|
|
59
|
+
### 5.23.1 (2026-10-16)
|
|
60
|
+
* (@mcm1957) More pecial handling of some core adapters added.
|
|
61
|
+
|
|
59
62
|
### 5.23.0 (2026-10-14)
|
|
60
63
|
|
|
61
64
|
* (@mcm1957) Special handling of some core adapters added.
|
|
@@ -71,10 +74,6 @@ GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
71
74
|
### 5.22.14 (2026-10-12)
|
|
72
75
|
* (mcm1957) E2004 (news version not on NPM) downgraded to W2004 with updated message
|
|
73
76
|
|
|
74
|
-
### 5.22.13 (2026-10-12)
|
|
75
|
-
* (mcm1957) src-chart and src-preview added to source directories excluded from E9507 (missing i18n files) check
|
|
76
|
-
* (mcm1957) tasks*.js/mjs/cjs/ts files at repo root that import @iobroker/build-tools are now treated like tasks.js and excluded from code checks
|
|
77
|
-
|
|
78
77
|
[Older changelogs can be found there](CHANGELOG_OLD.md)
|
|
79
78
|
|
|
80
79
|
## License
|
|
@@ -281,7 +281,9 @@ async function validateIOPackageSchema(context) {
|
|
|
281
281
|
errorMsg = `Property "${path}" ${message}`;
|
|
282
282
|
}
|
|
283
283
|
|
|
284
|
-
|
|
284
|
+
if (errorMsg != 'Unknown property "schemas" in root' ) {
|
|
285
|
+
context.errors.push(`[E1105] io-package.json schema validation error: ${errorMsg}`);
|
|
286
|
+
}
|
|
285
287
|
}
|
|
286
288
|
} else {
|
|
287
289
|
context.errors.push('[E1105] io-package.json does not validate against schema');
|
package/lib/M5000_Code.js
CHANGED
|
@@ -2089,7 +2089,7 @@ async function checkCode(context) {
|
|
|
2089
2089
|
} else {
|
|
2090
2090
|
// compact is true or undefined — compact mode is active or may become active
|
|
2091
2091
|
context.errors.push(
|
|
2092
|
-
`[E5050] process.exit() used in
|
|
2092
|
+
`[E5050] process.exit() used in (${fileList}). This is incompatible with compact mode as it terminates the entire host process. Remove process.exit() or set common.compact to false at io-package.json.`,
|
|
2093
2093
|
);
|
|
2094
2094
|
}
|
|
2095
2095
|
}
|
package/lib/postprocessing.js
CHANGED
|
@@ -30,6 +30,10 @@ const common = require('./common.js');
|
|
|
30
30
|
*/
|
|
31
31
|
const filterByAdapter = {
|
|
32
32
|
// eslint-disable-next-line prettier/prettier
|
|
33
|
+
admin: [
|
|
34
|
+
'[E5049] process.env is used in source files (src/lib/logSearch.ts, src/main.ts). process.env is incompatible with compact mode. Please use adapter configuration instead.',
|
|
35
|
+
'[E5050] process.exit() used in (src/lib/testPassword.ts, src/lib/web.ts). *',
|
|
36
|
+
],
|
|
33
37
|
backitup: [
|
|
34
38
|
'[E5050] process.exit() used in * (lib/restore.js)*',
|
|
35
39
|
'[E5050] process.exit() used in * (src/lib/restore.ts)*',
|
package/package.json
CHANGED