Commit Graph

42 Commits

Author SHA1 Message Date
Sebastian Poxhofer a473e73b3e fix(linters): forbid inert counts in v8 coverage-ignore comments (#45287)
Adds a custom oxlint rule renovate/v8-ignore-no-count that flags the
count form '/* v8 ignore next <N> */'. The count is not honored by
vitest's ast-v8-to-istanbul hint parser, which captures only the
keyword (if/else/next/file); 'next' always exempts exactly the next
AST node. Trailing counts therefore suggest a line range that is never
applied and mislead readers.

The rule is autofixable (drops the count, preserving actual behavior)
and has been applied to all existing occurrences.
2026-08-22 11:25:31 +00:00
Sergei Zharinov 2a5308bafb fix(packagist): Throw on transient errors (#44328)
* fix(packagist): Throw on transient errors

* Update index.ts

* fix coverage

* Update index.ts
2026-07-28 15:33:38 +00:00
Sebastian Poxhofer 15f4bd8eff chore: migrate from zod/v3 to zod/v4 (#43691)
* chore: migrate from zod/v3 to zod/v4

This commit contains the logic changes

* chore: migrate imports from zod/v3 to zod/v4

This contains import updates and adds explicit record keys as zod/v4 requires these now

* ci: enforce usage of zod/v4
2026-05-30 16:01:58 +00:00
renovate[bot] 4a2578d18d build(deps): update dependency zod to v4 (main) (#41225)
* build(deps): update dependency zod to v4

| datasource | package | from    | to    |
| ---------- | ------- | ------- | ----- |
| npm        | zod     | 3.25.76 | 4.3.6 |

* fix: zod migration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-02-18 07:37:50 +00:00
Sergei Zharinov c07814ca4d refactor: Remove decorators for ESM compatibility (#40736)
* refactor: Migrate to decorator alternatives

* refactor: Remove decorators

* Fixes

* build: Remove decorator support from build pipeline

* fix: Remove extra brace in cdnjs getDigest cache key
2026-01-28 13:22:53 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
RahulGautamSingh 76f911041a refactor: use named exports (#39196)
* use named exports

* fix test

* add missing imnport

* fix prettier
2025-11-10 12:00:35 +00:00
Jordi Boggiano 8cd7a890c3 fix(datasource/composer): update default registry url. (#34595)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-03-09 09:55:44 +00:00
Michael Kriese b5ff90f2bd fix: improve coverage (#34667) 2025-03-06 17:05:19 +00:00
Sergei Zharinov 9b4e515024 refactor(http): Separate getJson and getJsonUnchecked (#33651) 2025-01-17 14:18:00 +00:00
Sergei Zharinov c7026f60ae refactor(packagist): Use single cache namespace (#31053) 2024-08-27 19:26:53 +00:00
Sebastian Poxhofer 3681b2a945 chore: eslint to enforce for typed imports (#30844) 2024-08-19 13:15:27 +00:00
RahulGautamSingh d0b77e584a feat(datasource): sourceUrl & releaseTimestamp support (#29122) 2024-05-21 07:04:12 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Sergei Zharinov 74fad130e1 refactor(packagist): Remove confusing schema error (#25243) 2023-10-17 05:55:21 +00:00
Michael Kriese 2431c5a6b6 fix: better branch code coverage (#24274) 2023-09-06 13:35:52 +00:00
Sergei Zharinov 1f3a14addb fix(datasource/packagist): Use serializable type for availablePackages (#23117) 2023-07-03 17:54:20 +00:00
Sergei Zharinov c3029596b7 feat(packagist): Query packages respecting available-packages (#22877) 2023-06-20 07:08:38 +00:00
Sergei Zharinov cd06651f89 fix(packagist): Replace V2 URL path instead of joining it (#20709) 2023-03-02 14:19:55 +00:00
Sergei Zharinov 8cd9f43cbc fix(datasource/packagist): Support for obsolete SHA1 hashes (#20664) 2023-02-28 11:16:51 +00:00
Sergei Zharinov c9fe3b99fa feat(packagist): Support for v2 protocol (#20626) 2023-02-28 09:31:16 +00:00
Sergei Zharinov d7ad012988 fix(packagist): Fix url resolving (#20650) 2023-02-27 18:22:02 +00:00
Sergei Zharinov e97cde57dd refactor(packagist): Reorganize datasource methods (#20595) 2023-02-25 19:33:47 +00:00
Sergei Zharinov fd200d4198 refactor(packagist): Refactor RegistryMeta to inferred via schema (#20592) 2023-02-24 05:55:04 +00:00
Sergei Zharinov d9b025bf63 refactor(packagist): Remove deprecated URL API (#20547) 2023-02-21 13:48:46 +00:00
Sergei Zharinov 84e50dc3eb refactor(packagist): Use catch-all schema for releases fields (#20401) 2023-02-14 16:37:31 +00:00
Sergei Zharinov 2336161d05 fix(packagist): Use schema for extractDepReleases method (#20034) 2023-02-05 08:20:07 +01:00
Sergei Zharinov 0b4db8dc6c fix(packagist): Improve fetch concurrency (#20041) 2023-01-27 08:38:39 +00:00
Sergei Zharinov 571d62abf9 fix: Revert "refactor(packagist): Improve fetch concurrency (#19981)" (#20021) 2023-01-24 16:57:32 +00:00
Sergei Zharinov f170c71930 refactor(packagist): Improve fetch concurrency (#19981)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-23 17:30:21 +00:00
Sergei Zharinov ca66adabdb refactor(packagist): Use schema for packages.json file (#19930) 2023-01-23 11:52:16 +03:00
Sergei Zharinov c9e308f04b refactor(packagist): Type checked Packagist lookups (#19834)
Fixes undefined
2023-01-15 16:58:42 +01:00
Sergei Zharinov b0d6145de4 refactor(composer): Remove unused auth header check (#19852) 2023-01-15 10:12:27 +00:00
Rhys Arkins 5917c548a6 fix(datasource/packagist): Revert "refactor(composer): Simplify Packagist lookups" (#19824) 2023-01-13 12:05:32 +01:00
Sergei Zharinov 3cdf17df1f refactor(packagist): Remove unnecessary wrapper method (#19818)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-01-13 06:19:17 +00:00
Sergei Zharinov 4b2f376393 refactor(composer): Simplify Packagist lookups (#19808) 2023-01-12 18:23:53 +01:00
Sergei Zharinov 2df8967ae2 refactor: Create promises utilities (#17651) 2022-09-06 10:36:51 +00:00
Michael Kriese e5c6f38d75 refactor: enable strict checks (#16168)
* refactor:  enable strict checks

* chore: revert changes

* chore: fix tsconfig
2022-06-21 13:00:21 +02:00
Michael Kriese 02838fbc07 refactor(datasources): strict null checks done (#15144) 2022-04-16 12:57:12 +01:00
Sergei Zharinov 2c2693b55e refactor(packagist): Use cache decorator for datasource (#14768) 2022-03-25 04:17:08 +00:00
Rhys Arkins 143c9a6751 refactor: rename lookupName -> packageName (#14494)
Renames `lookupName` to be `packageName`.

BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +01:00
Rhys Arkins dca3418bbd refactor: lib/modules (#14488)
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/

BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00