mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 13:10:29 +00:00
35dbcc2103
The minor and patch group of #3108 without MikroORM: 7.2.9 refuses to set the OAuth client reference from its client_id (the Postgres probe fails on OauthTokens.insertToken and OauthConsents.upsertGrant), so MikroORM stays on 7.2.8 and with it better-sqlite3 and kysely, which it pins exactly. mapbox-gl 3.33 shapes right-to-left text itself and removed setRTLTextPlugin, so the engine registers nothing any more and @mapbox/mapbox-gl-rtl-text, its Vite alias and the registration guard go. The WebAssembly module it loads instead comes from api.mapbox.com, which the CSP already allows. jsdom 31 and isomorphic-dompurify 4 move together, since the sanitizer needs jsdom 31. jsdom is also a root devDependency now: listed only in the client, npm nests it under client/ where vitest's built-in jsdom environment does not find it. dotenv 18 is loaded through `import 'dotenv/config'` only, which stays quiet. Closes #3108, closes #3109, closes #3110, closes #3112
16 lines
627 B
TypeScript
16 lines
627 B
TypeScript
import mapboxgl from 'mapbox-gl'
|
|
import 'mapbox-gl/dist/mapbox-gl.css'
|
|
|
|
/**
|
|
* The only module in the client that pulls mapbox-gl in at runtime.
|
|
*
|
|
* It has to stay reachable through `import('./engines/mapbox')` and nothing else:
|
|
* a static import from anywhere in the tree drags 1.8 MB into the parent chunk and
|
|
* quietly undoes the split. `npm run check:gl-split` fails on that.
|
|
*/
|
|
// No RTL text plugin to register: since 3.33 Mapbox GL shapes Arabic and orders
|
|
// bidirectional text itself, loading a small WebAssembly module from
|
|
// api.mapbox.com the first time such a label appears (#2235).
|
|
|
|
export default mapboxgl
|