Skip to content

Commit

Permalink
fix: fix a breaking change introduced by axios v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
foray1010 committed Oct 8, 2022
1 parent 7f669b6 commit ec435d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -36,7 +36,7 @@
"test": "cross-env NODE_ENV=test jest"
},
"dependencies": {
"axios": "^1.1.0",
"axios": "^1.1.2",
"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
@@ -1,6 +1,6 @@
'use strict'

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

const getContentFile = async ({
owner,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
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.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==
axios@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.1.2.tgz#8b6f6c540abf44ab98d9904e8daf55351ca4a331"
integrity sha512-bznQyETwElsXl2RK7HLLwb5GPpOLlycxHCtrpDR/4RqqBzjARaOTo3jz4IgtntWUYee7Ne4S8UHd92VCuzPaWA==
dependencies:
follow-redirects "^1.15.0"
form-data "^4.0.0"
Expand Down

0 comments on commit ec435d2

Please sign in to comment.