@iobroker/repochecker 5.16.0 → 5.16.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 CHANGED
@@ -25,9 +25,13 @@ Example:
25
25
  Placeholder for the next version (at the beginning of the line):
26
26
  ### **WORK IN PROGRESS**
27
27
  -->
28
+ ### 5.16.1 (2026-05-28)
29
+
30
+ - (mcm1957) Processing of require / import filenames has been adapterd.
31
+
28
32
  ### 5.16.0 (2026-05-28)
29
33
 
30
- - (mcm1957) Incorrect checking of provenence / trusted publishing has benn fixed.
34
+ - (mcm1957) Incorrect checking of provenence / trusted publishing has been fixed.
31
35
  - (mcm1957) Checking of @tsconfig/nodeNN has been added
32
36
  - (mcm1957) Checing of state roles has been renewed
33
37
  - (mcm1957) Component qrCodeSendTo has been added
package/lib/M5000_Code.js CHANGED
@@ -1676,7 +1676,8 @@ async function checkCode(context) {
1676
1676
  // Skip relative paths (./xxx, ../xxx) and absolute paths (/xxx)
1677
1677
  // Skip dynamic generated strings (`${xxx}`) and debug vars
1678
1678
  if (
1679
- importTarget.startsWith('.') ||
1679
+ importTarget.startsWith('./') ||
1680
+ importTarget.startsWith('../') ||
1680
1681
  importTarget.startsWith('/') ||
1681
1682
  importTarget.includes('~') || // '~debug~xx'
1682
1683
  importTarget.includes('$') || // `${myvar}/xxx`
@@ -1687,14 +1688,15 @@ async function checkCode(context) {
1687
1688
  }
1688
1689
 
1689
1690
  // Skip obvious filenames
1690
- if (
1691
- importTarget.endsWith('.js') ||
1692
- importTarget.endsWith('.mjs') ||
1693
- importTarget.endsWith('.cjs') ||
1694
- importTarget.endsWith('.ts')
1695
- ) {
1696
- continue;
1697
- }
1691
+ // NOTE: ical.js is a legal package name.
1692
+ // if (
1693
+ // importTarget.endsWith('.js') ||
1694
+ // importTarget.endsWith('.mjs') ||
1695
+ // importTarget.endsWith('.cjs') ||
1696
+ // importTarget.endsWith('.ts')
1697
+ // ) {
1698
+ // continue;
1699
+ // }
1698
1700
 
1699
1701
  // Skip node: prefixed built-ins - check is complete
1700
1702
  if (importTarget.startsWith('node:')) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.16.0",
2
+ "version": "5.16.1",
3
3
  "name": "@iobroker/repochecker",
4
4
  "dependencies": {
5
5
  "ajv": "^8.20.0",