Skip to content

gpxsnap@1.0.2

Choose a tag to compare

@github-actions github-actions released this 19 Jul 16:30
· 25 commits to main since this release
b930109

Patch Changes

  • c84e0b9: Fix type resolution and declared runtime compatibility:

    • Added explicit types conditions to exports and a top-level types field. Previously TypeScript could only resolve gpxsnap's types under specific resolver configurations; verified with @arethetypeswrong/cli that both entry points now resolve correctly under bundler and node16/nodenext (ESM) resolution.
    • engines now also declares node (>=22.18.0, the real floor for native TypeScript type-stripping) and deno (>=1.0.0) instead of only bun — the package always worked under Node/Deno, engines just didn't say so.
    • Narrowed two internal Uint8Array parameter types to Uint8Array<ArrayBuffer> in the PNG codec, fixing a type error consumers would hit under a standard DOM-lib tsconfig (TypeScript 5.7+ made typed arrays generic over buffer type; BlobPart requires a concrete ArrayBuffer).