Files
editor/package.json
T
dependabot[bot] 2a9f305fc4 chore(deps): Bump maplibre-gl from 6.15.0 to 6.16.0 (#2276)
Bumps [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) from
6.15.0 to 6.16.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.16.0</h2>
<h3>✨ Features and improvements</h3>
<ul>
<li>Allow <code>Map#setMaxBounds</code> to constrain one geographic axis
without constraining the other (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/6148">#6148</a>)
(by <a
href="https://github.com/erenbati"><code>@​erenbati</code></a>)</li>
<li>Allow calling <code>new Map({ transformStyle: { ... }})</code> to
provide a style transformation function similar to the same option in
<code>setStyle</code> (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8786">#8786</a>)
(by <a
href="https://github.com/hiddewie"><code>@​hiddewie</code></a>)</li>
<li>Add accept headers for MLT according to the current capabilities (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7483">#7483</a>)
(by <a
href="https://github.com/CommanderStorm"><code>@​CommanderStorm</code></a>)</li>
</ul>
<h3>🐞 Bug fixes</h3>
<ul>
<li>Fix expired vector tiles erroring on their next reload, e.g. after
<code>setFilter()</code>, when the server returns an unchanged ETag (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8771">#8771</a>)
(by <a
href="https://github.com/DoFabien"><code>@​DoFabien</code></a>)</li>
<li>Fix <code>GeoJSONSource.getBounds</code> throwing when a feature has
a <code>null</code> geometry (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8814">#8814</a>)
(by <a
href="https://github.com/auraseb"><code>@​auraseb</code></a>)</li>
<li>Fix characters covered by <code>font-faces</code> switching to
glyphs from the glyphs URL once their PBF range is downloaded (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8490">#8490</a>)
(by <a
href="https://github.com/NEKOYASAN"><code>@​NEKOYASAN</code></a>)</li>
<li>Fix the map shrinking to a single stretched pixel for good when it
resizes after the WebGL context is lost but before
<code>webglcontextlost</code> fires, e.g. when a mobile browser returns
from the background (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8837">#8837</a>)
(by <a href="https://github.com/lazerg"><code>@​lazerg</code></a>)</li>
<li>Fix <code>TypeError: Cannot read properties of undefined (reading
'0')</code> when drawing a line layer with a constant
<code>line-dasharray</code> whose dash positions were never set (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8846">#8846</a>)
(by <a
href="https://github.com/yulman2207"><code>@​yulman2207</code></a>)</li>
<li>Fix <code>GeoJSONSource.updateData</code> applying a queued update
to a feature that a later call adds again (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8804">#8804</a>)
(by <a
href="https://github.com/architpai"><code>@​architpai</code></a>)</li>
<li>Fix images added with <code>addImage</code>, e.g. from
<code>styleimagemissing</code>, not showing in tiles that were reloaded
after the map was panned across 180° (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8858">#8858</a>)
(by <a
href="https://github.com/birkskyum"><code>@​birkskyum</code></a>)</li>
<li>Fix maps that stop loading after iOS shuts down their background
workers to save memory (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8461">#8461</a>,
<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8491">#8491</a>)
(by <a href="https://github.com/lucaswoj"><code>@​lucaswoj</code></a>,
<a href="https://github.com/ingalls"><code>@​ingalls</code></a>, and <a
href="https://github.com/HarelM"><code>@​HarelM</code></a>)</li>
<li>Fix vector tiles past the source's maxzoom failing to load when
slicing leaves a one-point line (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8681">#8681</a>)
(by <a
href="https://github.com/johncarmack1984"><code>@​johncarmack1984</code></a>)</li>
<li>Fix terrain drawing flat at low zoom, where its tiles are at the DEM
source's minzoom (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8772">#8772</a>)
(by <a
href="https://github.com/johncarmack1984"><code>@​johncarmack1984</code></a>)</li>
<li>Fix <code>queryRenderedFeatures</code> missing part of a GeoJSON
polygon whose ring does not repeat its first point (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8874">#8874</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.16.0</h2>
<h3>✨ Features and improvements</h3>
<ul>
<li>Allow <code>Map#setMaxBounds</code> to constrain one geographic axis
without constraining the other (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/6148">#6148</a>)
(by <a
href="https://github.com/erenbati"><code>@​erenbati</code></a>)</li>
<li>Allow calling <code>new Map({ transformStyle: { ... }})</code> to
provide a style transformation function similar to the same option in
<code>setStyle</code> (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8786">#8786</a>)
(by <a
href="https://github.com/hiddewie"><code>@​hiddewie</code></a>)</li>
<li>Add accept headers for MLT according to the current capabilities (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7483">#7483</a>)
(by <a
href="https://github.com/CommanderStorm"><code>@​CommanderStorm</code></a>)</li>
</ul>
<h3>🐞 Bug fixes</h3>
<ul>
<li>Fix expired vector tiles erroring on their next reload, e.g. after
<code>setFilter()</code>, when the server returns an unchanged ETag (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8771">#8771</a>)
(by <a
href="https://github.com/DoFabien"><code>@​DoFabien</code></a>)</li>
<li>Fix <code>GeoJSONSource.getBounds</code> throwing when a feature has
a <code>null</code> geometry (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8814">#8814</a>)
(by <a
href="https://github.com/auraseb"><code>@​auraseb</code></a>)</li>
<li>Fix characters covered by <code>font-faces</code> switching to
glyphs from the glyphs URL once their PBF range is downloaded (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8490">#8490</a>)
(by <a
href="https://github.com/NEKOYASAN"><code>@​NEKOYASAN</code></a>)</li>
<li>Fix the map shrinking to a single stretched pixel for good when it
resizes after the WebGL context is lost but before
<code>webglcontextlost</code> fires, e.g. when a mobile browser returns
from the background (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8837">#8837</a>)
(by <a href="https://github.com/lazerg"><code>@​lazerg</code></a>)</li>
<li>Fix <code>TypeError: Cannot read properties of undefined (reading
'0')</code> when drawing a line layer with a constant
<code>line-dasharray</code> whose dash positions were never set (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8846">#8846</a>)
(by <a
href="https://github.com/yulman2207"><code>@​yulman2207</code></a>)</li>
<li>Fix <code>GeoJSONSource.updateData</code> applying a queued update
to a feature that a later call adds again (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8804">#8804</a>)
(by <a
href="https://github.com/architpai"><code>@​architpai</code></a>)</li>
<li>Fix images added with <code>addImage</code>, e.g. from
<code>styleimagemissing</code>, not showing in tiles that were reloaded
after the map was panned across 180° (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8858">#8858</a>)
(by <a
href="https://github.com/birkskyum"><code>@​birkskyum</code></a>)</li>
<li>Fix maps that stop loading after iOS shuts down their background
workers to save memory (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8461">#8461</a>,
<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8491">#8491</a>)
(by <a href="https://github.com/lucaswoj"><code>@​lucaswoj</code></a>,
<a href="https://github.com/ingalls"><code>@​ingalls</code></a>, and <a
href="https://github.com/HarelM"><code>@​HarelM</code></a>)</li>
<li>Fix vector tiles past the source's maxzoom failing to load when
slicing leaves a one-point line (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8681">#8681</a>)
(by <a
href="https://github.com/johncarmack1984"><code>@​johncarmack1984</code></a>)</li>
<li>Fix terrain drawing flat at low zoom, where its tiles are at the DEM
source's minzoom (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8772">#8772</a>)
(by <a
href="https://github.com/johncarmack1984"><code>@​johncarmack1984</code></a>)</li>
<li>Fix <code>queryRenderedFeatures</code> missing part of a GeoJSON
polygon whose ring does not repeat its first point (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8874">#8874</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/538a7680ab16d5cf5a6564ee0ce72a11be14d142"><code>538a768</code></a>
Bump js version to 6.16.0 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8880">#8880</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/2c7bcbdc2117913fa4e1e168b46afaa9eaa998a6"><code>2c7bcbd</code></a>
chore(deps-dev): bump fast-uri (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8878">#8878</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/93374993c80463cc7660062530c694de6ace25ca"><code>9337499</code></a>
chore(deps): bump fast-uri from 3.1.7 to 3.1.9 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8877">#8877</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/23d35d905be82b9db7ed4c67810d74593059ec8e"><code>23d35d9</code></a>
fix: <code>queryRenderedFeatures</code> missing part of a GeoJSON
polygon whose ring doe...</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/33a237066fa9aca2258af950680717a27869dfe7"><code>33a2370</code></a>
fix: keep terrain relief at low zoom, where its tiles are at the DEM
source's...</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/23e09377a5c7997b825d3c57f9b6872cbb2c3c03"><code>23e0937</code></a>
fix: images added with <code>addImage</code> missing from tiles reloaded
after panning a...</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/393b6e989cc59bf5ac5f36fe88001bf2fc19f483"><code>393b6e9</code></a>
CSC-1.8 Read the camera state directly in the projection classes (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8870">#8870</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/fc727114698ec7819fe80a20472ff5cec5975760"><code>fc72711</code></a>
fix: keep two points when clipping a line that ends on the slice's edge
(<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8869">#8869</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/da14df808f394e34d3aa3797b771df11357c769c"><code>da14df8</code></a>
CSC-1.7 Pass the tile zoom to the terrain elevation lookups instead of
the tr...</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/3ea36bb61fd93ed9f67e38091bdd8f12948b6cf1"><code>3ea36bb</code></a>
CSC-1.6 Split the camera calculations from the writes in the projection
class...</li>
<li>Additional commits viewable in <a
href="https://github.com/maplibre/maplibre-gl-js/compare/v6.15.0...v6.16.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=maplibre-gl&package-manager=npm_and_yarn&previous-version=6.15.0&new-version=6.16.0)](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>
2026-10-28 13:55:06 +00:00

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.15",
"@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.5.0",
"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.5.10",
"i18next-browser-languagedetector": "^8.2.2",
"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.16.0",
"maputnik-design": "github:maputnik/design#172b06c",
"ol": "^10.11.0",
"ol-mapbox-style": "^13.8.0",
"pmtiles": "^4.5.0",
"prop-types": "^15.8.1",
"react": "^19.3.1",
"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.1",
"react-i18next": "^17.1.8",
"react-icons": "^5.7.0",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^4.15.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.64.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.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.5",
"cors": "^2.8.6",
"eslint": "^10.13.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"i18next-cli": "^1.80.1",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
"nyc": "^18.0.0",
"postcss": "^8.5.31",
"react-hot-loader": "^4.13.1",
"sass": "^1.106.1",
"stylelint": "^17.16.0",
"stylelint-config-recommended-scss": "^17.0.1",
"stylelint-scss": "^7.3.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.0",
"uuid": "^14.0.3",
"vite": "^8.3.5",
"vite-plugin-istanbul": "^9.0.1",
"vitest": "^5.0.5"
}
}