Skip to content

build(deps-dev): bump @bitspark/ontos-data from 0.16.0 to 0.17.1 - #98

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/bitspark/ontos-data-0.17.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/bitspark/ontos-data-0.17.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Bumps @bitspark/ontos-data from 0.16.0 to 0.17.1.

Release notes

Sourced from @​bitspark/ontos-data's releases.

ontos v0.17.1

A patch release. It fixes a regression and two related gaps in the TypeScript core that shipped in v0.17.0, adds one Rust API, and brings the four command-line tools into line with each other. The value model, structural identity, the ontos-codec-v1 bytes, decoding and its limits are unchanged, and so are Rust's allocation counts for the v0.17.0 fast path.

TypeScript: copyBytes and Atom keep their contract

v0.17.0 made copyBytes, and with it new Atom(...), read the caller's bytes once and store exactly what it validated. Three gaps remained:

  • A claimed length was allocated before anything was validated. A sparse array, or a Proxy, claiming 2³²−1 elements made v0.17.0 reserve 4 GiB before reading index 0. Under a memory limit that surfaced as "Array buffer allocation failed" instead of the element error. Now at most 64 KiB is allocated up front. The result then grows only after the element that needs the room has been validated, and ends at exactly the input's length.
  • The copy used built-ins looked up at call time. A redefined Uint8Array.prototype.set could change the stored bytes. Every built-in the copy uses is now captured when the module loads and called without a lookup.
  • An Atom's own methods did too. length, bytes(), toString/toJSON and equals handed the Atom's private bytes to built-ins looked up at call time, so a redefined built-in could change an existing Atom. They now use only the captured ones.

The guarantee starts when ontos-core loads: code that runs before it can still replace built-ins, as with any library.

Supported runtimes. The six TypeScript packages now declare "engines": { "node": ">=18.3.0" }. The fast path for a genuine Uint8Array runs no caller code only on engines that implement ecma262#2719, first in V8 10.2.85 and so in Node 18.3.0. On older engines, copying reads the source buffer's constructor. See distribution, "TypeScript runtimes". Node 18 is past its end of life; every supported Node line meets the floor.

Rust: unbounded decimals at the byte level

ontos_data gains encode_decimal_bytes and read_decimal_bytes. They take and return the mantissa and exponent as IntBytes (a sign and a big-endian minimal magnitude), like encode_int_bytes/read_int_bytes, so a canonical decimal of any size can be built and read without i128. The canonical rule now lives in one place, shared with recognize_decimal. encode_decimal and read_decimal are unchanged. The addition is compatible: a 0.17 requirement picks it up.

The command-line tools read input the same way

The four ontos CLIs (go, rs, ts, py) now read --from-json and hex input identically, as the new "Reading the text" section of ontos-cli specifies. A new reading mode in the conformance harness checks them case by case, through

... (truncated)

Commits
  • 156ff02 release: prepare v0.17.1 (TS copyBytes/Atom contract, Rust decimal bytes, CLI...
  • d4d8ed4 cli: hex input strips only space/tab/LF/CR and reads non-UTF-8 as U+FFFD in a...
  • 96d0798 cli: one strict, iterative --from-json reading in all four CLIs; crash and tr...
  • 34e4154 core/ts: copyBytes and Atom keep their contract (no allocation before validat...
  • e6267e3 check.sh: run core, data and data-json on wasm32 too, not only the codec (#50)
  • c1cb19e data/rs: byte-level decimal pair with unbounded components (design 0010, row ...
  • 550de54 Docs: consult 0001 answered (research 0004 of the internal record; decision B...
  • 931ce45 Docs: design record 0010, two JSON projections of ground values (#33) (#47)
  • 87a03b6 Docs: consult 0001 credits toJSON = P ∘ E to bittype row 20, not 21 (#46)
  • d532e8f codec: measure follow-ups from the v0.17.0 review (Go key from core, docs, cl...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@bitspark/ontos-data](https://github.com/Bitspark/ontos) from 0.16.0 to 0.17.1.
- [Release notes](https://github.com/Bitspark/ontos/releases)
- [Commits](Bitspark/ontos@v0.16.0...v0.17.1)

---
updated-dependencies:
- dependency-name: "@bitspark/ontos-data"
  dependency-version: 0.17.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 16, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants