@fontmin-rs/binding 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/package.json +9 -9
  2. package/src-js/bindings.js +52 -52
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fontmin-rs/binding",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Native binding for fontmin-rs.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -28,14 +28,14 @@
28
28
  "vitest": "^4.1.10"
29
29
  },
30
30
  "optionalDependencies": {
31
- "@fontmin-rs/binding-darwin-arm64": "0.1.0",
32
- "@fontmin-rs/binding-darwin-x64": "0.1.0",
33
- "@fontmin-rs/binding-linux-arm64-gnu": "0.1.0",
34
- "@fontmin-rs/binding-linux-arm64-musl": "0.1.0",
35
- "@fontmin-rs/binding-linux-x64-gnu": "0.1.0",
36
- "@fontmin-rs/binding-linux-x64-musl": "0.1.0",
37
- "@fontmin-rs/binding-win32-arm64-msvc": "0.1.0",
38
- "@fontmin-rs/binding-win32-x64-msvc": "0.1.0"
31
+ "@fontmin-rs/binding-darwin-arm64": "0.1.1",
32
+ "@fontmin-rs/binding-darwin-x64": "0.1.1",
33
+ "@fontmin-rs/binding-linux-arm64-gnu": "0.1.1",
34
+ "@fontmin-rs/binding-linux-arm64-musl": "0.1.1",
35
+ "@fontmin-rs/binding-linux-x64-gnu": "0.1.1",
36
+ "@fontmin-rs/binding-linux-x64-musl": "0.1.1",
37
+ "@fontmin-rs/binding-win32-arm64-msvc": "0.1.1",
38
+ "@fontmin-rs/binding-win32-x64-msvc": "0.1.1"
39
39
  },
40
40
  "napi": {
41
41
  "binaryName": "fontmin_rs",
@@ -85,12 +85,12 @@ function requireNative() {
85
85
  const bindingPackageVersion =
86
86
  require('@fontmin-rs/binding-android-arm64/package.json').version
87
87
  if (
88
- bindingPackageVersion !== '0.1.0' &&
88
+ bindingPackageVersion !== '0.1.1' &&
89
89
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
90
90
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
91
91
  ) {
92
92
  throw new Error(
93
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
93
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
94
94
  )
95
95
  }
96
96
  return binding
@@ -108,12 +108,12 @@ function requireNative() {
108
108
  const bindingPackageVersion =
109
109
  require('@fontmin-rs/binding-android-arm-eabi/package.json').version
110
110
  if (
111
- bindingPackageVersion !== '0.1.0' &&
111
+ bindingPackageVersion !== '0.1.1' &&
112
112
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
113
113
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
114
114
  ) {
115
115
  throw new Error(
116
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
116
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
117
117
  )
118
118
  }
119
119
  return binding
@@ -145,12 +145,12 @@ function requireNative() {
145
145
  const bindingPackageVersion =
146
146
  require('@fontmin-rs/binding-win32-x64-gnu/package.json').version
147
147
  if (
148
- bindingPackageVersion !== '0.1.0' &&
148
+ bindingPackageVersion !== '0.1.1' &&
149
149
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
150
150
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
151
151
  ) {
152
152
  throw new Error(
153
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
153
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
154
154
  )
155
155
  }
156
156
  return binding
@@ -168,12 +168,12 @@ function requireNative() {
168
168
  const bindingPackageVersion =
169
169
  require('@fontmin-rs/binding-win32-x64-msvc/package.json').version
170
170
  if (
171
- bindingPackageVersion !== '0.1.0' &&
171
+ bindingPackageVersion !== '0.1.1' &&
172
172
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
173
173
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
174
174
  ) {
175
175
  throw new Error(
176
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
176
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
177
177
  )
178
178
  }
179
179
  return binding
@@ -192,12 +192,12 @@ function requireNative() {
192
192
  const bindingPackageVersion =
193
193
  require('@fontmin-rs/binding-win32-ia32-msvc/package.json').version
194
194
  if (
195
- bindingPackageVersion !== '0.1.0' &&
195
+ bindingPackageVersion !== '0.1.1' &&
196
196
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
197
197
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
198
198
  ) {
199
199
  throw new Error(
200
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
200
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
201
201
  )
202
202
  }
203
203
  return binding
@@ -215,12 +215,12 @@ function requireNative() {
215
215
  const bindingPackageVersion =
216
216
  require('@fontmin-rs/binding-win32-arm64-msvc/package.json').version
217
217
  if (
218
- bindingPackageVersion !== '0.1.0' &&
218
+ bindingPackageVersion !== '0.1.1' &&
219
219
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
220
220
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
221
221
  ) {
222
222
  throw new Error(
223
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
223
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
224
224
  )
225
225
  }
226
226
  return binding
@@ -243,12 +243,12 @@ function requireNative() {
243
243
  const bindingPackageVersion =
244
244
  require('@fontmin-rs/binding-darwin-universal/package.json').version
245
245
  if (
246
- bindingPackageVersion !== '0.1.0' &&
246
+ bindingPackageVersion !== '0.1.1' &&
247
247
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
248
248
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
249
249
  ) {
250
250
  throw new Error(
251
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
251
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
252
252
  )
253
253
  }
254
254
  return binding
@@ -266,12 +266,12 @@ function requireNative() {
266
266
  const bindingPackageVersion =
267
267
  require('@fontmin-rs/binding-darwin-x64/package.json').version
268
268
  if (
269
- bindingPackageVersion !== '0.1.0' &&
269
+ bindingPackageVersion !== '0.1.1' &&
270
270
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
271
271
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
272
272
  ) {
273
273
  throw new Error(
274
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
274
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
275
275
  )
276
276
  }
277
277
  return binding
@@ -289,12 +289,12 @@ function requireNative() {
289
289
  const bindingPackageVersion =
290
290
  require('@fontmin-rs/binding-darwin-arm64/package.json').version
291
291
  if (
292
- bindingPackageVersion !== '0.1.0' &&
292
+ bindingPackageVersion !== '0.1.1' &&
293
293
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
294
294
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
295
295
  ) {
296
296
  throw new Error(
297
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
297
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
298
298
  )
299
299
  }
300
300
  return binding
@@ -318,12 +318,12 @@ function requireNative() {
318
318
  const bindingPackageVersion =
319
319
  require('@fontmin-rs/binding-freebsd-x64/package.json').version
320
320
  if (
321
- bindingPackageVersion !== '0.1.0' &&
321
+ bindingPackageVersion !== '0.1.1' &&
322
322
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
323
323
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
324
324
  ) {
325
325
  throw new Error(
326
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
326
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
327
327
  )
328
328
  }
329
329
  return binding
@@ -341,12 +341,12 @@ function requireNative() {
341
341
  const bindingPackageVersion =
342
342
  require('@fontmin-rs/binding-freebsd-arm64/package.json').version
343
343
  if (
344
- bindingPackageVersion !== '0.1.0' &&
344
+ bindingPackageVersion !== '0.1.1' &&
345
345
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
346
346
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
347
347
  ) {
348
348
  throw new Error(
349
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
349
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
350
350
  )
351
351
  }
352
352
  return binding
@@ -371,12 +371,12 @@ function requireNative() {
371
371
  const bindingPackageVersion =
372
372
  require('@fontmin-rs/binding-linux-x64-musl/package.json').version
373
373
  if (
374
- bindingPackageVersion !== '0.1.0' &&
374
+ bindingPackageVersion !== '0.1.1' &&
375
375
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
376
376
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
377
377
  ) {
378
378
  throw new Error(
379
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
379
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
380
380
  )
381
381
  }
382
382
  return binding
@@ -394,12 +394,12 @@ function requireNative() {
394
394
  const bindingPackageVersion =
395
395
  require('@fontmin-rs/binding-linux-x64-gnu/package.json').version
396
396
  if (
397
- bindingPackageVersion !== '0.1.0' &&
397
+ bindingPackageVersion !== '0.1.1' &&
398
398
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
399
399
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
400
400
  ) {
401
401
  throw new Error(
402
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
402
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
403
403
  )
404
404
  }
405
405
  return binding
@@ -419,12 +419,12 @@ function requireNative() {
419
419
  const bindingPackageVersion =
420
420
  require('@fontmin-rs/binding-linux-arm64-musl/package.json').version
421
421
  if (
422
- bindingPackageVersion !== '0.1.0' &&
422
+ bindingPackageVersion !== '0.1.1' &&
423
423
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
424
424
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
425
425
  ) {
426
426
  throw new Error(
427
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
427
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
428
428
  )
429
429
  }
430
430
  return binding
@@ -442,12 +442,12 @@ function requireNative() {
442
442
  const bindingPackageVersion =
443
443
  require('@fontmin-rs/binding-linux-arm64-gnu/package.json').version
444
444
  if (
445
- bindingPackageVersion !== '0.1.0' &&
445
+ bindingPackageVersion !== '0.1.1' &&
446
446
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
447
447
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
448
448
  ) {
449
449
  throw new Error(
450
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
450
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
451
451
  )
452
452
  }
453
453
  return binding
@@ -467,12 +467,12 @@ function requireNative() {
467
467
  const bindingPackageVersion =
468
468
  require('@fontmin-rs/binding-linux-arm-musleabihf/package.json').version
469
469
  if (
470
- bindingPackageVersion !== '0.1.0' &&
470
+ bindingPackageVersion !== '0.1.1' &&
471
471
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
472
472
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
473
473
  ) {
474
474
  throw new Error(
475
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
475
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
476
476
  )
477
477
  }
478
478
  return binding
@@ -490,12 +490,12 @@ function requireNative() {
490
490
  const bindingPackageVersion =
491
491
  require('@fontmin-rs/binding-linux-arm-gnueabihf/package.json').version
492
492
  if (
493
- bindingPackageVersion !== '0.1.0' &&
493
+ bindingPackageVersion !== '0.1.1' &&
494
494
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
495
495
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
496
496
  ) {
497
497
  throw new Error(
498
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
498
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
499
499
  )
500
500
  }
501
501
  return binding
@@ -515,12 +515,12 @@ function requireNative() {
515
515
  const bindingPackageVersion =
516
516
  require('@fontmin-rs/binding-linux-loong64-musl/package.json').version
517
517
  if (
518
- bindingPackageVersion !== '0.1.0' &&
518
+ bindingPackageVersion !== '0.1.1' &&
519
519
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
520
520
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
521
521
  ) {
522
522
  throw new Error(
523
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
523
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
524
524
  )
525
525
  }
526
526
  return binding
@@ -538,12 +538,12 @@ function requireNative() {
538
538
  const bindingPackageVersion =
539
539
  require('@fontmin-rs/binding-linux-loong64-gnu/package.json').version
540
540
  if (
541
- bindingPackageVersion !== '0.1.0' &&
541
+ bindingPackageVersion !== '0.1.1' &&
542
542
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
543
543
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
544
544
  ) {
545
545
  throw new Error(
546
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
546
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
547
547
  )
548
548
  }
549
549
  return binding
@@ -563,12 +563,12 @@ function requireNative() {
563
563
  const bindingPackageVersion =
564
564
  require('@fontmin-rs/binding-linux-riscv64-musl/package.json').version
565
565
  if (
566
- bindingPackageVersion !== '0.1.0' &&
566
+ bindingPackageVersion !== '0.1.1' &&
567
567
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
568
568
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
569
569
  ) {
570
570
  throw new Error(
571
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
571
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
572
572
  )
573
573
  }
574
574
  return binding
@@ -586,12 +586,12 @@ function requireNative() {
586
586
  const bindingPackageVersion =
587
587
  require('@fontmin-rs/binding-linux-riscv64-gnu/package.json').version
588
588
  if (
589
- bindingPackageVersion !== '0.1.0' &&
589
+ bindingPackageVersion !== '0.1.1' &&
590
590
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
591
591
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
592
592
  ) {
593
593
  throw new Error(
594
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
594
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
595
595
  )
596
596
  }
597
597
  return binding
@@ -610,12 +610,12 @@ function requireNative() {
610
610
  const bindingPackageVersion =
611
611
  require('@fontmin-rs/binding-linux-ppc64-gnu/package.json').version
612
612
  if (
613
- bindingPackageVersion !== '0.1.0' &&
613
+ bindingPackageVersion !== '0.1.1' &&
614
614
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
615
615
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
616
616
  ) {
617
617
  throw new Error(
618
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
618
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
619
619
  )
620
620
  }
621
621
  return binding
@@ -633,12 +633,12 @@ function requireNative() {
633
633
  const bindingPackageVersion =
634
634
  require('@fontmin-rs/binding-linux-s390x-gnu/package.json').version
635
635
  if (
636
- bindingPackageVersion !== '0.1.0' &&
636
+ bindingPackageVersion !== '0.1.1' &&
637
637
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
638
638
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
639
639
  ) {
640
640
  throw new Error(
641
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
641
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
642
642
  )
643
643
  }
644
644
  return binding
@@ -662,12 +662,12 @@ function requireNative() {
662
662
  const bindingPackageVersion =
663
663
  require('@fontmin-rs/binding-openharmony-arm64/package.json').version
664
664
  if (
665
- bindingPackageVersion !== '0.1.0' &&
665
+ bindingPackageVersion !== '0.1.1' &&
666
666
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
667
667
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
668
668
  ) {
669
669
  throw new Error(
670
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
670
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
671
671
  )
672
672
  }
673
673
  return binding
@@ -685,12 +685,12 @@ function requireNative() {
685
685
  const bindingPackageVersion =
686
686
  require('@fontmin-rs/binding-openharmony-x64/package.json').version
687
687
  if (
688
- bindingPackageVersion !== '0.1.0' &&
688
+ bindingPackageVersion !== '0.1.1' &&
689
689
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
690
690
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
691
691
  ) {
692
692
  throw new Error(
693
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
693
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
694
694
  )
695
695
  }
696
696
  return binding
@@ -708,12 +708,12 @@ function requireNative() {
708
708
  const bindingPackageVersion =
709
709
  require('@fontmin-rs/binding-openharmony-arm/package.json').version
710
710
  if (
711
- bindingPackageVersion !== '0.1.0' &&
711
+ bindingPackageVersion !== '0.1.1' &&
712
712
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
713
713
  process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
714
714
  ) {
715
715
  throw new Error(
716
- `Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
716
+ `Native binding package version mismatch, expected 0.1.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
717
717
  )
718
718
  }
719
719
  return binding