mirror of
https://github.com/maputnik/editor.git
synced 2026-09-08 05:17:25 +00:00
7f83abf773
Bumps [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) from 6.6.0 to 6.7.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.7.0</h2> <h3>✨ Features and improvements</h3> <ul> <li>Support the style specification's <code>font-faces</code> property, with <code>map.setFontFaces</code> and <code>map.getFontFaces</code> and improve complex script languages such as Devanagari, Khmer, Burmese and Hebrew (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8237">#8237</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> <li>Wrap Thai, Khmer, Burmese, Lao, Tibetan, Javanese and Balinese labels at word boundaries instead of running them on in one line, which applies to every style whether or not it declares <code>font-faces</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8237">#8237</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> <li>Throw <code>GPUInitializationError</code> from the <code>Map</code> constructor when the WebGL2 context cannot be created, instead of firing an <code>error</code> event no listener can catch and returning a partially constructed map (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8066">#8066</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Allow adding an image source without a <code>url</code>. The source starts empty and makes no network request; call <code>updateImage({image})</code> or <code>updateImage({url})</code> later to show an image (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8167">#8167</a>) (by <a href="https://github.com/mondsichtung"><code>@mondsichtung</code></a>)</li> <li>Skip symbol re-placement when its inputs are unchanged, so repaints from animated style images or custom layers cost a single frame (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8208">#8208</a>) (by <a href="https://github.com/lucaswoj"><code>@lucaswoj</code></a>)</li> <li>Add <code>Style#triggerSymbolPlacement</code>, which re-places symbols when something the map cannot see for itself has moved them (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8208">#8208</a>) (by <a href="https://github.com/lucaswoj"><code>@lucaswoj</code></a>)</li> <li>Make <code>{validate: false}</code> skip the style snapshot the style setters only build as error context, so adding layers one at a time no longer serializes the whole style on every call (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8259">#8259</a>) (by <a href="https://github.com/lazerg"><code>@lazerg</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Disable the navigation control's zoom-out button when viewport constraints prevent zooming out further (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5316">#5316</a>) (by <a href="https://github.com/miakh"><code>@miakh</code></a>)</li> <li>Keep a vector tile's etag when the tile is reloaded after a style change, so the next expiry refresh can still skip unchanged tiles (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/3309">#3309</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Fix <code>project()</code> and <code>queryTerrainElevation</code> disagreeing with the rendered terrain surface when the elevation lookup sampled a different DEM zoom than the drawn mesh (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8212">#8212</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Draw numbers (e.g. “21” in “반포대로21길”) and short uppercase codes (e.g. “A1”) upright in vertical line labels instead of rotating them along the line (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5404">#5404</a>) (by <a href="https://github.com/NEKOYASAN"><code>@NEKOYASAN</code></a>)</li> <li>Fix the camera jumping at the end of a pan or zoom gesture on terrain by sampling the center elevation from the rendered terrain surface (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7989">#7989</a>, <a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/3982">#3982</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Ensure style state defaults are serialized (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8263">#8263</a>) (by <a href="https://github.com/hiddewie"><code>@hiddewie</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.7.0</h2> <h3>✨ Features and improvements</h3> <ul> <li>Support the style specification's <code>font-faces</code> property, with <code>map.setFontFaces</code> and <code>map.getFontFaces</code> and improve complex script languages such as Devanagari, Khmer, Burmese and Hebrew (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8237">#8237</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> <li>Wrap Thai, Khmer, Burmese, Lao, Tibetan, Javanese and Balinese labels at word boundaries instead of running them on in one line, which applies to every style whether or not it declares <code>font-faces</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8237">#8237</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> <li>Throw <code>GPUInitializationError</code> from the <code>Map</code> constructor when the WebGL2 context cannot be created, instead of firing an <code>error</code> event no listener can catch and returning a partially constructed map (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8066">#8066</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Allow adding an image source without a <code>url</code>. The source starts empty and makes no network request; call <code>updateImage({image})</code> or <code>updateImage({url})</code> later to show an image (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8167">#8167</a>) (by <a href="https://github.com/mondsichtung"><code>@mondsichtung</code></a>)</li> <li>Skip symbol re-placement when its inputs are unchanged, so repaints from animated style images or custom layers cost a single frame (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8208">#8208</a>) (by <a href="https://github.com/lucaswoj"><code>@lucaswoj</code></a>)</li> <li>Add <code>Style#triggerSymbolPlacement</code>, which re-places symbols when something the map cannot see for itself has moved them (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8208">#8208</a>) (by <a href="https://github.com/lucaswoj"><code>@lucaswoj</code></a>)</li> <li>Make <code>{validate: false}</code> skip the style snapshot the style setters only build as error context, so adding layers one at a time no longer serializes the whole style on every call (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8259">#8259</a>) (by <a href="https://github.com/lazerg"><code>@lazerg</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Disable the navigation control's zoom-out button when viewport constraints prevent zooming out further (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5316">#5316</a>) (by <a href="https://github.com/miakh"><code>@miakh</code></a>)</li> <li>Keep a vector tile's etag when the tile is reloaded after a style change, so the next expiry refresh can still skip unchanged tiles (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/3309">#3309</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Fix <code>project()</code> and <code>queryTerrainElevation</code> disagreeing with the rendered terrain surface when the elevation lookup sampled a different DEM zoom than the drawn mesh (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8212">#8212</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Draw numbers (e.g. “21” in “반포대로21길”) and short uppercase codes (e.g. “A1”) upright in vertical line labels instead of rotating them along the line (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5404">#5404</a>) (by <a href="https://github.com/NEKOYASAN"><code>@NEKOYASAN</code></a>)</li> <li>Fix the camera jumping at the end of a pan or zoom gesture on terrain by sampling the center elevation from the rendered terrain surface (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7989">#7989</a>, <a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/3982">#3982</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Ensure style state defaults are serialized (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8263">#8263</a>) (by <a href="https://github.com/hiddewie"><code>@hiddewie</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/e1736fd29fdb26a359640ca61a88343bc2604aac"><code>e1736fd</code></a> Bump js version to 6.7.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8291">#8291</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/2da49917e11ea90e35de3f679f0e5e1bf39d1703"><code>2da4991</code></a> feat: support <code>font-faces</code> style property (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8237">#8237</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/a71cfb08c1d7eccff2a0349aa2f78aa11e12c410"><code>a71cfb0</code></a> chore(deps-dev): bump cssnano from 8.0.10 to 9.0.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8289">#8289</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/f9a40a5c4462abafd6823d9b6fc623246f31e787"><code>f9a40a5</code></a> Fix navigation control at the effective minimum zoom (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8261">#8261</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/1e9194fdbef0331fe3d5651e8f938a872c78dbfd"><code>1e9194f</code></a> fix: keep a vector tile's etag across reloads (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8276">#8276</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/69562dd01a77910231bd817af06be446f85bdb87"><code>69562dd</code></a> chore(deps-dev): bump <code>@types/node</code> from 26.3.0 to 26.4.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8271">#8271</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/afd30b41ea4ac0f0095ee462d72362e755e6a01e"><code>afd30b4</code></a> chore(deps-dev): bump sharp from 0.35.3 to 0.35.4 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8269">#8269</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/aff418d178536ab9460bf325d1763fd2a358705a"><code>aff418d</code></a> chore(deps-dev): bump <code>@unicode/unicode-17</code>.0.0 from 1.6.17 to 2.0.2 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8284">#8284</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/4013312109ff4c57642a5e0a9f6be96f922c1df1"><code>4013312</code></a> chore(deps-dev): bump pretty-bytes from 7.1.1 to 7.1.2 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8283">#8283</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/87bd3bac1f0beec8bdd8e2a097e55d1ff6d6e857"><code>87bd3ba</code></a> chore(deps-dev): bump st from 4.0.4 to 4.0.10 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8281">#8281</a>)</li> <li>Additional commits viewable in <a href="https://github.com/maplibre/maplibre-gl-js/compare/v6.6.0...v6.7.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.3",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.43.10",
|
|
"@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.1",
|
|
"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.1",
|
|
"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.7.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.62.1",
|
|
"@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": "^4.1.11",
|
|
"cors": "^2.8.6",
|
|
"eslint": "^10.9.1",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.6",
|
|
"i18next-cli": "^1.72.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.103.1",
|
|
"stylelint": "^17.14.1",
|
|
"stylelint-config-recommended-scss": "^17.0.1",
|
|
"stylelint-scss": "^7.2.0",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.69.0",
|
|
"uuid": "^14.0.2",
|
|
"vite": "^8.2.2",
|
|
"vite-plugin-istanbul": "^9.0.1",
|
|
"vitest": "^4.1.11"
|
|
}
|
|
}
|