diff --git a/.vuestorefrontcloud/docker/middleware/package.json b/.vuestorefrontcloud/docker/middleware/package.json index 8a03a20..500d6f4 100644 --- a/.vuestorefrontcloud/docker/middleware/package.json +++ b/.vuestorefrontcloud/docker/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@vue-storefront/middleware": "2.7.5", - "@vue-storefront/magento-api": "1.1.0", + "@vue-storefront/magento-api": "2.1.1", "@nuxtjs/composition-api": "0.31.0", "cors": "2.8.5", "dotenv": "16.0.3" diff --git a/composables/context.ts b/composables/context.ts index 747cbc3..1d84e75 100644 --- a/composables/context.ts +++ b/composables/context.ts @@ -1,5 +1,6 @@ import type { AxiosInstance } from 'axios'; -import type { Config, MagentoApiMethods } from '@vue-storefront/magento-api'; +import type { Config } from '@vue-storefront/magento-api'; +import type { MagentoApiMethods } from '@vue-storefront/magento-types'; import type { ApiClientMethods, IntegrationContext } from '~/types/core'; export interface VsfContext { diff --git a/modules/catalog/product/composables/useProduct/commands/getProductDetailsCommand.ts b/modules/catalog/product/composables/useProduct/commands/getProductDetailsCommand.ts index 022fcc0..1a8ad59 100644 --- a/modules/catalog/product/composables/useProduct/commands/getProductDetailsCommand.ts +++ b/modules/catalog/product/composables/useProduct/commands/getProductDetailsCommand.ts @@ -2,8 +2,8 @@ import { UseContextReturn } from '~/types/core'; import type { GetProductSearchParams } from '~/modules/catalog/product/types'; export const getProductDetailsCommand = { - execute: async (context: UseContextReturn, searchParams: GetProductSearchParams, customQuery = { productDetail: 'productDetail' }, customHeaders = {}) => { - const { data } = await context.app.$vsf.$magento.api.productDetail(searchParams, customQuery, customHeaders); + execute: async (context: UseContextReturn, searchParams: GetProductSearchParams, customQuery = { productDetails: 'productDetails' }, customHeaders = {}) => { + const { data } = await context.app.$vsf.$magento.api.productDetails(searchParams, customQuery, customHeaders); return data?.products ?? null; }, diff --git a/modules/catalog/product/composables/useRelatedProducts/index.ts b/modules/catalog/product/composables/useRelatedProducts/index.ts index f6ae090..21640bc 100644 --- a/modules/catalog/product/composables/useRelatedProducts/index.ts +++ b/modules/catalog/product/composables/useRelatedProducts/index.ts @@ -31,7 +31,7 @@ export function useRelatedProducts(): UseRelatedProductsInterface { Logger.debug('[Magento] Load related products based on ', { searchParams }); - const { data } = await app.$vsf.$magento.api.relatedProduct( + const { data } = await app.$vsf.$magento.api.relatedProducts( searchParams as GetProductSearchParams, params?.customQuery ?? null, params?.customHeaders, diff --git a/modules/catalog/product/composables/useUpsellProducts/index.ts b/modules/catalog/product/composables/useUpsellProducts/index.ts index 9d67751..b2868f9 100644 --- a/modules/catalog/product/composables/useUpsellProducts/index.ts +++ b/modules/catalog/product/composables/useUpsellProducts/index.ts @@ -36,7 +36,7 @@ export function useUpsellProducts(): UseUpsellProductsInterface { .$vsf .$magento .api - .upsellProduct(searchParams, params?.customQuery ?? null, params?.customHeaders); + .upsellProducts(searchParams, params?.customQuery ?? null, params?.customHeaders); Logger.debug('[Result] Upsell products:', { data }); diff --git a/package.json b/package.json index f461a83..ec00ecb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@vue-storefront/magento-theme", "description": "Magento2 Integration for Vue Storefront 2", - "version": "1.2.0", + "version": "1.3.0", "private": true, "license": "MIT", "homepage": "https://github.com/vuestorefront/magento2", @@ -37,7 +37,7 @@ "@storefront-ui/vue": "0.13.6", "@vue-storefront/cache": "2.7.5", "@vue-storefront/http-cache": "2.7.5", - "@vue-storefront/magento-api": "1.1.0", + "@vue-storefront/magento-api": "2.1.1", "@vue-storefront/middleware": "2.7.5", "@vue-storefront/nuxt": "2.7.5", "@vue-storefront/redis-cache": "^1.0.1", @@ -119,7 +119,8 @@ "typescript": "^4.7.4", "vue-eslint-parser": "^8.2.0", "vue-jest": "^3.0.7", - "webpack": "4.46.0" + "webpack": "4.46.0", + "@vue-storefront/magento-types": "^1.0.0" }, "resolutions": { "vue": "2.6.14", diff --git a/yarn.lock b/yarn.lock index 9eeccf9..82caa9d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -324,6 +324,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.2.tgz#dacafadfc6d7654c3051a66d6fe55b6cb2f2a0b3" integrity sha512-URpaIJQwEkEC2T9Kn+Ai6Xe/02iNaVCuT/PtoRz3GPVJVDpPd7mLo+VddTbhCRU9TXqW5mSrQfXZyi8kDKOVpQ== +"@babel/parser@^7.21.3": + version "7.22.10" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.10.tgz#e37634f9a12a1716136c44624ef54283cabd3f55" + integrity sha512-lNbdGsQb9ekfsnjFGhEiF4hfFqGgfOP3H3d27re3n+CGhNuTSUEQdfWk556sTLNTloczcdM5TYF2LhzmDQKyvQ== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" @@ -2268,6 +2273,20 @@ webpack-node-externals "^3.0.0" webpackbar "^4.0.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" + "@nuxtjs/composition-api@^0.29.3": version "0.29.3" resolved "https://registry.yarnpkg.com/@nuxtjs/composition-api/-/composition-api-0.29.3.tgz#04ea6d4757ed0217fd45250913b70830d55f5b6b" @@ -3185,18 +3204,26 @@ resolved "https://registry.yarnpkg.com/@vue-storefront/http-cache/-/http-cache-2.7.5.tgz#bc8dadeeea6de519f05761f4bdb86d7ae1f491ea" integrity sha512-sfmnYyFnS2KfsNw267IzbphPQafyl01+/aHVl2oiFftahTH+l4WRVTgALzXkp1rsgjLqlVctahkrYA6YQzWOGQ== -"@vue-storefront/magento-api@1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@vue-storefront/magento-api/-/magento-api-1.1.0.tgz#5fa3937732b049b661575ef86684adbacbdde9d4" - integrity sha512-xOfs9K/LKbm6ipuDSssaYww8fMacZA2CoL58cX7lUhMz4shD+XQoenVtTeXbT8ZW+vX44pBkZR5BdPlAln7vLw== +"@vue-storefront/magento-api@2.1.1": + version "2.1.1" + resolved "https://registry.yarnpkg.com/@vue-storefront/magento-api/-/magento-api-2.1.1.tgz#1f47c37db6c7ca83a5534188d00f52263ebec359" + integrity sha512-ueUnMQYejb+kl7/miRu4mU2i7ncOdKO2NVdT/TH6lUk4v9TmCpNbCvz6t80QiTGN814wmIIKypo0W8RbpmgmYA== dependencies: "@apollo/client" "^3.6.9" + "@nuxtjs/composition-api" "0.31.0" + "@vue-storefront/middleware" "3.0.0" agentkeepalive "^4.2.1" + consola "^3.1.0" dotenv "^16.0.1" graphql "^16.3.0" graphql-tag "^2.12.6" isomorphic-fetch "^3.0.0" +"@vue-storefront/magento-types@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@vue-storefront/magento-types/-/magento-types-1.0.1.tgz#198082b1e0385851cb82fb6d1d39a4ac08d38463" + integrity sha512-kCa7VV1GHI+aEeXw7elcKuWwxothn0auhQAJJ3yUr3ZAfrrWzePRHxNbAzB3VU+5ejvRrOY+J5F53tdEOvKVlg== + "@vue-storefront/middleware@2.7.5": version "2.7.5" resolved "https://registry.yarnpkg.com/@vue-storefront/middleware/-/middleware-2.7.5.tgz#b4654a7a08264973347153daa3d11345d35233bb" @@ -3209,6 +3236,18 @@ express "^4.17.1" helmet "^5.0.2" +"@vue-storefront/middleware@3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@vue-storefront/middleware/-/middleware-3.0.0.tgz#35b8294a552ed0d8991fcfdc865c11171a9cc1c3" + integrity sha512-HxL3lxmGfWT9Q+6fKL17xNyENGird314aB2yy2IMgA4MEX5ETqA7HZaV2a0hwgDulVlapFtl0yeCTnVO61YvKw== + dependencies: + consola "^2.15.3" + cookie-parser "^1.4.6" + cors "^2.8.5" + express "^4.18.1" + helmet "^5.1.1" + rimraf "^4.1.2" + "@vue-storefront/nuxt@2.7.5": version "2.7.5" resolved "https://registry.yarnpkg.com/@vue-storefront/nuxt/-/nuxt-2.7.5.tgz#bb79f17aa8cb7233bf460e827362c16dfc0e3cb3" @@ -3320,6 +3359,16 @@ 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/component-compiler-utils@^3.1.0": version "3.3.0" resolved "https://registry.yarnpkg.com/@vue/component-compiler-utils/-/component-compiler-utils-3.3.0.tgz#f9f5fb53464b0c37b2c8d2f3fbfe44df60f61dc9" @@ -3341,6 +3390,11 @@ resolved "https://registry.yarnpkg.com/@vue/composition-api/-/composition-api-1.7.1.tgz#aa6831be5a12817d93e89e247460c310dd7a3a32" integrity sha512-xDWoEtxGXhH9Ku3ROYX/rzhcpt4v31hpPU5zF3UeVC/qxA3dChmqU8zvTUYoKh3j7rzpNsoFOwqsWG7XPMlaFA== +"@vue/composition-api@^1.4.1": + version "1.7.2" + resolved "https://registry.yarnpkg.com/@vue/composition-api/-/composition-api-1.7.2.tgz#0b656f3ec39fefc2cf40aaa8c12426bcfeae1b44" + integrity sha512-M8jm9J/laYrYT02665HkZ5l2fWTK4dcVg3BsDHm/pfz+MjDYwX+9FUaZyGwEyXEDonQYRCo0H7aLgdklcIELjw== + "@vue/devtools-api@^6.4.5": version "6.4.5" resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.4.5.tgz#d54e844c1adbb1e677c81c665ecef1a2b4bb8380" @@ -3362,7 +3416,7 @@ dependencies: "@vue/shared" "3.2.45" -"@vue/ref-transform@^3.2.21": +"@vue/ref-transform@^3.2.21", "@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== @@ -3400,6 +3454,11 @@ resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.45.tgz#a3fffa7489eafff38d984e23d0236e230c818bc2" integrity sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg== +"@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== + "@vue/test-utils@^1.1.0", "@vue/test-utils@^1.3.0": version "1.3.3" resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-1.3.3.tgz#4fbd38587b0ec091dfaa355ac38ce3d888273285" @@ -5667,6 +5726,11 @@ consola@^1.4.5: lodash "^4.17.5" std-env "^1.1.0" +consola@^3.1.0: + version "3.2.3" + resolved "https://registry.yarnpkg.com/consola/-/consola-3.2.3.tgz#0741857aa88cfa0d6fd53f1cff0375136e98502f" + integrity sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ== + console-browserify@^1.1.0: version "1.2.0" resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" @@ -5740,7 +5804,7 @@ convert-source-map@~1.1.0: resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.1.3.tgz#4829c877e9fe49b3161f3bf3673888e204699860" integrity sha512-Y8L5rp6jo+g9VEPgvqNfEopjTR4OTYct8lXlS8iVQdmnjDvbdbzYe9rjtFCB9egC86JoNCU61WRY+ScjkZpnIg== -cookie-parser@^1.4.5: +cookie-parser@^1.4.5, cookie-parser@^1.4.6: version "1.4.6" resolved "https://registry.yarnpkg.com/cookie-parser/-/cookie-parser-1.4.6.tgz#3ac3a7d35a7a03bbc7e365073a26074824214594" integrity sha512-z3IzaNjdwUC2olLIB5/ITd0/setiaFMLYiZJle7xg5Fe9KWAceil7xszYfHHBtDFYLSgJduS2Ty0P1uJdPDJeA== @@ -7546,7 +7610,7 @@ expect@^29.0.0: jest-message-util "^29.3.1" jest-util "^29.3.1" -express@^4.17.1: +express@^4.17.1, express@^4.18.1: version "4.18.2" resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== @@ -8326,6 +8390,16 @@ glob@^8.0.1, glob@^8.0.3: minimatch "^5.0.1" once "^1.3.0" +glob@^9.2.0: + version "9.3.5" + resolved "https://registry.yarnpkg.com/glob/-/glob-9.3.5.tgz#ca2ed8ca452781a3009685607fdf025a899dfe21" + integrity sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q== + dependencies: + fs.realpath "^1.0.0" + minimatch "^8.0.2" + minipass "^4.2.4" + path-scurry "^1.6.1" + global-dirs@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" @@ -8618,7 +8692,7 @@ he@1.2.0, he@^1.1.0, he@^1.2.0: resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== -helmet@^5.0.2: +helmet@^5.0.2, helmet@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/helmet/-/helmet-5.1.1.tgz#609823c5c2e78aea62dd9afc8f544ca409da5e85" integrity sha512-/yX0oVZBggA9cLJh8aw3PPCfedBnbd7J2aowjzsaWwZh7/UFY0nccn/aHAggIgWUFfnykX8GKd3a1pSbrmlcVQ== @@ -11085,6 +11159,11 @@ lru-cache@^7.10.1, lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.14.1.tgz#8da8d2f5f59827edb388e63e459ac23d6d408fea" integrity sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA== +"lru-cache@^9.1.1 || ^10.0.0": + version "10.0.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.0.1.tgz#0a3be479df549cca0e5d693ac402ff19537a6b7a" + integrity sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g== + lru_map@^0.3.3: version "0.3.3" resolved "https://registry.yarnpkg.com/lru_map/-/lru_map-0.3.3.tgz#b5c8351b9464cbd750335a79650a0ec0e56118dd" @@ -11437,6 +11516,13 @@ minimatch@^5.0.1, minimatch@^5.1.0: dependencies: brace-expansion "^2.0.1" +minimatch@^8.0.2: + version "8.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-8.0.4.tgz#847c1b25c014d4e9a7f68aaf63dedd668a626229" + integrity sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA== + dependencies: + brace-expansion "^2.0.1" + minimist-options@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" @@ -11512,6 +11598,16 @@ minipass@^4.0.0: dependencies: yallist "^4.0.0" +minipass@^4.2.4: + version "4.2.8" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.2.8.tgz#f0010f64393ecfc1d1ccb5f582bcaf45f48e1a3a" + integrity sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ== + +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0": + version "7.0.3" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.3.tgz#05ea638da44e475037ed94d1c7efcc76a25e1974" + integrity sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg== + minizlib@^2.1.1, minizlib@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" @@ -12739,6 +12835,14 @@ path-platform@~0.11.15: resolved "https://registry.yarnpkg.com/path-platform/-/path-platform-0.11.15.tgz#e864217f74c36850f0852b78dc7bf7d4a5721bf2" integrity sha512-Y30dB6rab1A/nfEKsZxmr01nUotHX0c/ZiIAsCTatEe1CmS5Pm5He7fZ195bPT7RdquoaL8lLxFCMQi/bS7IJg== +path-scurry@^1.6.1: + version "1.10.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" + integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== + dependencies: + lru-cache "^9.1.1 || ^10.0.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-to-regexp@0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" @@ -14410,6 +14514,13 @@ rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: dependencies: glob "^7.1.3" +rimraf@^4.1.2: + version "4.4.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-4.4.1.tgz#bd33364f67021c5b79e93d7f4fa0568c7c21b755" + integrity sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og== + dependencies: + glob "^9.2.0" + ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" @@ -14971,7 +15082,7 @@ source-list-map@^2.0.0: resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== -"source-map-js@>=0.6.2 <2.0.0": +"source-map-js@>=0.6.2 <2.0.0", 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== @@ -16286,6 +16397,26 @@ unplugin-vue2-script-setup@^0.6.11: magic-string "^0.25.7" unplugin "^0.2.21" +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"