@visulima/tui 1.0.1 → 1.0.2

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 (3) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/index.js +26 -26
  3. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## @visulima/tui [1.0.2](https://github.com/visulima/visulima/compare/%40visulima%2Ftui%401.0.1...%40visulima%2Ftui%401.0.2) (2026-07-15)
2
+
1
3
  ## @visulima/tui [1.0.1](https://github.com/visulima/visulima/compare/%40visulima%2Ftui%401.0.0...%40visulima%2Ftui%401.0.1) (2026-07-15)
2
4
 
3
5
  ## @visulima/tui 1.0.0 (2026-07-03)
package/index.js CHANGED
@@ -83,7 +83,7 @@ function requireNative() {
83
83
  const bindingPackageVersion = require("@visulima/tui-binding-android-arm64/package.json").version;
84
84
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
85
85
  throw new Error(
86
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
86
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
87
87
  );
88
88
  }
89
89
  return binding;
@@ -101,7 +101,7 @@ function requireNative() {
101
101
  const bindingPackageVersion = require("@visulima/tui-binding-android-arm-eabi/package.json").version;
102
102
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
103
103
  throw new Error(
104
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
104
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
105
105
  );
106
106
  }
107
107
  return binding;
@@ -124,7 +124,7 @@ function requireNative() {
124
124
  const bindingPackageVersion = require("@visulima/tui-binding-win32-x64-gnu/package.json").version;
125
125
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
126
126
  throw new Error(
127
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
127
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
128
128
  );
129
129
  }
130
130
  return binding;
@@ -142,7 +142,7 @@ function requireNative() {
142
142
  const bindingPackageVersion = require("@visulima/tui-binding-win32-x64-msvc/package.json").version;
143
143
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
144
144
  throw new Error(
145
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
145
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
146
146
  );
147
147
  }
148
148
  return binding;
@@ -161,7 +161,7 @@ function requireNative() {
161
161
  const bindingPackageVersion = require("@visulima/tui-binding-win32-ia32-msvc/package.json").version;
162
162
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
163
163
  throw new Error(
164
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
164
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
165
165
  );
166
166
  }
167
167
  return binding;
@@ -179,7 +179,7 @@ function requireNative() {
179
179
  const bindingPackageVersion = require("@visulima/tui-binding-win32-arm64-msvc/package.json").version;
180
180
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
181
181
  throw new Error(
182
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
182
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
183
183
  );
184
184
  }
185
185
  return binding;
@@ -200,7 +200,7 @@ function requireNative() {
200
200
  const bindingPackageVersion = require("@visulima/tui-binding-darwin-universal/package.json").version;
201
201
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
202
202
  throw new Error(
203
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
203
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
204
204
  );
205
205
  }
206
206
  return binding;
@@ -218,7 +218,7 @@ function requireNative() {
218
218
  const bindingPackageVersion = require("@visulima/tui-binding-darwin-x64/package.json").version;
219
219
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
220
220
  throw new Error(
221
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
221
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
222
222
  );
223
223
  }
224
224
  return binding;
@@ -236,7 +236,7 @@ function requireNative() {
236
236
  const bindingPackageVersion = require("@visulima/tui-binding-darwin-arm64/package.json").version;
237
237
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
238
238
  throw new Error(
239
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
239
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
240
240
  );
241
241
  }
242
242
  return binding;
@@ -258,7 +258,7 @@ function requireNative() {
258
258
  const bindingPackageVersion = require("@visulima/tui-binding-freebsd-x64/package.json").version;
259
259
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
260
260
  throw new Error(
261
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
261
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
262
262
  );
263
263
  }
264
264
  return binding;
@@ -276,7 +276,7 @@ function requireNative() {
276
276
  const bindingPackageVersion = require("@visulima/tui-binding-freebsd-arm64/package.json").version;
277
277
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
278
278
  throw new Error(
279
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
279
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
280
280
  );
281
281
  }
282
282
  return binding;
@@ -299,7 +299,7 @@ function requireNative() {
299
299
  const bindingPackageVersion = require("@visulima/tui-binding-linux-x64-musl/package.json").version;
300
300
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
301
301
  throw new Error(
302
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
302
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
303
303
  );
304
304
  }
305
305
  return binding;
@@ -317,7 +317,7 @@ function requireNative() {
317
317
  const bindingPackageVersion = require("@visulima/tui-binding-linux-x64-gnu/package.json").version;
318
318
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
319
319
  throw new Error(
320
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
320
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
321
321
  );
322
322
  }
323
323
  return binding;
@@ -337,7 +337,7 @@ function requireNative() {
337
337
  const bindingPackageVersion = require("@visulima/tui-binding-linux-arm64-musl/package.json").version;
338
338
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
339
339
  throw new Error(
340
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
340
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
341
341
  );
342
342
  }
343
343
  return binding;
@@ -355,7 +355,7 @@ function requireNative() {
355
355
  const bindingPackageVersion = require("@visulima/tui-binding-linux-arm64-gnu/package.json").version;
356
356
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
357
357
  throw new Error(
358
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
358
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
359
359
  );
360
360
  }
361
361
  return binding;
@@ -375,7 +375,7 @@ function requireNative() {
375
375
  const bindingPackageVersion = require("@visulima/tui-binding-linux-arm-musleabihf/package.json").version;
376
376
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
377
377
  throw new Error(
378
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
378
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
379
379
  );
380
380
  }
381
381
  return binding;
@@ -393,7 +393,7 @@ function requireNative() {
393
393
  const bindingPackageVersion = require("@visulima/tui-binding-linux-arm-gnueabihf/package.json").version;
394
394
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
395
395
  throw new Error(
396
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
396
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
397
397
  );
398
398
  }
399
399
  return binding;
@@ -413,7 +413,7 @@ function requireNative() {
413
413
  const bindingPackageVersion = require("@visulima/tui-binding-linux-loong64-musl/package.json").version;
414
414
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
415
415
  throw new Error(
416
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
416
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
417
417
  );
418
418
  }
419
419
  return binding;
@@ -431,7 +431,7 @@ function requireNative() {
431
431
  const bindingPackageVersion = require("@visulima/tui-binding-linux-loong64-gnu/package.json").version;
432
432
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
433
433
  throw new Error(
434
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
434
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
435
435
  );
436
436
  }
437
437
  return binding;
@@ -451,7 +451,7 @@ function requireNative() {
451
451
  const bindingPackageVersion = require("@visulima/tui-binding-linux-riscv64-musl/package.json").version;
452
452
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
453
453
  throw new Error(
454
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
454
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
455
455
  );
456
456
  }
457
457
  return binding;
@@ -469,7 +469,7 @@ function requireNative() {
469
469
  const bindingPackageVersion = require("@visulima/tui-binding-linux-riscv64-gnu/package.json").version;
470
470
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
471
471
  throw new Error(
472
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
472
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
473
473
  );
474
474
  }
475
475
  return binding;
@@ -488,7 +488,7 @@ function requireNative() {
488
488
  const bindingPackageVersion = require("@visulima/tui-binding-linux-ppc64-gnu/package.json").version;
489
489
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
490
490
  throw new Error(
491
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
491
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
492
492
  );
493
493
  }
494
494
  return binding;
@@ -506,7 +506,7 @@ function requireNative() {
506
506
  const bindingPackageVersion = require("@visulima/tui-binding-linux-s390x-gnu/package.json").version;
507
507
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
508
508
  throw new Error(
509
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
509
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
510
510
  );
511
511
  }
512
512
  return binding;
@@ -528,7 +528,7 @@ function requireNative() {
528
528
  const bindingPackageVersion = require("@visulima/tui-binding-openharmony-arm64/package.json").version;
529
529
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
530
530
  throw new Error(
531
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
531
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
532
532
  );
533
533
  }
534
534
  return binding;
@@ -546,7 +546,7 @@ function requireNative() {
546
546
  const bindingPackageVersion = require("@visulima/tui-binding-openharmony-x64/package.json").version;
547
547
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
548
548
  throw new Error(
549
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
549
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
550
550
  );
551
551
  }
552
552
  return binding;
@@ -564,7 +564,7 @@ function requireNative() {
564
564
  const bindingPackageVersion = require("@visulima/tui-binding-openharmony-arm/package.json").version;
565
565
  if (bindingPackageVersion !== "1.0.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
566
566
  throw new Error(
567
- `Native binding package version mismatch, expected 1.0.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
567
+ `Native binding package version mismatch, expected 1.0.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
568
568
  );
569
569
  }
570
570
  return binding;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/tui",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "React-based TUI library powered by a native Rust diff engine, drop-in Ink-compatible API",
5
5
  "keywords": [
6
6
  "cli",
@@ -655,14 +655,14 @@
655
655
  }
656
656
  },
657
657
  "optionalDependencies": {
658
- "@visulima/tui-binding-darwin-arm64": "1.0.1",
659
- "@visulima/tui-binding-darwin-x64": "1.0.1",
660
- "@visulima/tui-binding-linux-arm64-gnu": "1.0.1",
661
- "@visulima/tui-binding-linux-arm64-musl": "1.0.1",
662
- "@visulima/tui-binding-linux-x64-gnu": "1.0.1",
663
- "@visulima/tui-binding-linux-x64-musl": "1.0.1",
664
- "@visulima/tui-binding-win32-arm64-msvc": "1.0.1",
665
- "@visulima/tui-binding-win32-x64-msvc": "1.0.1"
658
+ "@visulima/tui-binding-darwin-arm64": "1.0.2",
659
+ "@visulima/tui-binding-linux-arm64-musl": "1.0.2",
660
+ "@visulima/tui-binding-linux-arm64-gnu": "1.0.2",
661
+ "@visulima/tui-binding-linux-x64-gnu": "1.0.2",
662
+ "@visulima/tui-binding-darwin-x64": "1.0.2",
663
+ "@visulima/tui-binding-linux-x64-musl": "1.0.2",
664
+ "@visulima/tui-binding-win32-arm64-msvc": "1.0.2",
665
+ "@visulima/tui-binding-win32-x64-msvc": "1.0.2"
666
666
  },
667
667
  "engines": {
668
668
  "node": "^22.14.0 || >=24.10.0"