From 0e250736ca12b5544f682e7570752ce78b31b5a6 Mon Sep 17 00:00:00 2001 From: James Bourne Date: Tue, 12 Mar 2024 21:20:42 +0100 Subject: [PATCH 1/2] chore: tidy noise from any types --- src/interceptor.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/interceptor.ts b/src/interceptor.ts index c3eac619..1c57256e 100644 --- a/src/interceptor.ts +++ b/src/interceptor.ts @@ -70,8 +70,8 @@ export type InternalAxiosHeaders = Record< Record >; -const removeUndefined = (obj: Record) => { - const newObj: Record = {}; +const removeUndefined = (obj: Record) => { + const newObj: Record = {}; for (const [key, value] of Object.entries(obj)) { if (value !== undefined) { @@ -94,6 +94,8 @@ const removeUndefined = (obj: Record) => { * @param options The options to be used when signing a request * @param credentials Credentials to be used to sign the request */ +// this would be a breaking change to the API +// eslint-disable-next-line @typescript-eslint/no-explicit-any export const aws4Interceptor = ({ instance = axios, credentials, From 7d4cbac3c5981a54e05fa9613b5c4a73c3a8558c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 21:25:42 +0100 Subject: [PATCH 2/2] chore(deps): update dependency node to v20.11.1 (#1271) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: James Bourne --- .tool-versions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tool-versions b/.tool-versions index 557ea46d..d7568adf 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 20.11.0 +nodejs 20.11.1