Skip to content

Commit

Permalink
[#264] v1.22.2: Downgrades axios to 0.27.2 + Updates other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
birdofpreyru committed Nov 24, 2022
1 parent a0fac2a commit e5ca139
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 95 deletions.
19 changes: 6 additions & 13 deletions __tests__/__snapshots__/client-side.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -167,25 +167,19 @@ exports[`Export at client side 1`] = `
exports[`Export at client side 2`] = `{}`;

exports[`Export at client side 3`] = `
wrap {
{
"Axios": [Function],
"AxiosError": [Function],
"AxiosHeaders": [Function],
"Cancel": [Function],
"CancelToken": [Function],
"CanceledError": [Function],
"VERSION": "1.2.0",
"VERSION": "0.27.2",
"all": [Function],
"constructor": [Function],
"create": [Function],
"default": [Function],
"defaults": {
"adapter": [
"xhr",
"http",
],
"adapter": [Function],
"env": {
"Blob": [Function],
"FormData": [Function],
},
"headers": {
Expand All @@ -196,13 +190,13 @@ wrap {
"get": {},
"head": {},
"patch": {
"Content-Type": undefined,
"Content-Type": "application/x-www-form-urlencoded",
},
"post": {
"Content-Type": undefined,
"Content-Type": "application/x-www-form-urlencoded",
},
"put": {
"Content-Type": undefined,
"Content-Type": "application/x-www-form-urlencoded",
},
},
"maxBodyLength": -1,
Expand All @@ -224,7 +218,6 @@ wrap {
"xsrfHeaderName": "X-XSRF-TOKEN",
},
"delete": [Function],
"formToJSON": [Function],
"get": [Function],
"getUri": [Function],
"head": [Function],
Expand Down
19 changes: 6 additions & 13 deletions __tests__/__snapshots__/server-side.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -270,25 +270,19 @@ exports[`Export at server side 1`] = `
exports[`Export at server side 2`] = `{}`;

exports[`Export at server side 3`] = `
wrap {
{
"Axios": [Function],
"AxiosError": [Function],
"AxiosHeaders": [Function],
"Cancel": [Function],
"CancelToken": [Function],
"CanceledError": [Function],
"VERSION": "1.2.0",
"VERSION": "0.27.2",
"all": [Function],
"constructor": [Function],
"create": [Function],
"default": [Function],
"defaults": {
"adapter": [
"xhr",
"http",
],
"adapter": [Function],
"env": {
"Blob": [Function],
"FormData": [Function],
},
"headers": {
Expand All @@ -299,13 +293,13 @@ wrap {
"get": {},
"head": {},
"patch": {
"Content-Type": undefined,
"Content-Type": "application/x-www-form-urlencoded",
},
"post": {
"Content-Type": undefined,
"Content-Type": "application/x-www-form-urlencoded",
},
"put": {
"Content-Type": undefined,
"Content-Type": "application/x-www-form-urlencoded",
},
},
"maxBodyLength": -1,
Expand All @@ -327,7 +321,6 @@ wrap {
"xsrfHeaderName": "X-XSRF-TOKEN",
},
"delete": [Function],
"formToJSON": [Function],
"get": [Function],
"getUri": [Function],
"head": [Function],
Expand Down
48 changes: 18 additions & 30 deletions docs/package-lock.json

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

2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@docusaurus/core": "^2.2.0",
"@docusaurus/preset-classic": "^2.2.0",
"@docusaurus/theme-common": "^2.2.0",
"@dr.pogodin/react-utils": "file:../dr.pogodin-react-utils-1.22.1.tgz",
"@dr.pogodin/react-utils": "file:../dr.pogodin-react-utils-1.22.2.tgz",
"@mdx-js/react": "^1.6.21",
"docusaurus-plugin-sass": "^0.2.2",
"file-loader": "^6.2.0",
Expand Down
56 changes: 22 additions & 34 deletions package-lock.json

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

Loading

0 comments on commit e5ca139

Please sign in to comment.