Skip to content

Commit 32fd7a4

Browse files
authored
feat: upgrade axios to 1.6.8 (#7114)
1 parent 8660bf3 commit 32fd7a4

File tree

4 files changed

+1476
-47
lines changed

4 files changed

+1476
-47
lines changed

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue-storefront/core",
3-
"version": "2.8.0",
3+
"version": "3.0.0",
44
"sideEffects": false,
55
"main": "lib/index.cjs.js",
66
"module": "lib/index.es.js",
@@ -13,7 +13,7 @@
1313
"prepublish": "yarn build"
1414
},
1515
"dependencies": {
16-
"axios": "0.22.0",
16+
"axios": "1.6.8",
1717
"express": "^4.17.1",
1818
"lodash-es": "^4.17.15",
1919
"vue": "^2.6.11"

packages/core/src/utils/nuxt/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const integrationPlugin = (pluginFn: NuxtPlugin) => (nuxtCtx: NuxtContext
3030
const api = createProxiedApi({ givenApi: configuration.api || {}, client, tag });
3131

3232
if (nuxtCtx.app.i18n.cookieValues) {
33-
client.defaults.headers.cookie = setCookieValues(nuxtCtx.app.i18n.cookieValues, client.defaults.headers.cookie);
33+
client.defaults.headers.cookie = setCookieValues(nuxtCtx.app.i18n.cookieValues, client.defaults.headers.cookie.toString());
3434
}
3535

3636
injectInContext({ api, client, config });

packages/docs/reference/changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 3.0.0
4+
- feat: update Axios client to 1.6.8 ([7114](https://github.com/vuestorefront/vue-storefront/pull/7114)) - [Bartosz Herba](https://github.com/bartoszherba)
5+
36
## 2.8.1
47

58
- fix: resolving Apollo Client error status code ([7001](https://github.com/vuestorefront/vue-storefront/pull/7001)) - [Bartosz Herba](https://github.com/bartoszherba)

0 commit comments

Comments
 (0)