@takumi-rs/core 2.0.0-rc.13 → 2.0.0-rc.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/dist/export.cjs CHANGED
@@ -58,7 +58,7 @@ function requireNative() {
58
58
  }
59
59
  try {
60
60
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-android-arm64', 'core.android-arm64.node', require$1);
61
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
61
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
62
62
  return binding;
63
63
  } catch (e) {
64
64
  loadErrors.push(e);
@@ -71,7 +71,7 @@ function requireNative() {
71
71
  }
72
72
  try {
73
73
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-android-arm-eabi', 'core.android-arm-eabi.node', require$1);
74
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
74
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
75
75
  return binding;
76
76
  } catch (e) {
77
77
  loadErrors.push(e);
@@ -85,7 +85,7 @@ function requireNative() {
85
85
  }
86
86
  try {
87
87
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-win32-x64-gnu', 'core.win32-x64-gnu.node', require$1);
88
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
88
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
89
89
  return binding;
90
90
  } catch (e) {
91
91
  loadErrors.push(e);
@@ -98,7 +98,7 @@ function requireNative() {
98
98
  }
99
99
  try {
100
100
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-win32-x64-msvc', 'core.win32-x64-msvc.node', require$1);
101
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
101
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
102
102
  return binding;
103
103
  } catch (e) {
104
104
  loadErrors.push(e);
@@ -112,7 +112,7 @@ function requireNative() {
112
112
  }
113
113
  try {
114
114
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-win32-ia32-msvc', 'core.win32-ia32-msvc.node', require$1);
115
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
115
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
116
116
  return binding;
117
117
  } catch (e) {
118
118
  loadErrors.push(e);
@@ -125,7 +125,7 @@ function requireNative() {
125
125
  }
126
126
  try {
127
127
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-win32-arm64-msvc', 'core.win32-arm64-msvc.node', require$1);
128
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
128
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
129
129
  return binding;
130
130
  } catch (e) {
131
131
  loadErrors.push(e);
@@ -139,7 +139,7 @@ function requireNative() {
139
139
  }
140
140
  try {
141
141
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-darwin-universal', 'core.darwin-universal.node', require$1);
142
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
142
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
143
143
  return binding;
144
144
  } catch (e) {
145
145
  loadErrors.push(e);
@@ -152,7 +152,7 @@ function requireNative() {
152
152
  }
153
153
  try {
154
154
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-darwin-x64', 'core.darwin-x64.node', require$1);
155
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
155
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
156
156
  return binding;
157
157
  } catch (e) {
158
158
  loadErrors.push(e);
@@ -165,7 +165,7 @@ function requireNative() {
165
165
  }
166
166
  try {
167
167
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-darwin-arm64', 'core.darwin-arm64.node', require$1);
168
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
168
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
169
169
  return binding;
170
170
  } catch (e) {
171
171
  loadErrors.push(e);
@@ -179,7 +179,7 @@ function requireNative() {
179
179
  }
180
180
  try {
181
181
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-freebsd-x64', 'core.freebsd-x64.node', require$1);
182
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
182
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
183
183
  return binding;
184
184
  } catch (e) {
185
185
  loadErrors.push(e);
@@ -192,7 +192,7 @@ function requireNative() {
192
192
  }
193
193
  try {
194
194
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-freebsd-arm64', 'core.freebsd-arm64.node', require$1);
195
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
195
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
196
196
  return binding;
197
197
  } catch (e) {
198
198
  loadErrors.push(e);
@@ -206,7 +206,7 @@ function requireNative() {
206
206
  }
207
207
  try {
208
208
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-x64-musl', 'core.linux-x64-musl.node', require$1);
209
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
209
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
210
210
  return binding;
211
211
  } catch (e) {
212
212
  loadErrors.push(e);
@@ -219,7 +219,7 @@ function requireNative() {
219
219
  }
220
220
  try {
221
221
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-x64-gnu', 'core.linux-x64-gnu.node', require$1);
222
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
222
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
223
223
  return binding;
224
224
  } catch (e) {
225
225
  loadErrors.push(e);
@@ -233,7 +233,7 @@ function requireNative() {
233
233
  }
234
234
  try {
235
235
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-arm64-musl', 'core.linux-arm64-musl.node', require$1);
236
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
236
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
237
237
  return binding;
238
238
  } catch (e) {
239
239
  loadErrors.push(e);
@@ -246,7 +246,7 @@ function requireNative() {
246
246
  }
247
247
  try {
248
248
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-arm64-gnu', 'core.linux-arm64-gnu.node', require$1);
249
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
249
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
250
250
  return binding;
251
251
  } catch (e) {
252
252
  loadErrors.push(e);
@@ -260,7 +260,7 @@ function requireNative() {
260
260
  }
261
261
  try {
262
262
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-arm-musleabihf', 'core.linux-arm-musleabihf.node', require$1);
263
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
263
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
264
264
  return binding;
265
265
  } catch (e) {
266
266
  loadErrors.push(e);
@@ -273,7 +273,7 @@ function requireNative() {
273
273
  }
274
274
  try {
275
275
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-arm-gnueabihf', 'core.linux-arm-gnueabihf.node', require$1);
276
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
276
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
277
277
  return binding;
278
278
  } catch (e) {
279
279
  loadErrors.push(e);
@@ -287,7 +287,7 @@ function requireNative() {
287
287
  }
288
288
  try {
289
289
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-loong64-musl', 'core.linux-loong64-musl.node', require$1);
290
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
290
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
291
291
  return binding;
292
292
  } catch (e) {
293
293
  loadErrors.push(e);
@@ -300,7 +300,7 @@ function requireNative() {
300
300
  }
301
301
  try {
302
302
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-loong64-gnu', 'core.linux-loong64-gnu.node', require$1);
303
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
303
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
304
304
  return binding;
305
305
  } catch (e) {
306
306
  loadErrors.push(e);
@@ -314,7 +314,7 @@ function requireNative() {
314
314
  }
315
315
  try {
316
316
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-riscv64-musl', 'core.linux-riscv64-musl.node', require$1);
317
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
317
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
318
318
  return binding;
319
319
  } catch (e) {
320
320
  loadErrors.push(e);
@@ -327,7 +327,7 @@ function requireNative() {
327
327
  }
328
328
  try {
329
329
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-riscv64-gnu', 'core.linux-riscv64-gnu.node', require$1);
330
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
330
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
331
331
  return binding;
332
332
  } catch (e) {
333
333
  loadErrors.push(e);
@@ -341,7 +341,7 @@ function requireNative() {
341
341
  }
342
342
  try {
343
343
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-ppc64-gnu', 'core.linux-ppc64-gnu.node', require$1);
344
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
344
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
345
345
  return binding;
346
346
  } catch (e) {
347
347
  loadErrors.push(e);
@@ -354,7 +354,7 @@ function requireNative() {
354
354
  }
355
355
  try {
356
356
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-s390x-gnu', 'core.linux-s390x-gnu.node', require$1);
357
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
357
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
358
358
  return binding;
359
359
  } catch (e) {
360
360
  loadErrors.push(e);
@@ -368,7 +368,7 @@ function requireNative() {
368
368
  }
369
369
  try {
370
370
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-openharmony-arm64', 'core.openharmony-arm64.node', require$1);
371
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
371
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
372
372
  return binding;
373
373
  } catch (e) {
374
374
  loadErrors.push(e);
@@ -381,7 +381,7 @@ function requireNative() {
381
381
  }
382
382
  try {
383
383
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-openharmony-x64', 'core.openharmony-x64.node', require$1);
384
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
384
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
385
385
  return binding;
386
386
  } catch (e) {
387
387
  loadErrors.push(e);
@@ -394,7 +394,7 @@ function requireNative() {
394
394
  }
395
395
  try {
396
396
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-openharmony-arm', 'core.openharmony-arm.node', require$1);
397
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
397
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
398
398
  return binding;
399
399
  } catch (e) {
400
400
  loadErrors.push(e);
package/dist/export.d.cts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { ContainerNode, ImageNode, Node, NodeMetadata, TextNode } from "@takumi-rs/helpers";
2
+ import { Properties } from "csstype";
2
3
  import { AnimationOutputFormatOptions, BackendAnimationOptions, BackendRenderOptions, BackendSvgOptions, FontLoader, FontLoader as FontLoader$1, ImageLoader, ImagesInput, OutputFormatOptions } from "@takumi-rs/helpers/renderer";
3
4
 
4
5
  //#region index.d.ts
@@ -28,12 +29,12 @@ interface FontDetails {
28
29
  subsetOf?: string;
29
30
  }
30
31
  type Font = FontDetails | ByteBuf;
31
- type KeyframesMap = Record<string, Record<string, CSSStyleDeclaration>>;
32
+ type KeyframesMap = Record<string, Record<string, Properties>>;
32
33
  type KeyframesRuleList = {
33
34
  name: string;
34
35
  keyframes: {
35
36
  offsets: number[];
36
- declarations: Record<string, CSSStyleDeclaration>;
37
+ declarations: Record<string, Properties>;
37
38
  }[];
38
39
  }[];
39
40
  type Keyframes = KeyframesMap | KeyframesRuleList;
package/dist/export.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { AnimationOutputFormatOptions, BackendAnimationOptions, BackendRenderOptions, BackendSvgOptions, FontLoader, FontLoader as FontLoader$1, ImageLoader, ImagesInput, OutputFormatOptions } from "@takumi-rs/helpers/renderer";
2
2
  import { ContainerNode, ImageNode, Node, NodeMetadata, TextNode } from "@takumi-rs/helpers";
3
+ import { Properties } from "csstype";
3
4
 
4
5
  //#region index.d.ts
5
6
  type ByteBuf = Uint8Array | ArrayBuffer | Buffer;
@@ -28,12 +29,12 @@ interface FontDetails {
28
29
  subsetOf?: string;
29
30
  }
30
31
  type Font = FontDetails | ByteBuf;
31
- type KeyframesMap = Record<string, Record<string, CSSStyleDeclaration>>;
32
+ type KeyframesMap = Record<string, Record<string, Properties>>;
32
33
  type KeyframesRuleList = {
33
34
  name: string;
34
35
  keyframes: {
35
36
  offsets: number[];
36
- declarations: Record<string, CSSStyleDeclaration>;
37
+ declarations: Record<string, Properties>;
37
38
  }[];
38
39
  }[];
39
40
  type Keyframes = KeyframesMap | KeyframesRuleList;
package/dist/export.mjs CHANGED
@@ -56,7 +56,7 @@ function requireNative() {
56
56
  }
57
57
  try {
58
58
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-android-arm64', 'core.android-arm64.node', require);
59
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
59
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
60
60
  return binding;
61
61
  } catch (e) {
62
62
  loadErrors.push(e);
@@ -69,7 +69,7 @@ function requireNative() {
69
69
  }
70
70
  try {
71
71
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-android-arm-eabi', 'core.android-arm-eabi.node', require);
72
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
72
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
73
73
  return binding;
74
74
  } catch (e) {
75
75
  loadErrors.push(e);
@@ -83,7 +83,7 @@ function requireNative() {
83
83
  }
84
84
  try {
85
85
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-win32-x64-gnu', 'core.win32-x64-gnu.node', require);
86
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
86
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
87
87
  return binding;
88
88
  } catch (e) {
89
89
  loadErrors.push(e);
@@ -96,7 +96,7 @@ function requireNative() {
96
96
  }
97
97
  try {
98
98
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-win32-x64-msvc', 'core.win32-x64-msvc.node', require);
99
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
99
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
100
100
  return binding;
101
101
  } catch (e) {
102
102
  loadErrors.push(e);
@@ -110,7 +110,7 @@ function requireNative() {
110
110
  }
111
111
  try {
112
112
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-win32-ia32-msvc', 'core.win32-ia32-msvc.node', require);
113
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
113
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
114
114
  return binding;
115
115
  } catch (e) {
116
116
  loadErrors.push(e);
@@ -123,7 +123,7 @@ function requireNative() {
123
123
  }
124
124
  try {
125
125
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-win32-arm64-msvc', 'core.win32-arm64-msvc.node', require);
126
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
126
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
127
127
  return binding;
128
128
  } catch (e) {
129
129
  loadErrors.push(e);
@@ -137,7 +137,7 @@ function requireNative() {
137
137
  }
138
138
  try {
139
139
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-darwin-universal', 'core.darwin-universal.node', require);
140
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
140
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
141
141
  return binding;
142
142
  } catch (e) {
143
143
  loadErrors.push(e);
@@ -150,7 +150,7 @@ function requireNative() {
150
150
  }
151
151
  try {
152
152
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-darwin-x64', 'core.darwin-x64.node', require);
153
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
153
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
154
154
  return binding;
155
155
  } catch (e) {
156
156
  loadErrors.push(e);
@@ -163,7 +163,7 @@ function requireNative() {
163
163
  }
164
164
  try {
165
165
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-darwin-arm64', 'core.darwin-arm64.node', require);
166
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
166
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
167
167
  return binding;
168
168
  } catch (e) {
169
169
  loadErrors.push(e);
@@ -177,7 +177,7 @@ function requireNative() {
177
177
  }
178
178
  try {
179
179
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-freebsd-x64', 'core.freebsd-x64.node', require);
180
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
180
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
181
181
  return binding;
182
182
  } catch (e) {
183
183
  loadErrors.push(e);
@@ -190,7 +190,7 @@ function requireNative() {
190
190
  }
191
191
  try {
192
192
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-freebsd-arm64', 'core.freebsd-arm64.node', require);
193
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
193
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
194
194
  return binding;
195
195
  } catch (e) {
196
196
  loadErrors.push(e);
@@ -204,7 +204,7 @@ function requireNative() {
204
204
  }
205
205
  try {
206
206
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-x64-musl', 'core.linux-x64-musl.node', require);
207
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
207
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
208
208
  return binding;
209
209
  } catch (e) {
210
210
  loadErrors.push(e);
@@ -217,7 +217,7 @@ function requireNative() {
217
217
  }
218
218
  try {
219
219
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-x64-gnu', 'core.linux-x64-gnu.node', require);
220
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
220
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
221
221
  return binding;
222
222
  } catch (e) {
223
223
  loadErrors.push(e);
@@ -231,7 +231,7 @@ function requireNative() {
231
231
  }
232
232
  try {
233
233
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-arm64-musl', 'core.linux-arm64-musl.node', require);
234
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
234
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
235
235
  return binding;
236
236
  } catch (e) {
237
237
  loadErrors.push(e);
@@ -244,7 +244,7 @@ function requireNative() {
244
244
  }
245
245
  try {
246
246
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-arm64-gnu', 'core.linux-arm64-gnu.node', require);
247
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
247
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
248
248
  return binding;
249
249
  } catch (e) {
250
250
  loadErrors.push(e);
@@ -258,7 +258,7 @@ function requireNative() {
258
258
  }
259
259
  try {
260
260
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-arm-musleabihf', 'core.linux-arm-musleabihf.node', require);
261
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
261
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
262
262
  return binding;
263
263
  } catch (e) {
264
264
  loadErrors.push(e);
@@ -271,7 +271,7 @@ function requireNative() {
271
271
  }
272
272
  try {
273
273
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-arm-gnueabihf', 'core.linux-arm-gnueabihf.node', require);
274
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
274
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
275
275
  return binding;
276
276
  } catch (e) {
277
277
  loadErrors.push(e);
@@ -285,7 +285,7 @@ function requireNative() {
285
285
  }
286
286
  try {
287
287
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-loong64-musl', 'core.linux-loong64-musl.node', require);
288
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
288
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
289
289
  return binding;
290
290
  } catch (e) {
291
291
  loadErrors.push(e);
@@ -298,7 +298,7 @@ function requireNative() {
298
298
  }
299
299
  try {
300
300
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-loong64-gnu', 'core.linux-loong64-gnu.node', require);
301
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
301
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
302
302
  return binding;
303
303
  } catch (e) {
304
304
  loadErrors.push(e);
@@ -312,7 +312,7 @@ function requireNative() {
312
312
  }
313
313
  try {
314
314
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-riscv64-musl', 'core.linux-riscv64-musl.node', require);
315
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
315
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
316
316
  return binding;
317
317
  } catch (e) {
318
318
  loadErrors.push(e);
@@ -325,7 +325,7 @@ function requireNative() {
325
325
  }
326
326
  try {
327
327
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-riscv64-gnu', 'core.linux-riscv64-gnu.node', require);
328
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
328
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
329
329
  return binding;
330
330
  } catch (e) {
331
331
  loadErrors.push(e);
@@ -339,7 +339,7 @@ function requireNative() {
339
339
  }
340
340
  try {
341
341
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-ppc64-gnu', 'core.linux-ppc64-gnu.node', require);
342
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
342
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
343
343
  return binding;
344
344
  } catch (e) {
345
345
  loadErrors.push(e);
@@ -352,7 +352,7 @@ function requireNative() {
352
352
  }
353
353
  try {
354
354
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-linux-s390x-gnu', 'core.linux-s390x-gnu.node', require);
355
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
355
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
356
356
  return binding;
357
357
  } catch (e) {
358
358
  loadErrors.push(e);
@@ -366,7 +366,7 @@ function requireNative() {
366
366
  }
367
367
  try {
368
368
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-openharmony-arm64', 'core.openharmony-arm64.node', require);
369
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
369
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
370
370
  return binding;
371
371
  } catch (e) {
372
372
  loadErrors.push(e);
@@ -379,7 +379,7 @@ function requireNative() {
379
379
  }
380
380
  try {
381
381
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-openharmony-x64', 'core.openharmony-x64.node', require);
382
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
382
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
383
383
  return binding;
384
384
  } catch (e) {
385
385
  loadErrors.push(e);
@@ -392,7 +392,7 @@ function requireNative() {
392
392
  }
393
393
  try {
394
394
  const { binding, version: bindingPackageVersion } = loadNativePackage('@takumi-rs/core-openharmony-arm', 'core.openharmony-arm.node', require);
395
- if (bindingPackageVersion !== "2.0.0-rc.13" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
395
+ if (bindingPackageVersion !== "2.0.0-rc.14" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 2.0.0-rc.14 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
396
396
  return binding;
397
397
  } catch (e) {
398
398
  loadErrors.push(e);
package/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { Node } from "@takumi-rs/helpers";
2
+ import type { Properties } from "csstype";
2
3
 
3
4
  export type { ContainerNode, ImageNode, NodeMetadata, TextNode } from "@takumi-rs/helpers";
4
5
 
@@ -33,12 +34,12 @@ export interface FontDetails {
33
34
 
34
35
  export type Font = FontDetails | ByteBuf;
35
36
 
36
- export type KeyframesMap = Record<string, Record<string, CSSStyleDeclaration>>;
37
+ export type KeyframesMap = Record<string, Record<string, Properties>>;
37
38
  export type KeyframesRuleList = {
38
39
  name: string;
39
40
  keyframes: {
40
41
  offsets: number[];
41
- declarations: Record<string, CSSStyleDeclaration>;
42
+ declarations: Record<string, Properties>;
42
43
  }[];
43
44
  }[];
44
45
  export type Keyframes = KeyframesMap | KeyframesRuleList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takumi-rs/core",
3
- "version": "2.0.0-rc.13",
3
+ "version": "2.0.0-rc.14",
4
4
  "description": "Native Node.js bindings for the Takumi Rust image rendering engine.",
5
5
  "keywords": [
6
6
  "css",
@@ -70,19 +70,28 @@
70
70
  "publish-lint": "attw --pack . && publint --strict ."
71
71
  },
72
72
  "dependencies": {
73
- "@takumi-rs/helpers": "2.0.0-rc.13"
73
+ "@takumi-rs/helpers": "2.0.0-rc.14"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@napi-rs/cli": "3.7.2",
77
77
  "@types/bun": "^1.3.14",
78
78
  "@types/react": "19.2.17",
79
79
  "@types/react-dom": "^19.2.3",
80
+ "csstype": "^3.2.3",
80
81
  "lucide-react": "^1.23.0",
81
82
  "mitata": "^1.0.34",
82
83
  "react": "^19.2.7",
83
84
  "tsdown": "^0.22.3",
84
85
  "unrun": "^0.3.1"
85
86
  },
87
+ "peerDependencies": {
88
+ "csstype": "*"
89
+ },
90
+ "peerDependenciesMeta": {
91
+ "csstype": {
92
+ "optional": true
93
+ }
94
+ },
86
95
  "napi": {
87
96
  "binaryName": "core",
88
97
  "dtsHeaderFile": "./src/dts-header.d.ts",
@@ -101,13 +110,13 @@
101
110
  "node": ">=18"
102
111
  },
103
112
  "optionalDependencies": {
104
- "@takumi-rs/core-darwin-x64": "2.0.0-rc.13",
105
- "@takumi-rs/core-darwin-arm64": "2.0.0-rc.13",
106
- "@takumi-rs/core-linux-arm64-gnu": "2.0.0-rc.13",
107
- "@takumi-rs/core-linux-arm64-musl": "2.0.0-rc.13",
108
- "@takumi-rs/core-win32-arm64-msvc": "2.0.0-rc.13",
109
- "@takumi-rs/core-linux-x64-gnu": "2.0.0-rc.13",
110
- "@takumi-rs/core-linux-x64-musl": "2.0.0-rc.13",
111
- "@takumi-rs/core-win32-x64-msvc": "2.0.0-rc.13"
113
+ "@takumi-rs/core-darwin-x64": "2.0.0-rc.14",
114
+ "@takumi-rs/core-darwin-arm64": "2.0.0-rc.14",
115
+ "@takumi-rs/core-linux-arm64-gnu": "2.0.0-rc.14",
116
+ "@takumi-rs/core-linux-arm64-musl": "2.0.0-rc.14",
117
+ "@takumi-rs/core-win32-arm64-msvc": "2.0.0-rc.14",
118
+ "@takumi-rs/core-linux-x64-gnu": "2.0.0-rc.14",
119
+ "@takumi-rs/core-linux-x64-musl": "2.0.0-rc.14",
120
+ "@takumi-rs/core-win32-x64-msvc": "2.0.0-rc.14"
112
121
  }
113
122
  }