@rlch/takumi-core 2.14.0-rlch.3 → 2.14.0-rlch.5
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 +37 -27
- package/dist/export.d.cts +19 -1
- package/dist/export.d.mts +19 -1
- package/dist/export.mjs +37 -27
- package/index.d.ts +27 -0
- package/package.json +5 -5
package/dist/export.cjs
CHANGED
|
@@ -59,7 +59,7 @@ function requireNative() {
|
|
|
59
59
|
try {
|
|
60
60
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm64/core.android-arm64.node");
|
|
61
61
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm64/package.json").version;
|
|
62
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
62
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
63
63
|
return binding;
|
|
64
64
|
} catch (e) {
|
|
65
65
|
loadErrors.push(e);
|
|
@@ -73,7 +73,7 @@ function requireNative() {
|
|
|
73
73
|
try {
|
|
74
74
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm-eabi/core.android-arm-eabi.node");
|
|
75
75
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm-eabi/package.json").version;
|
|
76
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
76
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
77
77
|
return binding;
|
|
78
78
|
} catch (e) {
|
|
79
79
|
loadErrors.push(e);
|
|
@@ -90,7 +90,7 @@ function requireNative() {
|
|
|
90
90
|
try {
|
|
91
91
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-gnu/core.win32-x64-gnu.node");
|
|
92
92
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-gnu/package.json").version;
|
|
93
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
93
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
94
94
|
return binding;
|
|
95
95
|
} catch (e) {
|
|
96
96
|
loadErrors.push(e);
|
|
@@ -104,7 +104,7 @@ function requireNative() {
|
|
|
104
104
|
try {
|
|
105
105
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-msvc/core.win32-x64-msvc.node");
|
|
106
106
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-msvc/package.json").version;
|
|
107
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
107
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
108
108
|
return binding;
|
|
109
109
|
} catch (e) {
|
|
110
110
|
loadErrors.push(e);
|
|
@@ -119,7 +119,7 @@ function requireNative() {
|
|
|
119
119
|
try {
|
|
120
120
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-ia32-msvc/core.win32-ia32-msvc.node");
|
|
121
121
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-ia32-msvc/package.json").version;
|
|
122
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
122
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
123
123
|
return binding;
|
|
124
124
|
} catch (e) {
|
|
125
125
|
loadErrors.push(e);
|
|
@@ -133,7 +133,7 @@ function requireNative() {
|
|
|
133
133
|
try {
|
|
134
134
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-arm64-msvc/core.win32-arm64-msvc.node");
|
|
135
135
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-arm64-msvc/package.json").version;
|
|
136
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
136
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
137
137
|
return binding;
|
|
138
138
|
} catch (e) {
|
|
139
139
|
loadErrors.push(e);
|
|
@@ -148,7 +148,7 @@ function requireNative() {
|
|
|
148
148
|
try {
|
|
149
149
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-universal/core.darwin-universal.node");
|
|
150
150
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-universal/package.json").version;
|
|
151
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
151
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
152
152
|
return binding;
|
|
153
153
|
} catch (e) {
|
|
154
154
|
loadErrors.push(e);
|
|
@@ -162,7 +162,7 @@ function requireNative() {
|
|
|
162
162
|
try {
|
|
163
163
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-x64/core.darwin-x64.node");
|
|
164
164
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-x64/package.json").version;
|
|
165
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
165
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
166
166
|
return binding;
|
|
167
167
|
} catch (e) {
|
|
168
168
|
loadErrors.push(e);
|
|
@@ -176,7 +176,7 @@ function requireNative() {
|
|
|
176
176
|
try {
|
|
177
177
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-arm64/core.darwin-arm64.node");
|
|
178
178
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-arm64/package.json").version;
|
|
179
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
179
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
180
180
|
return binding;
|
|
181
181
|
} catch (e) {
|
|
182
182
|
loadErrors.push(e);
|
|
@@ -192,7 +192,7 @@ function requireNative() {
|
|
|
192
192
|
try {
|
|
193
193
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-x64/core.freebsd-x64.node");
|
|
194
194
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-x64/package.json").version;
|
|
195
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
195
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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
|
try {
|
|
207
207
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-arm64/core.freebsd-arm64.node");
|
|
208
208
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-arm64/package.json").version;
|
|
209
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
209
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
210
210
|
return binding;
|
|
211
211
|
} catch (e) {
|
|
212
212
|
loadErrors.push(e);
|
|
@@ -223,7 +223,7 @@ function requireNative() {
|
|
|
223
223
|
try {
|
|
224
224
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-musl/core.linux-x64-musl.node");
|
|
225
225
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-musl/package.json").version;
|
|
226
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
226
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
227
227
|
return binding;
|
|
228
228
|
} catch (e) {
|
|
229
229
|
loadErrors.push(e);
|
|
@@ -237,7 +237,7 @@ function requireNative() {
|
|
|
237
237
|
try {
|
|
238
238
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-gnu/core.linux-x64-gnu.node");
|
|
239
239
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-gnu/package.json").version;
|
|
240
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
240
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
241
241
|
return binding;
|
|
242
242
|
} catch (e) {
|
|
243
243
|
loadErrors.push(e);
|
|
@@ -253,7 +253,7 @@ function requireNative() {
|
|
|
253
253
|
try {
|
|
254
254
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-musl/core.linux-arm64-musl.node");
|
|
255
255
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-musl/package.json").version;
|
|
256
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
256
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
257
257
|
return binding;
|
|
258
258
|
} catch (e) {
|
|
259
259
|
loadErrors.push(e);
|
|
@@ -267,7 +267,7 @@ function requireNative() {
|
|
|
267
267
|
try {
|
|
268
268
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-gnu/core.linux-arm64-gnu.node");
|
|
269
269
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-gnu/package.json").version;
|
|
270
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
270
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
271
271
|
return binding;
|
|
272
272
|
} catch (e) {
|
|
273
273
|
loadErrors.push(e);
|
|
@@ -283,7 +283,7 @@ function requireNative() {
|
|
|
283
283
|
try {
|
|
284
284
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-musleabihf/core.linux-arm-musleabihf.node");
|
|
285
285
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-musleabihf/package.json").version;
|
|
286
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
286
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
287
287
|
return binding;
|
|
288
288
|
} catch (e) {
|
|
289
289
|
loadErrors.push(e);
|
|
@@ -297,7 +297,7 @@ function requireNative() {
|
|
|
297
297
|
try {
|
|
298
298
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-gnueabihf/core.linux-arm-gnueabihf.node");
|
|
299
299
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-gnueabihf/package.json").version;
|
|
300
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
300
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
301
301
|
return binding;
|
|
302
302
|
} catch (e) {
|
|
303
303
|
loadErrors.push(e);
|
|
@@ -313,7 +313,7 @@ function requireNative() {
|
|
|
313
313
|
try {
|
|
314
314
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-musl/core.linux-loong64-musl.node");
|
|
315
315
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-musl/package.json").version;
|
|
316
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
316
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
317
317
|
return binding;
|
|
318
318
|
} catch (e) {
|
|
319
319
|
loadErrors.push(e);
|
|
@@ -327,7 +327,7 @@ function requireNative() {
|
|
|
327
327
|
try {
|
|
328
328
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-gnu/core.linux-loong64-gnu.node");
|
|
329
329
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-gnu/package.json").version;
|
|
330
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
330
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
331
331
|
return binding;
|
|
332
332
|
} catch (e) {
|
|
333
333
|
loadErrors.push(e);
|
|
@@ -343,7 +343,7 @@ function requireNative() {
|
|
|
343
343
|
try {
|
|
344
344
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-musl/core.linux-riscv64-musl.node");
|
|
345
345
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-musl/package.json").version;
|
|
346
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
346
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
347
347
|
return binding;
|
|
348
348
|
} catch (e) {
|
|
349
349
|
loadErrors.push(e);
|
|
@@ -357,7 +357,7 @@ function requireNative() {
|
|
|
357
357
|
try {
|
|
358
358
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-gnu/core.linux-riscv64-gnu.node");
|
|
359
359
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-gnu/package.json").version;
|
|
360
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
360
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
361
361
|
return binding;
|
|
362
362
|
} catch (e) {
|
|
363
363
|
loadErrors.push(e);
|
|
@@ -372,7 +372,7 @@ function requireNative() {
|
|
|
372
372
|
try {
|
|
373
373
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-ppc64-gnu/core.linux-ppc64-gnu.node");
|
|
374
374
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-ppc64-gnu/package.json").version;
|
|
375
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
375
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
376
376
|
return binding;
|
|
377
377
|
} catch (e) {
|
|
378
378
|
loadErrors.push(e);
|
|
@@ -386,7 +386,7 @@ function requireNative() {
|
|
|
386
386
|
try {
|
|
387
387
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-s390x-gnu/core.linux-s390x-gnu.node");
|
|
388
388
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-s390x-gnu/package.json").version;
|
|
389
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
389
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
390
390
|
return binding;
|
|
391
391
|
} catch (e) {
|
|
392
392
|
loadErrors.push(e);
|
|
@@ -402,7 +402,7 @@ function requireNative() {
|
|
|
402
402
|
try {
|
|
403
403
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm64/core.openharmony-arm64.node");
|
|
404
404
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm64/package.json").version;
|
|
405
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
405
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
406
406
|
return binding;
|
|
407
407
|
} catch (e) {
|
|
408
408
|
loadErrors.push(e);
|
|
@@ -416,7 +416,7 @@ function requireNative() {
|
|
|
416
416
|
try {
|
|
417
417
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-x64/core.openharmony-x64.node");
|
|
418
418
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-x64/package.json").version;
|
|
419
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
419
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
420
420
|
return binding;
|
|
421
421
|
} catch (e) {
|
|
422
422
|
loadErrors.push(e);
|
|
@@ -430,7 +430,7 @@ function requireNative() {
|
|
|
430
430
|
try {
|
|
431
431
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm/core.openharmony-arm.node");
|
|
432
432
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm/package.json").version;
|
|
433
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
433
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
434
434
|
return binding;
|
|
435
435
|
} catch (e) {
|
|
436
436
|
loadErrors.push(e);
|
|
@@ -520,7 +520,7 @@ if (!nativeBinding || forceWasi) {
|
|
|
520
520
|
if (!candidateFailed) {
|
|
521
521
|
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
522
522
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-wasm32-wasi/package.json").version;
|
|
523
|
-
if (bindingPackageVersion !== "2.14.0-rlch.
|
|
523
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5") throw new Error(`WASI binding package version mismatch, expected 2.14.0-rlch.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
524
524
|
}
|
|
525
525
|
wasiBinding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-wasm32-wasi/core.wasm32-wasi.node");
|
|
526
526
|
nativeBinding = wasiBinding;
|
|
@@ -568,6 +568,16 @@ var Renderer = class {
|
|
|
568
568
|
const { options: opts, signal } = await (0, _takumi_rs_helpers_renderer.prepareRenderInput)(this.fonts, options ?? {}, node);
|
|
569
569
|
return this.inner.renderSvg(node, opts, signal);
|
|
570
570
|
}
|
|
571
|
+
/** Renders an image and measures its layout from one layout pass: `render`'s image, `measure`'s tree. */
|
|
572
|
+
async renderWithMeasure(node, options) {
|
|
573
|
+
const { options: opts, signal } = await (0, _takumi_rs_helpers_renderer.prepareRenderInput)(this.fonts, options ?? {}, node);
|
|
574
|
+
return this.inner.renderWithMeasure(node, opts, signal);
|
|
575
|
+
}
|
|
576
|
+
/** Renders an SVG and measures its layout from one layout pass: `renderSvg`'s SVG, `measure`'s tree. */
|
|
577
|
+
async renderSvgWithMeasure(node, options) {
|
|
578
|
+
const { options: opts, signal } = await (0, _takumi_rs_helpers_renderer.prepareRenderInput)(this.fonts, options ?? {}, node);
|
|
579
|
+
return this.inner.renderSvgWithMeasure(node, opts, signal);
|
|
580
|
+
}
|
|
571
581
|
async measure(node, options) {
|
|
572
582
|
const { options: opts, signal } = await (0, _takumi_rs_helpers_renderer.prepareRenderInput)(this.fonts, options ?? {}, node);
|
|
573
583
|
return this.inner.measure(node, opts, signal);
|
package/dist/export.d.cts
CHANGED
|
@@ -182,6 +182,13 @@ interface RenderAnimationOptions$1 {
|
|
|
182
182
|
/** Default BCP-47 language applied to the root, inherited by nodes without their own lang. */
|
|
183
183
|
lang?: string;
|
|
184
184
|
}
|
|
185
|
+
/** An image and the measured layout of the node tree it draws. */
|
|
186
|
+
interface RenderedWithMeasure {
|
|
187
|
+
/** The image, encoded as `render` encodes it. */
|
|
188
|
+
image: Buffer<ArrayBuffer>;
|
|
189
|
+
/** The layout, as `measure` returns it. */
|
|
190
|
+
measured: MeasuredNode;
|
|
191
|
+
}
|
|
185
192
|
/** Options for constructing a [`Renderer`]. */
|
|
186
193
|
interface RendererOptions {
|
|
187
194
|
/**
|
|
@@ -252,6 +259,13 @@ interface RenderOptions$1 {
|
|
|
252
259
|
* Chinese re-rasterizes glyphs it just evicted.
|
|
253
260
|
*/
|
|
254
261
|
declare function setGlyphCacheMaxBytes(bytes: number): void;
|
|
262
|
+
/** An SVG document and the measured layout of the node tree it draws. */
|
|
263
|
+
interface SvgRenderedWithMeasure {
|
|
264
|
+
/** The SVG document, as `renderSvg` returns it. */
|
|
265
|
+
svg: string;
|
|
266
|
+
/** The layout, as `measure` returns it. */
|
|
267
|
+
measured: MeasuredNode;
|
|
268
|
+
}
|
|
255
269
|
/**
|
|
256
270
|
* Options for rendering a node tree to an SVG document. SVG is a vector
|
|
257
271
|
* format, so the raster-only knobs (`format`, `quality`, `lossless`,
|
|
@@ -294,9 +308,13 @@ declare class Renderer {
|
|
|
294
308
|
constructor(options?: RendererOptions);
|
|
295
309
|
render(node: Node, options?: RenderOptions): Promise<Buffer<ArrayBuffer>>;
|
|
296
310
|
renderSvg(node: Node, options?: SvgRenderOptions): Promise<string>;
|
|
311
|
+
/** Renders an image and measures its layout from one layout pass: `render`'s image, `measure`'s tree. */
|
|
312
|
+
renderWithMeasure(node: Node, options?: RenderOptions): Promise<RenderedWithMeasure>;
|
|
313
|
+
/** Renders an SVG and measures its layout from one layout pass: `renderSvg`'s SVG, `measure`'s tree. */
|
|
314
|
+
renderSvgWithMeasure(node: Node, options?: SvgRenderOptions): Promise<SvgRenderedWithMeasure>;
|
|
297
315
|
measure(node: Node, options?: RenderOptions): Promise<MeasuredNode>;
|
|
298
316
|
renderAnimation(options: RenderAnimationOptions): Promise<Buffer<ArrayBuffer>>;
|
|
299
317
|
registerFont(font: FontLoader$1): Promise<RegisteredFamily[]>;
|
|
300
318
|
}
|
|
301
319
|
//#endregion
|
|
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 };
|
|
320
|
+
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, type RenderedWithMeasure, Renderer, type RendererOptions, type RgbaImage, SvgRenderOptions, type SvgRenderedWithMeasure, type TextNode, setGlyphCacheMaxBytes };
|
package/dist/export.d.mts
CHANGED
|
@@ -182,6 +182,13 @@ interface RenderAnimationOptions$1 {
|
|
|
182
182
|
/** Default BCP-47 language applied to the root, inherited by nodes without their own lang. */
|
|
183
183
|
lang?: string;
|
|
184
184
|
}
|
|
185
|
+
/** An image and the measured layout of the node tree it draws. */
|
|
186
|
+
interface RenderedWithMeasure {
|
|
187
|
+
/** The image, encoded as `render` encodes it. */
|
|
188
|
+
image: Buffer<ArrayBuffer>;
|
|
189
|
+
/** The layout, as `measure` returns it. */
|
|
190
|
+
measured: MeasuredNode;
|
|
191
|
+
}
|
|
185
192
|
/** Options for constructing a [`Renderer`]. */
|
|
186
193
|
interface RendererOptions {
|
|
187
194
|
/**
|
|
@@ -252,6 +259,13 @@ interface RenderOptions$1 {
|
|
|
252
259
|
* Chinese re-rasterizes glyphs it just evicted.
|
|
253
260
|
*/
|
|
254
261
|
declare function setGlyphCacheMaxBytes(bytes: number): void;
|
|
262
|
+
/** An SVG document and the measured layout of the node tree it draws. */
|
|
263
|
+
interface SvgRenderedWithMeasure {
|
|
264
|
+
/** The SVG document, as `renderSvg` returns it. */
|
|
265
|
+
svg: string;
|
|
266
|
+
/** The layout, as `measure` returns it. */
|
|
267
|
+
measured: MeasuredNode;
|
|
268
|
+
}
|
|
255
269
|
/**
|
|
256
270
|
* Options for rendering a node tree to an SVG document. SVG is a vector
|
|
257
271
|
* format, so the raster-only knobs (`format`, `quality`, `lossless`,
|
|
@@ -294,9 +308,13 @@ declare class Renderer {
|
|
|
294
308
|
constructor(options?: RendererOptions);
|
|
295
309
|
render(node: Node, options?: RenderOptions): Promise<Buffer<ArrayBuffer>>;
|
|
296
310
|
renderSvg(node: Node, options?: SvgRenderOptions): Promise<string>;
|
|
311
|
+
/** Renders an image and measures its layout from one layout pass: `render`'s image, `measure`'s tree. */
|
|
312
|
+
renderWithMeasure(node: Node, options?: RenderOptions): Promise<RenderedWithMeasure>;
|
|
313
|
+
/** Renders an SVG and measures its layout from one layout pass: `renderSvg`'s SVG, `measure`'s tree. */
|
|
314
|
+
renderSvgWithMeasure(node: Node, options?: SvgRenderOptions): Promise<SvgRenderedWithMeasure>;
|
|
297
315
|
measure(node: Node, options?: RenderOptions): Promise<MeasuredNode>;
|
|
298
316
|
renderAnimation(options: RenderAnimationOptions): Promise<Buffer<ArrayBuffer>>;
|
|
299
317
|
registerFont(font: FontLoader$1): Promise<RegisteredFamily[]>;
|
|
300
318
|
}
|
|
301
319
|
//#endregion
|
|
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 };
|
|
320
|
+
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, type RenderedWithMeasure, Renderer, type RendererOptions, type RgbaImage, SvgRenderOptions, type SvgRenderedWithMeasure, 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.14.0-rlch.
|
|
61
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
75
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
92
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
106
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
121
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
135
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
150
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
164
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
178
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
194
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
208
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
225
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
239
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
255
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
269
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
285
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
299
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
315
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
329
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
345
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
359
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
374
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
388
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
404
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
418
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
432
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5" && 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.14.0-rlch.5 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.14.0-rlch.
|
|
522
|
+
if (bindingPackageVersion !== "2.14.0-rlch.5") throw new Error(`WASI binding package version mismatch, expected 2.14.0-rlch.5 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;
|
|
@@ -567,6 +567,16 @@ var Renderer = class {
|
|
|
567
567
|
const { options: opts, signal } = await prepareRenderInput(this.fonts, options ?? {}, node);
|
|
568
568
|
return this.inner.renderSvg(node, opts, signal);
|
|
569
569
|
}
|
|
570
|
+
/** Renders an image and measures its layout from one layout pass: `render`'s image, `measure`'s tree. */
|
|
571
|
+
async renderWithMeasure(node, options) {
|
|
572
|
+
const { options: opts, signal } = await prepareRenderInput(this.fonts, options ?? {}, node);
|
|
573
|
+
return this.inner.renderWithMeasure(node, opts, signal);
|
|
574
|
+
}
|
|
575
|
+
/** Renders an SVG and measures its layout from one layout pass: `renderSvg`'s SVG, `measure`'s tree. */
|
|
576
|
+
async renderSvgWithMeasure(node, options) {
|
|
577
|
+
const { options: opts, signal } = await prepareRenderInput(this.fonts, options ?? {}, node);
|
|
578
|
+
return this.inner.renderSvgWithMeasure(node, opts, signal);
|
|
579
|
+
}
|
|
570
580
|
async measure(node, options) {
|
|
571
581
|
const { options: opts, signal } = await prepareRenderInput(this.fonts, options ?? {}, node);
|
|
572
582
|
return this.inner.measure(node, opts, signal);
|
package/index.d.ts
CHANGED
|
@@ -86,6 +86,17 @@ export declare class Renderer {
|
|
|
86
86
|
render(source: Node, options?: RenderOptions, signal?: AbortSignal): Promise<Buffer<ArrayBuffer>>
|
|
87
87
|
/** Renders a node tree into an SVG document string asynchronously. */
|
|
88
88
|
renderSvg(source: Node, options?: SvgRenderOptions, signal?: AbortSignal): Promise<string>
|
|
89
|
+
/**
|
|
90
|
+
* Renders a node tree into an image buffer and measures its layout, laying it out once
|
|
91
|
+
* for both. The image is `render`'s and the measured tree `measure`'s for the same options.
|
|
92
|
+
*/
|
|
93
|
+
renderWithMeasure(source: Node, options?: RenderOptions, signal?: AbortSignal): Promise<RenderedWithMeasure>
|
|
94
|
+
/**
|
|
95
|
+
* Renders a node tree into an SVG document string and measures its layout, laying it out
|
|
96
|
+
* once for both. The SVG is `renderSvg`'s and the measured tree `measure`'s for the same
|
|
97
|
+
* options.
|
|
98
|
+
*/
|
|
99
|
+
renderSvgWithMeasure(source: Node, options?: SvgRenderOptions, signal?: AbortSignal): Promise<SvgRenderedWithMeasure>
|
|
89
100
|
/** Measures a node tree and returns layout information asynchronously. */
|
|
90
101
|
measure(source: Node, options?: RenderOptions, signal?: AbortSignal): Promise<MeasuredNode>
|
|
91
102
|
/** Renders a sequential scene animation into a buffer asynchronously. */
|
|
@@ -238,6 +249,14 @@ export interface RenderAnimationOptions {
|
|
|
238
249
|
lang?: string
|
|
239
250
|
}
|
|
240
251
|
|
|
252
|
+
/** An image and the measured layout of the node tree it draws. */
|
|
253
|
+
export interface RenderedWithMeasure {
|
|
254
|
+
/** The image, encoded as `render` encodes it. */
|
|
255
|
+
image: Buffer<ArrayBuffer>
|
|
256
|
+
/** The layout, as `measure` returns it. */
|
|
257
|
+
measured: MeasuredNode
|
|
258
|
+
}
|
|
259
|
+
|
|
241
260
|
/** Options for constructing a [`Renderer`]. */
|
|
242
261
|
export interface RendererOptions {
|
|
243
262
|
/**
|
|
@@ -311,6 +330,14 @@ export interface RenderOptions {
|
|
|
311
330
|
*/
|
|
312
331
|
export declare function setGlyphCacheMaxBytes(bytes: number): void
|
|
313
332
|
|
|
333
|
+
/** An SVG document and the measured layout of the node tree it draws. */
|
|
334
|
+
export interface SvgRenderedWithMeasure {
|
|
335
|
+
/** The SVG document, as `renderSvg` returns it. */
|
|
336
|
+
svg: string
|
|
337
|
+
/** The layout, as `measure` returns it. */
|
|
338
|
+
measured: MeasuredNode
|
|
339
|
+
}
|
|
340
|
+
|
|
314
341
|
/**
|
|
315
342
|
* Options for rendering a node tree to an SVG document. SVG is a vector
|
|
316
343
|
* format, so the raster-only knobs (`format`, `quality`, `lossless`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rlch/takumi-core",
|
|
3
|
-
"version": "2.14.0-rlch.
|
|
3
|
+
"version": "2.14.0-rlch.5",
|
|
4
4
|
"description": "Render OG images from Takumi node trees with native Node.js bindings. No headless browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"publish-lint": "attw --pack . && publint --strict ."
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@takumi-rs/helpers": "npm:@rlch/takumi-helpers@2.14.0-rlch.
|
|
70
|
+
"@takumi-rs/helpers": "npm:@rlch/takumi-helpers@2.14.0-rlch.5"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@napi-rs/cli": "3.9.0",
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
"node": ">=18"
|
|
102
102
|
},
|
|
103
103
|
"optionalDependencies": {
|
|
104
|
-
"@takumi-rs/core-darwin-arm64": "npm:@rlch/takumi-core-darwin-arm64@2.14.0-rlch.
|
|
105
|
-
"@takumi-rs/core-linux-arm64-gnu": "npm:@rlch/takumi-core-linux-arm64-gnu@2.14.0-rlch.
|
|
106
|
-
"@takumi-rs/core-linux-x64-gnu": "npm:@rlch/takumi-core-linux-x64-gnu@2.14.0-rlch.
|
|
104
|
+
"@takumi-rs/core-darwin-arm64": "npm:@rlch/takumi-core-darwin-arm64@2.14.0-rlch.5",
|
|
105
|
+
"@takumi-rs/core-linux-arm64-gnu": "npm:@rlch/takumi-core-linux-arm64-gnu@2.14.0-rlch.5",
|
|
106
|
+
"@takumi-rs/core-linux-x64-gnu": "npm:@rlch/takumi-core-linux-x64-gnu@2.14.0-rlch.5"
|
|
107
107
|
}
|
|
108
108
|
}
|