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
Jamie Tanna
30ddfe3d3e
chore(logger): sanitize boxed String objects ( #42159 )
...
Noticed when attempting to run Renovate against an empty repository (on
`platform=bitbucket`) we previously saw:
WARN: Host error (repository=jamie-tanna-mend-1/test-any-updates)
"hostType": "git",
"packageName": undefined,
"err": {
"task": {
"commands": [
"clone",
"-b",
"main",
"--filter=blob:none",
{
"0": "h",
"1": "t",
"2": "t",
"3": "p",
...
"281": "i",
"282": "t"
},
{"0": "."}
],
"format": "utf-8",
"parser": "[function]"
},
"message": "Cloning into '.'...\nfatal: Remote branch main not found in upstream origin\n",
"stack": "..."
We can instead match against the case where it's a `String` object, and
forcibly return the `sanitized`'d value.
Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io >
2026-03-26 17:31:32 +00:00
Michael Kriese
e438887dfb
build: lazy load and initialize logger ( #41425 )
...
* build: lazy load initialization modules
* build: lazy load and initialize logger
* chore: lint fix
* Update lib/constants/error-messages.ts
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io >
* Apply suggestion
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io >
---------
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io >
2026-03-10 16:57:29 +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
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
Jamie Tanna
39bfc0975e
refactor(util/exec): remove deprecated encoding property ( #40199 )
...
This has been deprecated since 2022-07, and is unused as we only ever
use UTF-8.
In `tools/utils/exec.ts` we make sure to specify it explicitly, so we
don't get a Buffer returned.
2025-12-30 09:55:31 +00:00
renovate[bot]
1280fe4dc7
chore(deps): update dependency @vitest/eslint-plugin to v1.3.16 (main) ( #38502 )
...
* chore(deps): update dependency @vitest/eslint-plugin to v1.3.16
| datasource | package | from | to |
| ---------- | --------------------- | ------ | ------ |
| npm | @vitest/eslint-plugin | 1.3.13 | 1.3.16 |
* fix linting errors
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at >
2025-10-13 09:24:15 +00:00
Gabriel-Ladzaretti
251514f143
fix(log): sanitize rawExec errors ( #37077 )
2025-07-22 15:33:00 +00:00
Jonas Scheffner
9e2c702389
fix(logger): handle AggregateErrors ( #36435 )
2025-06-11 09:13:23 +00:00
Trim21
6e5731b554
test: migrate from jest to vitest ( #34499 )
2025-02-26 14:18:38 +00:00
Michael Kriese
bb5377b3d8
test: fix code coverage ( #34495 )
2025-02-26 12:40:30 +00:00
sahil-seth
dbd69e9a40
feat: adding support for data uri sanitisation ( #31721 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2024-10-08 05:02:54 +00:00
RahulGautamSingh
50f1e29113
feat: do not mask secrets templates ( #31240 )
2024-09-06 04:14:13 +00:00
RahulGautamSingh
c6c4572ecb
feat(logging)!: initialize file logging via env ( #28104 )
...
Closes #14705
BREAKING CHANGE: File logging must now be set via env and not in config.js
2024-07-25 15:28:16 +02:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas ( #25631 )
2023-11-07 15:50:29 +00:00
Rhys Arkins
36e2b328bb
chore: update types reference
2023-08-15 11:31:15 +02:00
renovate[bot]
fe739befbf
chore(deps): update linters to v6 (major) ( #23325 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-08-02 15:07:49 +00:00
Sergei Zharinov
115ed870ab
fix(logger): Represent Zod errors in friendlier format ( #22238 )
2023-05-16 14:18:46 +00:00
Dominik Steinbinder
18d0fbc3af
fix: sanitize special characters in URLs ( #21575 )
2023-04-19 14:47:12 +00:00
Sergei Zharinov
e4dbd4ad49
fix(ci): Restrict template expressions ( #16834 )
...
* fix(ci): Restrict template expressions
* Fix
* Fix
* Fix
2022-07-30 16:28:31 +02:00
Michael Kriese
6ef2b8cb44
fix(logger): sanitize urls in strings ( #15102 )
2022-04-14 11:24:28 +02:00
Hasan Awad
85cf82e79d
fix(logging): Added check for log level value ( #13941 )
2022-02-07 08:44:44 +00:00