obuf (offset-buffer) is a byte buffer implementation optimized for chunked data, including special handling for dropping bytes at the front, merging into integer types, and discarding buffers without penalty after prior merges. It is used in spyd-transport, for SPDY support as part of HTTP/2.
Project status
- Maintenance status: Evidence suggests the project is quiet/dormant, with the latest published npm update on 2018-03-10 (v1.1.2) and no subsequent updates shown up to 2026-09-10 (even though there was an upstream GitHub push on 2023-04-15).
- Update cadence: Updates were frequent in the mid-2010s (2014 to 2018 includes multiple versions), but there is a multi-year gap after 2018, indicating a sharp slowdown.
AI summary generated
Recent updates
v1.1.2
Release v1.1.2 (no release notes provided) primarily updates the internal OffsetBuffer integer-reading logic in index.js and bumps the package version. It also adds repository metadata files (LICENSE, README) and introduces a package-lock.json with dev dependency entries.
Breakingv1.1.1
Release v1.1.1 (no release notes provided) makes a small internal change to OffsetBuffer.prototype.toChunks in index.js, adjusting how the final buffer is sliced when the total offset exceeds the requested size. It also bumps the package version in package.json from 1.1.0 to 1.1.1.
v1.1.0
Release v1.1.0 was published on 2015-06-20, but no release notes were provided by the publisher. As a result, this release cannot be assessed for new features, bug fixes, breaking changes, or security updates from the provided information.
v1.0.4
Release v1.0.4 is a small patch update with no release notes provided. The only functional code change is in index.js, adjusting how OffsetBuffer.prototype.readUInt32BE computes and normalizes the returned 32-bit value.
v1.0.3
Release v1.0.3 includes essentially a version bump and a small change in index.js. The release notes field is empty, so there is no documented explanation for the code change.
v1.0.2
Release v1.0.2 (obuf) increments the package version and includes a targeted fix in OffsetBuffer reading logic for multi-byte little-endian reads. The accompanying tests add regression coverage for reads that span across internal buffer boundaries.
v1.0.1
Release v1.0.1 makes a small behavioral change to OffsetBuffer.prototype.take when called with n = 0. It also adds a regression test covering that scenario. No release notes were provided by the publisher.
v1.0.0
This release bumps the package version from 0.1.1 to 1.0.0 and adds new test coverage for OffsetBuffer methods. The only production code change in the diff is the addition of OffsetBuffer.prototype.peekUInt8, which reads a byte at the current offset without advancing the buffer cursor. No release notes were provided, so the change set is effectively undocumented.
Featuresv0.1.1
Release v0.1.1 (2014-09-03) contains a small code change and a version bump. No release notes were provided, so changes must be inferred from the code diff.
v0.1.0
Release v0.1.0 was published on 2014-08-30. No release notes were provided by the publisher, so the changes included in this version cannot be determined from the available data.