satoru-render 0.0.18 → 0.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "satoru-render",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "High-fidelity HTML/CSS to SVG/PNG/PDF converter running in WebAssembly",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -59,6 +59,10 @@
59
59
  "./tailwind": {
60
60
  "types": "./dist/tailwind.d.ts",
61
61
  "import": "./dist/tailwind.js"
62
+ },
63
+ "./jsdom": {
64
+ "types": "./dist/jsdom.d.ts",
65
+ "import": "./dist/jsdom.js"
62
66
  }
63
67
  },
64
68
  "typesVersions": {
@@ -78,6 +82,9 @@
78
82
  "tailwind": [
79
83
  "./dist/tailwind.d.ts"
80
84
  ],
85
+ "jsdom": [
86
+ "./dist/jsdom.d.ts"
87
+ ],
81
88
  "*": [
82
89
  "./dist/single.d.ts"
83
90
  ]
@@ -112,6 +119,7 @@
112
119
  "cloudflare-workers"
113
120
  ],
114
121
  "devDependencies": {
122
+ "@types/jsdom": "28.0.0",
115
123
  "@types/react": "^19.2.14",
116
124
  "@types/react-dom": "^19.2.3",
117
125
  "rolldown": "1.0.0-rc.9",
@@ -124,12 +132,16 @@
124
132
  "peerDependencies": {
125
133
  "@unocss/core": "^66.6.5",
126
134
  "@unocss/preset-wind4": "^66.6.5",
135
+ "jsdom": "^20.0.0 || ^21.0.0 || ^22.0.0 || ^23.0.0 || ^24.0.0 || ^25.0.0 || ^29.0.0",
127
136
  "preact": "^10.28.0",
128
137
  "preact-render-to-string": "^6.6.0",
129
138
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
130
139
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
131
140
  },
132
141
  "peerDependenciesMeta": {
142
+ "jsdom": {
143
+ "optional": true
144
+ },
133
145
  "react": {
134
146
  "optional": true
135
147
  },