diff --git a/packages/design-system/package.json b/packages/design-system/package.json index 93cd9d12b56..ac100e896d6 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -105,7 +105,7 @@ "fuse.js": "^7.1.0", "lodash-es": "^4.17.23", "luxon": "^3.7.2", - "vue-inline-svg": "^4.0.1", + "vue-inline-svg": "^5.0.0", "vue-router": "^5.0.4", "vue-select": "4.0.0-beta.6", "vue3-gettext": "4.0.1" diff --git a/packages/web-pkg/package.json b/packages/web-pkg/package.json index 2a84c70bcf9..dc06416acf1 100644 --- a/packages/web-pkg/package.json +++ b/packages/web-pkg/package.json @@ -107,7 +107,7 @@ "qs": "^6.15.0", "uuid": "^14.0.0", "vue-concurrency": "^5.0.3", - "vue-inline-svg": "^4.0.1", + "vue-inline-svg": "^5.0.0", "vue-router": "^5.0.4", "vue3-gettext": "4.0.1", "y-protocols": "^1.0.7", diff --git a/patches/vue-inline-svg@4.0.1.patch b/patches/vue-inline-svg@5.0.0.patch similarity index 82% rename from patches/vue-inline-svg@4.0.1.patch rename to patches/vue-inline-svg@5.0.0.patch index ef9393522bf..f6ec757af9b 100644 --- a/patches/vue-inline-svg@4.0.1.patch +++ b/patches/vue-inline-svg@5.0.0.patch @@ -1,17 +1,17 @@ diff --git a/dist/vue-inline-svg.esm.js b/dist/vue-inline-svg.esm.js -index 23bd9ee3bb2f08c0560ac1f139e3c93f778f48d5..4c7d03d3cef19e5234be19c3c04c2d99b227c43c 100644 +index ca43914..9dd57a9 100644 --- a/dist/vue-inline-svg.esm.js +++ b/dist/vue-inline-svg.esm.js @@ -29,13 +29,12 @@ function O(n) { return Object.keys(n).reduce((o, r) => (n[r] !== !1 && n[r] !== null && n[r] !== void 0 && (o[r] = n[r]), o), {}); } function V(n, o) { -- const { class: r, style: t, ...f } = N(n), { class: v, style: i, ...m } = O(o); +- const { class: r, style: t, ...f } = N(n), { class: v, style: i, ...h } = O(o); - return { - class: [r, v], - style: [t, i], - ...f, -- ...m +- ...h - }; + var svgAttrs = N(n); + var filteredAttrs = O(o); @@ -20,5 +20,5 @@ index 23bd9ee3bb2f08c0560ac1f139e3c93f778f48d5..4c7d03d3cef19e5234be19c3c04c2d99 + result["style"] = [svgAttrs["style"], filteredAttrs["style"]]; + return result; } - const R = /* @__PURE__ */ C({ + const R = /* @__PURE__ */ _({ inheritAttrs: !1, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 757c446f5ac..7f746537b5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -111,7 +111,7 @@ patchedDependencies: '@tiptap/y-tiptap@3.0.10': 142e9b3bcc552bcd98d6274d511a32c02fab4cbe64278644dc3818fc5277061e caf@15.0.1: b09bdde8a1f7e834af8677123b32ceb4f485966fdb476facf5b6c64157c9fc14 vite-plugin-static-copy@4.1.1: b4b816bcbbbd46a52560de210fc39a55df2f65d64cc8b1ac8dcc6e097258ad1c - vue-inline-svg@4.0.1: 29bc386a6e932912ee46485a87911f6ff5409dca9ed70ba0ff32c52d6f56986b + vue-inline-svg@5.0.0: d1c5cde0a0a2a04601217ca3396c2b36dbd41f9e1f93fa5a2ae83ba41a08f0db importers: @@ -268,8 +268,8 @@ importers: specifier: ^3.0.3 || ^4.0.0 version: 4.1.0(@vue/devtools-api@8.2.1)(typescript@6.0.3)(vue@3.5.45(typescript@6.0.3)) vue-inline-svg: - specifier: ^4.0.1 - version: 4.0.1(patch_hash=29bc386a6e932912ee46485a87911f6ff5409dca9ed70ba0ff32c52d6f56986b)(vue@3.5.45(typescript@6.0.3)) + specifier: ^5.0.0 + version: 5.0.0(patch_hash=d1c5cde0a0a2a04601217ca3396c2b36dbd41f9e1f93fa5a2ae83ba41a08f0db)(vue@3.5.45(typescript@6.0.3)) vue-router: specifier: ^5.0.4 version: 5.4.0(@vue/compiler-sfc@3.5.45)(pinia@4.1.0(@vue/devtools-api@8.2.1)(typescript@6.0.3)(vue@3.5.45(typescript@6.0.3)))(rolldown@1.2.16)(vite@8.3.6(@types/node@25.9.9)(jiti@2.7.0)(yaml@2.9.1))(vue@3.5.45(typescript@6.0.3)) @@ -1086,8 +1086,8 @@ importers: specifier: ^5.0.3 version: 5.0.3(vue@3.5.45(typescript@6.0.3)) vue-inline-svg: - specifier: ^4.0.1 - version: 4.0.1(patch_hash=29bc386a6e932912ee46485a87911f6ff5409dca9ed70ba0ff32c52d6f56986b)(vue@3.5.45(typescript@6.0.3)) + specifier: ^5.0.0 + version: 5.0.0(patch_hash=d1c5cde0a0a2a04601217ca3396c2b36dbd41f9e1f93fa5a2ae83ba41a08f0db)(vue@3.5.45(typescript@6.0.3)) vue-router: specifier: ^5.0.4 version: 5.4.0(@vue/compiler-sfc@3.5.45)(pinia@4.1.0(@vue/devtools-api@8.2.1)(typescript@6.0.3)(vue@3.5.45(typescript@6.0.3)))(rolldown@1.2.16)(vite@8.3.6(@types/node@25.9.9)(jiti@2.7.0)(yaml@2.9.1))(vue@3.5.45(typescript@6.0.3)) @@ -5135,8 +5135,8 @@ packages: peerDependencies: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 - vue-inline-svg@4.0.1: - resolution: {integrity: sha512-yh92MOcTpL/yXj0MjI9JqQpI33nj5ewdddt6enunU8pBpy6JqrMXF+O4WI1DbckhLIoXzp6hSxkeqXDqpqtKXw==} + vue-inline-svg@5.0.0: + resolution: {integrity: sha512-oP4FmRxpwL3oNsq/17JHLEwkgVyRSmvZeTVnsnT7PSz5TdZeL1eq20/WKl/d66OsViCZAKOoZ6wu8FqP8r80yQ==} peerDependencies: vue: ^3 @@ -9268,7 +9268,7 @@ snapshots: transitivePeerDependencies: - supports-color - vue-inline-svg@4.0.1(patch_hash=29bc386a6e932912ee46485a87911f6ff5409dca9ed70ba0ff32c52d6f56986b)(vue@3.5.45(typescript@6.0.3)): + vue-inline-svg@5.0.0(patch_hash=d1c5cde0a0a2a04601217ca3396c2b36dbd41f9e1f93fa5a2ae83ba41a08f0db)(vue@3.5.45(typescript@6.0.3)): dependencies: vue: 3.5.45(typescript@6.0.3) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index ab039dae5c8..1e958442c9d 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -72,7 +72,7 @@ patchedDependencies: '@tiptap/y-tiptap@3.0.10': patches/@tiptap__y-tiptap@3.0.10.patch caf@15.0.1: patches/caf@15.0.1.patch vite-plugin-static-copy@4.1.1: patches/vite-plugin-static-copy@4.1.1.patch - vue-inline-svg@4.0.1: patches/vue-inline-svg@4.0.1.patch + vue-inline-svg@5.0.0: patches/vue-inline-svg@5.0.0.patch overrides: 'epubjs>@xmldom/xmldom': ^0.9.12