- Now an ES module — use
import * as mvtf from '@mapbox/mvt-fixtures'instead ofrequire(). - Source fixtures in
src/are now JSON files instead of JS modules. If you import them directly, update paths and use JSON imports. - Dropped the legacy
scripts/dumpprotoc helper. Use vtvalidate or any standardprotocinstall for tile decoding instead.
Changes
- Regenerated
.mvtfixtures are 2 bytes smaller per feature. The previouspbfversion emitted an empty packedtagsfield for features without tags; the new version correctly omits it. Decoded tile content is unchanged. - Dependencies upgraded; requires Node.js 22+.