@iobroker/repochecker 5.6.3 → 5.6.4
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 +15 -3
- 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.4 (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
|
@@ -1173,9 +1173,17 @@ async function checkCode(context) {
|
|
|
1173
1173
|
'.dev-server',
|
|
1174
1174
|
]);
|
|
1175
1175
|
// Exact file base names to exclude from dependency scanning
|
|
1176
|
-
const excludedSourceFiles = new Set([
|
|
1176
|
+
const excludedSourceFiles = new Set([
|
|
1177
|
+
'tasks.js',
|
|
1178
|
+
'Gruntfile.js',
|
|
1179
|
+
'gulpfile.js'
|
|
1180
|
+
]);
|
|
1181
|
+
|
|
1177
1182
|
// Exact relative file paths (without leading slash) to exclude from dependency scanning
|
|
1178
|
-
const excludedSourceRelPaths = new Set([
|
|
1183
|
+
const excludedSourceRelPaths = new Set([
|
|
1184
|
+
'lib/tools.js'
|
|
1185
|
+
]);
|
|
1186
|
+
|
|
1179
1187
|
const packageDependencies = context.packageJson.dependencies || {};
|
|
1180
1188
|
const packageDevDependencies = context.packageJson.devDependencies || {};
|
|
1181
1189
|
|
|
@@ -1222,7 +1230,11 @@ async function checkCode(context) {
|
|
|
1222
1230
|
common.debug(` Found import: "${importTarget}"`);
|
|
1223
1231
|
|
|
1224
1232
|
// Skip relative paths (./xxx, ../xxx) and absolute paths (/xxx)
|
|
1225
|
-
if (importTarget.startsWith('.') ||
|
|
1233
|
+
if (importTarget.startsWith('.') ||
|
|
1234
|
+
importTarget.startsWith('/') ||
|
|
1235
|
+
importTarget.includes('$') ||
|
|
1236
|
+
importTarget.includes('{') ||
|
|
1237
|
+
importTarget.includes('}')) {
|
|
1226
1238
|
continue;
|
|
1227
1239
|
}
|
|
1228
1240
|
|
package/package.json
CHANGED