dependabot[bot] f3935fd2d6 chore(deps): Bump the react group across 1 directory with 3 updates (#2245)
Bumps the react group with 3 updates in the / directory:
[react](https://github.com/react/react/tree/HEAD/packages/react),
[react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom)
and [react-i18next](https://github.com/i18next/react-i18next).

Updates `react` from 19.3.0 to 19.3.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/react/react/releases">react's
releases</a>.</em></p>
<blockquote>
<h2>19.3.1 (October 14th, 2026)</h2>
<h2>React Server Components</h2>
<ul>
<li>Improve transport protocol (<a
href="https://redirect.github.com/facebook/react/pull/37845">#37845</a>
by <a
href="https://github.com/unstubbable"><code>@​unstubbable</code></a> and
<a href="https://github.com/eps1lon"><code>@​eps1lon</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/react/react/commit/61aa00df822d0eb76d0362eb8b6fdd3527693efe"><code>61aa00d</code></a>
[19.3.x][Flight] Improve transport protocol (<a
href="https://github.com/react/react/tree/HEAD/packages/react/issues/37845">#37845</a>)</li>
<li>See full diff in <a
href="https://github.com/react/react/commits/v19.3.1/packages/react">compare
view</a></li>
</ul>
</details>
<br />

Updates `react-dom` from 19.3.0 to 19.3.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/react/react/releases">react-dom's
releases</a>.</em></p>
<blockquote>
<h2>19.3.1 (October 14th, 2026)</h2>
<h2>React Server Components</h2>
<ul>
<li>Improve transport protocol (<a
href="https://redirect.github.com/facebook/react/pull/37845">#37845</a>
by <a
href="https://github.com/unstubbable"><code>@​unstubbable</code></a> and
<a href="https://github.com/eps1lon"><code>@​eps1lon</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/react/react/commit/61aa00df822d0eb76d0362eb8b6fdd3527693efe"><code>61aa00d</code></a>
[19.3.x][Flight] Improve transport protocol (<a
href="https://github.com/react/react/tree/HEAD/packages/react-dom/issues/37845">#37845</a>)</li>
<li>See full diff in <a
href="https://github.com/react/react/commits/v19.3.1/packages/react-dom">compare
view</a></li>
</ul>
</details>
<br />

Updates `react-i18next` from 17.0.16 to 17.0.19
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md">react-i18next's
changelog</a>.</em></p>
<blockquote>
<h2>17.0.19</h2>
<ul>
<li>fix: <code>useTranslation</code> with an inline selector
<code>keyPrefix</code> (<code>useTranslation('ns', { keyPrefix: ($)
=&gt; $.role })</code>) returned a new <code>t</code> on every render,
so every effect, <code>useCallback</code> and <code>useMemo</code>
depending on <code>t</code> ran again each time. The cached
<code>t</code> was compared against the <code>keyPrefix</code> function
itself, and an inline arrow is a new function on every render. It is now
compared against the key the selector resolves to (with the same options
and namespace list <code>getFixedT</code> resolves it with), so
<code>t</code> keeps its identity as long as the resolved prefix does,
just like a string <code>keyPrefix</code>. A selector that resolves to a
different key still gets a new <code>t</code>, and i18next still
resolves the selector on each <code>t</code> call as before. Fixes <a
href="https://redirect.github.com/i18next/react-i18next/issues/1936">#1936</a>.</li>
<li>fix: <code>useTranslation</code> kept returning the previous
<code>t</code> when only the namespace (<code>useTranslation('a')</code>
→ <code>useTranslation('b')</code>) or only the i18n instance (another
instance with the same language, via props or
<code>I18nextProvider</code>) changed on a mounted component. That
<code>t</code> kept resolving against the old namespace or instance
until something else (the language, the ready state, a bound i18n event)
produced a new one. Both are now part of the check that decides whether
the cached <code>t</code> can be reused.</li>
</ul>
<h2>17.0.18</h2>
<ul>
<li>fix(Trans): with <code>shouldUnescape</code>, the default
<code>unescape</code> now turns <code>&amp;nbsp;</code> and
<code>&amp;[#160](https://github.com/i18next/react-i18next/issues/160);</code>
into a no-break space (U+00A0) instead of a regular space (U+0020). The
regular space dropped what the entity is for:
<code>u&amp;nbsp;nás</code> or <code>10&amp;nbsp;km</code> could wrap
across lines, and consecutive <code>&amp;nbsp;</code>s collapsed into
one space. This also matches <code>IcuTrans</code>, whose entity decoder
already mapped <code>&amp;nbsp;</code> to U+00A0. Compatibility note:
only affects <code>shouldUnescape</code>; snapshots or exact
<code>textContent</code> comparisons of such text now contain U+00A0
(Testing Library's default normalizer still matches it as a space). A
custom <code>react.unescape</code> function can restore the old mapping
for text nodes. Thanks <a
href="https://github.com/lprnmns"><code>@​lprnmns</code></a> (<a
href="https://redirect.github.com/i18next/react-i18next/pull/1935">#1935</a>).</li>
</ul>
<h2>17.0.17</h2>
<ul>
<li>perf: <code>useTranslation</code> no longer unsubscribes and
resubscribes its i18n listeners on every render. The
<code>subscribe</code> callback handed to
<code>useSyncExternalStore</code> depended on the merged options object,
which is rebuilt whenever <code>props</code> is a new object: with no
options (the <code>{}</code> default), with options passed inline
(<code>useTranslation('ns', { keyPrefix })</code>), and through
<code>withTranslation</code> and <code>&lt;Translation&gt;</code>. A new
<code>subscribe</code> makes React resubscribe, so each render of each
caller ran <code>i18n.off</code> and <code>i18n.on</code> in an extra
effect. It now depends only on the instance and the
<code>bindI18n</code>/<code>bindI18nStore</code> event names. No updates
were ever missed, because React re-checks the snapshot after
resubscribing; this only removes the churn, which adds up with many
mounted components that re-render often. Reported via <a
href="https://redirect.github.com/i18next/next-i18next/issues/2349">next-i18next#2349</a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/react-i18next/commit/d576d09cbebb9e2fc7a52a4cd6fe80793459cdfb"><code>d576d09</code></a>
17.0.19</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/d69464b4c4346309c530c9c5777191954f9842f0"><code>d69464b</code></a>
build</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/36e327ac48e5095d0313f8b3a39151e5ad3fc32f"><code>36e327a</code></a>
fix(useTranslation): keep t stable for an inline selector keyPrefix</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/f17e70812944aa767482799cfbbaaf4a3d6a5d72"><code>f17e708</code></a>
17.0.18</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/b799c190f66472e9c518d5a758a42302f8f12cea"><code>b799c19</code></a>
build, changelog for 17.0.18</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/7a55f5620d0ea0be0b3ab0269a605fd343519e92"><code>7a55f56</code></a>
fix: unescape   and &amp;<a
href="https://redirect.github.com/i18next/react-i18next/issues/160">#160</a>;
to a no-break space (<a
href="https://redirect.github.com/i18next/react-i18next/issues/1935">#1935</a>)</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/511e1f24ccb152bad43b592b147310614252bff0"><code>511e1f2</code></a>
17.0.17</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/699eae31bec8379ccdbd68060d921b6f9ada7605"><code>699eae3</code></a>
build</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/5a88fe6090fc2f14aac97bb6dfcc7c89094aee28"><code>5a88fe6</code></a>
perf(useTranslation): stop resubscribing the i18n listeners on every
render</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/c4ee2c94ef8450499c46c5007c775de96f7528d3"><code>c4ee2c9</code></a>
build</li>
<li>See full diff in <a
href="https://github.com/i18next/react-i18next/compare/v17.0.16...v17.0.19">compare
view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-19 14:09:36 +00:00
2019-08-03 12:08:54 -04:00
2016-12-03 17:03:39 +01:00
2025-01-21 09:54:19 +01:00
2018-10-20 18:35:35 +02:00
2026-07-12 15:46:30 +03:00
2023-12-20 07:18:13 +02:00
2025-02-25 05:01:15 -05:00
2025-02-25 05:01:15 -05:00
2026-07-12 15:46:30 +03:00

Maputnik logo

Maputnik

GitHub CI status License

A free and open visual editor for the MapLibre GL styles targeted at developers and map designers.

Usage

docker run -it --rm -p 8888:8000 ghcr.io/maplibre/maputnik:main

To see the CLI options (for example file watching or style serving) run:

docker run -it --rm -p 8888:8000 ghcr.io/maplibre/maputnik:main --help

You might need to mount a volume (-v) to be able to use these options.

Documentation

The documentation can be found in the Wiki. You are welcome to collaborate!

Design Map from Scratch

Develop

Maputnik is written in typescript and is using React and MapLibre GL JS.

We ensure building and developing Maputnik works with the current active LTS Node.js version and above.

Check out our Internationalization guide for UI text related changes.

Getting Involved

Join the #maplibre or #maputnik slack channel at OSMUS: get an invite at https://slack.openstreetmap.us/ Read the the below guide in order to get familiar with how we do things around here.

Install the deps, start the dev server and open the web browser on http://localhost:8888/.

# install dependencies
npm install
# start dev server
npm run start

If you want Maputnik to be accessible externally use the --host option:

# start externally accessible dev server
npm run start -- --host 0.0.0.0

The build process will watch for changes to the filesystem, rebuild and autoreload the editor.

npm run build

Lint the JavaScript code.

# run linter
npm run lint
npm run lint-css
npm run sort-styles

Tests

End-to-end tests

For E2E testing we use Playwright. The tests live in the e2e directory and drive the app through the MaputnikDriver page object.

The first time you run the tests, install the browser:

npx playwright install chromium

Playwright automatically starts the dev server (npm run start) for you, so you can just run:

npm run test

Some useful options:

# see the tests run in a headed browser
npm run test -- --headed

# run a single spec / filter by title
npm run test -- e2e/map.spec.ts
npm run test -- -g "zoom level"

# open the interactive UI mode
npx playwright test --ui

Running the E2E tests also produces a code-coverage report in coverage/ (collected via istanbul instrumentation of the dev server).

Unit & component tests

Unit tests and component tests run with Vitest; component tests (*.browser.test.tsx) use Vitest's browser mode with the Playwright provider.

npm run test-unit

Release process

  1. Review CHANGELOG.md
    • Double-check that all changes included in the release are appropriately documented.
    • To-be-released changes should be under the "main" header.
    • Commit any final changes to the changelog.
  2. Run Create bump version PR by manual workflow dispatch and set the version number in the input. This will create a PR that changes the changelog and package.json file to review and merge.
  3. Once merged, an automatic process will kick in and creates a GitHub release and uploads release assets.

Sponsors

Thanks to the supporters of the Kickstarter campaign. This project would not be possible without these commercial and individual sponsors. You can see this file's history for previous sponsors of the original Maputnik repo. Read more about the MapLibre Sponsorship Program at https://maplibre.org/sponsors/.

License

Maputnik is licensed under MIT and is Copyright (c) Lukas Martinelli and Maplibre contributors. As contributor please take extra care of not violating any Mapbox trademarks. Do not get inspired by other map studios and make your own decisions for a good style editor.

S
Description
An open source visual editor for the 'Mapbox Style Specification'
Readme
287 MiB
Languages
JavaScript 88.5%
SCSS 9.3%
CSS 1.2%
HTML 0.9%
Dockerfile 0.1%