Skip to content

Commit

Permalink
build: update dev dependencies (#215)
Browse files Browse the repository at this point in the history
* build: update dev dependencies

* fix
  • Loading branch information
JustinBeckwith authored Mar 25, 2023
1 parent 1e5d0ce commit bd6ed17
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@
"axios": "*"
},
"devDependencies": {
"@types/mocha": "^10.0.0",
"@types/sinon": "^10.0.11",
"@types/node": "^18.0.0",
"@types/mocha": "^10.0.1",
"@types/sinon": "^10.0.13",
"@types/node": "^18.15.9",
"axios": "^1.2.1",
"c8": "^7.11.2",
"gts": "^3.1.0",
"c8": "^7.13.0",
"gts": "^3.1.1",
"js-green-licenses": "^4.0.0",
"mocha": "^10.0.0",
"nock": "^13.2.4",
"semantic-release": "^20.0.0",
"sinon": "^15.0.0",
"typescript": "~4.9.0"
"mocha": "^10.2.0",
"nock": "^13.3.0",
"semantic-release": "^21.0.0",
"sinon": "^15.0.2",
"typescript": "~5.0.2"
},
"files": [
"build/src"
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ function onError(e: AxiosError) {

// Put the config back into the err
const err = e as AxiosError;
err.config = err.config || {}; // allow for wider range of errors
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(err as any).config = err.config || {}; // allow for wider range of errors
(err.config as RaxConfig).raxConfig = {...config};

// Determine if we should retry the request
Expand Down

0 comments on commit bd6ed17

Please sign in to comment.