@iobroker/repochecker 5.18.8 → 5.18.10
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 +9 -0
- package/lib/M0000_PackageJson.js +5 -5
- package/lib/M5000_Code.js +5 -3
- package/lib/postprocessing.js +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,6 +25,15 @@ Example:
|
|
|
25
25
|
Placeholder for the next version (at the beginning of the line):
|
|
26
26
|
### **WORK IN PROGRESS**
|
|
27
27
|
-->
|
|
28
|
+
### 5.18.10 (2026-06-23)
|
|
29
|
+
|
|
30
|
+
- (mcm1957) some more directories have been excluded from dependency scan
|
|
31
|
+
|
|
32
|
+
### 5.18.9 (2026-06-22)
|
|
33
|
+
|
|
34
|
+
- (mcm1957) eslint-config import check has been adapted
|
|
35
|
+
- (mcm1957) EXCEPTION: exceptions added flase positive apiKey paramaters
|
|
36
|
+
|
|
28
37
|
### 5.18.8 (2026-06-21)
|
|
29
38
|
|
|
30
39
|
- (mcm1957) Sentry text check has been adapted
|
package/lib/M0000_PackageJson.js
CHANGED
|
@@ -21,14 +21,14 @@ const common = require('./common.js');
|
|
|
21
21
|
const specialAdapters = ['admin', 'backitup', 'javascript', 'js-controller'];
|
|
22
22
|
let recommendedNodeVersion = '22'; // This is the minimum node version that should be required at engines clause
|
|
23
23
|
let requiredNodeVersion = '20'; // This is the minimum node version that must be required at engines clause
|
|
24
|
-
const minimumNodeVersion = '18'; // This is the minimum node version that must be required
|
|
24
|
+
const minimumNodeVersion = '18'; // This is the minimum node version that must be required by all adapters at engines clause
|
|
25
25
|
|
|
26
26
|
// packages which must or should be required as dependencies
|
|
27
27
|
const dependenciesPackageJson = {
|
|
28
28
|
'@iobroker/adapter-core': {
|
|
29
29
|
required: '3.2.3',
|
|
30
|
-
recommended: '3.
|
|
31
|
-
actual: '3.
|
|
30
|
+
recommended: '3.4.1',
|
|
31
|
+
actual: '3.4.1',
|
|
32
32
|
onlyWWW: false,
|
|
33
33
|
},
|
|
34
34
|
};
|
|
@@ -1709,12 +1709,12 @@ async function checkEslintFileChecks(context) {
|
|
|
1709
1709
|
} else {
|
|
1710
1710
|
try {
|
|
1711
1711
|
const eslintConfigContent = await common.getFile(context, '/eslint.config.mjs');
|
|
1712
|
-
const hasImport = /import\s
|
|
1712
|
+
const hasImport = /import\s+.*\s+from\s+['"]@iobroker\/eslint-config['"]\s*;?/.test(
|
|
1713
1713
|
String(eslintConfigContent || ''),
|
|
1714
1714
|
);
|
|
1715
1715
|
if (!hasImport) {
|
|
1716
1716
|
context.errors.push(
|
|
1717
|
-
'[E0077] "eslint.config.mjs" should use installed "@iobroker/eslint-config" via `import
|
|
1717
|
+
'[E0077] "eslint.config.mjs" should use installed "@iobroker/eslint-config" via `import ... from \'@iobroker/eslint-config\';`.',
|
|
1718
1718
|
);
|
|
1719
1719
|
} else {
|
|
1720
1720
|
context.checks.push('"eslint.config.mjs" imports "@iobroker/eslint-config".');
|
package/lib/M5000_Code.js
CHANGED
|
@@ -1804,15 +1804,17 @@ async function checkCode(context) {
|
|
|
1804
1804
|
'/scripts',
|
|
1805
1805
|
'/template',
|
|
1806
1806
|
'/templates',
|
|
1807
|
+
'/test',
|
|
1808
|
+
'/tools',
|
|
1807
1809
|
'/src-admin',
|
|
1808
1810
|
'/src-editor', // java-script adapter
|
|
1809
1811
|
'/src-rules',
|
|
1812
|
+
'/src-vis',
|
|
1810
1813
|
'/src-widgets',
|
|
1811
|
-
'/www',
|
|
1812
|
-
'/widgets',
|
|
1813
1814
|
'/admin-src',
|
|
1814
1815
|
'/rules-src',
|
|
1815
|
-
'/
|
|
1816
|
+
'/www',
|
|
1817
|
+
'/widgets',
|
|
1816
1818
|
'/node_modules',
|
|
1817
1819
|
'/.git',
|
|
1818
1820
|
'/.vscode',
|
package/lib/postprocessing.js
CHANGED
|
@@ -33,6 +33,10 @@ const filterByAdapter = {
|
|
|
33
33
|
backitup: [
|
|
34
34
|
'[E5050] process.exit() used in * (lib/restore.js)*',
|
|
35
35
|
],
|
|
36
|
+
'schlueter-thermostat': [
|
|
37
|
+
'[W1073] Potential sensitive data "apiKey" not listed at "protectedNative" in io-package.json',
|
|
38
|
+
'[W1074] Potential sensitive data "apiKey" not listed at "encryptedNative" in io-package.json',
|
|
39
|
+
],
|
|
36
40
|
};
|
|
37
41
|
|
|
38
42
|
/**
|
package/package.json
CHANGED