Commit d49da28
chore(deps): bump pbf from 4.0.2 to 5.1.2 (#1484)
* chore(deps): bump pbf from 4.0.2 to 5.1.2
Bumps [pbf](https://github.com/mapbox/pbf) from 4.0.2 to 5.1.2.
- [Release notes](https://github.com/mapbox/pbf/releases)
- [Commits](mapbox/pbf@v4.0.2...v5.1.2)
---
updated-dependencies:
- dependency-name: pbf
dependency-version: 5.1.2
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(deps): adopt pbf 5 API — named PbfReader import + vector-tile 3
pbf 5 is ESM-only and replaced its default export with named
`PbfReader`/`PbfWriter` classes, so `import Pbf from "pbf"` no longer
type-checks (TS1192), failing every build-dependent CI job.
@mapbox/vector-tile 2.x still declares `pbf@^4`, which kept a duplicate
pbf 4 nested under it and typed `VectorTile` against the old default
export. Bumping to @mapbox/vector-tile 3.0.0 — the first release built
against pbf 5 — drops the duplicate and types the constructor as
`PbfReader`.
Verified by decoding a real Overture PMTiles tile (base theme,
z8/x134/y86) through the changed path: 15,815 features across 5 layers
decoded and converted to GeoJSON.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Qiusheng Wu <giswqs@gmail.com>1 parent f0243f2 commit d49da28
3 files changed
Lines changed: 22 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
| 422 | + | |
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| |||
0 commit comments