gpxsnap@1.0.2
·
25 commits
to main
since this release
Patch Changes
-
c84e0b9: Fix type resolution and declared runtime compatibility:
- Added explicit
typesconditions toexportsand a top-leveltypesfield. Previously TypeScript could only resolve gpxsnap's types under specific resolver configurations; verified with@arethetypeswrong/clithat both entry points now resolve correctly underbundlerandnode16/nodenext(ESM) resolution. enginesnow also declaresnode(>=22.18.0, the real floor for native TypeScript type-stripping) anddeno(>=1.0.0) instead of onlybun— the package always worked under Node/Deno,enginesjust didn't say so.- Narrowed two internal
Uint8Arrayparameter types toUint8Array<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;BlobPartrequires a concreteArrayBuffer).
- Added explicit