Skip to content

feat: ship TypeScript types for pack, unpack, and Stream - #4

Merged
enochgroot merged 1 commit into
security/modernize-2.0.0from
feat/types
Sep 10, 2026
Merged

enochgroot merged 1 commit into
security/modernize-2.0.0from
feat/types

Conversation

@enochgroot

Copy link
Copy Markdown
Owner

Summary

Adds index.d.ts and "types" in package.json for msgpack/msgpack-node#39.

Matches the 2.0.0 runtime: pack(...values) returns Buffer, unpack.bytes_remaining is documented as per-thread, Stream wraps a duplex (data + write).

Test plan

  • npm test still green (types-only; no runtime change)
  • package.json "types": "index.d.ts"

Adds index.d.ts matching the 2.0.0 runtime: pack(...values) returns
Buffer, unpack.bytes_remaining is per-thread, Stream wraps a duplex.

Fixes msgpack#39
@enochgroot
enochgroot merged commit 037e636 into security/modernize-2.0.0 Sep 10, 2026
12 checks passed
@enochgroot enochgroot mentioned this pull request Sep 10, 2026
3 tasks
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