GitPedia
paulmillr

paulmillr/micro-packed

Define complex binary structures using composable primitives

20 Releases
Latest: 1mo ago
0.9.0Latest
paulmillrpaulmillr·1mo ago·April 28, 2026
GitHub

📋 Changes

  • April 2026 self-audit (all files): no major issues found
  • Audited for security
  • Hardened all the loose bits
  • Fix all Byte Array types, to ensure proper work in both TypeScript 5.6 & TypeScript 5.9+
  • TS 5.6 has `Uint8Array`, while TS 5.9+ made it generic `Uint8Array<ArrayBuffer>`
  • This creates incompatibility of code between versions
  • Previously, it was hard to use and constantly emitted errors similar to `TS2345`
  • See [typescript#62240](https://github.com/microsoft/TypeScript/issues/62240) for more context
  • + 1 more
0.8.0
paulmillrpaulmillr·9mo ago·August 25, 2025
GitHub

📋 Changes

  • The package is now ESM-only. ESM can finally be loaded from common.js on node v20.19+
  • Node v20.19 is now the minimum required version
  • Package imports now work correctly in bundler-less environments, such as browsers
0.7.3
paulmillrpaulmillr·1y ago·April 24, 2025
GitHub

📋 Changes

  • Bump devdeps and typescript compiler version to 5.8
  • Typescript source can now be used without compilation in node.js v24, due to [erasableSyntaxOnly](https://devblogs.microsoft.com/typescript/announcing-typescript-5-8/#the---erasablesyntaxonly-option)
  • Single-file build is now available
0.7.2
paulmillrpaulmillr·1y ago·January 18, 2025
GitHub

📋 Changes

  • Use typescript verbatimModuleSyntax to support future node.js type stripping
0.7.1
paulmillrpaulmillr·1y ago·January 7, 2025
GitHub

📋 Changes

  • Publish [to jsr](https://jsr.io/@paulmillr/micro-packed)
  • Use typescript isolatedDeclarations.
0.7.0
paulmillrpaulmillr·1y ago·November 23, 2024
GitHub

📋 Changes

  • Speed-up hex check
  • Make package sideEffects: false
  • Rename some methods to be minifier-friendly
  • Remove unnecessary PURE annotation. Closes gh-10
  • Update scure-base to 1.2.1
0.6.3
paulmillrpaulmillr·2y ago·May 22, 2024
GitHub

Fix stack overflow **Full Changelog**: https://github.com/paulmillr/micro-packed/compare/0.6.2...0.6.3

0.6.2
paulmillrpaulmillr·2y ago·May 16, 2024
GitHub

📋 Changes

  • Export `utils.checkBounds`
  • Fix type of `hex`
0.6.1
paulmillrpaulmillr·2y ago·May 16, 2024
GitHub

📋 Changes

  • Remove unnecessary dependency that is just devDependency
0.6.0
paulmillrpaulmillr·2y ago·May 16, 2024
GitHub

📋 Changes

  • Move concatBytes and isBytes to `utils`
  • Rename coders.number to coders.numberBigint
  • Remove bytesFormatted coder
  • Remove base64armor coder
0.5.3
paulmillrpaulmillr·2y ago·March 14, 2024
GitHub

Tree-shaking improvements. **Full Changelog**: https://github.com/paulmillr/micro-packed/compare/0.5.2...0.5.3

0.5.2
paulmillrpaulmillr·2y ago·February 10, 2024
GitHub

📋 Changes

  • Add reverse coder, sized ints, fix bigint behavior
  • concatBytes, isBytes: copy new versions from noble
0.5.1
paulmillrpaulmillr·2y ago·January 9, 2024
GitHub

Improve security. Add bitsets. Add opts allowUnreadBytes, allowMultipleReads **Full Changelog**: https://github.com/paulmillr/micro-packed/compare/0.5.0...0.5.1

0.5.0
paulmillrpaulmillr·2y ago·January 5, 2024
GitHub

📋 Changes

  • Switch to hybrid common.js-ESM package.
  • Integrate debugger, in separate file `micro-packed/debugger`.
  • Fix `sizeof`
0.4.0
paulmillrpaulmillr·2y ago·December 11, 2023
GitHub

📋 Changes

  • Improve tree-shaking support
  • Export missing types
  • Bump scure-base and typescript used to build the package
0.3.2
paulmillrpaulmillr·3y ago·February 2, 2023
GitHub

📋 What's Changed

  • Fixes broken type definition. by @MicahZoltu in https://github.com/paulmillr/micro-packed/pull/4
  • Full Changelog: https://github.com/paulmillr/micro-packed/compare/0.3.1...0.3.2
0.3.1
paulmillrpaulmillr·3y ago·February 2, 2023
GitHub

Improve debugging **Full Changelog**: https://github.com/paulmillr/micro-packed/compare/0.3.0...0.3.1

0.3.0
paulmillrpaulmillr·3y ago·August 25, 2022
GitHub

New primitives: Array, Bytes, String, Lazy, Dict, Validate, Debug

0.2.0
paulmillrpaulmillr·3y ago·July 17, 2022
GitHub

📋 Changes

  • Drop common.js support, only ESM is now supported
  • Add declaration maps for simple debugging
0.1.0
paulmillrpaulmillr·3y ago·June 20, 2022
GitHub

Initial release