Skip to content

Commit fa16083

Browse files
chore(deps): bump axios from 0.27.2 to 1.2.2 (#330)
* chore(deps): bump axios from 0.27.2 to 1.2.2 Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.2.2. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v0.27.2...1.2.2) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: fix build issue Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alistair Scott <ali.scott@gmail.com>
1 parent 3e44926 commit fa16083

3 files changed

Lines changed: 31 additions & 19 deletions

File tree

package-lock.json

Lines changed: 29 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"apollo-server-express": "^3.11.1",
4343
"apollo-server-plugin-base": "^3.5.1",
4444
"async-mutex": "^0.4.0",
45-
"axios": "^0.27.2",
45+
"axios": "^1.2.2",
4646
"decimal.js": "^10.4.2",
4747
"dotenv": "^16.0.3",
4848
"ejs": "^3.1.8",

src/cmd/dataDownload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ async function run() {
6565
complete: '=',
6666
incomplete: ' ',
6767
renderThrottle: 500,
68-
total: parseInt(resp.headers['content-length'], 10),
68+
total: parseInt(resp.headers['content-length'] || '0', 10),
6969
}
7070
);
7171

0 commit comments

Comments
 (0)