From b96a1625d0576dcf6eacaf6aed68e1c962434642 Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Mon, 9 Oct 2023 09:40:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0html-to-image=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/package-lock.json | 11 +++++++++++ ui/package.json | 1 + 2 files changed, 12 insertions(+) diff --git a/ui/package-lock.json b/ui/package-lock.json index 49a155327..2d3c8c7e6 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -16,6 +16,7 @@ "chartjs-adapter-moment": "^1.0.1", "chartjs-plugin-datalabels": "^2.2.0", "highlight.js": "^11.8.0", + "html-to-image": "^1.11.11", "katex": "^0.16.8", "luxon": "^3.4.0", "moment": "^2.29.4", @@ -2102,6 +2103,11 @@ "node": ">=8" } }, + "node_modules/html-to-image": { + "version": "1.11.11", + "resolved": "https://registry.npmmirror.com/html-to-image/-/html-to-image-1.11.11.tgz", + "integrity": "sha512-9gux8QhvjRO/erSnDPv28noDZcPZmYE7e1vFsBLKLlRlKDSqNJYebj6Qz1TGd5lsRV+X+xYyjCKjuZdABinWjA==" + }, "node_modules/ignore": { "version": "5.2.4", "resolved": "https://registry.npmmirror.com/ignore/-/ignore-5.2.4.tgz", @@ -5096,6 +5102,11 @@ "integrity": "sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==", "dev": true }, + "html-to-image": { + "version": "1.11.11", + "resolved": "https://registry.npmmirror.com/html-to-image/-/html-to-image-1.11.11.tgz", + "integrity": "sha512-9gux8QhvjRO/erSnDPv28noDZcPZmYE7e1vFsBLKLlRlKDSqNJYebj6Qz1TGd5lsRV+X+xYyjCKjuZdABinWjA==" + }, "ignore": { "version": "5.2.4", "resolved": "https://registry.npmmirror.com/ignore/-/ignore-5.2.4.tgz", diff --git a/ui/package.json b/ui/package.json index 119f83447..8791838d2 100644 --- a/ui/package.json +++ b/ui/package.json @@ -18,6 +18,7 @@ "chartjs-adapter-moment": "^1.0.1", "chartjs-plugin-datalabels": "^2.2.0", "highlight.js": "^11.8.0", + "html-to-image": "^1.11.11", "katex": "^0.16.8", "luxon": "^3.4.0", "moment": "^2.29.4",