diff --git a/package.json b/package.json
index be1932e6..28560b26 100644
--- a/package.json
+++ b/package.json
@@ -70,7 +70,7 @@
"@radix-ui/react-radio-group": "^1.1.3",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-tooltip": "^1.0.7",
- "@zenuml/core": "3.22.1",
+ "@zenuml/core": "3.23.27",
"clsx": "^2.0.0",
"code-blast-codemirror": "chinchang/code-blast-codemirror#web-maker",
"codemirror": "^5.65.16",
diff --git a/src/utils.js b/src/utils.js
index 2e66dd34..3b537f80 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -3,8 +3,6 @@ import { trackEvent } from './analytics';
import { computeHtml, computeCss, computeJs } from './computes';
import { JsModes } from './codeModes';
import { deferred } from './deferred';
-import Vue from '!!file-loader!vue/dist/vue.global';
-import Vuex from '!!file-loader!vuex/dist/vuex.global';
import zenuml from '!!file-loader!@zenuml/core/dist/zenuml';
const esprima = require('esprima');
@@ -280,8 +278,6 @@ export function getCompleteHtml(html, css, js, item) {
html +
'\n';
- contents += '';
- contents += '';
contents += '';
if (item.jsMode === JsModes.ES6) {
diff --git a/yarn.lock b/yarn.lock
index ee24bbed..9b62334a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -475,6 +475,11 @@
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.0.tgz#da950e622420bf96ca0d0f2909cdddac3acd8719"
integrity sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==
+"@babel/parser@^7.24.7":
+ version "7.24.7"
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.7.tgz#9a5226f92f0c5c8ead550b750f5608e766c8ce85"
+ integrity sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==
+
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.7":
version "7.16.7"
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.16.7.tgz#4eda6d6c2a0aa79c70fa7b6da67763dfe2141050"
@@ -1549,7 +1554,14 @@
dependencies:
"@floating-ui/utils" "^0.1.3"
-"@floating-ui/dom@^1.0.0", "@floating-ui/dom@^1.2.1":
+"@floating-ui/core@^1.5.3":
+ version "1.6.3"
+ resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.6.3.tgz#5e7bb92843f47fd1d8dcb9b3cc3c243aaed54f95"
+ integrity sha512-1ZpCvYf788/ZXOhRQGFxnYQOVgeU+pi0i+d0Ow34La7qjIXETi6RNswGVKkA6KcDO8/+Ysu2E/CeUmmeEBDvTg==
+ dependencies:
+ "@floating-ui/utils" "^0.2.3"
+
+"@floating-ui/dom@^1.0.0":
version "1.5.3"
resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.5.3.tgz#54e50efcb432c06c23cd33de2b575102005436fa"
integrity sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA==
@@ -1557,6 +1569,14 @@
"@floating-ui/core" "^1.4.2"
"@floating-ui/utils" "^0.1.3"
+"@floating-ui/dom@^1.5.4":
+ version "1.6.6"
+ resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.6.6.tgz#be54c1ab2d19112ad323e63dbeb08185fed0ffd3"
+ integrity sha512-qiTYajAnh3P+38kECeffMSQgbvXty2VB6rS+42iWR4FPIlZjLK84E9qtLnMTLIpPz2znD/TaFqaiavMUrS+Hcw==
+ dependencies:
+ "@floating-ui/core" "^1.0.0"
+ "@floating-ui/utils" "^0.2.3"
+
"@floating-ui/dom@^1.6.1":
version "1.6.3"
resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.6.3.tgz#954e46c1dd3ad48e49db9ada7218b0985cee75ef"
@@ -1582,13 +1602,19 @@
resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.1.tgz#16308cea045f0fc777b6ff20a9f25474dd8293d2"
integrity sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q==
-"@floating-ui/vue@^0.2.0":
- version "0.2.1"
- resolved "https://registry.yarnpkg.com/@floating-ui/vue/-/vue-0.2.1.tgz#a52b66e020897ad0535d0d0d3b09932446fc6231"
- integrity sha512-HE+EIeakID7wI6vUwF0yMpaW48bNaPj8QtnQaRMkaQFhQReVBA4bY6fmJ3J7X+dqVgDbMhyfCG0fBJfdQMdWxQ==
+"@floating-ui/utils@^0.2.3":
+ version "0.2.3"
+ resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.3.tgz#506fcc73f730affd093044cb2956c31ba6431545"
+ integrity sha512-XGndio0l5/Gvd6CLIABvsav9HHezgDFFhDfHk1bvLfr9ni8dojqLSvBbotJEjmIwNHL7vK4QzBJTdBRoB+c1ww==
+
+"@floating-ui/vue@^1.0.3":
+ version "1.0.7"
+ resolved "https://registry.yarnpkg.com/@floating-ui/vue/-/vue-1.0.7.tgz#2678e8536ac3e9bf891d5f4fb5e8b10789cf702b"
+ integrity sha512-tm9aMT9IrMzoZfzPpsoZHP7j7ULZ0p9AzCJV6i2H8sAlKe36tAnwuQLHdm7vE0SnRkHJJXuMB/gNz4gFdHLNrg==
dependencies:
- "@floating-ui/dom" "^1.2.1"
- vue-demi "^0.13.11"
+ "@floating-ui/dom" "^1.0.0"
+ "@floating-ui/utils" "^0.2.3"
+ vue-demi ">=0.13.0"
"@gar/promisify@^1.0.1":
version "1.1.3"
@@ -1674,14 +1700,14 @@
protobufjs "^7.2.4"
yargs "^17.7.2"
-"@headlessui-float/vue@^0.11.3":
- version "0.11.4"
- resolved "https://registry.yarnpkg.com/@headlessui-float/vue/-/vue-0.11.4.tgz#3689dab096f01d97d74e79c0a22445aa9f03ab78"
- integrity sha512-hNGQTT3trknSB78ZI3usvnJACLyEUmacvk5Q8JQizJ8k+8GYLvhKklGIhJVO1E3litEzW6yyjPgfg6aEJ+1p6g==
+"@headlessui-float/vue@^0.14.0":
+ version "0.14.0"
+ resolved "https://registry.yarnpkg.com/@headlessui-float/vue/-/vue-0.14.0.tgz#57e04abaeb00a778b0943844705dbaf2354c1efc"
+ integrity sha512-hx0IkJ7JPcwDeimco6fe0+IknknL1gUYIGu11OCn0JWlOoSAmO6sx2DxPwSEz1Wsq34X6Z8BwCwcPVuphZ1zMg==
dependencies:
- "@floating-ui/core" "^1.0.0"
- "@floating-ui/dom" "^1.0.0"
- "@floating-ui/vue" "^0.2.0"
+ "@floating-ui/core" "^1.5.3"
+ "@floating-ui/dom" "^1.5.4"
+ "@floating-ui/vue" "^1.0.3"
"@headlessui/react@^1.7.18":
version "1.7.18"
@@ -3006,13 +3032,13 @@
integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==
"@vue/compat@^3.2.45":
- version "3.3.4"
- resolved "https://registry.yarnpkg.com/@vue/compat/-/compat-3.3.4.tgz#1e0b81e02eb2eabde796b97b18838c3eca8dcdd1"
- integrity sha512-VwAsPqUqRJVxeLQPUC03Sa5d+T8UG2Qv4VItq74KmNvtQlRXICpa/sqq12BcyBB4Tz1U5paOEZxWCUoXkrZ9QQ==
+ version "3.4.30"
+ resolved "https://registry.yarnpkg.com/@vue/compat/-/compat-3.4.30.tgz#6f348f760b1ce3dd7f357eb30fe18a1417bafde7"
+ integrity sha512-XjeL+8og3nVsBZ3pd9fLX/X6UpSMSqU5F+ot1TixcgYGqXCQn0q7z4X2iHPQXvcUHs3oYnMii/vjI9vsWjBe/w==
dependencies:
- "@babel/parser" "^7.21.3"
+ "@babel/parser" "^7.24.7"
estree-walker "^2.0.2"
- source-map-js "^1.0.2"
+ source-map-js "^1.2.0"
"@vue/compiler-core@3.3.4":
version "3.3.4"
@@ -3264,12 +3290,12 @@
resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d"
integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==
-"@zenuml/core@3.22.1":
- version "3.22.1"
- resolved "https://registry.yarnpkg.com/@zenuml/core/-/core-3.22.1.tgz#77070255a5eac63ddfb57f3e056510b73d25deb0"
- integrity sha512-odNQwBOxaS5zlyGDfG42BtRcgb0E3/b5HkFOZFSOM+Z2DSM/RCUXi6y+/Tr6NGkjmCivpMqMKHP0oWbbzOVA1A==
+"@zenuml/core@3.23.27":
+ version "3.23.27"
+ resolved "https://registry.yarnpkg.com/@zenuml/core/-/core-3.23.27.tgz#671d2a073d04f9a1f547ab11daa01313721b1cb3"
+ integrity sha512-9mJ/bkc6m8Nln/vSldnSrumDoVk4bGZetupUp+MfYALM/Yq/7t6ADKY+3XFMT8YW0/QetRyqyhqSunTSQUMvWw==
dependencies:
- "@headlessui-float/vue" "^0.11.3"
+ "@headlessui-float/vue" "^0.14.0"
"@headlessui/tailwindcss" "^0.2.0"
"@headlessui/vue" "^1.7.16"
"@types/assert" "^1.5.6"
@@ -3278,6 +3304,7 @@
antlr4 "~4.11.0"
color-string "^1.5.5"
dom-to-image-more "^2.13.0"
+ dompurify "^3.1.5"
file-saver "^2.0.5"
highlight.js "^10.7.3"
html-to-image "^1.11.3"
@@ -6473,6 +6500,11 @@ domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.0:
dependencies:
domelementtype "^2.2.0"
+dompurify@^3.1.5:
+ version "3.1.5"
+ resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.1.5.tgz#2c6a113fc728682a0f55684b1388c58ddb79dc38"
+ integrity sha512-lwG+n5h8QNpxtyrJW/gJWckL+1/DQiYMX8f7t8Z2AZTPw1esVrqjI63i7Zc2Gz0aKzLVMYC1V1PL/ky+aY/NgA==
+
domutils@^1.5.1, domutils@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a"
@@ -17374,10 +17406,10 @@ vm2@^3.9.17:
acorn "^8.7.0"
acorn-walk "^8.2.0"
-vue-demi@^0.13.11:
- version "0.13.11"
- resolved "https://registry.yarnpkg.com/vue-demi/-/vue-demi-0.13.11.tgz#7d90369bdae8974d87b1973564ad390182410d99"
- integrity sha512-IR8HoEEGM65YY3ZJYAjMlKygDQn25D5ajNFNoKh9RSDMQtlzCxtfQjdQgv9jjK+m3377SsJXY8ysq8kLCZL25A==
+vue-demi@>=0.13.0:
+ version "0.14.8"
+ resolved "https://registry.yarnpkg.com/vue-demi/-/vue-demi-0.14.8.tgz#00335e9317b45e4a68d3528aaf58e0cec3d5640a"
+ integrity sha512-Uuqnk9YE9SsWeReYqK2alDI5YzciATE0r2SkA6iMAtuXvNTMNACJLJEXNXaEy94ECuBe4Sk6RzRU80kjdbIo1Q==
vue@^3.2.45:
version "3.3.4"