wasm-html-to-image 1.0.3 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +121 -147
- package/dist/cli-options.js +2 -2
- package/dist/cli.js +4 -2
- package/dist/core-orchestrate.js +6 -2
- package/dist/core-resources.d.ts +1 -0
- package/dist/core-resources.js +5 -2
- package/dist/core.d.ts +3 -3
- package/dist/core.js +2 -2
- package/dist/encode-args.js +2 -0
- package/dist/html-to-image-wasm.js +3 -3
- package/dist/html-to-image.wasm +0 -0
- package/dist/input.d.ts +1 -1
- package/dist/input.js +11 -1
- package/dist/tailwind.d.ts +38 -1
- package/dist/tailwind.js +187 -3
- package/dist/web-workers.js +10 -6
- package/dist/workers-parent.js +2 -2
- package/package.json +7 -7
package/dist/workers-parent.js
CHANGED
|
@@ -503,8 +503,8 @@ const EMOJI_URL = "https://cdn.jsdelivr.net/npm/@fontsource/noto-color-emoji/fil
|
|
|
503
503
|
* UA so woff2 is served); fetched at render time, nothing bundled.
|
|
504
504
|
*/
|
|
505
505
|
const DEFAULT_FONT_MAP = {
|
|
506
|
-
"sans-serif": "https://fonts.googleapis.com/css2?family=Noto+Sans+JP",
|
|
507
|
-
serif: "https://fonts.googleapis.com/css2?family=Noto+Serif+JP",
|
|
506
|
+
"sans-serif": "https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900",
|
|
507
|
+
serif: "https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900",
|
|
508
508
|
monospace: "https://fonts.googleapis.com/css2?family=M+PLUS+1+Code",
|
|
509
509
|
cursive: "https://fonts.googleapis.com/css2?family=Yuji+Syuku",
|
|
510
510
|
fantasy: "https://fonts.googleapis.com/css2?family=Reggae+One",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wasm-html-to-image",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "HTML to image converter on a single unified WASM module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/single.js",
|
|
@@ -153,13 +153,13 @@
|
|
|
153
153
|
}
|
|
154
154
|
},
|
|
155
155
|
"devDependencies": {
|
|
156
|
-
"@types/node": "26.
|
|
157
|
-
"@types/react": "^19.
|
|
158
|
-
"@types/react-dom": "^19.
|
|
159
|
-
"rolldown": "^1.2.
|
|
160
|
-
"tsx": "^4.23.
|
|
156
|
+
"@types/node": "26.6.5",
|
|
157
|
+
"@types/react": "^19.3.0",
|
|
158
|
+
"@types/react-dom": "^19.3.0",
|
|
159
|
+
"rolldown": "^1.2.14",
|
|
160
|
+
"tsx": "^4.23.15",
|
|
161
161
|
"typescript": "^7.0.2",
|
|
162
|
-
"vitest": "^5.0.
|
|
162
|
+
"vitest": "^5.0.5"
|
|
163
163
|
},
|
|
164
164
|
"scripts": {
|
|
165
165
|
"build": "tsc -b && node scripts/compress-wasm.mjs && rolldown -c rolldown.config.js",
|