For whatever reason in the past (hopefully) week, the file https://unpkg.com/maplibre-gl@^2.4/dist/maplibre-gl.js has became corrupt: scroll down enough and you'll find random characters interspersed.
Based on the SyntaxError I got seeing a Byte Order Marker, this may be an endianness error.
(This was observed on Safari Version 26.5 (21624.2.5.11.4) on macOS 26.5.1 and some version of Chromium bundled into vscode.)
I wonder if it's some kind of cosmic bit flip, but in any case the cache may need clearing. In the meanwhile I've had to switch to jsdelivr :(
For whatever reason in the past (hopefully) week, the file https://unpkg.com/maplibre-gl@^2.4/dist/maplibre-gl.js has became corrupt: scroll down enough and you'll find random characters interspersed.
Based on the SyntaxError I got seeing a Byte Order Marker, this may be an endianness error.
(This was observed on Safari Version 26.5 (21624.2.5.11.4) on macOS 26.5.1 and some version of Chromium bundled into vscode.)
I wonder if it's some kind of cosmic bit flip, but in any case the cache may need clearing. In the meanwhile I've had to switch to jsdelivr :(