@unownplain/anthelion-komac 0.0.68 → 0.0.69
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/index.js +54 -54
- package/package.json +9 -9
package/index.js
CHANGED
|
@@ -79,8 +79,8 @@ function requireNative() {
|
|
|
79
79
|
try {
|
|
80
80
|
const binding = require('@unownplain/anthelion-komac-android-arm64')
|
|
81
81
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-android-arm64/package.json').version
|
|
82
|
-
if (bindingPackageVersion !== '0.0.
|
|
83
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
82
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
83
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
84
84
|
}
|
|
85
85
|
return binding
|
|
86
86
|
} catch (e) {
|
|
@@ -95,8 +95,8 @@ function requireNative() {
|
|
|
95
95
|
try {
|
|
96
96
|
const binding = require('@unownplain/anthelion-komac-android-arm-eabi')
|
|
97
97
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-android-arm-eabi/package.json').version
|
|
98
|
-
if (bindingPackageVersion !== '0.0.
|
|
99
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
98
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
99
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
100
100
|
}
|
|
101
101
|
return binding
|
|
102
102
|
} catch (e) {
|
|
@@ -116,8 +116,8 @@ function requireNative() {
|
|
|
116
116
|
try {
|
|
117
117
|
const binding = require('@unownplain/anthelion-komac-win32-x64-gnu')
|
|
118
118
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-win32-x64-gnu/package.json').version
|
|
119
|
-
if (bindingPackageVersion !== '0.0.
|
|
120
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
119
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
120
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
121
121
|
}
|
|
122
122
|
return binding
|
|
123
123
|
} catch (e) {
|
|
@@ -132,8 +132,8 @@ function requireNative() {
|
|
|
132
132
|
try {
|
|
133
133
|
const binding = require('@unownplain/anthelion-komac-win32-x64-msvc')
|
|
134
134
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-win32-x64-msvc/package.json').version
|
|
135
|
-
if (bindingPackageVersion !== '0.0.
|
|
136
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
135
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
136
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
137
137
|
}
|
|
138
138
|
return binding
|
|
139
139
|
} catch (e) {
|
|
@@ -149,8 +149,8 @@ function requireNative() {
|
|
|
149
149
|
try {
|
|
150
150
|
const binding = require('@unownplain/anthelion-komac-win32-ia32-msvc')
|
|
151
151
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-win32-ia32-msvc/package.json').version
|
|
152
|
-
if (bindingPackageVersion !== '0.0.
|
|
153
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
152
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
153
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
154
154
|
}
|
|
155
155
|
return binding
|
|
156
156
|
} catch (e) {
|
|
@@ -165,8 +165,8 @@ function requireNative() {
|
|
|
165
165
|
try {
|
|
166
166
|
const binding = require('@unownplain/anthelion-komac-win32-arm64-msvc')
|
|
167
167
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-win32-arm64-msvc/package.json').version
|
|
168
|
-
if (bindingPackageVersion !== '0.0.
|
|
169
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
168
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
169
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
170
170
|
}
|
|
171
171
|
return binding
|
|
172
172
|
} catch (e) {
|
|
@@ -184,8 +184,8 @@ function requireNative() {
|
|
|
184
184
|
try {
|
|
185
185
|
const binding = require('@unownplain/anthelion-komac-darwin-universal')
|
|
186
186
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-darwin-universal/package.json').version
|
|
187
|
-
if (bindingPackageVersion !== '0.0.
|
|
188
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
187
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
188
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
189
189
|
}
|
|
190
190
|
return binding
|
|
191
191
|
} catch (e) {
|
|
@@ -200,8 +200,8 @@ function requireNative() {
|
|
|
200
200
|
try {
|
|
201
201
|
const binding = require('@unownplain/anthelion-komac-darwin-x64')
|
|
202
202
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-darwin-x64/package.json').version
|
|
203
|
-
if (bindingPackageVersion !== '0.0.
|
|
204
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
203
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
204
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
205
205
|
}
|
|
206
206
|
return binding
|
|
207
207
|
} catch (e) {
|
|
@@ -216,8 +216,8 @@ function requireNative() {
|
|
|
216
216
|
try {
|
|
217
217
|
const binding = require('@unownplain/anthelion-komac-darwin-arm64')
|
|
218
218
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-darwin-arm64/package.json').version
|
|
219
|
-
if (bindingPackageVersion !== '0.0.
|
|
220
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
219
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
220
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
221
221
|
}
|
|
222
222
|
return binding
|
|
223
223
|
} catch (e) {
|
|
@@ -236,8 +236,8 @@ function requireNative() {
|
|
|
236
236
|
try {
|
|
237
237
|
const binding = require('@unownplain/anthelion-komac-freebsd-x64')
|
|
238
238
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-freebsd-x64/package.json').version
|
|
239
|
-
if (bindingPackageVersion !== '0.0.
|
|
240
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
239
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
240
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
241
241
|
}
|
|
242
242
|
return binding
|
|
243
243
|
} catch (e) {
|
|
@@ -252,8 +252,8 @@ function requireNative() {
|
|
|
252
252
|
try {
|
|
253
253
|
const binding = require('@unownplain/anthelion-komac-freebsd-arm64')
|
|
254
254
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-freebsd-arm64/package.json').version
|
|
255
|
-
if (bindingPackageVersion !== '0.0.
|
|
256
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
255
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
256
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
257
257
|
}
|
|
258
258
|
return binding
|
|
259
259
|
} catch (e) {
|
|
@@ -273,8 +273,8 @@ function requireNative() {
|
|
|
273
273
|
try {
|
|
274
274
|
const binding = require('@unownplain/anthelion-komac-linux-x64-musl')
|
|
275
275
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-x64-musl/package.json').version
|
|
276
|
-
if (bindingPackageVersion !== '0.0.
|
|
277
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
276
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
277
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
278
278
|
}
|
|
279
279
|
return binding
|
|
280
280
|
} catch (e) {
|
|
@@ -289,8 +289,8 @@ function requireNative() {
|
|
|
289
289
|
try {
|
|
290
290
|
const binding = require('@unownplain/anthelion-komac-linux-x64-gnu')
|
|
291
291
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-x64-gnu/package.json').version
|
|
292
|
-
if (bindingPackageVersion !== '0.0.
|
|
293
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
292
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
293
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
294
294
|
}
|
|
295
295
|
return binding
|
|
296
296
|
} catch (e) {
|
|
@@ -307,8 +307,8 @@ function requireNative() {
|
|
|
307
307
|
try {
|
|
308
308
|
const binding = require('@unownplain/anthelion-komac-linux-arm64-musl')
|
|
309
309
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-arm64-musl/package.json').version
|
|
310
|
-
if (bindingPackageVersion !== '0.0.
|
|
311
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
310
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
311
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
312
312
|
}
|
|
313
313
|
return binding
|
|
314
314
|
} catch (e) {
|
|
@@ -323,8 +323,8 @@ function requireNative() {
|
|
|
323
323
|
try {
|
|
324
324
|
const binding = require('@unownplain/anthelion-komac-linux-arm64-gnu')
|
|
325
325
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-arm64-gnu/package.json').version
|
|
326
|
-
if (bindingPackageVersion !== '0.0.
|
|
327
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
326
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
327
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
328
328
|
}
|
|
329
329
|
return binding
|
|
330
330
|
} catch (e) {
|
|
@@ -341,8 +341,8 @@ function requireNative() {
|
|
|
341
341
|
try {
|
|
342
342
|
const binding = require('@unownplain/anthelion-komac-linux-arm-musleabihf')
|
|
343
343
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-arm-musleabihf/package.json').version
|
|
344
|
-
if (bindingPackageVersion !== '0.0.
|
|
345
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
344
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
345
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
346
346
|
}
|
|
347
347
|
return binding
|
|
348
348
|
} catch (e) {
|
|
@@ -357,8 +357,8 @@ function requireNative() {
|
|
|
357
357
|
try {
|
|
358
358
|
const binding = require('@unownplain/anthelion-komac-linux-arm-gnueabihf')
|
|
359
359
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-arm-gnueabihf/package.json').version
|
|
360
|
-
if (bindingPackageVersion !== '0.0.
|
|
361
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
360
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
361
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
362
362
|
}
|
|
363
363
|
return binding
|
|
364
364
|
} catch (e) {
|
|
@@ -375,8 +375,8 @@ function requireNative() {
|
|
|
375
375
|
try {
|
|
376
376
|
const binding = require('@unownplain/anthelion-komac-linux-loong64-musl')
|
|
377
377
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-loong64-musl/package.json').version
|
|
378
|
-
if (bindingPackageVersion !== '0.0.
|
|
379
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
378
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
379
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
380
380
|
}
|
|
381
381
|
return binding
|
|
382
382
|
} catch (e) {
|
|
@@ -391,8 +391,8 @@ function requireNative() {
|
|
|
391
391
|
try {
|
|
392
392
|
const binding = require('@unownplain/anthelion-komac-linux-loong64-gnu')
|
|
393
393
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-loong64-gnu/package.json').version
|
|
394
|
-
if (bindingPackageVersion !== '0.0.
|
|
395
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
394
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
395
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
396
396
|
}
|
|
397
397
|
return binding
|
|
398
398
|
} catch (e) {
|
|
@@ -409,8 +409,8 @@ function requireNative() {
|
|
|
409
409
|
try {
|
|
410
410
|
const binding = require('@unownplain/anthelion-komac-linux-riscv64-musl')
|
|
411
411
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-riscv64-musl/package.json').version
|
|
412
|
-
if (bindingPackageVersion !== '0.0.
|
|
413
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
412
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
413
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
414
414
|
}
|
|
415
415
|
return binding
|
|
416
416
|
} catch (e) {
|
|
@@ -425,8 +425,8 @@ function requireNative() {
|
|
|
425
425
|
try {
|
|
426
426
|
const binding = require('@unownplain/anthelion-komac-linux-riscv64-gnu')
|
|
427
427
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-riscv64-gnu/package.json').version
|
|
428
|
-
if (bindingPackageVersion !== '0.0.
|
|
429
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
428
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
429
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
430
430
|
}
|
|
431
431
|
return binding
|
|
432
432
|
} catch (e) {
|
|
@@ -442,8 +442,8 @@ function requireNative() {
|
|
|
442
442
|
try {
|
|
443
443
|
const binding = require('@unownplain/anthelion-komac-linux-ppc64-gnu')
|
|
444
444
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-ppc64-gnu/package.json').version
|
|
445
|
-
if (bindingPackageVersion !== '0.0.
|
|
446
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
445
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
446
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
447
447
|
}
|
|
448
448
|
return binding
|
|
449
449
|
} catch (e) {
|
|
@@ -458,8 +458,8 @@ function requireNative() {
|
|
|
458
458
|
try {
|
|
459
459
|
const binding = require('@unownplain/anthelion-komac-linux-s390x-gnu')
|
|
460
460
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-linux-s390x-gnu/package.json').version
|
|
461
|
-
if (bindingPackageVersion !== '0.0.
|
|
462
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
461
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
462
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
463
463
|
}
|
|
464
464
|
return binding
|
|
465
465
|
} catch (e) {
|
|
@@ -478,8 +478,8 @@ function requireNative() {
|
|
|
478
478
|
try {
|
|
479
479
|
const binding = require('@unownplain/anthelion-komac-openharmony-arm64')
|
|
480
480
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-openharmony-arm64/package.json').version
|
|
481
|
-
if (bindingPackageVersion !== '0.0.
|
|
482
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
481
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
482
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
483
483
|
}
|
|
484
484
|
return binding
|
|
485
485
|
} catch (e) {
|
|
@@ -494,8 +494,8 @@ function requireNative() {
|
|
|
494
494
|
try {
|
|
495
495
|
const binding = require('@unownplain/anthelion-komac-openharmony-x64')
|
|
496
496
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-openharmony-x64/package.json').version
|
|
497
|
-
if (bindingPackageVersion !== '0.0.
|
|
498
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
497
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
498
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
499
499
|
}
|
|
500
500
|
return binding
|
|
501
501
|
} catch (e) {
|
|
@@ -510,8 +510,8 @@ function requireNative() {
|
|
|
510
510
|
try {
|
|
511
511
|
const binding = require('@unownplain/anthelion-komac-openharmony-arm')
|
|
512
512
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-openharmony-arm/package.json').version
|
|
513
|
-
if (bindingPackageVersion !== '0.0.
|
|
514
|
-
throw new Error(`Native binding package version mismatch, expected 0.0.
|
|
513
|
+
if (bindingPackageVersion !== '0.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
514
|
+
throw new Error(`Native binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
515
515
|
}
|
|
516
516
|
return binding
|
|
517
517
|
} catch (e) {
|
|
@@ -650,8 +650,8 @@ if (!nativeBinding || forceWasi) {
|
|
|
650
650
|
if (!candidateFailed) {
|
|
651
651
|
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
652
652
|
const bindingPackageVersion = require('@unownplain/anthelion-komac-wasm32-wasi/package.json').version
|
|
653
|
-
if (bindingPackageVersion !== '0.0.
|
|
654
|
-
throw new Error(`WASI binding package version mismatch, expected 0.0.
|
|
653
|
+
if (bindingPackageVersion !== '0.0.69') {
|
|
654
|
+
throw new Error(`WASI binding package version mismatch, expected 0.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
wasiBinding = require('@unownplain/anthelion-komac-wasm32-wasi')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unownplain/anthelion-komac",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.69",
|
|
4
4
|
"description": "komac JS bindings for Anthelion",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"repository": {
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"node": ">=22.0.0"
|
|
42
42
|
},
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@unownplain/anthelion-komac-win32-x64-msvc": "0.0.
|
|
45
|
-
"@unownplain/anthelion-komac-darwin-x64": "0.0.
|
|
46
|
-
"@unownplain/anthelion-komac-linux-x64-gnu": "0.0.
|
|
47
|
-
"@unownplain/anthelion-komac-linux-x64-musl": "0.0.
|
|
48
|
-
"@unownplain/anthelion-komac-darwin-arm64": "0.0.
|
|
49
|
-
"@unownplain/anthelion-komac-linux-arm64-gnu": "0.0.
|
|
50
|
-
"@unownplain/anthelion-komac-linux-arm64-musl": "0.0.
|
|
51
|
-
"@unownplain/anthelion-komac-win32-arm64-msvc": "0.0.
|
|
44
|
+
"@unownplain/anthelion-komac-win32-x64-msvc": "0.0.69",
|
|
45
|
+
"@unownplain/anthelion-komac-darwin-x64": "0.0.69",
|
|
46
|
+
"@unownplain/anthelion-komac-linux-x64-gnu": "0.0.69",
|
|
47
|
+
"@unownplain/anthelion-komac-linux-x64-musl": "0.0.69",
|
|
48
|
+
"@unownplain/anthelion-komac-darwin-arm64": "0.0.69",
|
|
49
|
+
"@unownplain/anthelion-komac-linux-arm64-gnu": "0.0.69",
|
|
50
|
+
"@unownplain/anthelion-komac-linux-arm64-musl": "0.0.69",
|
|
51
|
+
"@unownplain/anthelion-komac-win32-arm64-msvc": "0.0.69"
|
|
52
52
|
}
|
|
53
53
|
}
|