@opentui/core 0.3.4 → 0.4.0

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 (40) hide show
  1. package/NativeSpanFeed.d.ts +4 -0
  2. package/{index-54s7pk0d.js → index-59t85rvq.js} +3129 -2499
  3. package/index-59t85rvq.js.map +84 -0
  4. package/index.js +11256 -77
  5. package/index.js.map +29 -3
  6. package/lib/selection.d.ts +2 -1
  7. package/lib/singleton.d.ts +1 -0
  8. package/lib/tree-sitter/client.d.ts +17 -1
  9. package/lib/tree-sitter/index.d.ts +1 -0
  10. package/lib/tree-sitter/types.d.ts +104 -1
  11. package/lib/tree-sitter/update-assets.js +8 -6
  12. package/lib/tree-sitter/update-assets.js.map +3 -3
  13. package/package.json +27 -34
  14. package/parser.worker.js +452 -78
  15. package/parser.worker.js.map +8 -7
  16. package/platform/ffi.d.ts +6 -3
  17. package/platform/test.d.ts +12 -0
  18. package/platform/worker.d.ts +26 -4
  19. package/platform/worker.node-test.d.ts +1 -0
  20. package/runtime-plugin-support-configure.js +36 -18
  21. package/runtime-plugin-support-configure.js.map +1 -9
  22. package/runtime-plugin-support-configure.node.js +15 -0
  23. package/runtime-plugin-support.js +4 -19
  24. package/runtime-plugin-support.js.map +1 -10
  25. package/runtime-plugin-support.node.js +15 -0
  26. package/runtime-plugin.js +473 -16
  27. package/runtime-plugin.js.map +1 -9
  28. package/runtime-plugin.node.js +15 -0
  29. package/testing/bun-test-node.d.ts +87 -0
  30. package/testing/mock-tree-sitter-client.d.ts +4 -0
  31. package/testing.js +15 -9
  32. package/testing.js.map +3 -3
  33. package/zig.d.ts +1 -1
  34. package/index-0nvgrgam.js +0 -11684
  35. package/index-0nvgrgam.js.map +0 -35
  36. package/index-54s7pk0d.js.map +0 -84
  37. package/index-8t841rbx.js +0 -44
  38. package/index-8t841rbx.js.map +0 -10
  39. package/index-r49y8kdq.js +0 -421
  40. package/index-r49y8kdq.js.map +0 -10
@@ -28,6 +28,8 @@ export declare class NativeSpanFeed {
28
28
  private inCallback;
29
29
  private closeQueued;
30
30
  private idleResolvers;
31
+ private pendingHandlerError;
32
+ private pendingHandlerErrorQueued;
31
33
  private constructor();
32
34
  private ensureDrainBuffer;
33
35
  onData(handler: DataHandler): () => void;
@@ -43,6 +45,8 @@ export declare class NativeSpanFeed {
43
45
  idle(): Promise<void>;
44
46
  private handleEvent;
45
47
  private decrementRefcount;
48
+ private queuePendingHandlerError;
49
+ private throwPendingHandlerError;
46
50
  private drainOnce;
47
51
  drainAll(): void;
48
52
  }