Skip to content

Commit

Permalink
fix: fix a breaking change introduced by axios v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
foray1010 committed Oct 6, 2022
1 parent 9d3ddcf commit f4db4eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"test": "cross-env NODE_ENV=test jest"
},
"dependencies": {
"axios": "^1.0.0",
"axios": "^1.1.0",
"fast-glob": "^3.2.12",
"ignore": "^5.2.0",
"ramda": "^0.28.0"
Expand Down
2 changes: 1 addition & 1 deletion src/utils/github.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const axios = require('axios')
const axios = require('axios').default

const getContentFile = async ({
owner,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1490,10 +1490,10 @@ asynckit@^0.4.0:
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==

axios@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.0.0.tgz#16ded6096c1d37650db9f6a8d48a2f7c1bb58622"
integrity sha512-SsHsGFN1qNPFT5QhSoSD37SHDfGyLSW5AESmyLk2JeCMHv5g0I9g0Hz/zQHx2KNe0jGXh2q2hAm7OdkXm360CA==
axios@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.1.0.tgz#94d25e6524743c7fc33954dd536687bbb957793a"
integrity sha512-hsJgcqz4JY7f+HZ4cWTrPZ6tZNCNFPTRx1MjRqu/hbpgpHdSCUpLVuplc+jE/h7dOvyANtw/ERA3HC2Rz/QoMg==
dependencies:
follow-redirects "^1.15.0"
form-data "^4.0.0"
Expand Down

0 comments on commit f4db4eb

Please sign in to comment.