mirror of
https://github.com/maputnik/editor.git
synced 2026-09-14 16:27:27 +00:00
bebda41aad
Bumps [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) from 6.8.0 to 6.9.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/maplibre/maplibre-gl-js/releases">maplibre-gl's releases</a>.</em></p> <blockquote> <h2>v6.9.0</h2> <h3>✨ Features and improvements</h3> <ul> <li>Improved support for drawing the letters of Devanagari, Khmer, Burmese and the other complex scripts and also draws Arabic and Hebrew labels correctly without loading a right-to-left text plugin, which deprecates <code>setRTLTextPlugin</code> and <code>getRTLTextPluginStatus</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8343">#8343</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> <li>Read sprite and image pixels back through an <code>OffscreenCanvas</code> where available, removing a main-thread stall of tens of milliseconds on GPU-accelerated browsers when a sprite loads (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8339">#8339</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> <li>Skip clipping masks for layers hidden at the current zoom and stop re-binding dynamic buffers on cached vertex array binds, removing redundant WebGL calls every frame (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8369">#8369</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Re-render at most one stale terrain drape per frame and keep drapes that differ only by zoom while the map moves, so a finger lift over terrain no longer re-renders every tile at once (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8368">#8368</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Fix <code>setStyle()</code> throwing while terrain is still loading because an intermediate render tried to compile a terrain shader before the replacement style initialized its projection (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/6824">#6824</a>) (by <a href="https://github.com/miakh"><code>@miakh</code></a>)</li> <li>Fix queued GeoJSON <code>updateData</code> property removals throwing after geometry-only updates or retaining previously updated values (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8372">#8372</a>) (by <a href="https://github.com/jokrasno"><code>@jokrasno</code></a>)</li> <li>Treat camera options passed as <code>undefined</code> as not given in <code>jumpTo</code>, <code>easeTo</code> and <code>flyTo</code>; they were coerced to NaN (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8373">#8373</a>) (by <a href="https://github.com/vlumi"><code>@vlumi</code></a>)</li> <li>Fix a <code>Not implemented.</code> error that broke panning and zooming when the projection was changed while the camera was moving, on maps with terrain enabled or a <code>transformCameraUpdate</code> callback (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8351">#8351</a>) (by <a href="https://github.com/lazerg"><code>@lazerg</code></a>)</li> <li>Fix a map created inside a hidden container staying at the <code>400x300</code> fallback size when the container is shown before the resize observer's first notification is delivered (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8277">#8277</a>) (by <a href="https://github.com/spliffone"><code>@spliffone</code></a>)</li> <li>Fix <code>MercatorTransform</code> throwing when it is resized to a zero width, and skip the matrix calculation of every projection while the transform has a zero width or height (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8374">#8374</a>) (by <a href="https://github.com/avosa"><code>@avosa</code></a>)</li> <li>Fix every style update opening a redundant sky and light transition, which kept <code>idle</code> from firing for the transition duration after the map was otherwise done, and could ease the sky and the light on a different curve from the layers (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8348">#8348</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> <li>Fix DOM sanitization for iframe and srcdoc (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8396">#8396</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md">maplibre-gl's changelog</a>.</em></p> <blockquote> <h2>6.9.0</h2> <h3>✨ Features and improvements</h3> <ul> <li>Improved support for drawing the letters of Devanagari, Khmer, Burmese and the other complex scripts and also draws Arabic and Hebrew labels correctly without loading a right-to-left text plugin, which deprecates <code>setRTLTextPlugin</code> and <code>getRTLTextPluginStatus</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8343">#8343</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> <li>Read sprite and image pixels back through an <code>OffscreenCanvas</code> where available, removing a main-thread stall of tens of milliseconds on GPU-accelerated browsers when a sprite loads (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8339">#8339</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> <li>Skip clipping masks for layers hidden at the current zoom and stop re-binding dynamic buffers on cached vertex array binds, removing redundant WebGL calls every frame (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8369">#8369</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Re-render at most one stale terrain drape per frame and keep drapes that differ only by zoom while the map moves, so a finger lift over terrain no longer re-renders every tile at once (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8368">#8368</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Fix <code>setStyle()</code> throwing while terrain is still loading because an intermediate render tried to compile a terrain shader before the replacement style initialized its projection (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/6824">#6824</a>) (by <a href="https://github.com/miakh"><code>@miakh</code></a>)</li> <li>Fix queued GeoJSON <code>updateData</code> property removals throwing after geometry-only updates or retaining previously updated values (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8372">#8372</a>) (by <a href="https://github.com/jokrasno"><code>@jokrasno</code></a>)</li> <li>Treat camera options passed as <code>undefined</code> as not given in <code>jumpTo</code>, <code>easeTo</code> and <code>flyTo</code>; they were coerced to NaN (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8373">#8373</a>) (by <a href="https://github.com/vlumi"><code>@vlumi</code></a>)</li> <li>Fix a <code>Not implemented.</code> error that broke panning and zooming when the projection was changed while the camera was moving, on maps with terrain enabled or a <code>transformCameraUpdate</code> callback (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8351">#8351</a>) (by <a href="https://github.com/lazerg"><code>@lazerg</code></a>)</li> <li>Fix a map created inside a hidden container staying at the <code>400x300</code> fallback size when the container is shown before the resize observer's first notification is delivered (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8277">#8277</a>) (by <a href="https://github.com/spliffone"><code>@spliffone</code></a>)</li> <li>Fix <code>Map#project</code> returning an incorrect on-screen point for a location behind the camera. It now returns a point outside the viewport, on the side through which the location left the screen, so DOM markers and popups are moved off-screen as expected. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8292">#8292</a>) (by <a href="https://github.com/schickm"><code>@schickm</code></a>)</li> <li>Fix <code>MercatorTransform</code> throwing when it is resized to a zero width, and skip the matrix calculation of every projection while the transform has a zero width or height (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8374">#8374</a>) (by <a href="https://github.com/avosa"><code>@avosa</code></a>)</li> <li>Fix every style update opening a redundant sky and light transition, which kept <code>idle</code> from firing for the transition duration after the map was otherwise done, and could ease the sky and the light on a different curve from the layers (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8348">#8348</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> <li>Fix DOM sanitization for iframe and srcdoc (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8396">#8396</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/f985318d1fa7e01d8b7e32a719aaf91efcb348d4"><code>f985318</code></a> Bump js version to 6.9.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8398">#8398</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/b51d10a7b0bff4ffe4480b9e26b4ebe57461b928"><code>b51d10a</code></a> improve sanitization (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8396">#8396</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/36034010e11c5cf9a9d1f10bcb4b5306dab14ba1"><code>3603401</code></a> chore(deps-dev): bump cssnano from 9.0.2 to 9.0.3 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8390">#8390</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/3e3c447168f00dd82485fa5b27b6e7d90d6f705e"><code>3e3c447</code></a> chore(deps): bump <code>@maplibre/maplibre-gl-style-spec</code> from 26.4.1 to 26.4.2 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8391">#8391</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/ea9f7df5e374a65401ddf388a54158d0b59b2e97"><code>ea9f7df</code></a> chore(deps): bump zensical/zensical from 0.0.59 to 0.0.60 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8392">#8392</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/ce10d220875eac604ee5c646e9b17680d7e182ed"><code>ce10d22</code></a> feat: add bidi support and deprecate RTL plugin (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8343">#8343</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/86901c5b7f638c201928e3e7ccea08200718ff3e"><code>86901c5</code></a> fix: stop re-opening sky and light transitions on every style update (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8350">#8350</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/54dfab1e186e72fc43bc319cab97c5427f80a0f3"><code>54dfab1</code></a> chore(deps-dev): bump <code>@types/node</code> from 26.4.0 to 26.4.1 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8352">#8352</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/209e34203b2ac001d022334471182a1d06c5b2b0"><code>209e342</code></a> perf: skip hidden layers before their clipping masks and drop the dynamic buf...</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/71a12d8c37a052eec276f3ad93ae8cc5b8a92f15"><code>71a12d8</code></a> fix: skip terrain drawing until replacement projection is ready (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8258">#8258</a>)</li> <li>Additional commits viewable in <a href="https://github.com/maplibre/maplibre-gl-js/compare/v6.8.0...v6.9.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
152 lines
5.0 KiB
JSON
152 lines
5.0 KiB
JSON
{
|
|
"name": "maputnik",
|
|
"version": "3.1.0",
|
|
"description": "A MapLibre GL visual style editor",
|
|
"type": "module",
|
|
"main": "''",
|
|
"scripts": {
|
|
"copy-rtl-text-plugin": "mkdir -p public && cp -p node_modules/@mapbox/mapbox-gl-rtl-text/dist/mapbox-gl-rtl-text.js public/",
|
|
"start": "npm run copy-rtl-text-plugin && vite",
|
|
"build": "npm run copy-rtl-text-plugin && tsc && vite build --mode=production",
|
|
"build-desktop": "npm run copy-rtl-text-plugin && tsc && vite build --mode=desktop && cd desktop && make",
|
|
"build-linux": "npm run copy-rtl-text-plugin && tsc && vite build --mode=desktop && cd desktop && make bin/linux/maputnik",
|
|
"i18n:extract": "npx i18next-cli extract",
|
|
"lint": "eslint",
|
|
"test": "playwright test",
|
|
"test-e2e": "playwright test",
|
|
"test-unit": "vitest",
|
|
"test-unit-ci": "vitest run --coverage --reporter=json",
|
|
"lint-css": "stylelint \"src/styles/*.scss\"",
|
|
"sort-styles": "jq 'sort_by(.id)' src/config/styles.json > tmp.json && mv tmp.json src/config/styles.json"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/maplibre/maputnik"
|
|
},
|
|
"author": "Lukas Martinelli",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/maplibre/maputnik#readme",
|
|
"dependencies": {
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@codemirror/lint": "^6.9.7",
|
|
"@codemirror/state": "^6.7.4",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.43.11",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@mapbox/mapbox-gl-rtl-text": "^0.4.0",
|
|
"@maplibre/maplibre-gl-geocoder": "^1.9.4",
|
|
"@maplibre/maplibre-gl-inspect": "^1.9.0",
|
|
"@maplibre/maplibre-gl-style-spec": "^26.4.2",
|
|
"array-move": "^4.0.0",
|
|
"buffer": "^6.0.3",
|
|
"classnames": "^2.5.1",
|
|
"codemirror": "^6.0.2",
|
|
"color": "^5.0.3",
|
|
"detect-browser": "^5.3.0",
|
|
"downshift": "^9.4.0",
|
|
"events": "^3.3.0",
|
|
"file-saver": "^2.0.5",
|
|
"i18next": "^26.4.2",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"i18next-resources-to-backend": "^1.2.3",
|
|
"json-stringify-pretty-compact": "^4.0.0",
|
|
"json-to-ast": "^2.1.0",
|
|
"lodash": "^4.18.1",
|
|
"lodash.capitalize": "^4.2.1",
|
|
"lodash.clamp": "^4.0.3",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"lodash.get": "^4.4.2",
|
|
"lodash.isequal": "^4.5.0",
|
|
"lodash.throttle": "^4.1.1",
|
|
"maplibre-gl": "^6.9.0",
|
|
"maputnik-design": "github:maputnik/design#172b06c",
|
|
"ol": "^10.10.0",
|
|
"ol-mapbox-style": "^13.4.3",
|
|
"pmtiles": "^4.5.0",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^19.2.8",
|
|
"react-accessible-accordion": "^5.0.1",
|
|
"react-aria-menubutton": "^8.0.0",
|
|
"react-aria-modal": "^5.0.2",
|
|
"react-collapse": "^5.1.1",
|
|
"react-color": "^2.19.3",
|
|
"react-dom": "^19.2.8",
|
|
"react-i18next": "^17.0.13",
|
|
"react-icons": "^5.7.0",
|
|
"react-markdown": "^10.1.0",
|
|
"reconnecting-websocket": "^4.4.0",
|
|
"slugify": "^1.6.9",
|
|
"string-hash": "^1.1.3",
|
|
"url": "^0.11.4"
|
|
},
|
|
"jshintConfig": {
|
|
"esversion": 6
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-recommended-scss",
|
|
"rules": {
|
|
"no-descending-specificity": null,
|
|
"media-feature-name-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreMediaFeatureNames": [
|
|
"prefers-reduced-motion"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@playwright/test": "^1.63.0",
|
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
"@types/codemirror": "^5.60.18",
|
|
"@types/color": "^4.2.1",
|
|
"@types/cors": "^2.8.19",
|
|
"@types/file-saver": "^2.0.7",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/json-to-ast": "^2.1.4",
|
|
"@types/lodash.capitalize": "^4.2.9",
|
|
"@types/lodash.clamp": "^4.0.9",
|
|
"@types/lodash.clonedeep": "^4.5.9",
|
|
"@types/lodash.get": "^4.4.9",
|
|
"@types/lodash.isequal": "^4.5.8",
|
|
"@types/lodash.throttle": "^4.1.9",
|
|
"@types/randomcolor": "^0.5.9",
|
|
"@types/react": "^19.2.18",
|
|
"@types/react-aria-menubutton": "^6.2.14",
|
|
"@types/react-aria-modal": "^5.0.0",
|
|
"@types/react-collapse": "^5.0.4",
|
|
"@types/react-color": "^3.0.13",
|
|
"@types/react-dom": "^19.2.7",
|
|
"@types/string-hash": "^1.1.3",
|
|
"@types/wicg-file-system-access": "^2023.10.7",
|
|
"@vitejs/plugin-react": "^6.1.1",
|
|
"@vitest/coverage-v8": "^5.0.0",
|
|
"cors": "^2.8.6",
|
|
"eslint": "^10.10.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.6",
|
|
"i18next-cli": "^1.73.1",
|
|
"istanbul": "^0.4.5",
|
|
"istanbul-lib-coverage": "^3.2.2",
|
|
"nyc": "^18.0.0",
|
|
"postcss": "^8.5.28",
|
|
"react-hot-loader": "^4.13.1",
|
|
"sass": "^1.104.0",
|
|
"stylelint": "^17.15.0",
|
|
"stylelint-config-recommended-scss": "^17.0.1",
|
|
"stylelint-scss": "^7.2.0",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.70.0",
|
|
"uuid": "^14.0.2",
|
|
"vite": "^8.2.2",
|
|
"vite-plugin-istanbul": "^9.0.1",
|
|
"vitest": "^5.0.0"
|
|
}
|
|
}
|