@takumi-rs/core 2.13.5 → 2.13.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/dist/export.cjs +27 -27
- package/dist/export.d.cts +2 -2
- package/dist/export.d.mts +2 -2
- package/dist/export.mjs +27 -27
- package/index.d.ts +2 -2
- package/package.json +11 -11
package/dist/export.cjs
CHANGED
|
@@ -60,7 +60,7 @@ function requireNative() {
|
|
|
60
60
|
try {
|
|
61
61
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm64/core.android-arm64.node");
|
|
62
62
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm64/package.json").version;
|
|
63
|
-
if (bindingPackageVersion !== "2.13.
|
|
63
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
64
64
|
return binding;
|
|
65
65
|
} catch (e) {
|
|
66
66
|
loadErrors.push(e);
|
|
@@ -74,7 +74,7 @@ function requireNative() {
|
|
|
74
74
|
try {
|
|
75
75
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm-eabi/core.android-arm-eabi.node");
|
|
76
76
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm-eabi/package.json").version;
|
|
77
|
-
if (bindingPackageVersion !== "2.13.
|
|
77
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
78
78
|
return binding;
|
|
79
79
|
} catch (e) {
|
|
80
80
|
loadErrors.push(e);
|
|
@@ -91,7 +91,7 @@ function requireNative() {
|
|
|
91
91
|
try {
|
|
92
92
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-gnu/core.win32-x64-gnu.node");
|
|
93
93
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-gnu/package.json").version;
|
|
94
|
-
if (bindingPackageVersion !== "2.13.
|
|
94
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
95
95
|
return binding;
|
|
96
96
|
} catch (e) {
|
|
97
97
|
loadErrors.push(e);
|
|
@@ -105,7 +105,7 @@ function requireNative() {
|
|
|
105
105
|
try {
|
|
106
106
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-msvc/core.win32-x64-msvc.node");
|
|
107
107
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-msvc/package.json").version;
|
|
108
|
-
if (bindingPackageVersion !== "2.13.
|
|
108
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
109
109
|
return binding;
|
|
110
110
|
} catch (e) {
|
|
111
111
|
loadErrors.push(e);
|
|
@@ -120,7 +120,7 @@ function requireNative() {
|
|
|
120
120
|
try {
|
|
121
121
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-ia32-msvc/core.win32-ia32-msvc.node");
|
|
122
122
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-ia32-msvc/package.json").version;
|
|
123
|
-
if (bindingPackageVersion !== "2.13.
|
|
123
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
124
124
|
return binding;
|
|
125
125
|
} catch (e) {
|
|
126
126
|
loadErrors.push(e);
|
|
@@ -134,7 +134,7 @@ function requireNative() {
|
|
|
134
134
|
try {
|
|
135
135
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-arm64-msvc/core.win32-arm64-msvc.node");
|
|
136
136
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-arm64-msvc/package.json").version;
|
|
137
|
-
if (bindingPackageVersion !== "2.13.
|
|
137
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
138
138
|
return binding;
|
|
139
139
|
} catch (e) {
|
|
140
140
|
loadErrors.push(e);
|
|
@@ -149,7 +149,7 @@ function requireNative() {
|
|
|
149
149
|
try {
|
|
150
150
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-universal/core.darwin-universal.node");
|
|
151
151
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-universal/package.json").version;
|
|
152
|
-
if (bindingPackageVersion !== "2.13.
|
|
152
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
153
153
|
return binding;
|
|
154
154
|
} catch (e) {
|
|
155
155
|
loadErrors.push(e);
|
|
@@ -163,7 +163,7 @@ function requireNative() {
|
|
|
163
163
|
try {
|
|
164
164
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-x64/core.darwin-x64.node");
|
|
165
165
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-x64/package.json").version;
|
|
166
|
-
if (bindingPackageVersion !== "2.13.
|
|
166
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 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
|
try {
|
|
178
178
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-arm64/core.darwin-arm64.node");
|
|
179
179
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-arm64/package.json").version;
|
|
180
|
-
if (bindingPackageVersion !== "2.13.
|
|
180
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
181
181
|
return binding;
|
|
182
182
|
} catch (e) {
|
|
183
183
|
loadErrors.push(e);
|
|
@@ -193,7 +193,7 @@ function requireNative() {
|
|
|
193
193
|
try {
|
|
194
194
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-x64/core.freebsd-x64.node");
|
|
195
195
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-x64/package.json").version;
|
|
196
|
-
if (bindingPackageVersion !== "2.13.
|
|
196
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
197
197
|
return binding;
|
|
198
198
|
} catch (e) {
|
|
199
199
|
loadErrors.push(e);
|
|
@@ -207,7 +207,7 @@ function requireNative() {
|
|
|
207
207
|
try {
|
|
208
208
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-arm64/core.freebsd-arm64.node");
|
|
209
209
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-arm64/package.json").version;
|
|
210
|
-
if (bindingPackageVersion !== "2.13.
|
|
210
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
211
211
|
return binding;
|
|
212
212
|
} catch (e) {
|
|
213
213
|
loadErrors.push(e);
|
|
@@ -224,7 +224,7 @@ function requireNative() {
|
|
|
224
224
|
try {
|
|
225
225
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-musl/core.linux-x64-musl.node");
|
|
226
226
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-musl/package.json").version;
|
|
227
|
-
if (bindingPackageVersion !== "2.13.
|
|
227
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
228
228
|
return binding;
|
|
229
229
|
} catch (e) {
|
|
230
230
|
loadErrors.push(e);
|
|
@@ -238,7 +238,7 @@ function requireNative() {
|
|
|
238
238
|
try {
|
|
239
239
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-gnu/core.linux-x64-gnu.node");
|
|
240
240
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-gnu/package.json").version;
|
|
241
|
-
if (bindingPackageVersion !== "2.13.
|
|
241
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
242
242
|
return binding;
|
|
243
243
|
} catch (e) {
|
|
244
244
|
loadErrors.push(e);
|
|
@@ -254,7 +254,7 @@ function requireNative() {
|
|
|
254
254
|
try {
|
|
255
255
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-musl/core.linux-arm64-musl.node");
|
|
256
256
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-musl/package.json").version;
|
|
257
|
-
if (bindingPackageVersion !== "2.13.
|
|
257
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
258
258
|
return binding;
|
|
259
259
|
} catch (e) {
|
|
260
260
|
loadErrors.push(e);
|
|
@@ -268,7 +268,7 @@ function requireNative() {
|
|
|
268
268
|
try {
|
|
269
269
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-gnu/core.linux-arm64-gnu.node");
|
|
270
270
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-gnu/package.json").version;
|
|
271
|
-
if (bindingPackageVersion !== "2.13.
|
|
271
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
272
272
|
return binding;
|
|
273
273
|
} catch (e) {
|
|
274
274
|
loadErrors.push(e);
|
|
@@ -284,7 +284,7 @@ function requireNative() {
|
|
|
284
284
|
try {
|
|
285
285
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-musleabihf/core.linux-arm-musleabihf.node");
|
|
286
286
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-musleabihf/package.json").version;
|
|
287
|
-
if (bindingPackageVersion !== "2.13.
|
|
287
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
288
288
|
return binding;
|
|
289
289
|
} catch (e) {
|
|
290
290
|
loadErrors.push(e);
|
|
@@ -298,7 +298,7 @@ function requireNative() {
|
|
|
298
298
|
try {
|
|
299
299
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-gnueabihf/core.linux-arm-gnueabihf.node");
|
|
300
300
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-gnueabihf/package.json").version;
|
|
301
|
-
if (bindingPackageVersion !== "2.13.
|
|
301
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
302
302
|
return binding;
|
|
303
303
|
} catch (e) {
|
|
304
304
|
loadErrors.push(e);
|
|
@@ -314,7 +314,7 @@ function requireNative() {
|
|
|
314
314
|
try {
|
|
315
315
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-musl/core.linux-loong64-musl.node");
|
|
316
316
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-musl/package.json").version;
|
|
317
|
-
if (bindingPackageVersion !== "2.13.
|
|
317
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
318
318
|
return binding;
|
|
319
319
|
} catch (e) {
|
|
320
320
|
loadErrors.push(e);
|
|
@@ -328,7 +328,7 @@ function requireNative() {
|
|
|
328
328
|
try {
|
|
329
329
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-gnu/core.linux-loong64-gnu.node");
|
|
330
330
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-gnu/package.json").version;
|
|
331
|
-
if (bindingPackageVersion !== "2.13.
|
|
331
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
332
332
|
return binding;
|
|
333
333
|
} catch (e) {
|
|
334
334
|
loadErrors.push(e);
|
|
@@ -344,7 +344,7 @@ function requireNative() {
|
|
|
344
344
|
try {
|
|
345
345
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-musl/core.linux-riscv64-musl.node");
|
|
346
346
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-musl/package.json").version;
|
|
347
|
-
if (bindingPackageVersion !== "2.13.
|
|
347
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
348
348
|
return binding;
|
|
349
349
|
} catch (e) {
|
|
350
350
|
loadErrors.push(e);
|
|
@@ -358,7 +358,7 @@ function requireNative() {
|
|
|
358
358
|
try {
|
|
359
359
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-gnu/core.linux-riscv64-gnu.node");
|
|
360
360
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-gnu/package.json").version;
|
|
361
|
-
if (bindingPackageVersion !== "2.13.
|
|
361
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
362
362
|
return binding;
|
|
363
363
|
} catch (e) {
|
|
364
364
|
loadErrors.push(e);
|
|
@@ -373,7 +373,7 @@ function requireNative() {
|
|
|
373
373
|
try {
|
|
374
374
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-ppc64-gnu/core.linux-ppc64-gnu.node");
|
|
375
375
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-ppc64-gnu/package.json").version;
|
|
376
|
-
if (bindingPackageVersion !== "2.13.
|
|
376
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
377
377
|
return binding;
|
|
378
378
|
} catch (e) {
|
|
379
379
|
loadErrors.push(e);
|
|
@@ -387,7 +387,7 @@ function requireNative() {
|
|
|
387
387
|
try {
|
|
388
388
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-s390x-gnu/core.linux-s390x-gnu.node");
|
|
389
389
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-s390x-gnu/package.json").version;
|
|
390
|
-
if (bindingPackageVersion !== "2.13.
|
|
390
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
391
391
|
return binding;
|
|
392
392
|
} catch (e) {
|
|
393
393
|
loadErrors.push(e);
|
|
@@ -403,7 +403,7 @@ function requireNative() {
|
|
|
403
403
|
try {
|
|
404
404
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm64/core.openharmony-arm64.node");
|
|
405
405
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm64/package.json").version;
|
|
406
|
-
if (bindingPackageVersion !== "2.13.
|
|
406
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
407
407
|
return binding;
|
|
408
408
|
} catch (e) {
|
|
409
409
|
loadErrors.push(e);
|
|
@@ -417,7 +417,7 @@ function requireNative() {
|
|
|
417
417
|
try {
|
|
418
418
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-x64/core.openharmony-x64.node");
|
|
419
419
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-x64/package.json").version;
|
|
420
|
-
if (bindingPackageVersion !== "2.13.
|
|
420
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
421
421
|
return binding;
|
|
422
422
|
} catch (e) {
|
|
423
423
|
loadErrors.push(e);
|
|
@@ -431,7 +431,7 @@ function requireNative() {
|
|
|
431
431
|
try {
|
|
432
432
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm/core.openharmony-arm.node");
|
|
433
433
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm/package.json").version;
|
|
434
|
-
if (bindingPackageVersion !== "2.13.
|
|
434
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
435
435
|
return binding;
|
|
436
436
|
} catch (e) {
|
|
437
437
|
loadErrors.push(e);
|
|
@@ -521,7 +521,7 @@ if (!nativeBinding || forceWasi) {
|
|
|
521
521
|
if (!candidateFailed) {
|
|
522
522
|
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
523
523
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-wasm32-wasi/package.json").version;
|
|
524
|
-
if (bindingPackageVersion !== "2.13.
|
|
524
|
+
if (bindingPackageVersion !== "2.13.7") throw new Error(`WASI binding package version mismatch, expected 2.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
525
525
|
}
|
|
526
526
|
wasiBinding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-wasm32-wasi/core.wasm32-wasi.node");
|
|
527
527
|
nativeBinding = wasiBinding;
|
package/dist/export.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContainerNode, ImageNode, Node, NodeMetadata, RgbaImage, TextNode } from "@takumi-rs/helpers";
|
|
1
|
+
import { ContainerNode, CssInput, ImageNode, Node, NodeMetadata, RgbaImage, TextNode } from "@takumi-rs/helpers";
|
|
2
2
|
import { Properties } from "csstype";
|
|
3
3
|
import { AnimationOutputFormatOptions, BackendAnimationOptions, BackendRenderOptions, BackendSvgOptions, FontLoader, FontLoader as FontLoader$1, ImageLoader, ImagesInput, OutputFormatOptions } from "@takumi-rs/helpers/renderer";
|
|
4
4
|
//#region index.d.ts
|
|
@@ -299,4 +299,4 @@ declare class Renderer {
|
|
|
299
299
|
registerFont(font: FontLoader$1): Promise<RegisteredFamily[]>;
|
|
300
300
|
}
|
|
301
301
|
//#endregion
|
|
302
|
-
export { type AnimationOutputFormat, type AnimationOutputFormatOptions, type AnimationScene, type ByteBuf, type ContainerNode, type DitheringAlgorithm, type Font, type FontDetails, type FontLoader, type ImageCacheMode, type ImageLoader, type ImageNode, type ImageSource, type ImagesInput, type Keyframes, type KeyframesMap, type KeyframesRuleList, type MeasuredNode, type MeasuredTextRun, type Node, type NodeMetadata, type OutputFormat, type OutputFormatOptions, type RegisteredFace, type RegisteredFamily, RenderAnimationOptions, RenderOptions, Renderer, type RendererOptions, type RgbaImage, SvgRenderOptions, type TextNode, setGlyphCacheMaxBytes };
|
|
302
|
+
export { type AnimationOutputFormat, type AnimationOutputFormatOptions, type AnimationScene, type ByteBuf, type ContainerNode, type CssInput, type DitheringAlgorithm, type Font, type FontDetails, type FontLoader, type ImageCacheMode, type ImageLoader, type ImageNode, type ImageSource, type ImagesInput, type Keyframes, type KeyframesMap, type KeyframesRuleList, type MeasuredNode, type MeasuredTextRun, type Node, type NodeMetadata, type OutputFormat, type OutputFormatOptions, type RegisteredFace, type RegisteredFamily, RenderAnimationOptions, RenderOptions, Renderer, type RendererOptions, type RgbaImage, SvgRenderOptions, type TextNode, setGlyphCacheMaxBytes };
|
package/dist/export.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnimationOutputFormatOptions, BackendAnimationOptions, BackendRenderOptions, BackendSvgOptions, FontLoader, FontLoader as FontLoader$1, ImageLoader, ImagesInput, OutputFormatOptions } from "@takumi-rs/helpers/renderer";
|
|
2
|
-
import { ContainerNode, ImageNode, Node, NodeMetadata, RgbaImage, TextNode } from "@takumi-rs/helpers";
|
|
2
|
+
import { ContainerNode, CssInput, ImageNode, Node, NodeMetadata, RgbaImage, TextNode } from "@takumi-rs/helpers";
|
|
3
3
|
import { Properties } from "csstype";
|
|
4
4
|
//#region index.d.ts
|
|
5
5
|
type ByteBuf = Uint8Array | ArrayBuffer | Buffer;
|
|
@@ -299,4 +299,4 @@ declare class Renderer {
|
|
|
299
299
|
registerFont(font: FontLoader$1): Promise<RegisteredFamily[]>;
|
|
300
300
|
}
|
|
301
301
|
//#endregion
|
|
302
|
-
export { type AnimationOutputFormat, type AnimationOutputFormatOptions, type AnimationScene, type ByteBuf, type ContainerNode, type DitheringAlgorithm, type Font, type FontDetails, type FontLoader, type ImageCacheMode, type ImageLoader, type ImageNode, type ImageSource, type ImagesInput, type Keyframes, type KeyframesMap, type KeyframesRuleList, type MeasuredNode, type MeasuredTextRun, type Node, type NodeMetadata, type OutputFormat, type OutputFormatOptions, type RegisteredFace, type RegisteredFamily, RenderAnimationOptions, RenderOptions, Renderer, type RendererOptions, type RgbaImage, SvgRenderOptions, type TextNode, setGlyphCacheMaxBytes };
|
|
302
|
+
export { type AnimationOutputFormat, type AnimationOutputFormatOptions, type AnimationScene, type ByteBuf, type ContainerNode, type CssInput, type DitheringAlgorithm, type Font, type FontDetails, type FontLoader, type ImageCacheMode, type ImageLoader, type ImageNode, type ImageSource, type ImagesInput, type Keyframes, type KeyframesMap, type KeyframesRuleList, type MeasuredNode, type MeasuredTextRun, type Node, type NodeMetadata, type OutputFormat, type OutputFormatOptions, type RegisteredFace, type RegisteredFamily, RenderAnimationOptions, RenderOptions, Renderer, type RendererOptions, type RgbaImage, SvgRenderOptions, type TextNode, setGlyphCacheMaxBytes };
|
package/dist/export.mjs
CHANGED
|
@@ -58,7 +58,7 @@ function requireNative() {
|
|
|
58
58
|
try {
|
|
59
59
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-android-arm64/core.android-arm64.node");
|
|
60
60
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-android-arm64/package.json").version;
|
|
61
|
-
if (bindingPackageVersion !== "2.13.
|
|
61
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
62
62
|
return binding;
|
|
63
63
|
} catch (e) {
|
|
64
64
|
loadErrors.push(e);
|
|
@@ -72,7 +72,7 @@ function requireNative() {
|
|
|
72
72
|
try {
|
|
73
73
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-android-arm-eabi/core.android-arm-eabi.node");
|
|
74
74
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-android-arm-eabi/package.json").version;
|
|
75
|
-
if (bindingPackageVersion !== "2.13.
|
|
75
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
76
76
|
return binding;
|
|
77
77
|
} catch (e) {
|
|
78
78
|
loadErrors.push(e);
|
|
@@ -89,7 +89,7 @@ function requireNative() {
|
|
|
89
89
|
try {
|
|
90
90
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-gnu/core.win32-x64-gnu.node");
|
|
91
91
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-gnu/package.json").version;
|
|
92
|
-
if (bindingPackageVersion !== "2.13.
|
|
92
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
93
93
|
return binding;
|
|
94
94
|
} catch (e) {
|
|
95
95
|
loadErrors.push(e);
|
|
@@ -103,7 +103,7 @@ function requireNative() {
|
|
|
103
103
|
try {
|
|
104
104
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-msvc/core.win32-x64-msvc.node");
|
|
105
105
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-msvc/package.json").version;
|
|
106
|
-
if (bindingPackageVersion !== "2.13.
|
|
106
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
107
107
|
return binding;
|
|
108
108
|
} catch (e) {
|
|
109
109
|
loadErrors.push(e);
|
|
@@ -118,7 +118,7 @@ function requireNative() {
|
|
|
118
118
|
try {
|
|
119
119
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-win32-ia32-msvc/core.win32-ia32-msvc.node");
|
|
120
120
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-win32-ia32-msvc/package.json").version;
|
|
121
|
-
if (bindingPackageVersion !== "2.13.
|
|
121
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
122
122
|
return binding;
|
|
123
123
|
} catch (e) {
|
|
124
124
|
loadErrors.push(e);
|
|
@@ -132,7 +132,7 @@ function requireNative() {
|
|
|
132
132
|
try {
|
|
133
133
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-win32-arm64-msvc/core.win32-arm64-msvc.node");
|
|
134
134
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-win32-arm64-msvc/package.json").version;
|
|
135
|
-
if (bindingPackageVersion !== "2.13.
|
|
135
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
136
136
|
return binding;
|
|
137
137
|
} catch (e) {
|
|
138
138
|
loadErrors.push(e);
|
|
@@ -147,7 +147,7 @@ function requireNative() {
|
|
|
147
147
|
try {
|
|
148
148
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-darwin-universal/core.darwin-universal.node");
|
|
149
149
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-darwin-universal/package.json").version;
|
|
150
|
-
if (bindingPackageVersion !== "2.13.
|
|
150
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
151
151
|
return binding;
|
|
152
152
|
} catch (e) {
|
|
153
153
|
loadErrors.push(e);
|
|
@@ -161,7 +161,7 @@ function requireNative() {
|
|
|
161
161
|
try {
|
|
162
162
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-darwin-x64/core.darwin-x64.node");
|
|
163
163
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-darwin-x64/package.json").version;
|
|
164
|
-
if (bindingPackageVersion !== "2.13.
|
|
164
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
165
165
|
return binding;
|
|
166
166
|
} catch (e) {
|
|
167
167
|
loadErrors.push(e);
|
|
@@ -175,7 +175,7 @@ function requireNative() {
|
|
|
175
175
|
try {
|
|
176
176
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-darwin-arm64/core.darwin-arm64.node");
|
|
177
177
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-darwin-arm64/package.json").version;
|
|
178
|
-
if (bindingPackageVersion !== "2.13.
|
|
178
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
179
179
|
return binding;
|
|
180
180
|
} catch (e) {
|
|
181
181
|
loadErrors.push(e);
|
|
@@ -191,7 +191,7 @@ function requireNative() {
|
|
|
191
191
|
try {
|
|
192
192
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-x64/core.freebsd-x64.node");
|
|
193
193
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-x64/package.json").version;
|
|
194
|
-
if (bindingPackageVersion !== "2.13.
|
|
194
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
195
195
|
return binding;
|
|
196
196
|
} catch (e) {
|
|
197
197
|
loadErrors.push(e);
|
|
@@ -205,7 +205,7 @@ function requireNative() {
|
|
|
205
205
|
try {
|
|
206
206
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-arm64/core.freebsd-arm64.node");
|
|
207
207
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-arm64/package.json").version;
|
|
208
|
-
if (bindingPackageVersion !== "2.13.
|
|
208
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
209
209
|
return binding;
|
|
210
210
|
} catch (e) {
|
|
211
211
|
loadErrors.push(e);
|
|
@@ -222,7 +222,7 @@ function requireNative() {
|
|
|
222
222
|
try {
|
|
223
223
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-musl/core.linux-x64-musl.node");
|
|
224
224
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-musl/package.json").version;
|
|
225
|
-
if (bindingPackageVersion !== "2.13.
|
|
225
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
226
226
|
return binding;
|
|
227
227
|
} catch (e) {
|
|
228
228
|
loadErrors.push(e);
|
|
@@ -236,7 +236,7 @@ function requireNative() {
|
|
|
236
236
|
try {
|
|
237
237
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-gnu/core.linux-x64-gnu.node");
|
|
238
238
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-gnu/package.json").version;
|
|
239
|
-
if (bindingPackageVersion !== "2.13.
|
|
239
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
240
240
|
return binding;
|
|
241
241
|
} catch (e) {
|
|
242
242
|
loadErrors.push(e);
|
|
@@ -252,7 +252,7 @@ function requireNative() {
|
|
|
252
252
|
try {
|
|
253
253
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-musl/core.linux-arm64-musl.node");
|
|
254
254
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-musl/package.json").version;
|
|
255
|
-
if (bindingPackageVersion !== "2.13.
|
|
255
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
256
256
|
return binding;
|
|
257
257
|
} catch (e) {
|
|
258
258
|
loadErrors.push(e);
|
|
@@ -266,7 +266,7 @@ function requireNative() {
|
|
|
266
266
|
try {
|
|
267
267
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-gnu/core.linux-arm64-gnu.node");
|
|
268
268
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-gnu/package.json").version;
|
|
269
|
-
if (bindingPackageVersion !== "2.13.
|
|
269
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
270
270
|
return binding;
|
|
271
271
|
} catch (e) {
|
|
272
272
|
loadErrors.push(e);
|
|
@@ -282,7 +282,7 @@ function requireNative() {
|
|
|
282
282
|
try {
|
|
283
283
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-musleabihf/core.linux-arm-musleabihf.node");
|
|
284
284
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-musleabihf/package.json").version;
|
|
285
|
-
if (bindingPackageVersion !== "2.13.
|
|
285
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
286
286
|
return binding;
|
|
287
287
|
} catch (e) {
|
|
288
288
|
loadErrors.push(e);
|
|
@@ -296,7 +296,7 @@ function requireNative() {
|
|
|
296
296
|
try {
|
|
297
297
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-gnueabihf/core.linux-arm-gnueabihf.node");
|
|
298
298
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-gnueabihf/package.json").version;
|
|
299
|
-
if (bindingPackageVersion !== "2.13.
|
|
299
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
300
300
|
return binding;
|
|
301
301
|
} catch (e) {
|
|
302
302
|
loadErrors.push(e);
|
|
@@ -312,7 +312,7 @@ function requireNative() {
|
|
|
312
312
|
try {
|
|
313
313
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-musl/core.linux-loong64-musl.node");
|
|
314
314
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-musl/package.json").version;
|
|
315
|
-
if (bindingPackageVersion !== "2.13.
|
|
315
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
316
316
|
return binding;
|
|
317
317
|
} catch (e) {
|
|
318
318
|
loadErrors.push(e);
|
|
@@ -326,7 +326,7 @@ function requireNative() {
|
|
|
326
326
|
try {
|
|
327
327
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-gnu/core.linux-loong64-gnu.node");
|
|
328
328
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-gnu/package.json").version;
|
|
329
|
-
if (bindingPackageVersion !== "2.13.
|
|
329
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
330
330
|
return binding;
|
|
331
331
|
} catch (e) {
|
|
332
332
|
loadErrors.push(e);
|
|
@@ -342,7 +342,7 @@ function requireNative() {
|
|
|
342
342
|
try {
|
|
343
343
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-musl/core.linux-riscv64-musl.node");
|
|
344
344
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-musl/package.json").version;
|
|
345
|
-
if (bindingPackageVersion !== "2.13.
|
|
345
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
346
346
|
return binding;
|
|
347
347
|
} catch (e) {
|
|
348
348
|
loadErrors.push(e);
|
|
@@ -356,7 +356,7 @@ function requireNative() {
|
|
|
356
356
|
try {
|
|
357
357
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-gnu/core.linux-riscv64-gnu.node");
|
|
358
358
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-gnu/package.json").version;
|
|
359
|
-
if (bindingPackageVersion !== "2.13.
|
|
359
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
360
360
|
return binding;
|
|
361
361
|
} catch (e) {
|
|
362
362
|
loadErrors.push(e);
|
|
@@ -371,7 +371,7 @@ function requireNative() {
|
|
|
371
371
|
try {
|
|
372
372
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-ppc64-gnu/core.linux-ppc64-gnu.node");
|
|
373
373
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-ppc64-gnu/package.json").version;
|
|
374
|
-
if (bindingPackageVersion !== "2.13.
|
|
374
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
375
375
|
return binding;
|
|
376
376
|
} catch (e) {
|
|
377
377
|
loadErrors.push(e);
|
|
@@ -385,7 +385,7 @@ function requireNative() {
|
|
|
385
385
|
try {
|
|
386
386
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-s390x-gnu/core.linux-s390x-gnu.node");
|
|
387
387
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-s390x-gnu/package.json").version;
|
|
388
|
-
if (bindingPackageVersion !== "2.13.
|
|
388
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
389
389
|
return binding;
|
|
390
390
|
} catch (e) {
|
|
391
391
|
loadErrors.push(e);
|
|
@@ -401,7 +401,7 @@ function requireNative() {
|
|
|
401
401
|
try {
|
|
402
402
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm64/core.openharmony-arm64.node");
|
|
403
403
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm64/package.json").version;
|
|
404
|
-
if (bindingPackageVersion !== "2.13.
|
|
404
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
405
405
|
return binding;
|
|
406
406
|
} catch (e) {
|
|
407
407
|
loadErrors.push(e);
|
|
@@ -415,7 +415,7 @@ function requireNative() {
|
|
|
415
415
|
try {
|
|
416
416
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-x64/core.openharmony-x64.node");
|
|
417
417
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-x64/package.json").version;
|
|
418
|
-
if (bindingPackageVersion !== "2.13.
|
|
418
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
419
419
|
return binding;
|
|
420
420
|
} catch (e) {
|
|
421
421
|
loadErrors.push(e);
|
|
@@ -429,7 +429,7 @@ function requireNative() {
|
|
|
429
429
|
try {
|
|
430
430
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm/core.openharmony-arm.node");
|
|
431
431
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm/package.json").version;
|
|
432
|
-
if (bindingPackageVersion !== "2.13.
|
|
432
|
+
if (bindingPackageVersion !== "2.13.7" && 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.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
433
433
|
return binding;
|
|
434
434
|
} catch (e) {
|
|
435
435
|
loadErrors.push(e);
|
|
@@ -519,7 +519,7 @@ if (!nativeBinding || forceWasi) {
|
|
|
519
519
|
if (!candidateFailed) {
|
|
520
520
|
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
521
521
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-wasm32-wasi/package.json").version;
|
|
522
|
-
if (bindingPackageVersion !== "2.13.
|
|
522
|
+
if (bindingPackageVersion !== "2.13.7") throw new Error(`WASI binding package version mismatch, expected 2.13.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
523
523
|
}
|
|
524
524
|
wasiBinding = require(/* turbopackOptional: true */ "@takumi-rs/core-wasm32-wasi/core.wasm32-wasi.node");
|
|
525
525
|
nativeBinding = wasiBinding;
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Node } from "@takumi-rs/helpers";
|
|
1
|
+
import type { CssInput, Node } from "@takumi-rs/helpers";
|
|
2
2
|
import type { Properties } from "csstype";
|
|
3
3
|
|
|
4
4
|
export type {
|
|
@@ -9,7 +9,7 @@ export type {
|
|
|
9
9
|
TextNode,
|
|
10
10
|
} from "@takumi-rs/helpers";
|
|
11
11
|
|
|
12
|
-
export type { Node };
|
|
12
|
+
export type { CssInput, Node };
|
|
13
13
|
|
|
14
14
|
export type ByteBuf = Uint8Array | ArrayBuffer | Buffer;
|
|
15
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takumi-rs/core",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.7",
|
|
4
4
|
"description": "Render OG images from Takumi node trees with native Node.js bindings. No headless browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -69,14 +69,14 @@
|
|
|
69
69
|
"publish-lint": "attw --pack . && publint --strict ."
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@takumi-rs/helpers": "2.13.
|
|
72
|
+
"@takumi-rs/helpers": "2.13.7"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@napi-rs/cli": "3.8.6",
|
|
76
76
|
"@types/bun": "^1.4.0",
|
|
77
77
|
"@types/react": "19.2.18",
|
|
78
78
|
"csstype": "^3.2.3",
|
|
79
|
-
"lucide-react": "^1.
|
|
79
|
+
"lucide-react": "^1.37.0",
|
|
80
80
|
"mitata": "^1.0.34",
|
|
81
81
|
"react": "^19.2.8",
|
|
82
82
|
"tsdown": "0.22.14",
|
|
@@ -108,13 +108,13 @@
|
|
|
108
108
|
"node": ">=18"
|
|
109
109
|
},
|
|
110
110
|
"optionalDependencies": {
|
|
111
|
-
"@takumi-rs/core-darwin-x64": "2.13.
|
|
112
|
-
"@takumi-rs/core-darwin-arm64": "2.13.
|
|
113
|
-
"@takumi-rs/core-linux-arm64-gnu": "2.13.
|
|
114
|
-
"@takumi-rs/core-linux-arm64-musl": "2.13.
|
|
115
|
-
"@takumi-rs/core-win32-arm64-msvc": "2.13.
|
|
116
|
-
"@takumi-rs/core-linux-x64-gnu": "2.13.
|
|
117
|
-
"@takumi-rs/core-linux-x64-musl": "2.13.
|
|
118
|
-
"@takumi-rs/core-win32-x64-msvc": "2.13.
|
|
111
|
+
"@takumi-rs/core-darwin-x64": "2.13.7",
|
|
112
|
+
"@takumi-rs/core-darwin-arm64": "2.13.7",
|
|
113
|
+
"@takumi-rs/core-linux-arm64-gnu": "2.13.7",
|
|
114
|
+
"@takumi-rs/core-linux-arm64-musl": "2.13.7",
|
|
115
|
+
"@takumi-rs/core-win32-arm64-msvc": "2.13.7",
|
|
116
|
+
"@takumi-rs/core-linux-x64-gnu": "2.13.7",
|
|
117
|
+
"@takumi-rs/core-linux-x64-musl": "2.13.7",
|
|
118
|
+
"@takumi-rs/core-win32-x64-msvc": "2.13.7"
|
|
119
119
|
}
|
|
120
120
|
}
|