satoru-render 0.0.12 → 0.0.14

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.12",
3
+ "version": "0.0.14",
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",
@@ -46,12 +46,20 @@
46
46
  "types": "./dist/single.d.ts",
47
47
  "import": "./dist/single.js"
48
48
  },
49
+ "./satoru.js": "./dist/satoru.js",
50
+ "./satoru.wasm": "./dist/satoru.wasm",
49
51
  "./react": {
50
52
  "types": "./dist/react.d.ts",
51
53
  "import": "./dist/react.js"
52
54
  },
53
- "./satoru.js": "./dist/satoru.js",
54
- "./satoru.wasm": "./dist/satoru.wasm"
55
+ "./preact": {
56
+ "types": "./dist/preact.d.ts",
57
+ "import": "./dist/preact.js"
58
+ },
59
+ "./tailwind": {
60
+ "types": "./dist/tailwind.d.ts",
61
+ "import": "./dist/tailwind.js"
62
+ }
55
63
  },
56
64
  "typesVersions": {
57
65
  "*": {
@@ -64,6 +72,12 @@
64
72
  "react": [
65
73
  "./dist/react.d.ts"
66
74
  ],
75
+ "preact": [
76
+ "./dist/preact.d.ts"
77
+ ],
78
+ "tailwind": [
79
+ "./dist/tailwind.d.ts"
80
+ ],
67
81
  "*": [
68
82
  "./dist/single.d.ts"
69
83
  ]
@@ -100,7 +114,7 @@
100
114
  "devDependencies": {
101
115
  "@types/react": "^19.2.14",
102
116
  "@types/react-dom": "^19.2.3",
103
- "rolldown": "1.0.0-rc.6",
117
+ "rolldown": "1.0.0-rc.7",
104
118
  "typescript": "^5.9.3",
105
119
  "vitest": "^4.0.18"
106
120
  },
@@ -108,6 +122,10 @@
108
122
  "worker-lib": "2.2.0"
109
123
  },
110
124
  "peerDependencies": {
125
+ "@unocss/core": "^66.6.5",
126
+ "@unocss/preset-wind4": "^66.6.5",
127
+ "preact": "^10.28.0",
128
+ "preact-render-to-string": "^6.6.0",
111
129
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
112
130
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
113
131
  },
@@ -117,6 +135,18 @@
117
135
  },
118
136
  "react-dom": {
119
137
  "optional": true
138
+ },
139
+ "preact": {
140
+ "optional": true
141
+ },
142
+ "preact-render-to-string": {
143
+ "optional": true
144
+ },
145
+ "@unocss/core": {
146
+ "optional": true
147
+ },
148
+ "@unocss/preset-wind4": {
149
+ "optional": true
120
150
  }
121
151
  }
122
152
  }