@iobroker/repochecker 5.11.1 → 5.12.1
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 +127 -5
- package/index.js +4 -0
- package/lib/M0000_PackageJson.js +83 -2
- package/lib/M1000_IOPackageJson.js +39 -0
- package/lib/M3000_Testing.js +507 -13
- package/lib/M5000_Code.js +76 -4
- package/lib/M6000_Readme.js +19 -0
- package/lib/M8900__Dependabot.js +166 -0
- package/lib/config.js +23 -0
- package/lib/postprocessing.js +6 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -25,27 +25,61 @@ Example:
|
|
|
25
25
|
Placeholder for the next version (at the beginning of the line):
|
|
26
26
|
### **WORK IN PROGRESS**
|
|
27
27
|
-->
|
|
28
|
+
### 5.12.1 (2026-05-20)
|
|
29
|
+
- (mcm197) cleanup some duplicate numbers
|
|
30
|
+
|
|
31
|
+
### 5.12.0 (2026-05-20)
|
|
32
|
+
|
|
33
|
+
- (@copilot) Added `[S6022]`: suggest adding a link to `CHANGELOG_OLD.md` in `README.md` when the file exists but no reference to it is found in the readme.
|
|
34
|
+
- (@copilot) Extended `@types/node` version checks (`W0066`, `S0067`, `E0068`) to cover all dependency types (`dependencies`, `devDependencies`, `optionalDependencies`), not just `devDependencies`. Defaults to Node.js 20 when no `engines` clause is present. Fixed `context.error.push` typo bug and `0;` no-op in `S0065` check. Related to #855.
|
|
35
|
+
- (@copilot) Added workflow run tagging checks in `M3000_Testing.js`: validates latest `test-and-release.yml` run status, verifies GitHub tags for current/package and npm (`latest` and newest) releases, and checks tag-triggered workflow run outcomes with clickable run links.
|
|
36
|
+
- (@copilot) Extended testing workflow checks to use configurable required action versions (`ioBroker/testing-action-check`, `ioBroker/testing-action-adapter`, `ioBroker/testing-action-deploy`) and warn when lower action versions are used.
|
|
37
|
+
- (@copilot) Split non-matrix node.js minimum/recommended thresholds into dedicated values for `check-and-lint` and `deploy` workflow jobs.
|
|
38
|
+
- (@copilot) Changed deploy trusted-publishing permission check from warning `W3018` to suggestion `S3018`.
|
|
39
|
+
- (@copilot) Added node.js version checks for `check-and-lint` (E3020, S3021) and `deploy` (E3022, S3023) jobs in `test-and-release.yml`, raising an error if below minimum and a suggestion if below recommended version. Minimum/recommended values are adjusted upward if the adapter's `engines:node` clause requires a higher version.
|
|
40
|
+
- (@copilot) Added checks for `adapter-tests` matrix: warns (W3024) about non-recommended node versions, errors (E3025) when required node versions are missing, warns (W3026) when recommended node versions are absent, and warns (W3027) when OS entries (`ubuntu-latest`, `windows-latest`, `macos-latest`) are missing from the matrix.
|
|
41
|
+
- (@copilot) Added `testingNodeJs` constants to `lib/config.js` for configuring node.js version requirements and OS requirements for `test-and-release.yml` checks.
|
|
42
|
+
- (@copilot) Added `[W1116]`: warn when the sentry plugin is configured in `common.plugins` of io-package.json but `@sentry/*` packages are listed as `dependencies` in package.json (explicit sentry dependencies are not needed when using the sentry plugin).
|
|
43
|
+
- (@copilot) Added `[S5051]`: suggest using `this.delay()` instead of custom `sleep`/`wait` function implementations found in adapter source files.
|
|
44
|
+
- (@mcm1957) Require node.js 20 and recommedn node.js 22 now
|
|
45
|
+
- (@copilot) Fixed `GLOBAL ERROR: TypeError: Cannot read properties of undefined (reading 'includes')` in `checkCode` when running in local mode (`--local`).
|
|
46
|
+
- (@copilot) CLI now exits with code `1` when errors are found, enabling use in command chains like `npx @iobroker/repochecker repo --local && npm run release`.
|
|
47
|
+
- (@copilot) Added `[W8918]`: warn when any workflow in `.github/workflows/` references an action from `iobroker`, `iobroker-community-adapters`, or `iobroker-bot-orga` without a versioned tag (e.g. `@main` or `@master`). [#851]
|
|
48
|
+
- (@copilot) Added `[S0065]`/`[W0066]`/`[S0067]`: check `@types/node` devDependency against the minimum Node.js version from the `engines` clause in package.json. Suggests adding it if missing, warns if it allows a higher major version, and suggests updating if it only covers lower versions.
|
|
49
|
+
- (@copilot) Fixed `[W0066]` `@types/node` semver check to correctly detect ranges that allow any higher major version (e.g. `^24.10.1` with min Node.js 20 now raises the warning as expected).
|
|
50
|
+
- (@copilot) Added [E5049]/[W5049]: scan source files for `process.env` usage. Reports an error when `common.compact` is `true` or not defined (compact mode incompatible), and a warning when `common.compact` is explicitly `false`.
|
|
51
|
+
- (@copilot) Added [E5050]/[W5050]: scan source files for `process.exit()` calls. Reports an error when `common.compact` is `true` or not defined (incompatible with compact mode), and a warning when `common.compact` is explicitly `false`.
|
|
52
|
+
- (@copilot) Warn when dependabot npm root entries do not ignore major or minor @types/node updates.
|
|
53
|
+
- (@copilot) Added `[W6021]`: warn when `## License` is not the last section in README.md.
|
|
54
|
+
- (@copilot) Added `[W1115]`: warn when a plugin listed in `common.plugins` of io-package.json is missing its corresponding `@iobroker/plugin-<name>` dependency in package.json.
|
|
55
|
+
|
|
28
56
|
### 5.11.1 (2026-04-25)
|
|
57
|
+
|
|
29
58
|
- (@ticaki) Local mode has been fixed.
|
|
30
59
|
|
|
31
60
|
### 5.11.0 (2026-04-21)
|
|
61
|
+
|
|
32
62
|
- (@copilot) Added `[W2007]`: warn when the npm `latest` dist-tag points to an alpha/pre-release version, as such releases will be ignored by repository updates.
|
|
33
63
|
- (@copilot) Added `lib/postprocessing.js` module: new adapters (where `isNewAdapter` is set) now have selected warnings and suggestions promoted to errors or warnings according to a configurable severity-remap table, making the checker stricter for new adapter submissions.
|
|
34
64
|
- (@copilot) Fixed adapter detection to ensure the `isNewAdapter` flag is set before configuration logging. Added a new `getLatestRepo` preprocessing step so that the flag is correctly visible in the environment log output.
|
|
35
65
|
- (@copilot) Added German translation of OBJECTDUMP.md as OBJECTDUMP_de.md.
|
|
36
66
|
|
|
37
67
|
### 5.10.4 (2026-04-12)
|
|
68
|
+
|
|
38
69
|
- (@copilot) Enhanced E6013 check: detects additional discouraged installation methods in README.md, including `iobroker`/`iob` npm install and url commands, and `npm install`/`npm i` with `owner/iobroker.adaptername` GitHub shorthand. Updated error message to mention "directly from GitHub, directly from npm or using npm commands".
|
|
39
70
|
|
|
40
71
|
### 5.10.3 (2026-04-11)
|
|
72
|
+
|
|
41
73
|
- (@copilot) Fixed false positive W5042 for TypeScript type-only imports: `import type { Foo } from 'pkg'` no longer registers `pkg` as a required runtime dependency. Related to [#833]
|
|
42
74
|
|
|
43
75
|
### 5.10.2 (2026-04-11)
|
|
76
|
+
|
|
44
77
|
- (@copilot) Fixed false positive `[E9507]` for i18n directories inside source directories (`src-rules`, `rules-src`, `src-editor`, `src-widgets`, `admin/src`, etc.) by expanding the ignored source directory list and checking the full parent path instead of only the top-level segment. Related to [#828].
|
|
45
78
|
- (@copilot) Added adapter-specific exceptions to E0050 blacklist: `@iobroker/plugin-sentry` is now allowed as a dependency for `ioBroker.javascript`.
|
|
46
79
|
- (@copilot) Added system-provided packages ignore list for W5042: `@iobroker/plugin-sentry` will no longer raise "dependency might be missing" warnings as it is provided by js-controller.
|
|
47
80
|
|
|
48
81
|
### 5.10.1 (2026-04-10)
|
|
82
|
+
|
|
49
83
|
- (@copilot) Fixed `TypeError: minimatch is not a function` in `checkNpmIgnore` by correctly destructuring `minimatch` from the `minimatch` v10+ package export.
|
|
50
84
|
- (@copilot) Added `minimatch` as an explicit dependency in `package.json` (used by `M9000_GitNpmIgnore.js` for glob pattern matching).
|
|
51
85
|
- (@copilot) Fixed false positives in `[E9507]` when i18n directories are covered by glob patterns in `package.json` `"files"` field.
|
|
@@ -54,23 +88,28 @@ Example:
|
|
|
54
88
|
- (@copilot) Added `[E9507]`: error when an i18n directory is present in the repository but not covered by the `"files"` field in `package.json`, which would cause translations to be missing from the npm package.
|
|
55
89
|
|
|
56
90
|
### 5.9.1 (2026-04-08)
|
|
91
|
+
|
|
57
92
|
- (@copilot) Added `isNewAdapter` flag: set to `true` when adapter is not listed in the latest repository, with an info log when set.
|
|
58
93
|
- (@copilot) Added `--strict` command line option: when active, outputs an info log "running in strict mode".
|
|
59
94
|
- (@copilot) `[S6020]` suggestion to add `CHANGELOG_OLD.md` is now only shown when `isNewAdapter` is set or strict mode is active.
|
|
60
95
|
|
|
61
96
|
### 5.9.0 (2026-04-08)
|
|
97
|
+
|
|
62
98
|
- (@copilot) Added checks W1114/S1114: warn when `common.schedule` is set to a non-empty value for daemon adapters (not supported), and suggest removal when `common.schedule` is an empty string for daemon adapters (unused). Related to [#806].
|
|
63
99
|
- (@copilot) Added checks to help maintain organized changelog files: warns when CHANGELOG.md is present (changelog belongs in README.md), when both CHANGELOG.md and CHANGELOG_OLD.md coexist, when the README changelog exceeds 20 entries without a CHANGELOG_OLD.md, and suggests adding CHANGELOG_OLD.md when no such file exists. [W6017, W6018, W6019, S6020]
|
|
64
100
|
|
|
65
101
|
### 5.8.0 (2026-04-07)
|
|
102
|
+
|
|
66
103
|
- (@copilot) Limit the listing of `allowedValues` in schema validation errors (E1105, W5512) to 5 values, appending `...` when there are more possibilities.
|
|
67
104
|
- (@copilot) [W5046] Added warning when `admin/jsonConfig.json` or `admin/jsonConfig.json5` is present but `common.adminUI.config` is not set to `"json"` in `io-package.json`.
|
|
68
105
|
- (@copilot) [W5047] Added warning listing obsolete files (`admin/index.html`, `admin/index_m.html`, `admin/style.css`) when jsonConfig is used.
|
|
69
106
|
|
|
70
107
|
### 5.7.1 (2026-04-07)
|
|
108
|
+
|
|
71
109
|
- (mcm1957) Improve jsonConfig schema validation messages.
|
|
72
110
|
|
|
73
111
|
### 5.7.0 (2026-04-06)
|
|
112
|
+
|
|
74
113
|
- (@copilot) [S8913] automerge suggestion is no longer shown when dependabot is not configured ([S8901]).
|
|
75
114
|
- (@copilot) Language detection: `GERMAN_WORDS` and `ENGLISH_WORDS` arrays sorted alphabetically; chapters titled "Haftungsausschluss" in README.md are now ignored when checking for German text.
|
|
76
115
|
- (@copilot) Added [W8915]: warn when a dependabot npm entry has no cooldown or a cooldown of less than 5 days configured, recommending at least 7 days to reduce supply chain risk.
|
|
@@ -79,18 +118,23 @@ Example:
|
|
|
79
118
|
- (@copilot) Added schema validation for all present jsonConfig files (`admin/jsonConfig.json`, `admin/jsonCustom.json`, `admin/jsonTab.json` and their `.json5` variants) against the official jsonConfig JSON schema; errors reported as E5512, schema download failures as W5513, and exceptions as E5514. [#803]
|
|
80
119
|
|
|
81
120
|
### 5.6.9 (2026-04-02)
|
|
121
|
+
|
|
82
122
|
- (mcm1957) Ignore "widgets" directory when scanning for imported packages.
|
|
83
123
|
|
|
84
124
|
### 5.6.7 (2026-04-02)
|
|
125
|
+
|
|
85
126
|
- (@copilot) Fixed false positive package detection in `extractImports`: dynamic imports like `import("pkg")` no longer incorrectly trigger the `import ... from ...` pattern, preventing values in log strings (e.g. `from 'force_full'`) from being mistaken for package names.
|
|
86
127
|
|
|
87
128
|
### 5.6.6 (2026-03-29)
|
|
129
|
+
|
|
88
130
|
- (mcm1957) Severity for [S3010] has been corrected.
|
|
89
131
|
|
|
90
132
|
### 5.6.5 (2026-03-27)
|
|
133
|
+
|
|
91
134
|
- (@copilot) Exclude `gulpfile.js` and `lib/tools.js` from W5042/S5043 dependency scanning; added easy-to-extend `excludedSourceFiles` and `excludedSourceRelPaths` Sets for future exclusions.
|
|
92
135
|
|
|
93
136
|
### 5.6.2 (2026-03-27)
|
|
137
|
+
|
|
94
138
|
- (@copilot) Suppress unwanted npm E404 error output when checking adapters that are not published on npm.
|
|
95
139
|
- (@copilot) Added E2006 error when an npm package has no published versions available, instead of silently skipping version checks.
|
|
96
140
|
- (@copilot) Handle unpublished npm packages: detect "Unpublished on ..." response from npm registry and report a specific E2000 error instead of the generic "not found" message; suppress raw npm error logs for unpublished packages in README/LICENSE year checks. [#766]
|
|
@@ -98,20 +142,25 @@ Example:
|
|
|
98
142
|
- (@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.
|
|
99
143
|
|
|
100
144
|
### 5.5.5 (2026-03-24)
|
|
145
|
+
|
|
101
146
|
- (mcm1957) remove '[S6014] README.md section "## Installation" should be removed unless the adapter requires special installation handling.'
|
|
102
147
|
|
|
103
148
|
### 5.5.4 (2026-03-22)
|
|
149
|
+
|
|
104
150
|
- (@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.
|
|
105
151
|
|
|
106
152
|
### 5.5.3 (2026-03-19)
|
|
153
|
+
|
|
107
154
|
- (@copilot) Fixed E3016 false positive: transitive `needs` dependencies are now considered, so `deploy` depending on `adapter-tests` which already depends on `check-and-lint` is correctly accepted. Related to [#756].
|
|
108
155
|
- (@copilot) W5041 warning now includes the list of languages that contain the example keys (e.g. `languages: en, de, ru`).
|
|
109
156
|
|
|
110
157
|
### 5.5.2 (2026-03-17)
|
|
158
|
+
|
|
111
159
|
- (@copilot) E5040 and W5041 messages now include the specific detected key(s) (e.g. `option1`, `option2`, or both) instead of the generic `option1/option2` placeholder. Only one issue is raised even when multiple keys are detected.
|
|
112
160
|
- (@copilot) Fixed E1111/W1111 checks: E1111 and W1111 are now renamed to E5040 and W5041 (correct numbering range for M5000_Code module). Both checks now correctly exempt adapters where `option1`/`option2` keys are genuinely used in `admin/index.html`, `admin/index_m.html`, or as keys in `admin/jsonConfig.json`/`admin/jsonConfig.json5`. Related to [#746].
|
|
113
161
|
|
|
114
162
|
### 5.5.1 (2026-03-17)
|
|
163
|
+
|
|
115
164
|
- (@copilot) Added W5039 check: warns when `admin/words.js` exists but is not referenced anywhere in the codebase for adapters using jsonConfig. The file seems to be outdated and should be removed [#745].
|
|
116
165
|
- (@copilot) Added W3018 and W3019 checks: when deploy job uses `ioBroker/testing-action-deploy@v1`, warns if job-level permissions (`contents: write`, `id-token: write`) are missing (W3018) or if the `npm-token` parameter is specified (W3019), as trusted publishing will not work in either case. Related to [#742].
|
|
117
166
|
- (@copilot) Added W1113 check: warns when `native` config object contains properties but `common.adminUI.config` is set to `"none"`, as the native config will not be used without an admin UI config.
|
|
@@ -126,12 +175,15 @@ Example:
|
|
|
126
175
|
- (@copilot) Extended E6013 check: now also triggers on "Install the adapter via ioBroker Admin as a ZIP file" and "Install from own URL" phrases (case-insensitive). Related to [#727].
|
|
127
176
|
|
|
128
177
|
### 5.4.1 (2026-03-13)
|
|
178
|
+
|
|
129
179
|
- (mcm197) E3008 has been fixed
|
|
130
180
|
|
|
131
181
|
### 5.4.0 (2026-03-11)
|
|
182
|
+
|
|
132
183
|
- (@copilot) OnlyWWW adapters no longer require testing dependencies or adapter test workflows (skips E3000, E3011, and W3015 checks for adapters with `common.onlyWWW = true`).
|
|
133
184
|
|
|
134
185
|
### 5.3.0 (2026-03-11)
|
|
186
|
+
|
|
135
187
|
- (@copilot) Added validation for dependabot configuration: checks for required ecosystems (github-actions, npm), schedule settings, open-pull-requests-limit, and automerge workflow configuration (checks S8901–S8914).
|
|
136
188
|
- (@copilot) Extended W5034 check to also warn when `.ts` and `.js`/`.cjs`/`.mjs` versions of the same file exist in the same directory.
|
|
137
189
|
- (@copilot) E3003 YAML parse error for workflow files now logs only the first line (without the file excerpt).
|
|
@@ -139,25 +191,29 @@ Example:
|
|
|
139
191
|
- (@copilot) Extended testing checks (M3000_Testing.js): added checks for testing devDependency, test-and-release.yml workflow file presence, validity and required configuration.
|
|
140
192
|
|
|
141
193
|
### 5.2.3 (2026-02-26)
|
|
194
|
+
|
|
142
195
|
- (@copilot) Fixed crash when `devDependencies` is missing from package.json. [#675]
|
|
143
196
|
|
|
144
197
|
### 5.2.2 (2026-02-25)
|
|
198
|
+
|
|
145
199
|
- (mcm1957) Add warning if fa-icon entry still exists.
|
|
146
200
|
- (@copilot) Added W6011/W7004 checks: warn when copyright lines in README.md or LICENSE are separated by an empty line instead of trailing two spaces.
|
|
147
201
|
- (@copilot) Fixed false positive W6009/W7003: warning for non-consecutive copyright lines (separated by other text or empty lines) is no longer issued. [#672]
|
|
148
202
|
- (@copilot) Fixed false positive S0048/S0047 for npm alias dependencies (e.g. `"npm:real-package@^1.2.3"`). [#667]
|
|
149
203
|
- (@copilot) Added jsonConfig components `iframe` and `iframeSendTo` with minAdmin 7.7.28.
|
|
150
204
|
- (@copilot) Added jsonConfig component `yamlEditor` with minAdmin 7.7.31. [#660]
|
|
151
|
-
- (@copilot) Restructured `validComponents` entries in
|
|
205
|
+
- (@copilot) Restructured `validComponents` entries in M5500\_\_JsonConfig.js to objects with `function` and `minAdmin` properties.
|
|
152
206
|
- (@copilot) Added `checkDocker` and `infoBox` as known jsonConfig components to fix false-positive E5504 errors; set minAdmin 7.7.31 for `checkDocker`. [#663]
|
|
153
207
|
- (mcm1957) require js-controlelr 6 and admin 7 now. [#641] [#589]
|
|
154
208
|
- (mcm1957) required and suggested releases of standard packages have been updated.
|
|
155
209
|
- (mcm1957) Dependencies to packages named 'admin' and 'iobroker' have been disallowed. [#617]
|
|
156
210
|
|
|
157
211
|
### 5.1.1 (2025-12-01)
|
|
212
|
+
|
|
158
213
|
- (@copilot) Updated repository URLs from http://repo.iobroker.live to https://download.iobroker.net
|
|
159
214
|
|
|
160
215
|
### 5.1.0 (2025-11-25)
|
|
216
|
+
|
|
161
217
|
- (@copilot) Added check for conflicting JSON/JSON5 files with same base name in same directory (E5038) [#169]
|
|
162
218
|
- (@copilot) Added .releaseconfig.json verification to check plugins listed match installed devDependencies (E5036, W5037)
|
|
163
219
|
- (@copilot) Added YAML file validation check (E5035) to verify .yml and .yaml files are well-structured [#618]
|
|
@@ -170,12 +226,15 @@ Example:
|
|
|
170
226
|
- (mcm1957) Pathc information has been added to error E5509. [#394]
|
|
171
227
|
|
|
172
228
|
### 5.0.2 (2025-10-03)
|
|
229
|
+
|
|
173
230
|
- (mcm1957) Some debug log has been removed.
|
|
174
231
|
|
|
175
232
|
### 5.0.1 (2025-10-03)
|
|
233
|
+
|
|
176
234
|
- (mcm1957) A crash at adapters which do not contain news entry at io-package.json has been fixed. [#572]
|
|
177
235
|
|
|
178
236
|
### 5.0.0 (2025-10-02)
|
|
237
|
+
|
|
179
238
|
- (mcm1957) Suppress W6010 if adapter not yet published at npm. [#567]
|
|
180
239
|
- (@copilot) Added check for deprecated common.jsonConfig property - warns if adminUI exists (W1109), errors if adminUI missing (E1109)
|
|
181
240
|
- (@copilot) Added check (W0063) for unneeded devDependencies when @iobroker/testing >= 5.1.1 is installed
|
|
@@ -200,6 +259,7 @@ Example:
|
|
|
200
259
|
- (@copilot) Fixed deprecated function checking for adapter methods called outside class context
|
|
201
260
|
|
|
202
261
|
### 4.2.0 (2025-09-20)
|
|
262
|
+
|
|
203
263
|
- (mcm1957) 'Request' replacement text changed to suggest 'node:fetch' [#498].
|
|
204
264
|
- (@copilot) Fixed false positive W533 warnings for deprecated adapter methods when called on local functions with same names [#520].
|
|
205
265
|
- (mcm1957) '[W438] .vscode/settings.json file missing "json.schemas" property' has been converted to suggestion [#516].
|
|
@@ -209,7 +269,7 @@ Example:
|
|
|
209
269
|
- (copilot) Added check for outdated lib/tools.js file usage (W532) [#432].
|
|
210
270
|
- (copilot) Added VS Code schema definitions checker for .vscode/settings.json - validates json.schemas for io-package.json and jsonConfig files [#336].
|
|
211
271
|
- (copilot) Change W510 to E510: Convert missing admin i18n files from warning to error [#400].
|
|
212
|
-
- (copilot) Renumbered all issues in
|
|
272
|
+
- (copilot) Renumbered all issues in M500\_\_JsonConfig.js from 500-511 range to 550-561 range [#481].
|
|
213
273
|
- (copilot) Added check for .commitinfo file - error if present (E905), warning if not in .gitignore (W906) [#467].
|
|
214
274
|
- (copilot) Added check for allowInit attribute [#181].
|
|
215
275
|
- (copilot) Added detection for empty dependency objects in io-package.json (E200, E201) [#422].
|
|
@@ -218,6 +278,7 @@ Example:
|
|
|
218
278
|
- (copilot) Fixed W195 warning for array elements - add W203 warning for unsupported array encryption [#399].
|
|
219
279
|
|
|
220
280
|
### 4.1.0 (2025-09-11)
|
|
281
|
+
|
|
221
282
|
- (mcm1957) eslint-config and testing suggestions have been updated.
|
|
222
283
|
- (mcm1957) adapter-core suggestions has been updated.
|
|
223
284
|
- (mcm1957) URGENT and IMPORTANT issued are watched now.
|
|
@@ -226,13 +287,15 @@ Example:
|
|
|
226
287
|
- (mcm1957) Text for S191 has been extended [#393].
|
|
227
288
|
- (mcm1957) Text for S052 has been corrected [#434].
|
|
228
289
|
- (mcm1957) Formatting if W174 has been improved [#408].
|
|
229
|
-
- (mcm1957) @types
|
|
290
|
+
- (mcm1957) @types/\* as dependency now raise a warning [#421].
|
|
230
291
|
- (mcm1957) Dependencies have been updated.
|
|
231
292
|
|
|
232
293
|
### 4.0.2 (2025-08-12)
|
|
294
|
+
|
|
233
295
|
- (mcm1957) js-controller 6.0.11 recommended now.
|
|
234
296
|
|
|
235
297
|
### 4.0.1 (2025-08-11)
|
|
298
|
+
|
|
236
299
|
- (mcm1957) Wrong suggestion to add admin dependency has been corrected [#452].
|
|
237
300
|
- (mcm1957) Text for E952 has been corrected [#446].
|
|
238
301
|
- (mcm1957) Adapt wording at W098 / E029 [#448].
|
|
@@ -241,30 +304,37 @@ Example:
|
|
|
241
304
|
- (mcm1957) jsonConfig expertMode flag added [#386].
|
|
242
305
|
|
|
243
306
|
### 4.0.0 (2025-08-05)
|
|
307
|
+
|
|
244
308
|
- (mcm1957) use jsdelivr.com to retrive files from github.
|
|
245
309
|
- (mcm1957) Dependencies have been updated.
|
|
246
310
|
|
|
247
311
|
### 3.5.8 (2025-05-17)
|
|
312
|
+
|
|
248
313
|
- (mcm1957) add authorization for github using OWN_GITHUB_TOKEN.
|
|
249
314
|
|
|
250
315
|
### 3.5.5 (2025-04-28)
|
|
316
|
+
|
|
251
317
|
- (mcm1957) Node.js 20 is suggested now.
|
|
252
318
|
- (mcm1957) Suggested release for several packages has been encreased.
|
|
253
319
|
- (mcm1957) Do not raise E186 if E190 is raised anyway. [#387]
|
|
254
320
|
- (mcm1957) Dependencies have been updated.0
|
|
255
321
|
|
|
256
322
|
### 3.5.4 (2025-03-03)
|
|
323
|
+
|
|
257
324
|
- (mcm1957) Ignore boolean paramters when checking protectedNative/encryptedNative. [#395]
|
|
258
325
|
|
|
259
326
|
### 3.5.3 (2025-02-21)
|
|
327
|
+
|
|
260
328
|
- (mcm1957) Crash has been fixed if protectedNative/encryptedNative is not an array. [#385]
|
|
261
329
|
|
|
262
330
|
### 3.5.2 (2025-02-19)
|
|
331
|
+
|
|
263
332
|
- (mcm1957) Incorrect admin suggestion for very olf html adapters corrected. [#383]
|
|
264
333
|
- (mcm1957) Errors during parsing if icon improved. [#381]
|
|
265
334
|
- (mcm1957) Crash if protectedNative or encryptedNative is missing. [#382]
|
|
266
335
|
|
|
267
336
|
### 3.5.0 (2025-02-18)
|
|
337
|
+
|
|
268
338
|
- (mcm1957) Fixed dependency warning ([W174]) has been reduces to suggestion. [#374]
|
|
269
339
|
- (mcm1957) Some changes to jsonConfig check have been implemented.
|
|
270
340
|
- (mcm1957) common.supportCustoms check has been added. [#379]
|
|
@@ -272,21 +342,25 @@ Example:
|
|
|
272
342
|
- (mcm1957) Check that key listed at encryptedNative is listed at protectedNative too. [#342]
|
|
273
343
|
- (mcm1957) Check that extension adapters require web adapter. [#311]
|
|
274
344
|
- (mcm1957) List of suspicious keys to protect has been extended. [#358]
|
|
275
|
-
- (mcm1957) checking of 'admin'
|
|
345
|
+
- (mcm1957) checking of 'admin' globalDependency has been added.
|
|
276
346
|
- (mcm1957) checking of 'publishConfig.registry' has been added.
|
|
277
347
|
- (mcm1957) New commandline option --noinfo added.
|
|
278
348
|
- (mcm1957) Logging has been adapted.
|
|
279
349
|
|
|
280
350
|
### 3.4.4 (2025-02-12)
|
|
351
|
+
|
|
281
352
|
- (mcm1957) Some external attributes added to valid package.json attributes.
|
|
282
353
|
|
|
283
354
|
### 3.4.2 (2025-02-12)
|
|
355
|
+
|
|
284
356
|
- (mcm1957) 'type' and 'types' added to valid package.json attributes.
|
|
285
357
|
|
|
286
358
|
### 3.4.1 (2025-02-11)
|
|
359
|
+
|
|
287
360
|
- (mcm1957) Add 'publishConfig' to valid package.json attributes.
|
|
288
361
|
|
|
289
362
|
### 3.4.0 (2025-02-11)
|
|
363
|
+
|
|
290
364
|
- (mcm1957) Do not suggest to migrate to adapter-dev if only gulpfile.js exists. (#334).
|
|
291
365
|
- (mcm1957) Warn if onlyWWW adapter uses adapter-core (#251).
|
|
292
366
|
- (mcm1957) Singleton checks have been reduced to suggestion level.
|
|
@@ -303,12 +377,15 @@ Example:
|
|
|
303
377
|
- (mcm1957) Adapt copyright year advisory.
|
|
304
378
|
|
|
305
379
|
### 3.3.2 (2025-01-20)
|
|
380
|
+
|
|
306
381
|
- (mcm1957) Avoid crash if some file cannot be downloaded.
|
|
307
382
|
|
|
308
383
|
### 3.3.1 (2025-01-19)
|
|
384
|
+
|
|
309
385
|
- (mcm1957) Report malformed semver specifications has been fixed.
|
|
310
386
|
|
|
311
387
|
### 3.3.0 (2025-01-19)
|
|
388
|
+
|
|
312
389
|
- (mcm1957) "common.singleton" causes a warning now for non-onlyWWW Adapters.
|
|
313
390
|
- (mcm1957) "$schema" has been blacklisted at io-package.json.
|
|
314
391
|
- (mcm1957) Warn if 'common.nondeletable' flag is detected.
|
|
@@ -319,27 +396,33 @@ Example:
|
|
|
319
396
|
- (mcm1957) Releaseinfo has been added to "checks" log.
|
|
320
397
|
|
|
321
398
|
### 3.2.4 (2025-01-16)
|
|
399
|
+
|
|
322
400
|
- (mcm1957) Suggested release of testing and adapter-core increased.
|
|
323
401
|
|
|
324
402
|
### 3.2.3 (2025-01-11)
|
|
403
|
+
|
|
325
404
|
- (mcm1957) An error is issued if js-controller dependency is missing.
|
|
326
405
|
- (mcm1957) Required js-controller has been increased to 5.0.19.
|
|
327
406
|
- (mcm1957) Recommended js-controller version is omitted if identical to required one.
|
|
328
407
|
|
|
329
408
|
### 3.2.2 (2024-11-01)
|
|
409
|
+
|
|
330
410
|
- (mcm1957) Link to open issues has been corrected.
|
|
331
411
|
- (mcm1957) Component name added to responsive check issues.
|
|
332
412
|
|
|
333
413
|
### 3.2.1 (2024-11-01)
|
|
414
|
+
|
|
334
415
|
- (mcm1957) Size checking for "divider" and "staticImage" suspended.
|
|
335
416
|
|
|
336
417
|
### 3.2.0 (2024-11-01)
|
|
418
|
+
|
|
337
419
|
- (oweitman) Script has been extended to use optionally local data for checking.
|
|
338
420
|
- (mcm1957) Warning if i18n is not used has been fixed [#324].
|
|
339
421
|
- (mcm1957) Check for importent issues has been added.
|
|
340
422
|
- (mcm1957) Checking of jsonConfig (initially) added.
|
|
341
423
|
|
|
342
424
|
### 3.1.4 (2024-10-26)
|
|
425
|
+
|
|
343
426
|
- (mcm1957) linter has been activated and issues reported have been fixed.
|
|
344
427
|
- (mcm1957) Blacklist for package/dependencies has been extended.
|
|
345
428
|
- (mcm1957) Recommend adapter-core 3.2.2 now.
|
|
@@ -347,12 +430,15 @@ Example:
|
|
|
347
430
|
- (mcm1957) Abort processing if iobroker.live not reachable. [#321]
|
|
348
431
|
|
|
349
432
|
### 3.1.3 (2024-10-11)
|
|
433
|
+
|
|
350
434
|
- (mcm1957) Checker no longer crash id no npm package exists.
|
|
351
435
|
|
|
352
436
|
### 3.1.2 (2024-10-04)
|
|
437
|
+
|
|
353
438
|
- (mcm1957) Require node 18 minimum as engines clause.
|
|
354
439
|
|
|
355
440
|
### 3.1.1 (2024-10-04)
|
|
441
|
+
|
|
356
442
|
- (mcm1957) "[E166] 'common.mode: extension' is unknown" has been fixed [#308]
|
|
357
443
|
- (mcm1957) "[E904] file iob_npm.done found in repository, but not found in .gitignore" removed as covered by [E503]. [#309]
|
|
358
444
|
- (mcm1957) "[E500] node_modules found" has been retricted to adapetr root. [#297]
|
|
@@ -360,22 +446,27 @@ Example:
|
|
|
360
446
|
- (mcm1957) Change "[W113] Adapter should support compact mode" text and honor common.compact set to false. [#300]
|
|
361
447
|
|
|
362
448
|
### 3.1.0 (2024-09-29)
|
|
449
|
+
|
|
363
450
|
- (mcm1957) "@iobroker/plugin-sentry" blacklisted as dependency [#301]
|
|
364
451
|
- (mcm1957) Accept .ts files as main file too. [#303]
|
|
365
452
|
- (mcm1957) [E405] and [E426] incorrect path has been corrected. [#299]
|
|
366
453
|
|
|
367
454
|
### 3.0.7 (2024-09-19)
|
|
455
|
+
|
|
368
456
|
- (mcm1957) "[W523] 'package-lock.json"'not found in repo!" reduced to suggestion. [#298]
|
|
369
457
|
|
|
370
458
|
### 3.0.6 (2024-09-13)
|
|
459
|
+
|
|
371
460
|
- (mcm1957) "[E124] Main file not found" no longer raised if `common.nogit` is set
|
|
372
461
|
- (mcm1957) 'Text of "common.main" is deprecated' has been adapted. [#266]
|
|
373
462
|
- (mcm1957) Ignore errors caused by complex .gitignor/.npmignore. [#288]
|
|
374
463
|
|
|
375
464
|
### 3.0.5 (2024-09-13)
|
|
465
|
+
|
|
376
466
|
- (mcm1957) '@iobroker/dev-server' is valid as dev-dependency. [#260]
|
|
377
467
|
|
|
378
468
|
### 3.0.4 (2024-09-12)
|
|
469
|
+
|
|
379
470
|
- (mcm1957) Abort with incorrect dependency definition fixed [#287]
|
|
380
471
|
- (mcm1957) Improve handling of malformed dependency definitions [#284]
|
|
381
472
|
- (mcm1957) Improve handling of malformed .releaseconfig.json files [#283]
|
|
@@ -385,28 +476,34 @@ Example:
|
|
|
385
476
|
- (mcm1957) Do no longer require a js-controller dependency for wwwOnly adapters. [#250]
|
|
386
477
|
|
|
387
478
|
### 3.0.3 (2024-09-12)
|
|
479
|
+
|
|
388
480
|
- (mcm1957) Check for iob_npm.done at `.npmignore` has been removed [#294]
|
|
389
481
|
|
|
390
482
|
### 3.0.2 (2024-09-11)
|
|
483
|
+
|
|
391
484
|
- (mcm1957) Handling of a missing LICENSE file corrected. [#282]
|
|
392
485
|
- (mcm1957) [W126] Missing mandatory translation is an error now. [#293]
|
|
393
486
|
- (mcm1957) Record repochcker version used for tests.
|
|
394
487
|
- (mcm1957) Record GitHub commit-sha of last commit used for tests.
|
|
395
488
|
|
|
396
489
|
### 3.0.0 (2024-09-10)
|
|
490
|
+
|
|
397
491
|
- (mcm1957) Error and warning numbering has been reviewed and duplicates removed.
|
|
398
492
|
- (mcm1957) index.js has been split into seperated modules.
|
|
399
493
|
|
|
400
494
|
### 2.10.0 (2024-08-19)
|
|
495
|
+
|
|
401
496
|
- (mcm1957) Suggestions ([Sxxx] have been added).
|
|
402
497
|
|
|
403
498
|
### 2.9.1 (2024-08-12)
|
|
499
|
+
|
|
404
500
|
- (mcm1957) E162 - correct dependency check for js-controller. [#267].
|
|
405
501
|
- (mcm1957) E605 - copyright year range including whitespaces is now accepted. [#269].
|
|
406
502
|
- (mcm1957) E016 - missing vaiable expansion has been added. [#263].
|
|
407
503
|
- (mcm1957) E114 - typo at error message has been fixed [#261].
|
|
408
504
|
|
|
409
505
|
### 2.9.0 (2024-07-29)
|
|
506
|
+
|
|
410
507
|
- (mcm1957) Adapt text if sources-dist(-stable).json need a correction [#97].
|
|
411
508
|
- (mcm1957) Missing "common.mode" error text corrected [#249].
|
|
412
509
|
- (mcm1957) Files "iob" and "iobroker" are disallowed now [#248].
|
|
@@ -414,10 +511,12 @@ Example:
|
|
|
414
511
|
- (mcm1957) Text of E114 (missing adminUI) adapted.
|
|
415
512
|
|
|
416
513
|
### 2.8.1 (2024-07-28)
|
|
514
|
+
|
|
417
515
|
- (mcm1957) Check of js-controller version has been corrected [#247].
|
|
418
516
|
- (mcm1957) Honor '>' at dependency checks too [#246].
|
|
419
517
|
|
|
420
518
|
### 2.8.0 (2024-07-28)
|
|
519
|
+
|
|
421
520
|
- (mcm1957) Copyright year check has been fixed for single year entries.
|
|
422
521
|
- (mcm1957) js-controller version check added [#233].
|
|
423
522
|
- (mcm1957) Check for fixed version dependencies and for github dependencies [#233].
|
|
@@ -427,12 +526,15 @@ Example:
|
|
|
427
526
|
- (mcm1957) "common.noConfig" must match "common.adminUI" setting [#170].
|
|
428
527
|
|
|
429
528
|
### 2.7.2 (2024-07-26)
|
|
529
|
+
|
|
430
530
|
- (mcm1957) package-lock.json check fixed.
|
|
431
531
|
|
|
432
532
|
### 2.7.1 (2024-07-26)
|
|
533
|
+
|
|
433
534
|
- (mcm1957) Reduce setTimeout/setInterval error to warning temporary.
|
|
434
535
|
|
|
435
536
|
### 2.7.0 (2024-07-26)
|
|
537
|
+
|
|
436
538
|
- (mcm1957) Some non trivial keywords related to adapter are enforced now [#234].
|
|
437
539
|
- (mcm1957) Severity if [E105] / [W105] has been corrected [#204].
|
|
438
540
|
- (mcm1957) Disallow 'globalDependencies' at package.json [#204].
|
|
@@ -446,29 +548,36 @@ Example:
|
|
|
446
548
|
- (mcm1957) Copyright year now honors commit year and npm publish year too [#237].
|
|
447
549
|
|
|
448
550
|
### 2.6.1 (2024-06-24)
|
|
551
|
+
|
|
449
552
|
- (mcm1957) Check "[W156] Adapter should support admin 5 UI (jsonConfig)" checks for reactUi now.
|
|
450
553
|
|
|
451
554
|
### 2.6.0 (2024-06-24)
|
|
555
|
+
|
|
452
556
|
- (mcm1957) Check has been aded to ensure keywords and common.keywords are present. [#200]
|
|
453
557
|
- (mcm1957) Detection of react has been added, gulpfile.js is accepted for react based UIs now. [#223]
|
|
454
558
|
|
|
455
559
|
### 2.5.1 (2024-06-24)
|
|
560
|
+
|
|
456
561
|
- (mcm1957) Suggestion to update dependencies to recommended version added.
|
|
457
562
|
- (mcm1957) Adapter-core recommended set to 3.1.6 [#220]
|
|
458
563
|
|
|
459
564
|
### 2.5.0 (2024-05-30)
|
|
565
|
+
|
|
460
566
|
- (mcm1957) Check to ensure that dependency revisions are available at repository added. [#180]
|
|
461
567
|
|
|
462
568
|
### 2.4.0 (2024-05-30)
|
|
569
|
+
|
|
463
570
|
- (mcm1957) Add check to protect sensitive data. [#195]
|
|
464
571
|
- (mcm1957) Add check to verify that dependencies and globalDepencies are of type array. [#90]
|
|
465
572
|
|
|
466
573
|
### 2.3.1 (2024-05-07)
|
|
574
|
+
|
|
467
575
|
- (mcm1957) Reduce number of missing translation warnings.
|
|
468
576
|
- (mcm1957) Seperate between required and recommended translations.
|
|
469
577
|
- (mcm1957) Log missing translations in detail.
|
|
470
578
|
|
|
471
579
|
### 2.3.0 (2024-05-07)
|
|
580
|
+
|
|
472
581
|
- (mcm1957) Elements marked as deprectaed added to blacklist.
|
|
473
582
|
- (mcm1957) Blacklist added to block elements at package.json and io-package.json.
|
|
474
583
|
- (mcm1957) Error [E000] will be raised now if repository cannot be accessed at all [#194].
|
|
@@ -477,13 +586,16 @@ Example:
|
|
|
477
586
|
- (mcm1957) Raise an error if version at package.json is lower than latest release at npmjs [#192]
|
|
478
587
|
|
|
479
588
|
### 2.2.3 (2024-03-29)
|
|
589
|
+
|
|
480
590
|
- (mcm1957) Checking of license has been improved
|
|
481
591
|
|
|
482
592
|
### 2.2.2 (2024-03-29)
|
|
593
|
+
|
|
483
594
|
- (mcm1957) Checking of adapter-core has been fixed
|
|
484
595
|
- (mcm1957) Load all potential interesting files, fixes [#149]
|
|
485
596
|
|
|
486
597
|
### 2.2.1 (2024-03-26)
|
|
598
|
+
|
|
487
599
|
- (mcm1957) Added check that own adapter is not listed at common.restartAdapters
|
|
488
600
|
- (mcm1957) Added check of version strings at common.news
|
|
489
601
|
- (mcm1957) Added check for recommended node version (node 18 for now)
|
|
@@ -492,40 +604,51 @@ Example:
|
|
|
492
604
|
- (mcm1957) Added check for adapter-core version (>= 3.0.6)
|
|
493
605
|
|
|
494
606
|
### 2.2.0 (2024-03-24)
|
|
607
|
+
|
|
495
608
|
- (klein0r) Added check for licenseInformation
|
|
496
609
|
- (klein0r) Added check for deprecated license
|
|
497
610
|
- (klein0r) Added check for required attribute common.tier
|
|
498
611
|
- (klein0r) Added check for disallowed attribute common.automaticUpgrade
|
|
499
612
|
|
|
500
613
|
### 2.1.13 (2024-01-02)
|
|
614
|
+
|
|
501
615
|
- (bluefox) Corrected rule W156: adminUI.config === 'none' is allowed
|
|
502
616
|
|
|
503
617
|
### 2.1.12 (2023-09-21)
|
|
618
|
+
|
|
504
619
|
- (bluefox) Added check of using '\_' in adapter name
|
|
505
620
|
|
|
506
621
|
### 2.1.11 (2023-09-05)
|
|
622
|
+
|
|
507
623
|
- (bluefox) Added check of iobroker.js-controller in dependencies
|
|
508
624
|
|
|
509
625
|
### 2.1.7 (2023-08-14)
|
|
626
|
+
|
|
510
627
|
- (mcm57) Update index.js - fix typo in error message (packet.json)
|
|
511
628
|
- (mcm57) Update index.js - renumber E504/1 to 519 - fixes #112
|
|
512
629
|
|
|
513
630
|
### 2.1.6 (2022-12-08)
|
|
631
|
+
|
|
514
632
|
- (bluefox) added better error logging
|
|
515
633
|
|
|
516
634
|
### 2.1.5 (2022-12-07)
|
|
635
|
+
|
|
517
636
|
- (bluefox) added check of `.releaseconfig.json` file
|
|
518
637
|
|
|
519
638
|
### 2.1.4 (2022-08-19)
|
|
639
|
+
|
|
520
640
|
- (bluefox) Added check for adapter name: it may not start with '\_'
|
|
521
641
|
|
|
522
642
|
### 2.1.2 (2022-07-14)
|
|
643
|
+
|
|
523
644
|
- (bluefox) Fixed some errors
|
|
524
645
|
|
|
525
646
|
### 2.1.0 (2022-05-26)
|
|
647
|
+
|
|
526
648
|
- (bluefox) Added support for jsonConfig.json5 and jsonCustom.json5
|
|
527
649
|
|
|
528
650
|
### 2.0.5 (2022-05-22)
|
|
651
|
+
|
|
529
652
|
- (bluefox) Made it possible to run with npx
|
|
530
653
|
|
|
531
654
|
## License
|
|
@@ -551,5 +674,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
551
674
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
552
675
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
553
676
|
|
|
554
|
-
|
|
555
677
|
THE SOFTWARE.
|
package/index.js
CHANGED
|
@@ -338,6 +338,10 @@ if (typeof module !== 'undefined' && module.parent) {
|
|
|
338
338
|
console.log('\n\nNO suggestions encountered.');
|
|
339
339
|
}
|
|
340
340
|
console.log(`\ncreated by repochecker ${context.version} based on commit ${context.lastCommitSha}`);
|
|
341
|
+
|
|
342
|
+
if (common.isLocal() && context.errors.length) {
|
|
343
|
+
process.exit(1);
|
|
344
|
+
}
|
|
341
345
|
},
|
|
342
346
|
);
|
|
343
347
|
}
|