Skip to content

Add UTF-16 ranges to JavaScript bindings - #8

Merged
sidmohan0 merged 1 commit into
mainfrom
slice-eight
Aug 29, 2026
Merged

Add UTF-16 ranges to JavaScript bindings#8
sidmohan0 merged 1 commit into
mainfrom
slice-eight

Conversation

@sidmohan0

Copy link
Copy Markdown
Contributor

Summary

  • add one validated Core helper for converting UTF-8 byte ranges to UTF-16 code-unit ranges
  • expose utf16Range on Node.js and browser WASM findings
  • expose sourceUtf16Range and outputUtf16Range on transformation records and Node restoration records
  • preserve the pre-Slice-8 supplied-finding input shape
  • document Slice 8 as complete and update public TypeScript contracts

Verification

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo test --workspace --all-features (67 passed)
  • installed @datafog/node package tests
  • installed @datafog/wasm package tests
  • installed Python binding tests
  • emoji-prefixed and JavaScript String.prototype.slice range assertions

@sidmohan0
sidmohan0 merged commit 908f178 into main Aug 29, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant