@iobroker/repochecker 2.7.1 → 2.7.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 CHANGED
@@ -20,6 +20,9 @@ Branch (`master/main/dev`) is optional.
20
20
  -->
21
21
 
22
22
  ## Changelog
23
+ ### 2.7.2 (2024-07-26)
24
+ * (mcm1957) package-lock.json check fixed.
25
+
23
26
  ### 2.7.1 (2024-07-26)
24
27
  * (mcm1957) Reduce setTimeout/setInterval error to warning temporary.
25
28
 
package/doc/issues.json CHANGED
@@ -647,6 +647,9 @@
647
647
  "W522": {
648
648
  "title": "Please consider migrating to admin 5 UI (jsonConfig)."
649
649
  },
650
+ "W523": {
651
+ "title": "`package-lock.json` not found in repo! Please remove from .gitignore!"
652
+ },
650
653
  "W606": {
651
654
  "title": "Could not retrieve timestamp of LATEST revision at npm."
652
655
  },
package/index.js CHANGED
@@ -2331,8 +2331,8 @@ function checkCode(context) {
2331
2331
  context.errors.push('[E503] "iob_npm.done" found in repo! Remove that file');
2332
2332
  }
2333
2333
 
2334
- if (!context['/package-lock.json']) {
2335
- context.warnings.push('[W522] "package-lock.json" not found in repo! Please remove from .gitignore!');
2334
+ if (!context.filesList.includes('package-lock.json')) {
2335
+ context.warnings.push('[W523] "package-lock.json" not found in repo! Please remove from .gitignore!');
2336
2336
  }
2337
2337
 
2338
2338
  if (context['/.travis.yml']) {
@@ -2381,7 +2381,7 @@ function checkCode(context) {
2381
2381
  }
2382
2382
  }
2383
2383
  }
2384
- // max E521
2384
+ // max E523
2385
2385
  resolve(context);
2386
2386
  })
2387
2387
  .catch(e => reject(e));
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.7.1",
2
+ "version": "2.7.2",
3
3
  "name": "@iobroker/repochecker",
4
4
  "dependencies": {
5
5
  "axios": "^1.7.2",