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.
@@ -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",
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.4.1",
157
- "@types/react": "^19.2.18",
158
- "@types/react-dom": "^19.2.7",
159
- "rolldown": "^1.2.7",
160
- "tsx": "^4.23.13",
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.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",