diff --git a/Dockerfile b/Dockerfile index ed7076ac7a..12414f390f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ # Stop : press ctrl + c # or # docker stop mermaid-live-editor -FROM node:16.11.1 as mermaid-live-editor-builder +FROM node:16.12.0 as mermaid-live-editor-builder COPY --chown=node:node . /home WORKDIR /home RUN yarn install diff --git a/package.json b/package.json index a38237e553..0997261e99 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "devDependencies": { "@cypress/snapshot": "^2.1.7", "@sveltejs/adapter-static": "1.0.0-next.21", - "@sveltejs/kit": "1.0.0-next.184", + "@sveltejs/kit": "1.0.0-next.188", "@types/mermaid": "^8.2.7", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", @@ -33,15 +33,15 @@ "eslint-plugin-postcss-modules": "^1.2.1", "eslint-plugin-svelte3": "^3.2.1", "eslint-plugin-tailwindcss": "^1.17.0", - "husky": "^7.0.2", + "husky": "^7.0.4", "lint-staged": "^11.2.3", "mocha": "^9.1.3", "node-html-parser": "^5.0.0", - "postcss": "^8.3.9", + "postcss": "^8.3.11", "postcss-load-config": "^3.1.0", "prettier": "~2.4.1", "prettier-plugin-svelte": "^2.4.0", - "svelte": "^3.43.2", + "svelte": "^3.44.0", "svelte-preprocess": "^4.9.8", "tailwindcss": "^2.2.17", "tslib": "^2.3.1", @@ -51,7 +51,7 @@ "dependencies": { "@analytics/google-analytics": "^0.5.3", "@macfja/svelte-persistent-store": "^1.2.0", - "analytics": "^0.7.15", + "analytics": "^0.7.16", "daisyui": "1.14.3", "js-base64": "^3.7.2", "mermaid": "8.13.3", diff --git a/yarn.lock b/yarn.lock index ec04fc007e..4f6e4033b2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,21 +2,21 @@ # yarn lockfile v1 -"@analytics/cookie-utils@^0.2.6": - version "0.2.6" - resolved "https://registry.npmjs.org/@analytics/cookie-utils/-/cookie-utils-0.2.6.tgz" - integrity sha512-Qf5XNnYsMqxDzCtPebM0Zt5TuKw1cGJiisfM4Gllt3JcNJbKxdzaW669Y547YFjwZI6SnJD+5fGZ6oF7qCjUOg== +"@analytics/cookie-utils@^0.2.7": + version "0.2.7" + resolved "https://registry.yarnpkg.com/@analytics/cookie-utils/-/cookie-utils-0.2.7.tgz#10eec7e54f0adb7e07e1232c349da07bdf6d79c7" + integrity sha512-PgrcemqWDfVgk1itFo8phUsWJlOsTp2088NV89/p1utwbySkS2FcCX4Xz7ZezsBqK7wZdgzHosg6LKyzDkUxrg== dependencies: "@analytics/global-storage-utils" "^0.1.2" -"@analytics/core@^0.10.15": - version "0.10.15" - resolved "https://registry.yarnpkg.com/@analytics/core/-/core-0.10.15.tgz#1900c9679fe0bdca386ea787b74b5ad41194a486" - integrity sha512-ISZcFXMvPVTZlU84ZkAM7z80hwdf3r5xLH5809qiQwn55SVEesxfMdwvxJ8CnPLFpymDywNDj1y8KmyJJ7ugsg== +"@analytics/core@^0.10.16": + version "0.10.16" + resolved "https://registry.yarnpkg.com/@analytics/core/-/core-0.10.16.tgz#add4545ecb4958bf14ce5156dc5cb1a0939a3b30" + integrity sha512-DrdkD5o1h2cb+GcKV7o/KmoUl2T2+MBGUghIs68GQGHvi+Rgvmuvm9vLGQ9F4ANCdQX0HHZNcw/ZbVHBOvAbbg== dependencies: "@analytics/global-storage-utils" "^0.1.2" - "@analytics/type-utils" "^0.3.1" - analytics-utils "^1.0.3" + "@analytics/type-utils" "^0.4.0" + analytics-utils "^1.0.4" "@analytics/global-storage-utils@^0.1.2": version "0.1.2" @@ -37,20 +37,20 @@ dependencies: "@analytics/global-storage-utils" "^0.1.2" -"@analytics/storage-utils@^0.2.12": - version "0.2.12" - resolved "https://registry.npmjs.org/@analytics/storage-utils/-/storage-utils-0.2.12.tgz" - integrity sha512-cuQuV5sgk1vuIwFUFJ5VJv0EsDL84SS4enuCyY9JEcE24wJeC6iUEy6O7OJvVssYpGJsW+i1XSgwCDJTPgkZgg== +"@analytics/storage-utils@^0.2.13": + version "0.2.13" + resolved "https://registry.yarnpkg.com/@analytics/storage-utils/-/storage-utils-0.2.13.tgz#b97349219a5e9d84aed6d6f6d320217f32804f60" + integrity sha512-chAYaby6JS3V07klue60ZWGL6Z0HO6qRWF0aRbXWPrA6O10MiCG+3NmvMgmuxAKKfm69WN/LcvaklVu2hxhn1w== dependencies: - "@analytics/cookie-utils" "^0.2.6" + "@analytics/cookie-utils" "^0.2.7" "@analytics/global-storage-utils" "^0.1.2" "@analytics/localstorage-utils" "^0.1.5" - "@analytics/type-utils" "^0.3.1" + "@analytics/type-utils" "^0.4.0" -"@analytics/type-utils@^0.3.1": - version "0.3.1" - resolved "https://registry.npmjs.org/@analytics/type-utils/-/type-utils-0.3.1.tgz" - integrity sha512-9Ej6c9ulj5DNE29eFk3s49/1b89M8mbQ7BoJEQAQg/k86HOVrAEWQUScr359WVSOyGNBsSYE1qILC3XFTTtgtw== +"@analytics/type-utils@^0.4.0": + version "0.4.0" + resolved "https://registry.yarnpkg.com/@analytics/type-utils/-/type-utils-0.4.0.tgz#8b88d7034969d9fc01f80d420510c98be058586f" + integrity sha512-DJliPefVYCjAH1S77BYDo+9Nw4/ak8cZRLbBtOouHbNJqKjntdEEohBkRQqM128kQXQ5S7C+LF5n4hSKQHtpLw== "@babel/code-frame@7.12.11": version "7.12.11" @@ -203,20 +203,20 @@ resolved "https://registry.yarnpkg.com/@sveltejs/adapter-static/-/adapter-static-1.0.0-next.21.tgz#b2819478e1cc7344491e6ebb6d2a49cef5f92fc9" integrity sha512-B4+QoUVAaANKx+mHntG8SqF45zbj3Ct4Akg/cGauo6COyfKZRhO5OsMa+wPuT2TKJBZC4eEDK0p+p9nyQBkxKQ== -"@sveltejs/kit@1.0.0-next.184": - version "1.0.0-next.184" - resolved "https://registry.yarnpkg.com/@sveltejs/kit/-/kit-1.0.0-next.184.tgz#4179098aa64c166ea7efad74144ade77e4876a5d" - integrity sha512-bQNka3td/OMmnbDEzUTmb3czPgt/y93WOyYiT14ORq/qPewoMhEtgPikfboejdZMTJESSq06s43YXmF2MzqSSA== +"@sveltejs/kit@1.0.0-next.188": + version "1.0.0-next.188" + resolved "https://registry.yarnpkg.com/@sveltejs/kit/-/kit-1.0.0-next.188.tgz#815ff05d17717f82e25963d1fd5a7bcc7f9f103f" + integrity sha512-eDssOlwcAmkUR3SGh3PK4LHBfV3mMY9vhsMohMUPV7oJO3fydOgvDykqzxK9wc1NgNB/TIBCm+1sps2vetePHw== dependencies: - "@sveltejs/vite-plugin-svelte" "^1.0.0-next.27" + "@sveltejs/vite-plugin-svelte" "^1.0.0-next.30" cheap-watch "^1.0.4" sade "^1.7.4" - vite "^2.6.7" + vite "^2.6.10" -"@sveltejs/vite-plugin-svelte@^1.0.0-next.27": - version "1.0.0-next.28" - resolved "https://registry.yarnpkg.com/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.0-next.28.tgz#6efa80d5dc45b80b5022af507a93f292c2a7fcae" - integrity sha512-NZlOSfogZHQFLp8Vp59tIc0grmmJeTyyxJt0o9uomeQC0hZJsA7jp8rRW7EMH7TRvo+tv1MtB9BU84lStv7xYw== +"@sveltejs/vite-plugin-svelte@^1.0.0-next.30": + version "1.0.0-next.30" + resolved "https://registry.yarnpkg.com/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.0.0-next.30.tgz#a6cd181bb406d590c1fa8d480c55950d567689f9" + integrity sha512-YQqdMxjL1VgSFk4/+IY3yLwuRRapPafPiZTiaGEq1psbJYSNYUWx9F1zMm32GMsnogg3zn99mGJOqe3ld3HZSg== dependencies: "@rollup/pluginutils" "^4.1.1" debug "^4.3.2" @@ -431,21 +431,21 @@ am-i-a-dependency@1.1.2: resolved "https://registry.npmjs.org/am-i-a-dependency/-/am-i-a-dependency-1.1.2.tgz" integrity sha1-+dNCIwTW9kL4IeTEB1ZQNfYWfx8= -analytics-utils@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/analytics-utils/-/analytics-utils-1.0.3.tgz#fcbf2f03720b6b1be12ea9fa7843e08c57a11ec5" - integrity sha512-zEKtwLa62kdI7+HQ4lsDorBKEI+PIdy1SAaIqLauIZgUISxfkuFLWwabdUkKMdxGPyrDyiuDVbZT9gZFMiicdg== +analytics-utils@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/analytics-utils/-/analytics-utils-1.0.4.tgz#5b76087cb088c4b4a39a04720d2b0f0aa9748eb4" + integrity sha512-n2qMVpLJWXv70EkYymnBLPI4593ZSm23XvTtWfNBj/51opf2O71OX309+p2qTf/pIe+6tqKfZeKWmSLe6O3PQg== dependencies: - "@analytics/type-utils" "^0.3.1" + "@analytics/type-utils" "^0.4.0" dlv "^1.1.3" -analytics@^0.7.15: - version "0.7.15" - resolved "https://registry.yarnpkg.com/analytics/-/analytics-0.7.15.tgz#81a55bbae0a4856a64579f34ef49b942ff0dd0ef" - integrity sha512-4CNgfGUCgjfSTszAf9LsOgfZzkELXvHXJp/qQnK4nuGm7nq2kHh/3jOltsSTaWxzipzna6lT2qP823vAuttong== +analytics@^0.7.16: + version "0.7.16" + resolved "https://registry.yarnpkg.com/analytics/-/analytics-0.7.16.tgz#dcdfb163cbd5b1d6bdc22b3e2e49765d1e943373" + integrity sha512-8zlUfXMM3atnC6GXVqdXIks7iSbQNixEcz4qYbOwRl72n2JMqkF3FJUmPTpqNClHe6pSFJzZHgdAyXRdGtGk3g== dependencies: - "@analytics/core" "^0.10.15" - "@analytics/storage-utils" "^0.2.12" + "@analytics/core" "^0.10.16" + "@analytics/storage-utils" "^0.2.13" ansi-colors@4.1.1, ansi-colors@^4.1.1: version "4.1.1" @@ -2628,10 +2628,10 @@ human-signals@^2.1.0: resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -husky@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.2.tgz#21900da0f30199acca43a46c043c4ad84ae88dff" - integrity sha512-8yKEWNX4z2YsofXAMT7KvA1g8p+GxtB1ffV8XtpAEGuXNAbCV5wdNKH+qTpw8SM9fh4aMPDR+yQuKfgnreyZlg== +husky@^7.0.4: + version "7.0.4" + resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.4.tgz#242048245dc49c8fb1bf0cc7cfb98dd722531535" + integrity sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ== iconv-lite@0.4: version "0.4.24" @@ -3293,10 +3293,10 @@ nanoid@3.1.25: resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.25.tgz#09ca32747c0e543f0e1814b7d3793477f9c8e152" integrity sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q== -nanoid@^3.1.28: - version "3.1.29" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.29.tgz#214fb2d7a33e1a5bef4757b779dfaeb6a4e5aeb4" - integrity sha512-dW2pUSGZ8ZnCFIlBIA31SV8huOGCHb6OwzVCc7A69rb/a+SgPBwfmLvK5TKQ3INPbRkcI8a/Owo0XbiTNH19wg== +nanoid@^3.1.30: + version "3.1.30" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.30.tgz#63f93cc548d2a113dc5dfbc63bfa09e2b9b64362" + integrity sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ== natural-compare@^1.4.0: version "1.4.0" @@ -3520,6 +3520,11 @@ picocolors@^0.2.1: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-0.2.1.tgz#570670f793646851d1ba135996962abad587859f" integrity sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA== +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2, picomatch@^2.2.3: version "2.3.0" resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz" @@ -3837,13 +3842,13 @@ postcss@^7.0.0, postcss@^7.0.14, postcss@^7.0.32, postcss@^7.0.5, postcss@^7.0.6 source-map "^0.6.1" supports-color "^6.1.0" -postcss@^8.1.6, postcss@^8.2.1, postcss@^8.3.0, postcss@^8.3.8, postcss@^8.3.9: - version "8.3.9" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.9.tgz#98754caa06c4ee9eb59cc48bd073bb6bd3437c31" - integrity sha512-f/ZFyAKh9Dnqytx5X62jgjhhzttjZS7hMsohcI7HEI5tjELX/HxCy3EFhsRxyzGvrzFF+82XPvCS8T9TFleVJw== +postcss@^8.1.6, postcss@^8.2.1, postcss@^8.3.0, postcss@^8.3.11, postcss@^8.3.8: + version "8.3.11" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.11.tgz#c3beca7ea811cd5e1c4a3ec6d2e7599ef1f8f858" + integrity sha512-hCmlUAIlUiav8Xdqw3Io4LcpA1DOt7h3LSTAC4G6JGHFFaWzI6qvFt9oilvl8BmkbBRX1IhM90ZAmpk68zccQA== dependencies: - nanoid "^3.1.28" - picocolors "^0.2.1" + nanoid "^3.1.30" + picocolors "^1.0.0" source-map-js "^0.6.2" prelude-ls@^1.2.1: @@ -4431,10 +4436,10 @@ svelte-preprocess@^4.9.8: sorcery "^0.10.0" strip-indent "^3.0.0" -svelte@^3.43.2: - version "3.43.2" - resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.43.2.tgz#217fc6059f52afa281f39200b6253ac1b83812b4" - integrity sha512-Lj+TJfSeod8UGnoG2opysdlCy4MCck/hHQsZwtNPXdYTwLTz+WC37QwewPhZtd+h3dpfps4h9QzFxWGVI4tzQw== +svelte@^3.44.0: + version "3.44.0" + resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.44.0.tgz#e6176cb3ad93846ddb4140e93f43098136b23f3b" + integrity sha512-zWACSJBSncGiDvFfYOMFGNV5zDLOlyhftmO5yOZ0lEtQMptpElaRtl39MWz1+lYCpwUq4F3Q2lTzI9TrTL+eMA== svgo@^2.3.0: version "2.4.0" @@ -4678,10 +4683,10 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" -vite@^2.6.7: - version "2.6.7" - resolved "https://registry.yarnpkg.com/vite/-/vite-2.6.7.tgz#e15c1d8327950720b5d7c4ec3fb36a5a58ccf7cb" - integrity sha512-ewk//jve9k6vlU8PfJmWUHN8k0YYdw4VaKOMvoQ3nT2Pb6k5OSMKQi4jPOzVH/TlUqMsCrq7IJ80xcuDDVyigg== +vite@^2.6.10: + version "2.6.10" + resolved "https://registry.yarnpkg.com/vite/-/vite-2.6.10.tgz#7a4f420c6e2c7d9062c7f9ce4578a817c72b3842" + integrity sha512-XbevwpDJMs3lKiGEj0UQScsOCpwHIjFgfzPnFVkPgnxsF9oPv1uGyckLg58XkXv6LnO46KN9yZqJzINFmAxtUg== dependencies: esbuild "^0.13.2" postcss "^8.3.8"