Skip to content

Commit

Permalink
build(deps): allow axios >=0.25.0 || ^1.2.2
Browse files Browse the repository at this point in the history
Versions of Axios 1.x are causing issues with
Jest (axios/axios#5101).

Jest 28 and 29, where this issue is resolved, has other
issues surrounding memory leaks
(jestjs/jest#7874).

Allow `>=0.25.0` for applications that cannot upgrade Jest
at this moment.
  • Loading branch information
ramontayag committed Feb 1, 2023
1 parent 4a9102f commit 207f3cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -16,7 +16,7 @@
"testRecord": "REPLAY=record mocha -t 10000 test/*test.js --exit"
},
"dependencies": {
"axios": "^1.2.2",
"axios": ">=0.25.0 || ^1.2.2",
"backoff": "^2.5.0",
"bluebird": "^3.7.2",
"bunyan": "^1.8.15",
Expand All @@ -31,4 +31,4 @@
"replay": "^2.4.0",
"rewire": "^6.0.0"
}
}
}

0 comments on commit 207f3cb

Please sign in to comment.