@iobroker/repochecker 5.6.4 → 5.6.5
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 +1 -1
- package/lib/M5000_Code.js +12 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ 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.5 (2026-03-27)
|
|
29
29
|
- (@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
30
|
|
|
31
31
|
### 5.6.2 (2026-03-27)
|
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/package.json
CHANGED