[feat] experimental canvas screenshot

This commit is contained in:
kwaroran
2023-07-21 00:27:03 +09:00
parent f58aaf6565
commit 0edf8d8045
5 changed files with 80 additions and 6 deletions

7
pnpm-lock.yaml generated
View File

@@ -53,6 +53,9 @@ dependencies:
gpt3-tokenizer:
specifier: ^1.1.5
version: 1.1.5
html-to-image:
specifier: ^1.11.11
version: 1.11.11
isomorphic-dompurify:
specifier: ^1.2.0
version: 1.2.0
@@ -1655,6 +1658,10 @@ packages:
whatwg-encoding: 2.0.0
dev: false
/html-to-image@1.11.11:
resolution: {integrity: sha512-9gux8QhvjRO/erSnDPv28noDZcPZmYE7e1vFsBLKLlRlKDSqNJYebj6Qz1TGd5lsRV+X+xYyjCKjuZdABinWjA==}
dev: false
/http-errors@2.0.0:
resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==}
engines: {node: '>= 0.8'}