mirror of
https://github.com/maputnik/editor.git
synced 2026-10-17 00:13:44 +00:00
Bumps [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) from 6.13.0 to 6.14.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.14.0</h2> <h3>✨ Features and improvements</h3> <ul> <li>Allow calling <code>new Map({ globalState: { ... }})</code> and <code>setStyle({ globalState: ... })</code> to provide an initial global state for the map style, overriding the global state defaults from the style (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7632">#7632</a>) (by <a href="https://github.com/hiddewie"><code>@hiddewie</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>fix: <code>ScaleControl</code> throwing when its sample points miss the globe (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8720">#8720</a>) (by <a href="https://github.com/SatvikMishra08"><code>@SatvikMishra08</code></a>)</li> <li>Fix a rendering crash when <code>removeFeatureState</code> removes a property before feature state is set (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8715">#8715</a>) (by <a href="https://github.com/yeomin4242"><code>@yeomin4242</code></a>)</li> <li>Work around blank, unresponsive maps on affected iPadOS 16 Safari devices (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8364">#8364</a>) (by <a href="https://github.com/samuelsmarason"><code>@samuelsmarason</code></a>)</li> <li>Fix circles with <code>circle-pitch-alignment: map</code> being drawn too large while the globe transitions to mercator (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8714">#8714</a>) (by <a href="https://github.com/heikki"><code>@heikki</code></a>)</li> <li>Fix <code>map.resize(eventData, false)</code> constraining the camera with the <code>vertical-perspective</code> projection (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8695">#8695</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Fix an uncaught error when <code>setStyle</code> is called while the WebGL context is lost, since 6.12.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8693">#8693</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Fix the view sliding hundreds of meters off the center when terrain is switched on during a gesture (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8688">#8688</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Fix the camera jumping back at the end of a pan, flick or rotation into terrain (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8692">#8692</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Fix <code>flyTo</code> dropping the <code>offset</code> and <code>around</code> options under <code>prefers-reduced-motion</code>, so a reduced-motion fly lands at the same camera as the animated one (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8730">#8730</a>) (by <a href="https://github.com/maartenla"><code>@maartenla</code></a>)</li> <li>Fix <code>load</code> and <code>idle</code> never firing when the last tile fails with a status other than 404 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8733">#8733</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</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.14.0</h2> <h3>✨ Features and improvements</h3> <ul> <li>Allow calling <code>new Map({ globalState: { ... }})</code> and <code>setStyle({ globalState: ... })</code> to provide an initial global state for the map style, overriding the global state defaults from the style (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/7632">#7632</a>) (by <a href="https://github.com/hiddewie"><code>@hiddewie</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>fix: <code>ScaleControl</code> throwing when its sample points miss the globe (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8720">#8720</a>) (by <a href="https://github.com/SatvikMishra08"><code>@SatvikMishra08</code></a>)</li> <li>Fix a rendering crash when <code>removeFeatureState</code> removes a property before feature state is set (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8715">#8715</a>) (by <a href="https://github.com/yeomin4242"><code>@yeomin4242</code></a>)</li> <li>Work around blank, unresponsive maps on affected iPadOS 16 Safari devices (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8364">#8364</a>) (by <a href="https://github.com/samuelsmarason"><code>@samuelsmarason</code></a>)</li> <li>Fix circles with <code>circle-pitch-alignment: map</code> being drawn too large while the globe transitions to mercator (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8714">#8714</a>) (by <a href="https://github.com/heikki"><code>@heikki</code></a>)</li> <li>Fix <code>map.resize(eventData, false)</code> constraining the camera with the <code>vertical-perspective</code> projection (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8695">#8695</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Fix an uncaught error when <code>setStyle</code> is called while the WebGL context is lost, since 6.12.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8693">#8693</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Fix the view sliding hundreds of meters off the center when terrain is switched on during a gesture (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8688">#8688</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Fix the camera jumping back at the end of a pan, flick or rotation into terrain (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8692">#8692</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Fix <code>flyTo</code> dropping the <code>offset</code> and <code>around</code> options under <code>prefers-reduced-motion</code>, so a reduced-motion fly lands at the same camera as the animated one (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8730">#8730</a>) (by <a href="https://github.com/maartenla"><code>@maartenla</code></a>)</li> <li>Fix <code>load</code> and <code>idle</code> never firing when the last tile fails with a status other than 404 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8733">#8733</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/72927301b7594536630d896c45c64c4d0d4c587f"><code>7292730</code></a> Bump js version to 6.14.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8737">#8737</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/9d3c6b3fbf7ed80de3647e12aaedb77b20e370b4"><code>9d3c6b3</code></a> Fix rendering crash when removing a property before feature state is set (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8715">#8715</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/8e23433a1e908fe99e3c026e0cf9b2df3eccb527"><code>8e23433</code></a> fix: load and idle never firing when the last tile fails with a non-404 statu...</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/873377f3752176d80cba25fd7db50f8a8068b7f4"><code>873377f</code></a> feat: Allow providing initial global state and style transform for map (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8264">#8264</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/5d5dea20251577887eff9652ff009b02903d048a"><code>5d5dea2</code></a> Keep offset and around when flyTo honors prefers-reduced-motion (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8730">#8730</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/7e493d21b8bcdb1bf741a81be50b19025501c42a"><code>7e493d2</code></a> fix: <code>ScaleControl</code> throwing when its sample points miss the globe (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8720">#8720</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/6d26435e525263e6e04926db0a7211613aa8e69e"><code>6d26435</code></a> chore(deps-dev): bump monocart-coverage-reports from 2.13.0 to 2.13.1 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8728">#8728</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/398f8740025c1973fe90667a8415ad567984be10"><code>398f874</code></a> chore(deps): bump zensical/zensical from 0.0.67 to 0.0.68 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8729">#8729</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/93f5c6ce4131a1a588ba37c23fb6afece7d36cc5"><code>93f5c6c</code></a> chore(deps-dev): bump the eslint group with 2 updates (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8724">#8724</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/299ab7e914c3f5ea75ab2a9cfdde5b7ebd6bc45b"><code>299ab7e</code></a> chore(deps-dev): bump postcss from 8.5.28 to 8.5.29 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8726">#8726</a>)</li> <li>Additional commits viewable in <a href="https://github.com/maplibre/maplibre-gl-js/compare/v6.13.0...v6.14.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>
153 lines
5.0 KiB
JSON
153 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.6",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.43.14",
|
|
"@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.4",
|
|
"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.3",
|
|
"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.14.0",
|
|
"maputnik-design": "github:maputnik/design#172b06c",
|
|
"ol": "^10.11.0",
|
|
"ol-mapbox-style": "^13.5.1",
|
|
"pmtiles": "^4.5.0",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^19.3.0",
|
|
"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.3.0",
|
|
"react-i18next": "^17.0.16",
|
|
"react-icons": "^5.7.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-resizable-panels": "^4.14.3",
|
|
"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.64.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.3.0",
|
|
"@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.3.0",
|
|
"@types/string-hash": "^1.1.3",
|
|
"@types/wicg-file-system-access": "^2023.10.7",
|
|
"@vitejs/plugin-react": "^6.1.2",
|
|
"@vitest/coverage-v8": "^5.0.3",
|
|
"cors": "^2.8.6",
|
|
"eslint": "^10.12.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
"i18next-cli": "^1.75.2",
|
|
"istanbul": "^0.4.5",
|
|
"istanbul-lib-coverage": "^3.2.2",
|
|
"nyc": "^18.0.0",
|
|
"postcss": "^8.5.29",
|
|
"react-hot-loader": "^4.13.1",
|
|
"sass": "^1.105.1",
|
|
"stylelint": "^17.16.0",
|
|
"stylelint-config-recommended-scss": "^17.0.1",
|
|
"stylelint-scss": "^7.3.0",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.71.1",
|
|
"uuid": "^14.0.3",
|
|
"vite": "^8.3.4",
|
|
"vite-plugin-istanbul": "^9.0.1",
|
|
"vitest": "^5.0.3"
|
|
}
|
|
}
|