renovate[bot]
2561284dc4
build(deps): update dependency got to v15 (main) ( #43120 )
...
* build(deps): update dependency got to v15
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| npm | got | 14.6.6 | 15.0.5 |
* chore: adapt code to breaking changes
* test: fix test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at >
Co-authored-by: Michael Kriese <michael.kriese@mend.io >
2026-09-09 09:01:11 +00:00
Sergei Zharinov
0ae44810fc
fix(http): detect x-access-token prefix before hostType-based auth branching ( #42083 )
...
* fix: Add `github-digest` to `GITHUB_API_USING_HOST_TYPES` list
* fix(http): detect x-access-token prefix before hostType-based auth branching
Moves GitHub App installation token detection (`x-access-token:` prefix)
before the hostType-based authorization chain in `applyAuthorization`.
This ensures correct `token` scheme auth for any GitHub-related hostType,
not only those listed in `GITHUB_API_USING_HOST_TYPES`.
* test(http/auth): add regression test for GitHub App token with non-listed hostType
* Fixes
* Fix tests
2026-03-24 17:11:56 +00:00
renovate[bot]
00aeb9d8dc
build(deps): update dependency got to v12 (main) ( #41284 )
...
* build(deps): update dependency got to v12
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| npm | got | 11.8.6 | 12.6.1 |
* fix: 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 16:08:12 +00:00
Michael Kriese
0babee8a19
fix: drop unused got remove authorization beforeRedirect hook ( #41299 )
2026-02-18 15:47:11 +00:00
Sergei Zharinov
9d857c1f68
refactor(lint): Organize imports with biome ( #40966 )
2026-02-06 13:40:01 +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
Michael Kriese
19c115c813
test: cleanup ( #34785 )
2025-03-13 17:52:09 +00:00
Michael Kriese
593a92655e
feat: refactor http ( #34550 )
2025-02-28 14:40:04 +00:00
Michael Kriese
a3e29a092d
feat(gitea)!: use Bearer instead of token for auth ( #28308 )
...
Previous Gitea implementation used non-standard “token” auth instead of “Bearer”. Gitea supports Bearer al alternate to token since v1.8.0, so it’s safe to make this change now.
BREAKING CHANGE: Gitea platfor authentication will now be done using Bearer auth instead of token auth.
2024-07-25 15:28:16 +02:00
Rhys Arkins
ee34245628
fix(http): honor authType first ( #28304 )
2024-04-10 08:06:33 +00:00
RahulGautamSingh
c56588eaba
refactor: convert PlatformmId to union ( #18458 )
2022-11-01 14:46:09 +00:00
Michael Kriese
0316a5e62d
test: use jest v29 ( #17151 )
2022-08-16 14:22:29 +02:00
Jamie Magee
3b7e9a17cb
refactor: set importsNotUsedAsValues to error ( #14052 )
2022-02-07 06:37:17 +00:00
Maksim
1f86b71fd5
refactor: constants ( #11690 )
2021-10-06 07:43:32 +02:00
Michael Kriese
11aa3baf2e
test: use codeql compatible token / passwords ( #11297 )
2021-09-09 16:17:05 +02:00
Jesko Steinberg
9f791552d3
feat: enable right filtering when specifing hostRules with github-api using datasources ( #11136 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2021-08-25 07:07:23 +00:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule ( #11285 )
2021-08-18 05:46:56 +00:00
Kamil Kowalski
a73d82787b
feat(hex): Private Hex packages ( #11168 )
2021-08-12 09:34:27 +00:00
renovate[bot]
b8e36daa87
chore(deps): update dependency prettier to v2.3.0 ( #10012 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2021-05-17 08:06:24 +00:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers ( #9707 )
2021-04-26 16:15:03 +02:00
Michael Kriese
607b151f0e
feat(http): support custom auth types ( #9053 )
2021-03-09 19:25:18 +01:00
Julien Poissonnier
a2b2671370
fix(gitlab): Restore auth for versions older than 12.2 ( #7155 )
2020-09-01 12:42:23 +02:00
Michael Kriese
5815f75f13
feat(internal): migrate to got v11 ( #6725 )
...
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2020-07-22 20:15:48 +02:00
Michael Kriese
76d8574581
chore(internal): fix http coverage ( #6746 )
2020-07-14 09:51:27 +02:00
Etienne
45d7d40952
fix: remove authorization header from core.windows.net requests for Azure docker registries ( #6641 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2020-07-01 15:48:22 +02:00