@takumi-rs/core 1.0.0-rc.3 → 1.0.0-rc.4
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 +26 -26
- package/dist/export.mjs +26 -26
- package/package.json +10 -10
package/dist/export.cjs
CHANGED
|
@@ -58,7 +58,7 @@ function requireNative() {
|
|
|
58
58
|
try {
|
|
59
59
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm64/core.android-arm64.node");
|
|
60
60
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm64/package.json").version;
|
|
61
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
61
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm-eabi/core.android-arm-eabi.node");
|
|
74
74
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-android-arm-eabi/package.json").version;
|
|
75
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
75
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-gnu/core.win32-x64-gnu.node");
|
|
91
91
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-gnu/package.json").version;
|
|
92
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
92
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-msvc/core.win32-x64-msvc.node");
|
|
105
105
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-x64-msvc/package.json").version;
|
|
106
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
106
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-ia32-msvc/core.win32-ia32-msvc.node");
|
|
120
120
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-ia32-msvc/package.json").version;
|
|
121
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
121
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-arm64-msvc/core.win32-arm64-msvc.node");
|
|
134
134
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-win32-arm64-msvc/package.json").version;
|
|
135
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
135
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-universal/core.darwin-universal.node");
|
|
149
149
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-universal/package.json").version;
|
|
150
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
150
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-x64/core.darwin-x64.node");
|
|
163
163
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-x64/package.json").version;
|
|
164
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
164
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-arm64/core.darwin-arm64.node");
|
|
177
177
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-darwin-arm64/package.json").version;
|
|
178
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
178
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
179
179
|
return binding;
|
|
180
180
|
} catch (e) {
|
|
181
181
|
loadErrors.push(e);
|
|
@@ -190,7 +190,7 @@ function requireNative() {
|
|
|
190
190
|
try {
|
|
191
191
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-x64/core.freebsd-x64.node");
|
|
192
192
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-x64/package.json").version;
|
|
193
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
193
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
194
194
|
return binding;
|
|
195
195
|
} catch (e) {
|
|
196
196
|
loadErrors.push(e);
|
|
@@ -204,7 +204,7 @@ function requireNative() {
|
|
|
204
204
|
try {
|
|
205
205
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-arm64/core.freebsd-arm64.node");
|
|
206
206
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-arm64/package.json").version;
|
|
207
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
207
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
208
208
|
return binding;
|
|
209
209
|
} catch (e) {
|
|
210
210
|
loadErrors.push(e);
|
|
@@ -219,7 +219,7 @@ function requireNative() {
|
|
|
219
219
|
try {
|
|
220
220
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-musl/core.linux-x64-musl.node");
|
|
221
221
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-musl/package.json").version;
|
|
222
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
222
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
223
223
|
return binding;
|
|
224
224
|
} catch (e) {
|
|
225
225
|
loadErrors.push(e);
|
|
@@ -233,7 +233,7 @@ function requireNative() {
|
|
|
233
233
|
try {
|
|
234
234
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-gnu/core.linux-x64-gnu.node");
|
|
235
235
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-gnu/package.json").version;
|
|
236
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
236
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
237
237
|
return binding;
|
|
238
238
|
} catch (e) {
|
|
239
239
|
loadErrors.push(e);
|
|
@@ -248,7 +248,7 @@ function requireNative() {
|
|
|
248
248
|
try {
|
|
249
249
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-musl/core.linux-arm64-musl.node");
|
|
250
250
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-musl/package.json").version;
|
|
251
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
251
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
252
252
|
return binding;
|
|
253
253
|
} catch (e) {
|
|
254
254
|
loadErrors.push(e);
|
|
@@ -262,7 +262,7 @@ function requireNative() {
|
|
|
262
262
|
try {
|
|
263
263
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-gnu/core.linux-arm64-gnu.node");
|
|
264
264
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-gnu/package.json").version;
|
|
265
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
265
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
266
266
|
return binding;
|
|
267
267
|
} catch (e) {
|
|
268
268
|
loadErrors.push(e);
|
|
@@ -277,7 +277,7 @@ function requireNative() {
|
|
|
277
277
|
try {
|
|
278
278
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-musleabihf/core.linux-arm-musleabihf.node");
|
|
279
279
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-musleabihf/package.json").version;
|
|
280
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
280
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
281
281
|
return binding;
|
|
282
282
|
} catch (e) {
|
|
283
283
|
loadErrors.push(e);
|
|
@@ -291,7 +291,7 @@ function requireNative() {
|
|
|
291
291
|
try {
|
|
292
292
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-gnueabihf/core.linux-arm-gnueabihf.node");
|
|
293
293
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-gnueabihf/package.json").version;
|
|
294
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
294
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
295
295
|
return binding;
|
|
296
296
|
} catch (e) {
|
|
297
297
|
loadErrors.push(e);
|
|
@@ -306,7 +306,7 @@ function requireNative() {
|
|
|
306
306
|
try {
|
|
307
307
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-musl/core.linux-loong64-musl.node");
|
|
308
308
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-musl/package.json").version;
|
|
309
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
309
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
310
310
|
return binding;
|
|
311
311
|
} catch (e) {
|
|
312
312
|
loadErrors.push(e);
|
|
@@ -320,7 +320,7 @@ function requireNative() {
|
|
|
320
320
|
try {
|
|
321
321
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-gnu/core.linux-loong64-gnu.node");
|
|
322
322
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-gnu/package.json").version;
|
|
323
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
323
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
324
324
|
return binding;
|
|
325
325
|
} catch (e) {
|
|
326
326
|
loadErrors.push(e);
|
|
@@ -335,7 +335,7 @@ function requireNative() {
|
|
|
335
335
|
try {
|
|
336
336
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-musl/core.linux-riscv64-musl.node");
|
|
337
337
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-musl/package.json").version;
|
|
338
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
338
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
339
339
|
return binding;
|
|
340
340
|
} catch (e) {
|
|
341
341
|
loadErrors.push(e);
|
|
@@ -349,7 +349,7 @@ function requireNative() {
|
|
|
349
349
|
try {
|
|
350
350
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-gnu/core.linux-riscv64-gnu.node");
|
|
351
351
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-gnu/package.json").version;
|
|
352
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
352
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
353
353
|
return binding;
|
|
354
354
|
} catch (e) {
|
|
355
355
|
loadErrors.push(e);
|
|
@@ -364,7 +364,7 @@ function requireNative() {
|
|
|
364
364
|
try {
|
|
365
365
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-ppc64-gnu/core.linux-ppc64-gnu.node");
|
|
366
366
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-ppc64-gnu/package.json").version;
|
|
367
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
367
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
368
368
|
return binding;
|
|
369
369
|
} catch (e) {
|
|
370
370
|
loadErrors.push(e);
|
|
@@ -378,7 +378,7 @@ function requireNative() {
|
|
|
378
378
|
try {
|
|
379
379
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-s390x-gnu/core.linux-s390x-gnu.node");
|
|
380
380
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-linux-s390x-gnu/package.json").version;
|
|
381
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
381
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
382
382
|
return binding;
|
|
383
383
|
} catch (e) {
|
|
384
384
|
loadErrors.push(e);
|
|
@@ -393,7 +393,7 @@ function requireNative() {
|
|
|
393
393
|
try {
|
|
394
394
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm64/core.openharmony-arm64.node");
|
|
395
395
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm64/package.json").version;
|
|
396
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
396
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
397
397
|
return binding;
|
|
398
398
|
} catch (e) {
|
|
399
399
|
loadErrors.push(e);
|
|
@@ -407,7 +407,7 @@ function requireNative() {
|
|
|
407
407
|
try {
|
|
408
408
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-x64/core.openharmony-x64.node");
|
|
409
409
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-x64/package.json").version;
|
|
410
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
410
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
411
411
|
return binding;
|
|
412
412
|
} catch (e) {
|
|
413
413
|
loadErrors.push(e);
|
|
@@ -421,7 +421,7 @@ function requireNative() {
|
|
|
421
421
|
try {
|
|
422
422
|
const binding = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm/core.openharmony-arm.node");
|
|
423
423
|
const bindingPackageVersion = require$1(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm/package.json").version;
|
|
424
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
424
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
425
425
|
return binding;
|
|
426
426
|
} catch (e) {
|
|
427
427
|
loadErrors.push(e);
|
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 !== "1.0.0-rc.
|
|
61
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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 !== "1.0.0-rc.
|
|
75
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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 !== "1.0.0-rc.
|
|
92
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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 !== "1.0.0-rc.
|
|
106
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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 !== "1.0.0-rc.
|
|
121
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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 !== "1.0.0-rc.
|
|
135
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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 !== "1.0.0-rc.
|
|
150
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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 !== "1.0.0-rc.
|
|
164
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 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 !== "1.0.0-rc.
|
|
178
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
179
179
|
return binding;
|
|
180
180
|
} catch (e) {
|
|
181
181
|
loadErrors.push(e);
|
|
@@ -190,7 +190,7 @@ function requireNative() {
|
|
|
190
190
|
try {
|
|
191
191
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-x64/core.freebsd-x64.node");
|
|
192
192
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-x64/package.json").version;
|
|
193
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
193
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
194
194
|
return binding;
|
|
195
195
|
} catch (e) {
|
|
196
196
|
loadErrors.push(e);
|
|
@@ -204,7 +204,7 @@ function requireNative() {
|
|
|
204
204
|
try {
|
|
205
205
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-arm64/core.freebsd-arm64.node");
|
|
206
206
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-freebsd-arm64/package.json").version;
|
|
207
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
207
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
208
208
|
return binding;
|
|
209
209
|
} catch (e) {
|
|
210
210
|
loadErrors.push(e);
|
|
@@ -219,7 +219,7 @@ function requireNative() {
|
|
|
219
219
|
try {
|
|
220
220
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-musl/core.linux-x64-musl.node");
|
|
221
221
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-musl/package.json").version;
|
|
222
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
222
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
223
223
|
return binding;
|
|
224
224
|
} catch (e) {
|
|
225
225
|
loadErrors.push(e);
|
|
@@ -233,7 +233,7 @@ function requireNative() {
|
|
|
233
233
|
try {
|
|
234
234
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-gnu/core.linux-x64-gnu.node");
|
|
235
235
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-x64-gnu/package.json").version;
|
|
236
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
236
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
237
237
|
return binding;
|
|
238
238
|
} catch (e) {
|
|
239
239
|
loadErrors.push(e);
|
|
@@ -248,7 +248,7 @@ function requireNative() {
|
|
|
248
248
|
try {
|
|
249
249
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-musl/core.linux-arm64-musl.node");
|
|
250
250
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-musl/package.json").version;
|
|
251
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
251
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
252
252
|
return binding;
|
|
253
253
|
} catch (e) {
|
|
254
254
|
loadErrors.push(e);
|
|
@@ -262,7 +262,7 @@ function requireNative() {
|
|
|
262
262
|
try {
|
|
263
263
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-gnu/core.linux-arm64-gnu.node");
|
|
264
264
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm64-gnu/package.json").version;
|
|
265
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
265
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
266
266
|
return binding;
|
|
267
267
|
} catch (e) {
|
|
268
268
|
loadErrors.push(e);
|
|
@@ -277,7 +277,7 @@ function requireNative() {
|
|
|
277
277
|
try {
|
|
278
278
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-musleabihf/core.linux-arm-musleabihf.node");
|
|
279
279
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-musleabihf/package.json").version;
|
|
280
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
280
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
281
281
|
return binding;
|
|
282
282
|
} catch (e) {
|
|
283
283
|
loadErrors.push(e);
|
|
@@ -291,7 +291,7 @@ function requireNative() {
|
|
|
291
291
|
try {
|
|
292
292
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-gnueabihf/core.linux-arm-gnueabihf.node");
|
|
293
293
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-arm-gnueabihf/package.json").version;
|
|
294
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
294
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
295
295
|
return binding;
|
|
296
296
|
} catch (e) {
|
|
297
297
|
loadErrors.push(e);
|
|
@@ -306,7 +306,7 @@ function requireNative() {
|
|
|
306
306
|
try {
|
|
307
307
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-musl/core.linux-loong64-musl.node");
|
|
308
308
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-musl/package.json").version;
|
|
309
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
309
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
310
310
|
return binding;
|
|
311
311
|
} catch (e) {
|
|
312
312
|
loadErrors.push(e);
|
|
@@ -320,7 +320,7 @@ function requireNative() {
|
|
|
320
320
|
try {
|
|
321
321
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-gnu/core.linux-loong64-gnu.node");
|
|
322
322
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-loong64-gnu/package.json").version;
|
|
323
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
323
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
324
324
|
return binding;
|
|
325
325
|
} catch (e) {
|
|
326
326
|
loadErrors.push(e);
|
|
@@ -335,7 +335,7 @@ function requireNative() {
|
|
|
335
335
|
try {
|
|
336
336
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-musl/core.linux-riscv64-musl.node");
|
|
337
337
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-musl/package.json").version;
|
|
338
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
338
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
339
339
|
return binding;
|
|
340
340
|
} catch (e) {
|
|
341
341
|
loadErrors.push(e);
|
|
@@ -349,7 +349,7 @@ function requireNative() {
|
|
|
349
349
|
try {
|
|
350
350
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-gnu/core.linux-riscv64-gnu.node");
|
|
351
351
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-riscv64-gnu/package.json").version;
|
|
352
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
352
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
353
353
|
return binding;
|
|
354
354
|
} catch (e) {
|
|
355
355
|
loadErrors.push(e);
|
|
@@ -364,7 +364,7 @@ function requireNative() {
|
|
|
364
364
|
try {
|
|
365
365
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-ppc64-gnu/core.linux-ppc64-gnu.node");
|
|
366
366
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-ppc64-gnu/package.json").version;
|
|
367
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
367
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
368
368
|
return binding;
|
|
369
369
|
} catch (e) {
|
|
370
370
|
loadErrors.push(e);
|
|
@@ -378,7 +378,7 @@ function requireNative() {
|
|
|
378
378
|
try {
|
|
379
379
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-s390x-gnu/core.linux-s390x-gnu.node");
|
|
380
380
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-linux-s390x-gnu/package.json").version;
|
|
381
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
381
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
382
382
|
return binding;
|
|
383
383
|
} catch (e) {
|
|
384
384
|
loadErrors.push(e);
|
|
@@ -393,7 +393,7 @@ function requireNative() {
|
|
|
393
393
|
try {
|
|
394
394
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm64/core.openharmony-arm64.node");
|
|
395
395
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm64/package.json").version;
|
|
396
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
396
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
397
397
|
return binding;
|
|
398
398
|
} catch (e) {
|
|
399
399
|
loadErrors.push(e);
|
|
@@ -407,7 +407,7 @@ function requireNative() {
|
|
|
407
407
|
try {
|
|
408
408
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-x64/core.openharmony-x64.node");
|
|
409
409
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-x64/package.json").version;
|
|
410
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
410
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
411
411
|
return binding;
|
|
412
412
|
} catch (e) {
|
|
413
413
|
loadErrors.push(e);
|
|
@@ -421,7 +421,7 @@ function requireNative() {
|
|
|
421
421
|
try {
|
|
422
422
|
const binding = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm/core.openharmony-arm.node");
|
|
423
423
|
const bindingPackageVersion = require(/* turbopackOptional: true */ "@takumi-rs/core-openharmony-arm/package.json").version;
|
|
424
|
-
if (bindingPackageVersion !== "1.0.0-rc.
|
|
424
|
+
if (bindingPackageVersion !== "1.0.0-rc.4" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.4 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
425
425
|
return binding;
|
|
426
426
|
} catch (e) {
|
|
427
427
|
loadErrors.push(e);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takumi-rs/core",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.4",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"css",
|
|
6
6
|
"image",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"bench": "bun tests/bench/index.tsx"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@takumi-rs/helpers": "1.0.0-rc.
|
|
49
|
+
"@takumi-rs/helpers": "1.0.0-rc.4"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@napi-rs/cli": "3.5.1",
|
|
@@ -78,13 +78,13 @@
|
|
|
78
78
|
"node": ">= 12.22.0 < 13 || >= 14.17.0 < 15 || >= 15.12.0 < 16 || >= 16.0.0"
|
|
79
79
|
},
|
|
80
80
|
"optionalDependencies": {
|
|
81
|
-
"@takumi-rs/core-darwin-x64": "1.0.0-rc.
|
|
82
|
-
"@takumi-rs/core-darwin-arm64": "1.0.0-rc.
|
|
83
|
-
"@takumi-rs/core-linux-arm64-gnu": "1.0.0-rc.
|
|
84
|
-
"@takumi-rs/core-linux-arm64-musl": "1.0.0-rc.
|
|
85
|
-
"@takumi-rs/core-win32-arm64-msvc": "1.0.0-rc.
|
|
86
|
-
"@takumi-rs/core-linux-x64-gnu": "1.0.0-rc.
|
|
87
|
-
"@takumi-rs/core-linux-x64-musl": "1.0.0-rc.
|
|
88
|
-
"@takumi-rs/core-win32-x64-msvc": "1.0.0-rc.
|
|
81
|
+
"@takumi-rs/core-darwin-x64": "1.0.0-rc.4",
|
|
82
|
+
"@takumi-rs/core-darwin-arm64": "1.0.0-rc.4",
|
|
83
|
+
"@takumi-rs/core-linux-arm64-gnu": "1.0.0-rc.4",
|
|
84
|
+
"@takumi-rs/core-linux-arm64-musl": "1.0.0-rc.4",
|
|
85
|
+
"@takumi-rs/core-win32-arm64-msvc": "1.0.0-rc.4",
|
|
86
|
+
"@takumi-rs/core-linux-x64-gnu": "1.0.0-rc.4",
|
|
87
|
+
"@takumi-rs/core-linux-x64-musl": "1.0.0-rc.4",
|
|
88
|
+
"@takumi-rs/core-win32-x64-msvc": "1.0.0-rc.4"
|
|
89
89
|
}
|
|
90
90
|
}
|