From 5c9607c8f0ffa1179fd9ffea59f0eff9542f0511 Mon Sep 17 00:00:00 2001 From: Bartosz Herba Date: Wed, 16 Oct 2024 13:09:28 +0200 Subject: [PATCH 1/5] feat: update middleware to 5.1.0-rc --- .changeset/pre.json | 12 ++ .changeset/tasty-books-melt.md | 5 + packages/api-client/package.json | 2 +- packages/sdk/package.json | 3 +- yarn.lock | 224 ++++--------------------------- 5 files changed, 43 insertions(+), 203 deletions(-) create mode 100644 .changeset/pre.json create mode 100644 .changeset/tasty-books-melt.md diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 000000000..9dea25f55 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,12 @@ +{ + "mode": "pre", + "tag": "rc", + "initialVersions": { + "@vue-storefront/magento-api": "5.0.0", + "@vue-storefront/magento-types": "2.0.0", + "@vue-storefront/magento-load-tests": "1.1.0", + "method-bootstrapper": "1.1.0", + "@vue-storefront/magento-sdk": "3.0.1" + }, + "changesets": [] +} diff --git a/.changeset/tasty-books-melt.md b/.changeset/tasty-books-melt.md new file mode 100644 index 000000000..e6fa5cd15 --- /dev/null +++ b/.changeset/tasty-books-melt.md @@ -0,0 +1,5 @@ +--- +"@vue-storefront/magento-api": major +--- + +update middleware to 5.1.0-rc diff --git a/packages/api-client/package.json b/packages/api-client/package.json index 4a12aedd8..f7428dca9 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -24,7 +24,7 @@ "dependencies": { "@apollo/client": "3.8.7", "@vue-storefront/magento-types": "2.0.0", - "@vue-storefront/middleware": "^4.1.0", + "@vue-storefront/middleware": "^5.0.0-rc", "agentkeepalive": "^4.2.1", "consola": "^3.1.0", "dotenv": "^16.0.1", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 8e60daf84..0cab69a02 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -28,10 +28,11 @@ "devDependencies": { "@types/node": "^12.12.14", "@vue-storefront/magento-api": "^5.0.0", + "@vue-storefront/middleware": "^5.0.0-rc", "nock": "^13.2.9" }, "peerDependencies": { - "@vue-storefront/middleware": "^4.1.0" + "@vue-storefront/middleware": "^5.0.0-rc" }, "publishConfig": { "access": "public", diff --git a/yarn.lock b/yarn.lock index 4caf2f1eb..0417ee99d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15,13 +15,6 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@antfu/utils@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@antfu/utils/-/utils-0.3.0.tgz#6306c43b52a883bd8e973e3ed8dd64248418bcc4" - integrity sha512-UU8TLr/EoXdg7OjMp0h9oDoIAVr+Z/oW9cpOxQQyrsz6Qzd2ms/1CdWx8fl2OQdFpxGmq5Vc4TwfLHId6nAZjA== - dependencies: - "@types/throttle-debounce" "^2.1.0" - "@apollo/client@3.8.7": version "3.8.7" resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.8.7.tgz#090b1518f513503b9a6a690ee3eaec49529822e1" @@ -102,7 +95,7 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.6.tgz#15606a20341de59ba02cd2fcc5086fcbe73bf544" integrity sha512-29tfsWTq2Ftu7MXmimyC0C5FDZv5DYxOZkh3XD3+QW4V/BYuv/LyEsjj3c0hqedEaDt6DBfDvexMKU8YevdqFg== -"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.14.0", "@babel/core@^7.16.0": +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.14.0": version "7.22.6" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.6.tgz#aafafbe86e9a1679d876b99dc46382964ef72494" integrity sha512-HPIyDa6n+HKw5dEuway3vVAhBboYCtREBMp+IWeseZy6TFtzn6MHkCH2KKYUOC/vKKwgSMHQW4htBOrmuRPXfw== @@ -123,7 +116,7 @@ gensync "^1.0.0-beta.2" json5 "^2.2.2" -"@babel/generator@^7.14.0", "@babel/generator@^7.16.0", "@babel/generator@^7.18.13", "@babel/generator@^7.22.5", "@babel/generator@^7.7.2": +"@babel/generator@^7.14.0", "@babel/generator@^7.18.13", "@babel/generator@^7.22.5", "@babel/generator@^7.7.2": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.5.tgz#1e7bf768688acfb05cf30b2369ef855e82d984f7" integrity sha512-+lcUbnTRhd0jOewtFSedLyiPsD5tswKkbgcezOqqWFUVNEwoUTlpPOBmvhG7OXWLR4jMdv0czPGH5XbflnD1EA== @@ -292,7 +285,7 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.0", "@babel/parser@^7.14.7", "@babel/parser@^7.15.0", "@babel/parser@^7.16.3", "@babel/parser@^7.16.8", "@babel/parser@^7.20.7", "@babel/parser@^7.21.3", "@babel/parser@^7.22.5", "@babel/parser@^7.22.6": +"@babel/parser@^7.1.0", "@babel/parser@^7.14.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.8", "@babel/parser@^7.20.7", "@babel/parser@^7.22.5", "@babel/parser@^7.22.6": version "7.22.6" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.6.tgz#201f8b47be20c76c7c5743b9c16129760bf9a975" integrity sha512-EIQu22vNkceq3LbjAq7knDf/UmtI2qbcNI8GRBlijez6TpQLvSodJPYfydQmNA5buwkxxxa/PVI44jjYZ+/cLw== @@ -604,7 +597,7 @@ "@babel/parser" "^7.22.5" "@babel/types" "^7.22.5" -"@babel/traverse@^7.14.0", "@babel/traverse@^7.16.3", "@babel/traverse@^7.16.8", "@babel/traverse@^7.22.5", "@babel/traverse@^7.22.6": +"@babel/traverse@^7.14.0", "@babel/traverse@^7.16.8", "@babel/traverse@^7.22.5", "@babel/traverse@^7.22.6": version "7.22.6" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.6.tgz#8f2f83a5c588251584914debeee38f35f661a300" integrity sha512-53CijMvKlLIDlOTrdWiHileRddlIiwUIyCKqYa7lYnnPldXCG5dUSN38uT0cA6i7rHWNKJLH0VU/Kxdr1GzB3w== @@ -620,7 +613,7 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.16.0", "@babel/types@^7.16.8", "@babel/types@^7.18.13", "@babel/types@^7.20.7", "@babel/types@^7.22.5", "@babel/types@^7.3.3": +"@babel/types@^7.0.0", "@babel/types@^7.16.8", "@babel/types@^7.18.13", "@babel/types@^7.20.7", "@babel/types@^7.22.5", "@babel/types@^7.3.3": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.5.tgz#cd93eeaab025880a3a47ec881f4b096a5b786fbe" integrity sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA== @@ -900,6 +893,13 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f" integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g== +"@godaddy/terminus@^4.12.1": + version "4.12.1" + resolved "https://registrynpm.storefrontcloud.io/@godaddy/terminus/-/terminus-4.12.1.tgz#c4fdc280a4ac9655d4734250e22299a4ad46c54c" + integrity sha512-Tm+wVu1/V37uZXcT7xOhzdpFoovQReErff8x3y82k6YyWa1gzxWBjTyrx4G2enjEqoXPnUUmJ3MOmwH+TiP6Sw== + dependencies: + stoppable "^1.1.0" + "@graphql-codegen/cli@^2.4.0": version "2.16.5" resolved "https://registry.yarnpkg.com/@graphql-codegen/cli/-/cli-2.16.5.tgz#b3b5eeec357af01c1cb72f6a4ea96e52bd49e662" @@ -1701,20 +1701,6 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@nuxtjs/composition-api@0.31.0": - version "0.31.0" - resolved "https://registry.yarnpkg.com/@nuxtjs/composition-api/-/composition-api-0.31.0.tgz#4baa645ee45e306a49b72de6257fdb9438eb2b07" - integrity sha512-xplH/EJ17W/EjNP7M11URTOrQcjMYqQn1wXUkMOdMiSLKM58VWuCyt0uT9jNCHMUspeQ+SPzr9dxQkNBGvwfiA== - dependencies: - "@vue/composition-api" "^1.4.1" - defu "^5.0.0" - estree-walker "^2.0.2" - fs-extra "^9.1.0" - magic-string "^0.25.7" - ufo "^0.7.9" - unplugin-vue2-script-setup "^0.7.3" - upath "^2.0.1" - "@open-draft/until@^1.0.3": version "1.0.3" resolved "https://registry.yarnpkg.com/@open-draft/until/-/until-1.0.3.tgz#db9cc719191a62e7d9200f6e7bab21c5b848adca" @@ -1805,7 +1791,7 @@ estree-walker "^1.0.1" picomatch "^2.2.2" -"@rollup/pluginutils@^4.1.1", "@rollup/pluginutils@^4.1.2": +"@rollup/pluginutils@^4.1.2": version "4.2.1" resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz#e6c6c3aba0744edce3fb2074922d3776c0af2a6d" integrity sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ== @@ -2098,11 +2084,6 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== -"@types/throttle-debounce@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@types/throttle-debounce/-/throttle-debounce-2.1.0.tgz#1c3df624bfc4b62f992d3012b84c56d41eab3776" - integrity sha512-5eQEtSCoESnh2FsiLTxE121IiE60hnMqcb435fShf4bpLRjEu1Eoekht23y6zXS9Ts3l+Szu3TARnTsA0GkOkQ== - "@types/ws@^8.0.0": version "8.5.5" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.5.tgz#af587964aa06682702ee6dcbc7be41a80e4b28eb" @@ -2248,11 +2229,12 @@ ts-jest "^29.1.0" ts-node "^10.9.1" -"@vue-storefront/middleware@^4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@vue-storefront/middleware/-/middleware-4.1.0.tgz#dc6ebf58b1d9f518c8a3ae4fad6f14d561ef502d" - integrity sha512-RwHzVsGSFCmp7YpIVkUNYMiTUdHYE2lzupG6wxGXgGkMDcc4b1FnI93pZnO5Adjf0T4PKV27tjUZCtMm5gmClQ== +"@vue-storefront/middleware@^5.0.0-rc": + version "5.0.0" + resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/middleware/-/middleware-5.0.0.tgz#14cf56baf330c336949dab40862fcc6cca13aadf" + integrity sha512-G2UVGXz4YJPCMa4pPCYsz+h2X6Q0XDfTh6rCgr3igHjCC6+utjis9oC223RnSIDKzOYhODZehruUaN9TQlQEdg== dependencies: + "@godaddy/terminus" "^4.12.1" consola "^2.15.3" cookie-parser "^1.4.6" cors "^2.8.5" @@ -2283,52 +2265,6 @@ "@changesets/changelog-github" "^0.4.8" "@changesets/cli" "^2.26.1" -"@vue/compiler-core@3.2.24": - version "3.2.24" - resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.24.tgz#cadcda0e026e7f1cd453ce87160be51a5f313fe0" - integrity sha512-A0SxB2HAggKzP57LDin5gfgWOTwFyGCtQ5MTMNBADnfQYALWnYuC8kMI0DhRSplGTWRvn9Z2DAnG8f35BnojuA== - dependencies: - "@babel/parser" "^7.15.0" - "@vue/shared" "3.2.24" - estree-walker "^2.0.2" - source-map "^0.6.1" - -"@vue/compiler-core@^3.2.23": - version "3.3.4" - resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.3.4.tgz#7fbf591c1c19e1acd28ffd284526e98b4f581128" - integrity sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g== - dependencies: - "@babel/parser" "^7.21.3" - "@vue/shared" "3.3.4" - estree-walker "^2.0.2" - source-map-js "^1.0.2" - -"@vue/composition-api@^1.4.1": - version "1.7.1" - resolved "https://registry.yarnpkg.com/@vue/composition-api/-/composition-api-1.7.1.tgz#aa6831be5a12817d93e89e247460c310dd7a3a32" - integrity sha512-xDWoEtxGXhH9Ku3ROYX/rzhcpt4v31hpPU5zF3UeVC/qxA3dChmqU8zvTUYoKh3j7rzpNsoFOwqsWG7XPMlaFA== - -"@vue/ref-transform@^3.2.23": - version "3.2.24" - resolved "https://registry.yarnpkg.com/@vue/ref-transform/-/ref-transform-3.2.24.tgz#335bf06e0b25be16e7056cc4117c51a79f0c9122" - integrity sha512-j6oNbsGLvea2rF8GQB9w6q7UFL1So7J+t6ducaMeWPSyjYZ+slWpwPVK6mmyghg5oGqC41R+HC5BV036Y0KhXQ== - dependencies: - "@babel/parser" "^7.15.0" - "@vue/compiler-core" "3.2.24" - "@vue/shared" "3.2.24" - estree-walker "^2.0.2" - magic-string "^0.25.7" - -"@vue/shared@3.2.24": - version "3.2.24" - resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.24.tgz#d74615e856013b17fb60b19b09d712729ad5e090" - integrity sha512-BUgRiZCkCrqDps5aQ9av05xcge3rn092ztKIh17tHkeEFgP4zfXMQWBA2zfdoCdCEdBL26xtOv+FZYiOp9RUDA== - -"@vue/shared@3.3.4", "@vue/shared@^3.2.23": - version "3.3.4" - resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.3.4.tgz#06e83c5027f464eef861c329be81454bc8b70780" - integrity sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ== - "@whatwg-node/events@^0.0.2": version "0.0.2" resolved "https://registry.yarnpkg.com/@whatwg-node/events/-/events-0.0.2.tgz#7b7107268d2982fc7b7aff5ee6803c64018f84dd" @@ -2657,11 +2593,6 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== -at-least-node@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" - integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== - auto-bind@~4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/auto-bind/-/auto-bind-4.0.0.tgz#e3589fc6c2da8f7ca43ba9f84fa52a744fc997fb" @@ -3432,11 +3363,6 @@ define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0: has-property-descriptors "^1.0.0" object-keys "^1.1.1" -defu@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/defu/-/defu-5.0.1.tgz#a034278f9b032bf0845d261aa75e9ad98da878ac" - integrity sha512-EPS1carKg+dkEVy3qNTqIdp2qV7mUP08nIsupfwQpz++slCVRw7qbQyWvSTig+kFPwz2XXp5/kIIkH+CwrJKkQ== - delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -3508,43 +3434,6 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" -dom-serializer@^1.0.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" - integrity sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag== - dependencies: - domelementtype "^2.0.1" - domhandler "^4.2.0" - entities "^2.0.0" - -domelementtype@^2.0.1, domelementtype@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" - integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== - -domhandler@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-3.3.0.tgz#6db7ea46e4617eb15cf875df68b2b8524ce0037a" - integrity sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA== - dependencies: - domelementtype "^2.0.1" - -domhandler@^4.2.0: - version "4.3.1" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.3.1.tgz#8d792033416f59d68bc03a5aa7b018c1ca89279c" - integrity sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ== - dependencies: - domelementtype "^2.2.0" - -domutils@^2.4.2: - version "2.8.0" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-2.8.0.tgz#4437def5db6e2d1f5d6ee859bd95ca7d02048135" - integrity sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A== - dependencies: - dom-serializer "^1.0.1" - domelementtype "^2.2.0" - domhandler "^4.2.0" - dot-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" @@ -3610,11 +3499,6 @@ enquirer@^2.3.0: dependencies: ansi-colors "^4.1.1" -entities@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" - integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== - error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" @@ -4356,16 +4240,6 @@ fs-extra@^8.1.0: jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@^9.1.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" - integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== - dependencies: - at-least-node "^1.0.0" - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -4686,16 +4560,6 @@ html-escaper@^2.0.0: resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== -htmlparser2@5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-5.0.1.tgz#7daa6fc3e35d6107ac95a4fc08781f091664f6e7" - integrity sha512-vKZZra6CSe9qsJzh0BjBGXo8dvzNsq/oGvsjfRdOrrryfeD9UOBEEQdeoqCRmKZchF5h2zOBMQ6YuQ0uRUmdbQ== - dependencies: - domelementtype "^2.0.1" - domhandler "^3.3.0" - domutils "^2.4.2" - entities "^2.0.0" - http-errors@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" @@ -7157,11 +7021,6 @@ snake-case@^3.0.4: dot-case "^3.0.4" tslib "^2.0.3" -source-map-js@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" - integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== - source-map-support@0.5.13: version "0.5.13" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" @@ -7238,6 +7097,11 @@ statuses@2.0.1, statuses@^2.0.0: resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== +stoppable@^1.1.0: + version "1.1.0" + resolved "https://registrynpm.storefrontcloud.io/stoppable/-/stoppable-1.1.0.tgz#32da568e83ea488b08e4d7ea2c3bcc9d75015d5b" + integrity sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw== + stream-transform@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/stream-transform/-/stream-transform-2.1.3.tgz#a1c3ecd72ddbf500aa8d342b0b9df38f5aa598e3" @@ -7713,11 +7577,6 @@ ua-parser-js@^1.0.35: resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-1.0.35.tgz#c4ef44343bc3db0a3cbefdf21822f1b1fc1ab011" integrity sha512-fKnGuqmTBnIE+/KXSzCn4db8RTigUzw1AN0DmdU6hJovUTbYJKyqj+8Mt1c4VfRDnOVJnENmfYkIPZ946UrSAA== -ufo@^0.7.9: - version "0.7.11" - resolved "https://registry.yarnpkg.com/ufo/-/ufo-0.7.11.tgz#17defad497981290383c5d26357773431fdbadcb" - integrity sha512-IT3q0lPvtkqQ8toHQN/BkOi4VIqoqheqM1FnkNWT9y0G8B3xJhwnoKBu5OHx8zHDOvveQzfKuFowJ0VSARiIDg== - uglify-js@^3.1.4: version "3.17.4" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" @@ -7760,38 +7619,6 @@ unpipe@1.0.0, unpipe@~1.0.0: resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== -unplugin-vue2-script-setup@^0.7.3: - version "0.7.3" - resolved "https://registry.yarnpkg.com/unplugin-vue2-script-setup/-/unplugin-vue2-script-setup-0.7.3.tgz#edf63f7f183d8f50d2991d12f120f78faeb78a5a" - integrity sha512-3C32JkCS7BsNsgUkVnCEIJynHy+N/xwqiaUiMkeTm3Rk+HfHMhEPQ5Gysg3tejWY7KJyk8CohUKswTChurI1ng== - dependencies: - "@antfu/utils" "^0.3.0" - "@babel/core" "^7.16.0" - "@babel/generator" "^7.16.0" - "@babel/parser" "^7.16.3" - "@babel/traverse" "^7.16.3" - "@babel/types" "^7.16.0" - "@rollup/pluginutils" "^4.1.1" - "@vue/compiler-core" "^3.2.23" - "@vue/ref-transform" "^3.2.23" - "@vue/shared" "^3.2.23" - defu "^5.0.0" - htmlparser2 "5.0.1" - magic-string "^0.25.7" - unplugin "^0.2.21" - -unplugin@^0.2.21: - version "0.2.21" - resolved "https://registry.yarnpkg.com/unplugin/-/unplugin-0.2.21.tgz#7852cddd9f78f0b32881812fd2efd5a39dcc64e5" - integrity sha512-IJ15/L5XbhnV7J09Zjk0FT5HEkBjkXucWAXQWRsmEtUxmmxwh23yavrmDbCF6ZPxWiVB28+wnKIHePTRRpQPbQ== - dependencies: - webpack-virtual-modules "^0.4.3" - -upath@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" - integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== - update-browserslist-db@^1.0.11: version "1.0.11" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" @@ -7915,11 +7742,6 @@ webidl-conversions@^3.0.0: resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== -webpack-virtual-modules@^0.4.3: - version "0.4.6" - resolved "https://registry.yarnpkg.com/webpack-virtual-modules/-/webpack-virtual-modules-0.4.6.tgz#3e4008230731f1db078d9cb6f68baf8571182b45" - integrity sha512-5tyDlKLqPfMqjT3Q9TAqf2YqjwmnUleZwzJi1A5qXnlBCdj2AtOJ6wAWdglTIDOPgOiOrXeBeFcsQ8+aGQ6QbA== - whatwg-fetch@^3.4.1: version "3.6.2" resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz#dced24f37f2624ed0281725d51d0e2e3fe677f8c" From a8ed2ba2e5b8f197ce431bb6cffce25a12a3e9a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 13:27:16 +0200 Subject: [PATCH 2/5] ci: release (rc) (#1550) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 5 ++++- .../changelogs/vue-storefront-magento-api.md | 10 ++++++++++ packages/api-client/CHANGELOG.md | 10 ++++++++++ packages/api-client/package.json | 2 +- packages/sdk/package.json | 2 +- 5 files changed, 26 insertions(+), 3 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 9dea25f55..64cc884af 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -8,5 +8,8 @@ "method-bootstrapper": "1.1.0", "@vue-storefront/magento-sdk": "3.0.1" }, - "changesets": [] + "changesets": [ + "few-baboons-chew", + "tasty-books-melt" + ] } diff --git a/docs/content/6.reference/changelogs/vue-storefront-magento-api.md b/docs/content/6.reference/changelogs/vue-storefront-magento-api.md index ecfddb440..e9f0c28e1 100644 --- a/docs/content/6.reference/changelogs/vue-storefront-magento-api.md +++ b/docs/content/6.reference/changelogs/vue-storefront-magento-api.md @@ -1,5 +1,15 @@ # @vue-storefront/magento-api +## 6.0.0-rc.0 + +### Major Changes + +- 5c9607c8: update middleware to 5.1.0-rc + +### Patch Changes + +- 158a648f: Remove unused vulnerable dependency "@nuxtjs/composition-api" + ## 5.0.0 ### Major Changes diff --git a/packages/api-client/CHANGELOG.md b/packages/api-client/CHANGELOG.md index ecfddb440..e9f0c28e1 100644 --- a/packages/api-client/CHANGELOG.md +++ b/packages/api-client/CHANGELOG.md @@ -1,5 +1,15 @@ # @vue-storefront/magento-api +## 6.0.0-rc.0 + +### Major Changes + +- 5c9607c8: update middleware to 5.1.0-rc + +### Patch Changes + +- 158a648f: Remove unused vulnerable dependency "@nuxtjs/composition-api" + ## 5.0.0 ### Major Changes diff --git a/packages/api-client/package.json b/packages/api-client/package.json index f7428dca9..d58786334 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -1,6 +1,6 @@ { "name": "@vue-storefront/magento-api", - "version": "5.0.0", + "version": "6.0.0-rc.0", "sideEffects": false, "homepage": "https://github.com/vuestorefront/magento2", "bugs": { diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 0cab69a02..11b4ab80a 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "@types/node": "^12.12.14", - "@vue-storefront/magento-api": "^5.0.0", + "@vue-storefront/magento-api": "^6.0.0-rc.0", "@vue-storefront/middleware": "^5.0.0-rc", "nock": "^13.2.9" }, From 3de1337cdaf474eda00507914fc58e45f2ac0648 Mon Sep 17 00:00:00 2001 From: Bartosz Herba Date: Thu, 17 Oct 2024 09:02:26 +0200 Subject: [PATCH 3/5] chore: fix the middleware version --- .changeset/olive-terms-stare.md | 6 ++++++ packages/api-client/package.json | 2 +- packages/sdk/package.json | 6 +++--- yarn.lock | 30 ++++++++++++++++++++++++++++++ 4 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 .changeset/olive-terms-stare.md diff --git a/.changeset/olive-terms-stare.md b/.changeset/olive-terms-stare.md new file mode 100644 index 000000000..5cb9a0e82 --- /dev/null +++ b/.changeset/olive-terms-stare.md @@ -0,0 +1,6 @@ +--- +"@vue-storefront/magento-api": major +"@vue-storefront/magento-sdk": major +--- + +update middleware diff --git a/packages/api-client/package.json b/packages/api-client/package.json index d58786334..68ef4b3e4 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -24,7 +24,7 @@ "dependencies": { "@apollo/client": "3.8.7", "@vue-storefront/magento-types": "2.0.0", - "@vue-storefront/middleware": "^5.0.0-rc", + "@vue-storefront/middleware": "^5.1.0-rc", "agentkeepalive": "^4.2.1", "consola": "^3.1.0", "dotenv": "^16.0.1", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 11b4ab80a..d7799f0a7 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -27,12 +27,12 @@ }, "devDependencies": { "@types/node": "^12.12.14", - "@vue-storefront/magento-api": "^6.0.0-rc.0", - "@vue-storefront/middleware": "^5.0.0-rc", + "@vue-storefront/magento-api": "^5.0.0", + "@vue-storefront/middleware": "^5.1.0-rc", "nock": "^13.2.9" }, "peerDependencies": { - "@vue-storefront/middleware": "^5.0.0-rc" + "@vue-storefront/middleware": "^5.1.0-rc" }, "publishConfig": { "access": "public", diff --git a/yarn.lock b/yarn.lock index 0417ee99d..a317826ac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2229,6 +2229,14 @@ ts-jest "^29.1.0" ts-node "^10.9.1" +"@vue-storefront/logger@1.0.0-rc.3": + version "1.0.0-rc.3" + resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/logger/-/logger-1.0.0-rc.3.tgz#2e9c212a4ecd32a6adf890ed10ad87424af02d1e" + integrity sha512-NZfMtkVpTjH1dbHVFrJNTQvzRHnMeISDWJE6gD//Couktoo0lvoIKtedLEuKrpnMQ0MMWuOrQ3XchsRquwmesQ== + dependencies: + consola "^3" + dotenv "^16" + "@vue-storefront/middleware@^5.0.0-rc": version "5.0.0" resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/middleware/-/middleware-5.0.0.tgz#14cf56baf330c336949dab40862fcc6cca13aadf" @@ -2241,6 +2249,18 @@ express "^4.18.1" helmet "^5.1.1" +"@vue-storefront/middleware@^5.1.0-rc": + version "5.1.0-rc.0" + resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/middleware/-/middleware-5.1.0-rc.0.tgz#cc70ddd63561581556d69f92d0d8dc0e087ea10a" + integrity sha512-QV67JisZWEasf0KiKlgI/YQM7DVOIvYONUeM8KqObueWKP7JhsIPKAiWMGC9ZmRSCRIEiQHl16Lp5O/gFmhVSw== + dependencies: + "@godaddy/terminus" "^4.12.1" + "@vue-storefront/logger" "1.0.0-rc.3" + cookie-parser "^1.4.6" + cors "^2.8.5" + express "^4.18.1" + helmet "^5.1.1" + "@vue-storefront/rollup-config@^0.0.7": version "0.0.7" resolved "https://registry.yarnpkg.com/@vue-storefront/rollup-config/-/rollup-config-0.0.7.tgz#9cf6b7d8b4645191873908dcc1f87f625fa490e4" @@ -3131,6 +3151,11 @@ consola@^2.15.3: resolved "https://registry.yarnpkg.com/consola/-/consola-2.15.3.tgz#2e11f98d6a4be71ff72e0bdf07bd23e12cb61550" integrity sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw== +consola@^3: + version "3.2.3" + resolved "https://registrynpm.storefrontcloud.io/consola/-/consola-3.2.3.tgz#0741857aa88cfa0d6fd53f1cff0375136e98502f" + integrity sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ== + consola@^3.1.0: version "3.2.2" resolved "https://registry.yarnpkg.com/consola/-/consola-3.2.2.tgz#be9b295e1e556355a09ac475b4394016144e0c32" @@ -3442,6 +3467,11 @@ dot-case@^3.0.4: no-case "^3.0.4" tslib "^2.0.3" +dotenv@^16: + version "16.4.5" + resolved "https://registrynpm.storefrontcloud.io/dotenv/-/dotenv-16.4.5.tgz#cdd3b3b604cb327e286b4762e13502f717cb099f" + integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg== + dotenv@^16.0.0, dotenv@^16.0.1: version "16.3.1" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e" From 00bfd5c551361bac387b4f8662ee6c21cdce7c42 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 09:12:58 +0200 Subject: [PATCH 4/5] ci: release (rc) (#1551) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 1 + .../changelogs/vue-storefront-magento-api.md | 6 ++++++ .../changelogs/vue-storefront-magento-sdk.md | 6 ++++++ packages/api-client/CHANGELOG.md | 6 ++++++ packages/api-client/package.json | 2 +- packages/sdk/CHANGELOG.md | 6 ++++++ packages/sdk/package.json | 4 ++-- yarn.lock | 17 ----------------- 8 files changed, 28 insertions(+), 20 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 64cc884af..aff93caf9 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -10,6 +10,7 @@ }, "changesets": [ "few-baboons-chew", + "olive-terms-stare", "tasty-books-melt" ] } diff --git a/docs/content/6.reference/changelogs/vue-storefront-magento-api.md b/docs/content/6.reference/changelogs/vue-storefront-magento-api.md index e9f0c28e1..27023e037 100644 --- a/docs/content/6.reference/changelogs/vue-storefront-magento-api.md +++ b/docs/content/6.reference/changelogs/vue-storefront-magento-api.md @@ -1,5 +1,11 @@ # @vue-storefront/magento-api +## 6.0.0-rc.1 + +### Major Changes + +- 3de1337c: update middleware + ## 6.0.0-rc.0 ### Major Changes diff --git a/docs/content/6.reference/changelogs/vue-storefront-magento-sdk.md b/docs/content/6.reference/changelogs/vue-storefront-magento-sdk.md index f438f28fe..a96f5efdb 100644 --- a/docs/content/6.reference/changelogs/vue-storefront-magento-sdk.md +++ b/docs/content/6.reference/changelogs/vue-storefront-magento-sdk.md @@ -1,5 +1,11 @@ # @vue-storefront/magento-sdk +## 4.0.0-rc.0 + +### Major Changes + +- 3de1337c: update middleware + ## 3.0.1 ### Patch Changes diff --git a/packages/api-client/CHANGELOG.md b/packages/api-client/CHANGELOG.md index e9f0c28e1..27023e037 100644 --- a/packages/api-client/CHANGELOG.md +++ b/packages/api-client/CHANGELOG.md @@ -1,5 +1,11 @@ # @vue-storefront/magento-api +## 6.0.0-rc.1 + +### Major Changes + +- 3de1337c: update middleware + ## 6.0.0-rc.0 ### Major Changes diff --git a/packages/api-client/package.json b/packages/api-client/package.json index 68ef4b3e4..aa84d2c81 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -1,6 +1,6 @@ { "name": "@vue-storefront/magento-api", - "version": "6.0.0-rc.0", + "version": "6.0.0-rc.1", "sideEffects": false, "homepage": "https://github.com/vuestorefront/magento2", "bugs": { diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index f438f28fe..a96f5efdb 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,11 @@ # @vue-storefront/magento-sdk +## 4.0.0-rc.0 + +### Major Changes + +- 3de1337c: update middleware + ## 3.0.1 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index d7799f0a7..ea48248be 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@vue-storefront/magento-sdk", - "version": "3.0.1", + "version": "4.0.0-rc.0", "main": "lib/index.cjs.js", "module": "lib/index.es.js", "types": "lib/index.d.ts", @@ -27,7 +27,7 @@ }, "devDependencies": { "@types/node": "^12.12.14", - "@vue-storefront/magento-api": "^5.0.0", + "@vue-storefront/magento-api": "^6.0.0-rc.1", "@vue-storefront/middleware": "^5.1.0-rc", "nock": "^13.2.9" }, diff --git a/yarn.lock b/yarn.lock index a317826ac..dcab6c9c8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2237,18 +2237,6 @@ consola "^3" dotenv "^16" -"@vue-storefront/middleware@^5.0.0-rc": - version "5.0.0" - resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/middleware/-/middleware-5.0.0.tgz#14cf56baf330c336949dab40862fcc6cca13aadf" - integrity sha512-G2UVGXz4YJPCMa4pPCYsz+h2X6Q0XDfTh6rCgr3igHjCC6+utjis9oC223RnSIDKzOYhODZehruUaN9TQlQEdg== - dependencies: - "@godaddy/terminus" "^4.12.1" - consola "^2.15.3" - cookie-parser "^1.4.6" - cors "^2.8.5" - express "^4.18.1" - helmet "^5.1.1" - "@vue-storefront/middleware@^5.1.0-rc": version "5.1.0-rc.0" resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/middleware/-/middleware-5.1.0-rc.0.tgz#cc70ddd63561581556d69f92d0d8dc0e087ea10a" @@ -3146,11 +3134,6 @@ confusing-browser-globals@^1.0.10: resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz#ae40e9b57cdd3915408a2805ebd3a5585608dc81" integrity sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA== -consola@^2.15.3: - version "2.15.3" - resolved "https://registry.yarnpkg.com/consola/-/consola-2.15.3.tgz#2e11f98d6a4be71ff72e0bdf07bd23e12cb61550" - integrity sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw== - consola@^3: version "3.2.3" resolved "https://registrynpm.storefrontcloud.io/consola/-/consola-3.2.3.tgz#0741857aa88cfa0d6fd53f1cff0375136e98502f" From 9f5ddca8d2fdcfc72302f1388fd6dab3c53a2e04 Mon Sep 17 00:00:00 2001 From: Bartosz Herba Date: Fri, 8 Nov 2024 09:44:39 +0100 Subject: [PATCH 5/5] chore: update middleware to 5.1.0 --- .changeset/few-baboons-chew.md | 5 ----- .changeset/olive-terms-stare.md | 2 +- .changeset/pre.json | 8 ++----- .changeset/tasty-books-melt.md | 5 ----- packages/api-client/CHANGELOG.md | 2 +- packages/api-client/package.json | 2 +- packages/sdk/package.json | 4 ++-- yarn.lock | 38 ++++++++++++++++++++++++-------- 8 files changed, 36 insertions(+), 30 deletions(-) delete mode 100644 .changeset/few-baboons-chew.md delete mode 100644 .changeset/tasty-books-melt.md diff --git a/.changeset/few-baboons-chew.md b/.changeset/few-baboons-chew.md deleted file mode 100644 index 3cc4693dd..000000000 --- a/.changeset/few-baboons-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@vue-storefront/magento-api": patch ---- - -Remove unused vulnerable dependency "@nuxtjs/composition-api" diff --git a/.changeset/olive-terms-stare.md b/.changeset/olive-terms-stare.md index 5cb9a0e82..b46ec29e1 100644 --- a/.changeset/olive-terms-stare.md +++ b/.changeset/olive-terms-stare.md @@ -3,4 +3,4 @@ "@vue-storefront/magento-sdk": major --- -update middleware +**[CHANGE]** - Update middleware to 5.1.0 diff --git a/.changeset/pre.json b/.changeset/pre.json index aff93caf9..cc0fbd3f8 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -1,5 +1,5 @@ { - "mode": "pre", + "mode": "exit", "tag": "rc", "initialVersions": { "@vue-storefront/magento-api": "5.0.0", @@ -8,9 +8,5 @@ "method-bootstrapper": "1.1.0", "@vue-storefront/magento-sdk": "3.0.1" }, - "changesets": [ - "few-baboons-chew", - "olive-terms-stare", - "tasty-books-melt" - ] + "changesets": ["olive-terms-stare"] } diff --git a/.changeset/tasty-books-melt.md b/.changeset/tasty-books-melt.md deleted file mode 100644 index e6fa5cd15..000000000 --- a/.changeset/tasty-books-melt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@vue-storefront/magento-api": major ---- - -update middleware to 5.1.0-rc diff --git a/packages/api-client/CHANGELOG.md b/packages/api-client/CHANGELOG.md index 27023e037..cb9ca41a1 100644 --- a/packages/api-client/CHANGELOG.md +++ b/packages/api-client/CHANGELOG.md @@ -10,7 +10,7 @@ ### Major Changes -- 5c9607c8: update middleware to 5.1.0-rc +- 5c9607c8: update middleware to 5.1.0 ### Patch Changes diff --git a/packages/api-client/package.json b/packages/api-client/package.json index aa84d2c81..d7f421676 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -24,7 +24,7 @@ "dependencies": { "@apollo/client": "3.8.7", "@vue-storefront/magento-types": "2.0.0", - "@vue-storefront/middleware": "^5.1.0-rc", + "@vue-storefront/middleware": "^5.1.0", "agentkeepalive": "^4.2.1", "consola": "^3.1.0", "dotenv": "^16.0.1", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index ea48248be..b10bd847f 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -28,11 +28,11 @@ "devDependencies": { "@types/node": "^12.12.14", "@vue-storefront/magento-api": "^6.0.0-rc.1", - "@vue-storefront/middleware": "^5.1.0-rc", + "@vue-storefront/middleware": "^5.1.0", "nock": "^13.2.9" }, "peerDependencies": { - "@vue-storefront/middleware": "^5.1.0-rc" + "@vue-storefront/middleware": "^5.1.0" }, "publishConfig": { "access": "public", diff --git a/yarn.lock b/yarn.lock index dcab6c9c8..31d762739 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2229,25 +2229,27 @@ ts-jest "^29.1.0" ts-node "^10.9.1" -"@vue-storefront/logger@1.0.0-rc.3": - version "1.0.0-rc.3" - resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/logger/-/logger-1.0.0-rc.3.tgz#2e9c212a4ecd32a6adf890ed10ad87424af02d1e" - integrity sha512-NZfMtkVpTjH1dbHVFrJNTQvzRHnMeISDWJE6gD//Couktoo0lvoIKtedLEuKrpnMQ0MMWuOrQ3XchsRquwmesQ== +"@vue-storefront/logger@^1.0.0": + version "1.0.0" + resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/logger/-/logger-1.0.0.tgz#6b5120ec01cfb40dd135a57df38092306b99c267" + integrity sha512-BRZLdJGxAsnGdPjS9kpDij96h4bSjbyscoAVwl9IUbHpK5jXPKL9qoqJj+zTvnjwe5IpY15iSgQ+QR14CkofLw== dependencies: consola "^3" dotenv "^16" -"@vue-storefront/middleware@^5.1.0-rc": - version "5.1.0-rc.0" - resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/middleware/-/middleware-5.1.0-rc.0.tgz#cc70ddd63561581556d69f92d0d8dc0e087ea10a" - integrity sha512-QV67JisZWEasf0KiKlgI/YQM7DVOIvYONUeM8KqObueWKP7JhsIPKAiWMGC9ZmRSCRIEiQHl16Lp5O/gFmhVSw== +"@vue-storefront/middleware@^5.1.0": + version "5.1.0" + resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/middleware/-/middleware-5.1.0.tgz#d5d235dced08dd79daa5fff1fdd455830c280aa9" + integrity sha512-G9NknbWTWjV3AwwyzO43ugYaiOQaTCgJXphK4+EZjsC/NETNxFa9twVGTegRYGRBTUJ9OhZ4WhSKOnAcgETFZg== dependencies: "@godaddy/terminus" "^4.12.1" - "@vue-storefront/logger" "1.0.0-rc.3" + "@vue-storefront/logger" "^1.0.0" cookie-parser "^1.4.6" cors "^2.8.5" express "^4.18.1" helmet "^5.1.1" + lodash.merge "^4.6.2" + xss "^1.0.15" "@vue-storefront/rollup-config@^0.0.7": version "0.0.7" @@ -3109,6 +3111,11 @@ commander@^10.0.0: resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== +commander@^2.20.3: + version "2.20.3" + resolved "https://registrynpm.storefrontcloud.io/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + commander@^9.3.0: version "9.5.0" resolved "https://registry.yarnpkg.com/commander/-/commander-9.5.0.tgz#bc08d1eb5cedf7ccb797a96199d41c7bc3e60d30" @@ -3267,6 +3274,11 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" +cssfilter@0.0.10: + version "0.0.10" + resolved "https://registrynpm.storefrontcloud.io/cssfilter/-/cssfilter-0.0.10.tgz#c6d2672632a2e5c83e013e6864a42ce8defd20ae" + integrity sha1-xtJnJjKi5cg+AT5oZKQs6N79IK4= + csv-generate@^3.4.3: version "3.4.3" resolved "https://registry.yarnpkg.com/csv-generate/-/csv-generate-3.4.3.tgz#bc42d943b45aea52afa896874291da4b9108ffff" @@ -7877,6 +7889,14 @@ ws@8.13.0, ws@^8.12.0: resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== +xss@^1.0.15: + version "1.0.15" + resolved "https://registrynpm.storefrontcloud.io/xss/-/xss-1.0.15.tgz#96a0e13886f0661063028b410ed1b18670f4e59a" + integrity sha512-FVdlVVC67WOIPvfOwhoMETV72f6GbW7aOabBC3WxN/oUdoEMDyLz4OgRv5/gck2ZeNqEQu+Tb0kloovXOfpYVg== + dependencies: + commander "^2.20.3" + cssfilter "0.0.10" + y18n@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf"