mirror of
https://github.com/maputnik/editor.git
synced 2026-10-13 06:23:43 +00:00
Bumps [ol](https://github.com/openlayers/openlayers) from 10.10.0 to 10.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/openlayers/openlayers/releases">ol's releases</a>.</em></p> <blockquote> <h2>v10.11.0</h2> <h1>10.11.0</h1> <p>The 10.11 release improves styling, raster data and OGC service support, and makes the library leaner to load. The highlights are</p> <ul> <li>Canvas styles now evaluate the <code>color</code> and <code>array</code> operators, and <code>interpolate</code> mixes colors in sRGB on both the Canvas and WebGL renderers; a new <code>interpolate-hcl</code> operator keeps the perceptual gradient</li> <li><code>ol/source/Raster</code> gains basic data tile support, and the GeoZarr source can visualize generic n-D datacubes and accepts <code>storeOptions</code> for headers and credentials</li> <li>WMTS sources no longer derive their extent from the tile matrices, so layers that cover a wider area at low zoom levels are no longer cut off</li> <li>Tiles that the current view no longer needs are dropped from the queue, and the WebGL text overlay worker is loaded on demand</li> <li>The <code>VectorImageLayer</code> gets crisp rendering on rotated views, with rotated text and point symbols</li> <li>New <code>wrapX</code> option for <code>getPixelFromCoordinate</code> and <code>getCoordinateFromPixel</code>, and <code>projection</code> options for the WKT format</li> <li>Fixes for RTL text along lines, nested WFS 2.0 feature collections, empty GeoJSON coordinate arrays, and MouseWheelZoom target cleanup</li> </ul> <h3>Upgrade notes</h3> <h4>Fixed GeoJSON parsing of geometries with empty coordinate arrays</h4> <p>Previously, a GeoJSON geometry with an empty coordinates array (e.g. <code>{"type": "Point", "coordinates": []}</code>) produced a geometry with an empty coordinates array. We have now changed this to match the GeoJSON spec's recommendation to treat such geometries (except <code>GeometryCollection</code>) as <code>null</code> geometries. This change should not affect application code, unless it had special handling for geometries with empty coordinates arrays.</p> <h4>Fixed: <code>interpolate</code> mixed colors differently on the Canvas and WebGL renderers</h4> <p>The <code>['interpolate', ...]</code> operator interpolated colors in the Hue-Chroma-Luminance space on the Canvas renderer, but component-wise in sRGB on the WebGL renderer. The same style produced different gradients depending on which renderer drew it, and neither behaviour was documented. Both now interpolate in sRGB.</p> <p>Gradients built with <code>interpolate</code> over colors will look slightly different on the Canvas renderer. To keep the previous appearance, use the new <code>interpolate-hcl</code> operator:</p> <pre lang="js"><code>// Before const style = { 'fill-color': ['interpolate', ['linear'], ['get', 'value'], 0, 'red', 1, 'green'], }; </code></pre> <pre lang="js"><code>// After - to keep the perceptual gradient const style = { 'fill-color': ['interpolate-hcl', ['linear'], ['get', 'value'], 0, 'red', 1, 'green'], }; </code></pre> <p><code>interpolate-hcl</code> is only supported by the Canvas renderer for now.</p> <p>With the <code>['interpolate', ...]</code> operator, channels now keep their fractional part, so operations applied on top of an interpolated color are more accurate. Code reading back a color from an evaluated style may now see a fractional channel.</p> <h4>The WMTS tile grid extent is no longer calculated from the tile matrices</h4> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/openlayers/openlayers/commit/88fc44564552176b761dbb9531f9977386d041c0"><code>88fc445</code></a> Updates for the 10.11.0 release</li> <li><a href="https://github.com/openlayers/openlayers/commit/66e841c8833e858a9ddb1d2e66b5a7c9fa8891da"><code>66e841c</code></a> Merge pull request <a href="https://redirect.github.com/openlayers/openlayers/issues/17606">#17606</a> from ahocevar/cog-examples-source</li> <li><a href="https://github.com/openlayers/openlayers/commit/fc449f3b8bf83034ff529794bfe5a479126ca07e"><code>fc449f3</code></a> Merge pull request <a href="https://redirect.github.com/openlayers/openlayers/issues/17646">#17646</a> from zarathustracode/wkt-projection-options</li> <li><a href="https://github.com/openlayers/openlayers/commit/90cbd4a029d67ea5b46caf57beb67572b0d925d9"><code>90cbd4a</code></a> Merge pull request <a href="https://redirect.github.com/openlayers/openlayers/issues/17653">#17653</a> from openlayers/dependabot/npm_and_yarn/development...</li> <li><a href="https://github.com/openlayers/openlayers/commit/9f1b6268c7b0add6317ecdf52b77f954d0adfe0a"><code>9f1b626</code></a> Merge pull request <a href="https://redirect.github.com/openlayers/openlayers/issues/17655">#17655</a> from openlayers/dependabot/npm_and_yarn/production-...</li> <li><a href="https://github.com/openlayers/openlayers/commit/0c9e5429b4cc309c38e198408d856d4e8639229c"><code>0c9e542</code></a> Merge pull request <a href="https://redirect.github.com/openlayers/openlayers/issues/17656">#17656</a> from openlayers/dependabot/github_actions/actions-7...</li> <li><a href="https://github.com/openlayers/openlayers/commit/c1883341b0011d7c7cf4eacc6b105b90d81b42f7"><code>c188334</code></a> Merge pull request <a href="https://redirect.github.com/openlayers/openlayers/issues/17650">#17650</a> from Egge-Jan/custom-controls-north-arrow</li> <li><a href="https://github.com/openlayers/openlayers/commit/7d43f53abca7ffd346252497e2fddfd2df0a6188"><code>7d43f53</code></a> chore(deps): bump the actions group across 1 directory with 2 updates</li> <li><a href="https://github.com/openlayers/openlayers/commit/5a9ab4326db85930141c924d49cf6817e188a2f0"><code>5a9ab43</code></a> chore(deps-dev): bump the development-security group across 1 directory with ...</li> <li><a href="https://github.com/openlayers/openlayers/commit/27dfb990e413fc250ab0ba48da26f819dc184dad"><code>27dfb99</code></a> chore(deps): bump earcut</li> <li>Additional commits viewable in <a href="https://github.com/openlayers/openlayers/compare/v10.10.0...v10.11.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.13",
|
|
"@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.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.12.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.15",
|
|
"react-icons": "^5.7.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-resizable-panels": "^4.14.2",
|
|
"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.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.1",
|
|
"@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.74.5",
|
|
"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.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.0",
|
|
"uuid": "^14.0.2",
|
|
"vite": "^8.3.2",
|
|
"vite-plugin-istanbul": "^9.0.1",
|
|
"vitest": "^5.0.3"
|
|
}
|
|
}
|