You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These three packages by mapbox all have new major version updates that support ESM and don't support CJS. They seem to be very related and easiest to updated at the same time:
These two has to be removed at the same time, since the typescript is moved to the packages and will conflict:
"@types/mapbox__point-geometry": "^0.1.4",
"@types/mapbox__vector-tile": "^1.3.4",
When updating, there're some type errors, but the only non-trivial one is from geojson_wrapper.ts saying:
Class 'FeatureWrapper' incorrectly implements class 'VectorTileFeature'. Did you mean to extend 'VectorTileFeature' and inherit its members as a subclass?
Type 'FeatureWrapper' is missing the following properties from type'VectorTileFeature': _pbf, _geometry, _keys, _values, bboxts(2720)
There is a branch I updated from dependabot to solve this, but one of the packages was not updated in one of the dependencies, causing a significant bundle size increase.
I'm not sure I had a good solution to this, but feel free to take a stab at this.
These three packages by mapbox all have new major version updates that support ESM and don't support CJS. They seem to be very related and easiest to updated at the same time:
These two has to be removed at the same time, since the typescript is moved to the packages and will conflict:
When updating, there're some type errors, but the only non-trivial one is from geojson_wrapper.ts saying:
Related to
The text was updated successfully, but these errors were encountered: