@iobroker/repochecker 5.6.4 → 5.6.6
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 +5 -2
- package/lib/M3000_Testing.js +1 -1
- package/lib/M5000_Code.js +12 -1
- package/lib/M8000_Github.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,10 @@ Example:
|
|
|
25
25
|
Placeholder for the next version (at the beginning of the line):
|
|
26
26
|
### **WORK IN PROGRESS**
|
|
27
27
|
-->
|
|
28
|
-
### 5.6.
|
|
28
|
+
### 5.6.6 (2026-03-29)
|
|
29
|
+
- (mcm1957) Severity for [S3010] has been corrected.
|
|
30
|
+
|
|
31
|
+
### 5.6.5 (2026-03-27)
|
|
29
32
|
- (@copilot) Exclude `gulpfile.js` and `lib/tools.js` from W5042/S5043 dependency scanning; added easy-to-extend `excludedSourceFiles` and `excludedSourceRelPaths` Sets for future exclusions.
|
|
30
33
|
|
|
31
34
|
### 5.6.2 (2026-03-27)
|
|
@@ -36,7 +39,7 @@ Example:
|
|
|
36
39
|
- (@copilot) Added W5042 and S5043 checks: source files (`*.js`, `*.mjs`, `*.cjs`, `*.ts`) are now scanned for `require`/`import` statements (excluding `admin/`, `doc/`, `src-admin/`, `test/` directories and `*.test.*`/`*.config.*` files). W5042 warns when an imported package is not listed in `dependencies` of `package.json`. S5043 suggests using the `node:` prefix when importing known Node.js built-in modules without it.
|
|
37
40
|
|
|
38
41
|
### 5.5.5 (2026-03-24)
|
|
39
|
-
|
|
42
|
+
- (mcm1957) remove '[S6014] README.md section "## Installation" should be removed unless the adapter requires special installation handling.'
|
|
40
43
|
|
|
41
44
|
### 5.5.4 (2026-03-22)
|
|
42
45
|
- (@copilot) Fixed E6015/W6016 false positives: German (and English) language detection now ignores fenced code blocks, inline code, blockquote lines, link URLs, and image markup before analyzing the README text.
|
package/lib/M3000_Testing.js
CHANGED
|
@@ -261,7 +261,7 @@ async function checkTests(context) {
|
|
|
261
261
|
`[E3010] Workflow "${WORKFLOW_FILE}": job "check-and-lint" is missing. Please add it.`,
|
|
262
262
|
);
|
|
263
263
|
} else {
|
|
264
|
-
context.
|
|
264
|
+
context.warnings.push(
|
|
265
265
|
`[S3010] Workflow "${WORKFLOW_FILE}": job "check-and-lint" is missing. Consider adding it.`,
|
|
266
266
|
);
|
|
267
267
|
}
|
package/lib/M5000_Code.js
CHANGED
|
@@ -1165,6 +1165,7 @@ async function checkCode(context) {
|
|
|
1165
1165
|
'build',
|
|
1166
1166
|
'doc',
|
|
1167
1167
|
'src-admin',
|
|
1168
|
+
'src-widgets',
|
|
1168
1169
|
'admin-src',
|
|
1169
1170
|
'test',
|
|
1170
1171
|
'node_modules',
|
|
@@ -1230,14 +1231,24 @@ async function checkCode(context) {
|
|
|
1230
1231
|
common.debug(` Found import: "${importTarget}"`);
|
|
1231
1232
|
|
|
1232
1233
|
// Skip relative paths (./xxx, ../xxx) and absolute paths (/xxx)
|
|
1234
|
+
// Skip dynamic generated strings (`${xxx}`) and debug vars
|
|
1233
1235
|
if (importTarget.startsWith('.') ||
|
|
1234
1236
|
importTarget.startsWith('/') ||
|
|
1235
|
-
importTarget.includes('
|
|
1237
|
+
importTarget.includes('~') || // '~debug~xx'
|
|
1238
|
+
importTarget.includes('$') || // `${myvar}/xxx`
|
|
1236
1239
|
importTarget.includes('{') ||
|
|
1237
1240
|
importTarget.includes('}')) {
|
|
1238
1241
|
continue;
|
|
1239
1242
|
}
|
|
1240
1243
|
|
|
1244
|
+
// Skip obvious filenames
|
|
1245
|
+
if (importTarget.endsWith('.js') ||
|
|
1246
|
+
importTarget.endsWith('.mjs') ||
|
|
1247
|
+
importTarget.endsWith('.cjs') ||
|
|
1248
|
+
importTarget.endsWith('.ts')) {
|
|
1249
|
+
continue;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1241
1252
|
// Skip node: prefixed built-ins - check is complete
|
|
1242
1253
|
if (importTarget.startsWith('node:')) {
|
|
1243
1254
|
continue;
|
package/lib/M8000_Github.js
CHANGED
|
@@ -19,6 +19,8 @@ const issuesToWatchAsError = [
|
|
|
19
19
|
const issuesToWatchAsWarning = [
|
|
20
20
|
'Migration to ESLint 9 and @iobroker/eslint-config',
|
|
21
21
|
'Translations update from ioBroker Translation System',
|
|
22
|
+
'Adapter published at ioBroker latest repository - Please create a tester topic at the forum',
|
|
23
|
+
'Compatibility check and testing for node.js 26',
|
|
22
24
|
];
|
|
23
25
|
|
|
24
26
|
// disable axios caching
|
package/package.json
CHANGED