@iobroker/repochecker 5.0.0 → 5.0.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 +3 -0
- package/lib/M2000_Npm.js +2 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,6 +31,9 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
31
31
|
Placeholder for the next version (at the beginning of the line):
|
|
32
32
|
### **WORK IN PROGRESS**
|
|
33
33
|
-->
|
|
34
|
+
### 5.0.1 (2025-10-03)
|
|
35
|
+
- (mcm1957) A crash at adapters which do not contain news entry at io-package.json has been fixed. [#572]
|
|
36
|
+
|
|
34
37
|
### 5.0.0 (2025-10-02)
|
|
35
38
|
- (mcm1957) Suppress W6010 if adapter not yet published at npm. [#567]
|
|
36
39
|
- (@copilot) Added check for deprecated common.jsonConfig property - warns if adminUI exists (W1109), errors if adminUI missing (E1109)
|
package/lib/M2000_Npm.js
CHANGED
|
@@ -113,18 +113,17 @@ async function checkNpm(context) {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
if (body['dist-tags'] && body['dist-tags'].latest) {
|
|
116
|
-
if (!context.ioPackageJson.common.news[body['dist-tags'].latest]) {
|
|
116
|
+
if (!context.ioPackageJson.common.news || !context.ioPackageJson.common.news[body['dist-tags'].latest]) {
|
|
117
117
|
context.errors.push(
|
|
118
118
|
`[E2005] No "common.news" in io-package.json found for version ${body['dist-tags'].latest} marked as "latest" at npm`,
|
|
119
119
|
);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
|
|
124
123
|
if (context.ioPackageJson && context.ioPackageJson.common && context.ioPackageJson.common.news) {
|
|
125
124
|
const missingVersions = [];
|
|
126
125
|
for (const vers in context.ioPackageJson.common.news) {
|
|
127
|
-
|
|
126
|
+
console.log(`[DEBUG] news for ${vers}`);
|
|
128
127
|
if (!body.versions[vers]) {
|
|
129
128
|
missingVersions.push(vers);
|
|
130
129
|
}
|
package/package.json
CHANGED