@iobroker/repochecker 5.17.4 → 5.17.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 +8 -0
- package/lib/M3000_Testing.js +1 -1
- package/lib/M6000_Readme.js +6 -3
- package/lib/postprocessing.js +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,6 +25,14 @@ Example:
|
|
|
25
25
|
Placeholder for the next version (at the beginning of the line):
|
|
26
26
|
### **WORK IN PROGRESS**
|
|
27
27
|
-->
|
|
28
|
+
### 5.17.6 (2026-06-03)
|
|
29
|
+
|
|
30
|
+
- (mcm1957) Severities have been adapted.
|
|
31
|
+
|
|
32
|
+
### 5.17.5 (2026-06-02)
|
|
33
|
+
|
|
34
|
+
- (mcm1957) Minor checkings at README formatting have been done.
|
|
35
|
+
|
|
28
36
|
### 5.17.4 (2026-05-31)
|
|
29
37
|
|
|
30
38
|
- (mcm1957) default value for engines corrected.
|
package/lib/M3000_Testing.js
CHANGED
|
@@ -73,7 +73,7 @@ function checkTagTriggeredRun(context, workflowRuns, version, taggedVersion, cod
|
|
|
73
73
|
const tagRun = findTagTriggeredRun(workflowRuns, version, taggedVersion);
|
|
74
74
|
if (!tagRun) {
|
|
75
75
|
context.warnings.push(
|
|
76
|
-
`[
|
|
76
|
+
`[W${codeBase}] Just for Info: No workflow run for "${WORKFLOW_FILE_SHORT}" triggered by tag "${taggedVersion}" was found for ${sourceLabel}. ` +
|
|
77
77
|
`Workflow logs might be deleted already.`,
|
|
78
78
|
);
|
|
79
79
|
return;
|
package/lib/M6000_Readme.js
CHANGED
|
@@ -87,9 +87,11 @@ const SENTRY_NOTICE_TEXT_1 =
|
|
|
87
87
|
'**This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.**';
|
|
88
88
|
const SENTRY_NOTICE_TEXT_2 =
|
|
89
89
|
'This adapter uses the service `Sentry.io` to automatically report exceptions and code errors';
|
|
90
|
+
const SENTRY_NOTICE_TEXT_3 =
|
|
91
|
+
'This adapter employs Sentry libraries to automatically report exceptions and code errors to the developers.';
|
|
90
92
|
const MARKDOWN_H1_REGEX = /^#\s+.+$/gm;
|
|
91
93
|
const MARKDOWN_H2_REGEX = /^##\s+.+$/gm;
|
|
92
|
-
const THIRD_H2_HEADER_INDEX =
|
|
94
|
+
const THIRD_H2_HEADER_INDEX = 4;
|
|
93
95
|
|
|
94
96
|
/**
|
|
95
97
|
* Search for all German words from the blacklist in the given text.
|
|
@@ -258,9 +260,10 @@ function escapeRegExp(text) {
|
|
|
258
260
|
// Allow flexible whitespace so the required notice still matches if it is wrapped across lines in README.md.
|
|
259
261
|
const SENTRY_NOTICE_REGEX_1 = new RegExp(escapeRegExp(SENTRY_NOTICE_TEXT_1).replace(/\s+/g, '\\s+'));
|
|
260
262
|
const SENTRY_NOTICE_REGEX_2 = new RegExp(escapeRegExp(SENTRY_NOTICE_TEXT_2).replace(/\s+/g, '\\s+'));
|
|
263
|
+
const SENTRY_NOTICE_REGEX_3 = new RegExp(escapeRegExp(SENTRY_NOTICE_TEXT_3).replace(/\s+/g, '\\s+'));
|
|
261
264
|
|
|
262
265
|
function getSentryNoticeMatch(text) {
|
|
263
|
-
return SENTRY_NOTICE_REGEX_1.exec(text) || SENTRY_NOTICE_REGEX_2.exec(text);
|
|
266
|
+
return SENTRY_NOTICE_REGEX_1.exec(text) || SENTRY_NOTICE_REGEX_2.exec(text) || SENTRY_NOTICE_REGEX_3.exec(text);
|
|
264
267
|
}
|
|
265
268
|
|
|
266
269
|
function getAuthor(author) {
|
|
@@ -384,7 +387,7 @@ async function checkReadme(context) {
|
|
|
384
387
|
for (const header of changelogHeaders) {
|
|
385
388
|
const match = /^(\d+\.\d+\.\d+)(?:\s+.*)?$/.exec(header);
|
|
386
389
|
if (!match) {
|
|
387
|
-
if (!header.includes('WORK IN PROGRESS')) {
|
|
390
|
+
if (!header.includes('WORK IN PROGRESS') && !header.includes('CHANGELOG_OLD.md')) {
|
|
388
391
|
invalidVersionHeaders.push(header);
|
|
389
392
|
}
|
|
390
393
|
} else {
|
package/lib/postprocessing.js
CHANGED
|
@@ -31,9 +31,11 @@ const mapSeverity4New = {
|
|
|
31
31
|
W1034: 'E', // [W1034] Missing suggested translation into ru,pt,nl,fr,it,es,pl,uk,zh-cn of "common.desc"
|
|
32
32
|
W1054: 'E', // [W1054] Missing suggested translation into ru,pt,nl,fr,it,es,pl,uk,zh-cn of some "common.news" in io-package.json.
|
|
33
33
|
W1056: 'E', // [W1056] admin 7.6.17 listed as dependency but 7.6.20 is reW1commended.
|
|
34
|
+
W0078: 'E', // [W0078] Remove obsolete devDependencies @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint when using "@iobroker/eslint-config".
|
|
34
35
|
W1084: 'E', // [W1084] "common.title" is deprecated and replaced by "common.titleLang".
|
|
35
36
|
W2007: 'E', // [W2007] Version 0.7.0-beta.2 is tagged as "latest" at npm
|
|
36
37
|
W3009: 'E', // [W3009] Workflow "test-and-release.yml" is missing recommended concurrency configuration.
|
|
38
|
+
S3014: 'E', // [S3014] Workflow "test-and-release.yml": job "adapter-tests" should declare "needs: check-and-lint" to run after linting.
|
|
37
39
|
W3019: 'E', // [W3019] Workflow "test-and-release.yml": job "deploy" step using "ioBroker/testing-action-deploy@v1" has "npm-token" parameter specified. Trusted publishing will not work while "npm-token" is set.
|
|
38
40
|
W3027: 'E', // [W3027] Workflow "test-and-release.yml": job "adapter-tests" OS matrix is missing: windows-latest, macos-latest. Consider adding tests for all of: ubuntu-latest, windows-latest, macos-latest
|
|
39
41
|
W5018: 'E', // [W5018] "@alcalzone/release-script" (>=3.0.0) is used, but ".releaseconfig.json" not found. Please create.',
|
|
@@ -47,12 +49,15 @@ const mapSeverity4New = {
|
|
|
47
49
|
S0062: 'W', // [S0062] Consider adding and using package "@alcalzone/release-script".
|
|
48
50
|
S2008: 'E', // [S2008] Version 0.5.1 tagged as "latest" at npm is not signed with provenance. Trusted publishing is recommended.
|
|
49
51
|
S3012: 'E', // [S3012] Workflow "test-and-release.yml": job "deploy" is not defined.
|
|
52
|
+
W3032: 'E', // [W3032] Just for Info: No workflow run for "test-and-release.yml" triggered by tag "v0.1.1" was found for current release 0.1.1. Workflow logs might be deleted already.
|
|
53
|
+
S3032: 'E', // [S3032] Just for Info: No workflow run for "test-and-release.yml" triggered by tag "v0.1.1" was found for current release 0.1.1. Workflow logs might be deleted already.
|
|
50
54
|
S3042: 'W', // [S3042] Workflow "test-and-release.yml": job "check-and-lint" uses "ioBroker/testing-action-check@v2.0.0" with a pinned version. Consider locking only the major version "@v2" instead.
|
|
51
55
|
S5004: 'W', // [S5004] Plain setInterval() found in source files (lib/legacy/states.js, lib/zbDeviceAvailability.js, ...). Please use this.setInterval() or adapter.setInterval() instead.
|
|
52
56
|
S5005: 'W', // [S5005] Plain setTimeout() found in source files (lib/localConfig.js, lib/networkmap.js, ...). Please use this.setTimeout() or adapter.setTimeout() instead.
|
|
53
57
|
S5022: 'W', // [S5022] Please consider migrating to admin 5 UI (jsonConfig) or react based UI.
|
|
54
58
|
S5043: 'E', // [S5043] Package "xx" is a built-in Node.js module. Please use "node:fs" instead.
|
|
55
59
|
S5051: 'W', // [S5051] Custom sleep/wait function(s) found in source files (src/lib/adsb.ts).
|
|
60
|
+
W5604: 'E', // [W5604] i18n "admin/i18n" language "de" is missing 4 key(s) present in English: Abfrageintervall (Sekunden),
|
|
56
61
|
W5606: 'E', // [W5606] i18n "admin/i18n" language "nl" has 169 translation(s) identical to English (i.e. baseConfiguration). This may indicate untranslated content.
|
|
57
62
|
W5611: 'E', // [W5611] "admin/jsonConfig.json/items/tab_region/items/country/options[0]" attribute "label" is missing language "uk" in i18n object.
|
|
58
63
|
S6008: 'E', // [S6008] Changelog for version 0.7.0-beta.19 should be added to README.md
|
package/package.json
CHANGED