Skip to content

Commit

Permalink
chore(deps): lock file maintenance (#711)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency
versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 2am" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/apify/apify-cli).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNzIuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vlad Frangu <[email protected]>
  • Loading branch information
renovate[bot] and vladfrangu authored Dec 20, 2024
1 parent fcd8271 commit 51243f8
Show file tree
Hide file tree
Showing 3 changed files with 2,419 additions and 2,381 deletions.
4 changes: 3 additions & 1 deletion src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ const getTokenWithAuthFileFallback = (existingToken?: string) => {
return existingToken;
};

type CJSAxiosHeaders = import('axios', { with: { 'resolution-mode': 'require' } }).AxiosRequestConfig['headers'];

/**
* Returns options for ApifyClient
*/
Expand All @@ -162,7 +164,7 @@ export const getApifyClientOptions = (token?: string, apiBaseUrl?: string): Apif
baseUrl: apiBaseUrl || process.env.APIFY_CLIENT_BASE_URL,
requestInterceptors: [
(config) => {
config.headers ??= new AxiosHeaders();
config.headers ??= new AxiosHeaders() as CJSAxiosHeaders;

for (const [key, value] of Object.entries(APIFY_CLIENT_DEFAULT_HEADERS)) {
config.headers![key] = value;
Expand Down
Loading

0 comments on commit 51243f8

Please sign in to comment.