mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-25 14:17:31 +00:00
fix(map): pin mapbox-gl to 3.32.0 so vector tiles load beside maplibre-gl
mapbox-gl 3.33 and later read the worker class registry key before they handle Set and Error. maplibre-gl, which ships in the same bundle, stamps that key on both built-ins, so mapbox-gl looks up a registry entry it never made and every vector tile fails with "Cannot read properties of undefined (reading 'omit')". The Mapbox basemap stays blank while raster layers such as satellite still load. 5.2.0 shipped mapbox-gl 3.35.2; 3.36.0-rc.1 still has the same order. Pin the last release that handles the built-ins first, keep Dependabot off 3.33 and later, and add a test that reads the shipped serializer and fails on a version with the registry read first.
This commit is contained in:
@@ -35,6 +35,13 @@ updates:
|
||||
# tooling supports it.
|
||||
- dependency-name: typescript
|
||||
update-types: [version-update:semver-major]
|
||||
# mapbox-gl 3.33 and later read the worker registry key before handling
|
||||
# Set and Error, and maplibre-gl, bundled beside it, stamps that key on
|
||||
# both built-ins: every vector tile then fails with "reading 'omit'".
|
||||
# glWorkerRegistry.test.ts fails on a version with that order; it moves
|
||||
# by hand once mapbox-gl checks the built-ins first again.
|
||||
- dependency-name: mapbox-gl
|
||||
versions: ['>=3.33.0']
|
||||
|
||||
# plugin-sdk is standalone with a lockfile of its own and ships to npm.
|
||||
- package-ecosystem: npm
|
||||
|
||||
Reference in New Issue
Block a user