@iobroker/repochecker 3.3.1 → 3.3.2
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 +131 -127
- package/lib/common.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,275 +33,279 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
33
33
|
-->
|
|
34
34
|
|
|
35
35
|
## Changelog
|
|
36
|
+
### 3.3.2 (2025-01-20)
|
|
37
|
+
|
|
38
|
+
- (mcm1957) Avoid crash if some file cannot be downloaded.
|
|
39
|
+
|
|
36
40
|
### 3.3.1 (2025-01-19)
|
|
37
41
|
|
|
38
|
-
-
|
|
42
|
+
- (mcm1957) Report malformed semver specifications has been fixed.
|
|
39
43
|
|
|
40
44
|
### 3.3.0 (2025-01-19)
|
|
41
45
|
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
46
|
+
- (mcm1957) "common.singleton" causes a warning now for non-onlyWWW Adapters.
|
|
47
|
+
- (mcm1957) "$schema" has been blacklisted at io-package.json.
|
|
48
|
+
- (mcm1957) Warn if 'common.nondeletable' flag is detected.
|
|
49
|
+
- (mcm1957) Report request as deprecated package.
|
|
50
|
+
- (mcm1957) Report malformed semver specifications.
|
|
51
|
+
- (mcm1957) Check of copyright-year complains about future dates now.
|
|
52
|
+
- (mcm1957) Checking for responsive design issues has been added.
|
|
53
|
+
- (mcm1957) Releaseinfo has been added to "checks" log.
|
|
50
54
|
|
|
51
55
|
### 3.2.4 (2025-01-16)
|
|
52
|
-
-
|
|
56
|
+
- (mcm1957) Suggested release of testing and adapter-core increased.
|
|
53
57
|
|
|
54
58
|
### 3.2.3 (2025-01-11)
|
|
55
59
|
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
60
|
+
- (mcm1957) An error is issued if js-controller dependency is missing.
|
|
61
|
+
- (mcm1957) Required js-controller has been increased to 5.0.19.
|
|
62
|
+
- (mcm1957) Recommended js-controller version is omitted if identical to required one.
|
|
59
63
|
|
|
60
64
|
### 3.2.2 (2024-11-01)
|
|
61
65
|
|
|
62
|
-
-
|
|
63
|
-
-
|
|
66
|
+
- (mcm1957) Link to open issues has been corrected.
|
|
67
|
+
- (mcm1957) Component name added to responsive check issues.
|
|
64
68
|
|
|
65
69
|
### 3.2.1 (2024-11-01)
|
|
66
70
|
|
|
67
|
-
-
|
|
71
|
+
- (mcm1957) Size checking for "divider" and "staticImage" suspended.
|
|
68
72
|
|
|
69
73
|
### 3.2.0 (2024-11-01)
|
|
70
74
|
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
+
- (oweitman) Script has been extended to use optionally local data for checking.
|
|
76
|
+
- (mcm1957) Warning if i18n is not used has been fixed [#324].
|
|
77
|
+
- (mcm1957) Check for importent issues has been added.
|
|
78
|
+
- (mcm1957) Checking of jsonConfig (initially) added.
|
|
75
79
|
|
|
76
80
|
### 3.1.4 (2024-10-26)
|
|
77
81
|
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
82
|
+
- (mcm1957) linter has been activated and issues reported have been fixed.
|
|
83
|
+
- (mcm1957) Blacklist for package/dependencies has been extended.
|
|
84
|
+
- (mcm1957) Recommend adapter-core 3.2.2 now.
|
|
85
|
+
- (mcm1957) Clearify test for "[E952] .npmignore not found". [#320]
|
|
86
|
+
- (mcm1957) Abort processing if iobroker.live not reachable. [#321]
|
|
83
87
|
|
|
84
88
|
### 3.1.3 (2024-10-11)
|
|
85
89
|
|
|
86
|
-
-
|
|
90
|
+
- (mcm1957) Checker no longer crash id no npm package exists.
|
|
87
91
|
|
|
88
92
|
### 3.1.2 (2024-10-04)
|
|
89
93
|
|
|
90
|
-
-
|
|
94
|
+
- (mcm1957) Require node 18 minimum as engines clause.
|
|
91
95
|
|
|
92
96
|
### 3.1.1 (2024-10-04)
|
|
93
97
|
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
98
|
+
- (mcm1957) "[E166] 'common.mode: extension' is unknown" has been fixed [#308]
|
|
99
|
+
- (mcm1957) "[E904] file iob_npm.done found in repository, but not found in .gitignore" removed as covered by [E503]. [#309]
|
|
100
|
+
- (mcm1957) "[E500] node_modules found" has been retricted to adapetr root. [#297]
|
|
101
|
+
- (mcm1957) Do not check main entry if common.mode none or extension.
|
|
102
|
+
- (mcm1957) Change "[W113] Adapter should support compact mode" text and honor common.compact set to false. [#300]
|
|
99
103
|
|
|
100
104
|
### 3.1.0 (2024-09-29)
|
|
101
105
|
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
-
|
|
106
|
+
- (mcm1957) "@iobroker/plugin-sentry" blacklisted as dependency [#301]
|
|
107
|
+
- (mcm1957) Accept .ts files as main file too. [#303]
|
|
108
|
+
- (mcm1957) [E405] and [E426] incorrect path has been corrected. [#299]
|
|
105
109
|
|
|
106
110
|
### 3.0.7 (2024-09-19)
|
|
107
111
|
|
|
108
|
-
-
|
|
112
|
+
- (mcm1957) "[W523] 'package-lock.json"'not found in repo!" reduced to suggestion. [#298]
|
|
109
113
|
|
|
110
114
|
### 3.0.6 (2024-09-13)
|
|
111
115
|
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
116
|
+
- (mcm1957) "[E124] Main file not found" no longer raised if `common.nogit` is set
|
|
117
|
+
- (mcm1957) 'Text of "common.main" is deprecated' has been adapted. [#266]
|
|
118
|
+
- (mcm1957) Ignore errors caused by complex .gitignor/.npmignore. [#288]
|
|
115
119
|
|
|
116
120
|
### 3.0.5 (2024-09-13)
|
|
117
121
|
|
|
118
|
-
-
|
|
122
|
+
- (mcm1957) '@iobroker/dev-server' is valid as dev-dependency. [#260]
|
|
119
123
|
|
|
120
124
|
### 3.0.4 (2024-09-12)
|
|
121
125
|
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
-
|
|
128
|
-
-
|
|
126
|
+
- (mcm1957) Abort with incorrect dependency definition fixed [#287]
|
|
127
|
+
- (mcm1957) Improve handling of malformed dependency definitions [#284]
|
|
128
|
+
- (mcm1957) Improve handling of malformed .releaseconfig.json files [#283]
|
|
129
|
+
- (mcm1957) Missing mandatory translations are considered an error now. [#277, #278]
|
|
130
|
+
- (mcm1957) '.npmignore found but "files" is used' is a warning now. [#274]
|
|
131
|
+
- (mcm1957) '@iobroker/dev-server' has been blacklisted as any dependency. [#260]
|
|
132
|
+
- (mcm1957) Do no longer require a js-controller dependency for wwwOnly adapters. [#250]
|
|
129
133
|
|
|
130
134
|
### 3.0.3 (2024-09-12)
|
|
131
135
|
|
|
132
|
-
-
|
|
136
|
+
- (mcm1957) Check for iob_npm.done at `.npmignore` has been removed [#294]
|
|
133
137
|
|
|
134
138
|
### 3.0.2 (2024-09-11)
|
|
135
139
|
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
139
|
-
-
|
|
140
|
+
- (mcm1957) Handling of a missing LICENSE file corrected. [#282]
|
|
141
|
+
- (mcm1957) [W126] Missing mandatory translation is an error now. [#293]
|
|
142
|
+
- (mcm1957) Record repochcker version used for tests.
|
|
143
|
+
- (mcm1957) Record GitHub commit-sha of last commit used for tests.
|
|
140
144
|
|
|
141
145
|
### 3.0.0 (2024-09-10)
|
|
142
146
|
|
|
143
|
-
-
|
|
144
|
-
-
|
|
147
|
+
- (mcm1957) Error and warning numbering has been reviewed and duplicates removed.
|
|
148
|
+
- (mcm1957) index.js has been split into seperated modules.
|
|
145
149
|
|
|
146
150
|
### 2.10.0 (2024-08-19)
|
|
147
151
|
|
|
148
|
-
-
|
|
152
|
+
- (mcm1957) Suggestions ([Sxxx] have been added).
|
|
149
153
|
|
|
150
154
|
### 2.9.1 (2024-08-12)
|
|
151
155
|
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
156
|
+
- (mcm1957) E162 - correct dependency check for js-controller. [#267].
|
|
157
|
+
- (mcm1957) E605 - copyright year range including whitespaces is now accepted. [#269].
|
|
158
|
+
- (mcm1957) E016 - missing vaiable expansion has been added. [#263].
|
|
159
|
+
- (mcm1957) E114 - typo at error message has been fixed [#261].
|
|
156
160
|
|
|
157
161
|
### 2.9.0 (2024-07-29)
|
|
158
162
|
|
|
159
|
-
-
|
|
160
|
-
-
|
|
161
|
-
-
|
|
162
|
-
-
|
|
163
|
-
-
|
|
163
|
+
- (mcm1957) Adapt text if sources-dist(-stable).json need a correction [#97].
|
|
164
|
+
- (mcm1957) Missing "common.mode" error text corrected [#249].
|
|
165
|
+
- (mcm1957) Files "iob" and "iobroker" are disallowed now [#248].
|
|
166
|
+
- (mcm1957) Checks related to @alcalzone/releasescript modified [#71].
|
|
167
|
+
- (mcm1957) Text of E114 (missing adminUI) adapted.
|
|
164
168
|
|
|
165
169
|
### 2.8.1 (2024-07-28)
|
|
166
170
|
|
|
167
|
-
-
|
|
168
|
-
-
|
|
171
|
+
- (mcm1957) Check of js-controller version has been corrected [#247].
|
|
172
|
+
- (mcm1957) Honor '>' at dependency checks too [#246].
|
|
169
173
|
|
|
170
174
|
### 2.8.0 (2024-07-28)
|
|
171
175
|
|
|
172
|
-
-
|
|
173
|
-
-
|
|
174
|
-
-
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
178
|
-
-
|
|
176
|
+
- (mcm1957) Copyright year check has been fixed for single year entries.
|
|
177
|
+
- (mcm1957) js-controller version check added [#233].
|
|
178
|
+
- (mcm1957) Check for fixed version dependencies and for github dependencies [#233].
|
|
179
|
+
- (mcm1957) Missing language files reduced to warning [#203].
|
|
180
|
+
- (mcm1957) Missing .gitignore is considered an error now.
|
|
181
|
+
- (mcm1957) "common.noConfig" no longer reported as error if "common.adminUI" is present [#245].
|
|
182
|
+
- (mcm1957) "common.noConfig" must match "common.adminUI" setting [#170].
|
|
179
183
|
|
|
180
184
|
### 2.7.2 (2024-07-26)
|
|
181
185
|
|
|
182
|
-
-
|
|
186
|
+
- (mcm1957) package-lock.json check fixed.
|
|
183
187
|
|
|
184
188
|
### 2.7.1 (2024-07-26)
|
|
185
189
|
|
|
186
|
-
-
|
|
190
|
+
- (mcm1957) Reduce setTimeout/setInterval error to warning temporary.
|
|
187
191
|
|
|
188
192
|
### 2.7.0 (2024-07-26)
|
|
189
193
|
|
|
190
|
-
-
|
|
191
|
-
-
|
|
192
|
-
-
|
|
193
|
-
-
|
|
194
|
-
-
|
|
195
|
-
-
|
|
196
|
-
-
|
|
197
|
-
-
|
|
198
|
-
-
|
|
199
|
-
-
|
|
200
|
-
-
|
|
194
|
+
- (mcm1957) Some non trivial keywords related to adapter are enforced now [#234].
|
|
195
|
+
- (mcm1957) Severity if [E105] / [W105] has been corrected [#204].
|
|
196
|
+
- (mcm1957) Disallow 'globalDependencies' at package.json [#204].
|
|
197
|
+
- (mcm1957) Several false positives for wwwOnly widgetadapters have been fixed [#230, #222].
|
|
198
|
+
- (mcm1957) Missing .npmignore is now considered an error [#229].
|
|
199
|
+
- (mcm1957) Usage of package.json 'files' section is now recommended.
|
|
200
|
+
- (mcm1957) If more than 7 common.news entries are present a warning is issued now [#232].
|
|
201
|
+
- (mcm1957) Versions listed at common.news are checked to exist at npm now [#226].
|
|
202
|
+
- (mcm1957) 'package-lock.json' is checked to exist at GitHub now [#188].
|
|
203
|
+
- (mcm1957) travis checks have been removed [#237].
|
|
204
|
+
- (mcm1957) Copyright year now honors commit year and npm publish year too [#237].
|
|
201
205
|
|
|
202
206
|
### 2.6.1 (2024-06-24)
|
|
203
207
|
|
|
204
|
-
-
|
|
208
|
+
- (mcm1957) Check "[W156] Adapter should support admin 5 UI (jsonConfig)" checks for reactUi now.
|
|
205
209
|
|
|
206
210
|
### 2.6.0 (2024-06-24)
|
|
207
211
|
|
|
208
|
-
-
|
|
209
|
-
-
|
|
212
|
+
- (mcm1957) Check has been aded to ensure keywords and common.keywords are present. [#200]
|
|
213
|
+
- (mcm1957) Detection of react has been added, gulpfile.js is accepted for react based UIs now. [#223]
|
|
210
214
|
|
|
211
215
|
### 2.5.1 (2024-06-24)
|
|
212
216
|
|
|
213
|
-
-
|
|
214
|
-
-
|
|
217
|
+
- (mcm1957) Suggestion to update dependencies to recommended version added.
|
|
218
|
+
- (mcm1957) Adapter-core recommended set to 3.1.6 [#220]
|
|
215
219
|
|
|
216
220
|
### 2.5.0 (2024-05-30)
|
|
217
221
|
|
|
218
|
-
-
|
|
222
|
+
- (mcm1957) Check to ensure that dependency revisions are available at repository added. [#180]
|
|
219
223
|
|
|
220
224
|
### 2.4.0 (2024-05-30)
|
|
221
225
|
|
|
222
|
-
-
|
|
223
|
-
-
|
|
226
|
+
- (mcm1957) Add check to protect sensitive data. [#195]
|
|
227
|
+
- (mcm1957) Add check to verify that dependencies and globalDepencies are of type array. [#90]
|
|
224
228
|
|
|
225
229
|
### 2.3.1 (2024-05-07)
|
|
226
230
|
|
|
227
|
-
-
|
|
228
|
-
-
|
|
229
|
-
-
|
|
231
|
+
- (mcm1957) Reduce number of missing translation warnings.
|
|
232
|
+
- (mcm1957) Seperate between required and recommended translations.
|
|
233
|
+
- (mcm1957) Log missing translations in detail.
|
|
230
234
|
|
|
231
235
|
### 2.3.0 (2024-05-07)
|
|
232
236
|
|
|
233
|
-
-
|
|
234
|
-
-
|
|
235
|
-
-
|
|
236
|
-
-
|
|
237
|
-
-
|
|
238
|
-
-
|
|
237
|
+
- (mcm1957) Elements marked as deprectaed added to blacklist.
|
|
238
|
+
- (mcm1957) Blacklist added to block elements at package.json and io-package.json.
|
|
239
|
+
- (mcm1957) Error [E000] will be raised now if repository cannot be accessed at all [#194].
|
|
240
|
+
- (mcm1957) Reading of package.json and io-package.json has been moved to head of tests.
|
|
241
|
+
- (mcm1957) Check minimum and recommended node version at package.json (#160)
|
|
242
|
+
- (mcm1957) Raise an error if version at package.json is lower than latest release at npmjs [#192]
|
|
239
243
|
|
|
240
244
|
### 2.2.3 (2024-03-29)
|
|
241
245
|
|
|
242
|
-
-
|
|
246
|
+
- (mcm1957) Checking of license has been improved
|
|
243
247
|
|
|
244
248
|
### 2.2.2 (2024-03-29)
|
|
245
249
|
|
|
246
|
-
-
|
|
247
|
-
-
|
|
250
|
+
- (mcm1957) Checking of adapter-core has been fixed
|
|
251
|
+
- (mcm1957) Load all potential interesting files, fixes [#149]
|
|
248
252
|
|
|
249
253
|
### 2.2.1 (2024-03-26)
|
|
250
254
|
|
|
251
|
-
-
|
|
252
|
-
-
|
|
253
|
-
-
|
|
254
|
-
-
|
|
255
|
-
-
|
|
256
|
-
-
|
|
255
|
+
- (mcm1957) Added check that own adapter is not listed at common.restartAdapters
|
|
256
|
+
- (mcm1957) Added check of version strings at common.news
|
|
257
|
+
- (mcm1957) Added check for recommended node version (node 18 for now)
|
|
258
|
+
- (mcm1957) Disallow common.mode == subscribe
|
|
259
|
+
- (mcm1957) Deprecate common.wakeup
|
|
260
|
+
- (mcm1957) Added check for adapter-core version (>= 3.0.6)
|
|
257
261
|
|
|
258
262
|
### 2.2.0 (2024-03-24)
|
|
259
263
|
|
|
260
|
-
-
|
|
261
|
-
-
|
|
262
|
-
-
|
|
263
|
-
-
|
|
264
|
+
- (klein0r) Added check for licenseInformation
|
|
265
|
+
- (klein0r) Added check for deprecated license
|
|
266
|
+
- (klein0r) Added check for required attribute common.tier
|
|
267
|
+
- (klein0r) Added check for disallowed attribute common.automaticUpgrade
|
|
264
268
|
|
|
265
269
|
### 2.1.13 (2024-01-02)
|
|
266
270
|
|
|
267
|
-
-
|
|
271
|
+
- (bluefox) Corrected rule W156: adminUI.config === 'none' is allowed
|
|
268
272
|
|
|
269
273
|
### 2.1.12 (2023-09-21)
|
|
270
274
|
|
|
271
|
-
-
|
|
275
|
+
- (bluefox) Added check of using '\_' in adapter name
|
|
272
276
|
|
|
273
277
|
### 2.1.11 (2023-09-05)
|
|
274
278
|
|
|
275
|
-
-
|
|
279
|
+
- (bluefox) Added check of iobroker.js-controller in dependencies
|
|
276
280
|
|
|
277
281
|
### 2.1.7 (2023-08-14)
|
|
278
282
|
|
|
279
|
-
-
|
|
280
|
-
-
|
|
283
|
+
- (mcm57) Update index.js - fix typo in error message (packet.json)
|
|
284
|
+
- (mcm57) Update index.js - renumber E504/1 to 519 - fixes #112
|
|
281
285
|
|
|
282
286
|
### 2.1.6 (2022-12-08)
|
|
283
287
|
|
|
284
|
-
-
|
|
288
|
+
- (bluefox) added better error logging
|
|
285
289
|
|
|
286
290
|
### 2.1.5 (2022-12-07)
|
|
287
291
|
|
|
288
|
-
-
|
|
292
|
+
- (bluefox) added check of `.releaseconfig.json` file
|
|
289
293
|
|
|
290
294
|
### 2.1.4 (2022-08-19)
|
|
291
295
|
|
|
292
|
-
-
|
|
296
|
+
- (bluefox) Added check for adapter name: it may not start with '\_'
|
|
293
297
|
|
|
294
298
|
### 2.1.2 (2022-07-14)
|
|
295
299
|
|
|
296
|
-
-
|
|
300
|
+
- (bluefox) Fixed some errors
|
|
297
301
|
|
|
298
302
|
### 2.1.0 (2022-05-26)
|
|
299
303
|
|
|
300
|
-
-
|
|
304
|
+
- (bluefox) Added support for jsonConfig.json5 and jsonCustom.json5
|
|
301
305
|
|
|
302
306
|
### 2.0.5 (2022-05-22)
|
|
303
307
|
|
|
304
|
-
-
|
|
308
|
+
- (bluefox) Made it possible to run with npx
|
|
305
309
|
|
|
306
310
|
## License
|
|
307
311
|
|
package/lib/common.js
CHANGED
|
@@ -52,7 +52,7 @@ async function downloadFile(githubUrl, path, binary, noError) {
|
|
|
52
52
|
return response.data;
|
|
53
53
|
} catch (e) {
|
|
54
54
|
(!noError || gDebug) && console.error(`Cannot download ${githubUrl}${path || ''} ${e}`);
|
|
55
|
-
|
|
55
|
+
return '';
|
|
56
56
|
}
|
|
57
57
|
} else {
|
|
58
58
|
console.log(`Download local ${path || ''}`);
|
package/package.json
CHANGED