dependabot[bot] fff7982e85 chore(deps-dev): Bump vitest from 3.2.4 to 4.0.2 (#1478)
Bumps
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
from 3.2.4 to 4.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.2</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li><strong>browser</strong>:
<ul>
<li>Don't print the deprecation notice in node_modules  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8779">vitest-dev/vitest#8779</a>
<a href="https://github.com/vitest-dev/vitest/commit/588f76858"><!-- raw
HTML omitted -->(588f7)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>pool</strong>:
<ul>
<li>Assign envs before running tests to keep in sync with process.env
 -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8769">vitest-dev/vitest#8769</a>
<a href="https://github.com/vitest-dev/vitest/commit/26ce88db6"><!-- raw
HTML omitted -->(26ce8)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>spy</strong>:
<ul>
<li>Properly inherit implementation's <code>length</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8778">vitest-dev/vitest#8778</a>
<a href="https://github.com/vitest-dev/vitest/commit/d4c2b280b"><!-- raw
HTML omitted -->(d4c2b)<!-- raw HTML omitted --></a></li>
<li>Reset spies if both <code>restoreMocks</code> and
<code>mockReset</code> are set in the config  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8781">vitest-dev/vitest#8781</a>
<a href="https://github.com/vitest-dev/vitest/commit/2eedbce76"><!-- raw
HTML omitted -->(2eedb)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v4.0.1...v4.0.2">View
changes on GitHub</a></h5>
<h2>v4.0.1</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Move the <code>getBuiltins</code> check  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8765">vitest-dev/vitest#8765</a>
<a href="https://github.com/vitest-dev/vitest/commit/81000631d"><!-- raw
HTML omitted -->(81000)<!-- raw HTML omitted --></a></li>
<li><strong>pool</strong>: Don't teardown the communication channel too
soon if something is running after the test  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8767">vitest-dev/vitest#8767</a>
<a href="https://github.com/vitest-dev/vitest/commit/3fae73e2e"><!-- raw
HTML omitted -->(3fae7)<!-- raw HTML omitted --></a></li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v4.0.0...v4.0.1">View
changes on GitHub</a></h5>
<h2>v4.0.0</h2>
<p>Vitest 4.0 is out!</p>
<p>To stay updated, read our <a
href="https://vitest.dev/blog/vitest-4">blog post</a> and check the <a
href="https://vitest.dev/guide/migration">migration guide</a>.</p>
<h3>   🚨 Breaking Changes</h3>
<ul>
<li>Remove <code>'basic'</code> reporter  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/7884">vitest-dev/vitest#7884</a>
<a href="https://github.com/vitest-dev/vitest/commit/82fcf5d53"><!-- raw
HTML omitted -->(82fcf)<!-- raw HTML omitted --></a></li>
<li>Simplify default exclude pattern  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6287">vitest-dev/vitest#6287</a>
<a href="https://github.com/vitest-dev/vitest/commit/14c507200"><!-- raw
HTML omitted -->(14c50)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated getSourceMap  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8194">vitest-dev/vitest#8194</a>
<a href="https://github.com/vitest-dev/vitest/commit/ff93444f8"><!-- raw
HTML omitted -->(ff934)<!-- raw HTML omitted --></a></li>
<li>Replace deprecated ErrorWithDiff with TestError  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8195">vitest-dev/vitest#8195</a>
<a href="https://github.com/vitest-dev/vitest/commit/da59eb887"><!-- raw
HTML omitted -->(da59e)<!-- raw HTML omitted --></a></li>
<li>Remove UserConfig type in favor of ViteUserConfig  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8196">vitest-dev/vitest#8196</a>
<a href="https://github.com/vitest-dev/vitest/commit/22f7f2db5"><!-- raw
HTML omitted -->(22f7f)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated coverage options in favor of
<code>vitest/node</code> exports  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8197">vitest-dev/vitest#8197</a>
<a href="https://github.com/vitest-dev/vitest/commit/dc8486d22"><!-- raw
HTML omitted -->(dc848)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated internal helpers and environment exports  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8198">vitest-dev/vitest#8198</a>
<a href="https://github.com/vitest-dev/vitest/commit/4703cf850"><!-- raw
HTML omitted -->(4703c)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated typecheck and runner types  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8199">vitest-dev/vitest#8199</a>
<a href="https://github.com/vitest-dev/vitest/commit/89a1cb626"><!-- raw
HTML omitted -->(89a1c)<!-- raw HTML omitted --></a></li>
<li>Remove Node types from the main entry point, use
<code>vitest/node</code> instead  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8200">vitest-dev/vitest#8200</a>
<a href="https://github.com/vitest-dev/vitest/commit/1e60c4f44"><!-- raw
HTML omitted -->(1e60c)<!-- raw HTML omitted --></a></li>
<li>Remove support for Vite 5  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8202">vitest-dev/vitest#8202</a>
<a href="https://github.com/vitest-dev/vitest/commit/cb8b03bac"><!-- raw
HTML omitted -->(cb8b0)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated types  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8203">vitest-dev/vitest#8203</a>
<a href="https://github.com/vitest-dev/vitest/commit/66bee836f"><!-- raw
HTML omitted -->(66bee)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated environmentMatchGlobs and poolMatchGlobs  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8205">vitest-dev/vitest#8205</a>
<a href="https://github.com/vitest-dev/vitest/commit/be11d374c"><!-- raw
HTML omitted -->(be11d)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated <code>workspace</code> option in favor of
<code>projects</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8218">vitest-dev/vitest#8218</a>
<a href="https://github.com/vitest-dev/vitest/commit/76fb75d42"><!-- raw
HTML omitted -->(76fb7)<!-- raw HTML omitted --></a></li>
<li>Ignore <code>--standalone</code> when CLI filename filter is used
 -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8262">vitest-dev/vitest#8262</a>
<a href="https://github.com/vitest-dev/vitest/commit/013bf2cb2"><!-- raw
HTML omitted -->(013bf)<!-- raw HTML omitted --></a></li>
<li>Use module-runner instead of vite-node  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> and
<a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8208">vitest-dev/vitest#8208</a>
<a href="https://github.com/vitest-dev/vitest/commit/9be01ba59"><!-- raw
HTML omitted -->(9be01)<!-- raw HTML omitted --></a></li>
<li>Rewrite spying implementation to make module mocking more intuitive
 -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8363">vitest-dev/vitest#8363</a>
<a href="https://github.com/vitest-dev/vitest/commit/9e412de35"><!-- raw
HTML omitted -->(9e412)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated APIs  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8428">vitest-dev/vitest#8428</a>
<a href="https://github.com/vitest-dev/vitest/commit/a1cb9719a"><!-- raw
HTML omitted -->(a1cb9)<!-- raw HTML omitted --></a></li>
<li>Remove <code>minWorkers</code> and set it automatically to 0 in non
watch mode  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8454">vitest-dev/vitest#8454</a>
<a href="https://github.com/vitest-dev/vitest/commit/2c2d1d4ce"><!-- raw
HTML omitted -->(2c2d1)<!-- raw HTML omitted --></a></li>
<li>Verbose reporter prints tests in a list, introduce <code>tree</code>
reporter  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> and
<a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8500">vitest-dev/vitest#8500</a>
<a href="https://github.com/vitest-dev/vitest/commit/25fd32bf0"><!-- raw
HTML omitted -->(25fd3)<!-- raw HTML omitted --></a></li>
<li>Include shadow root contents in pretty-format output  -  by <a
href="https://github.com/wkillerud"><code>@​wkillerud</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8545">vitest-dev/vitest#8545</a>
<a href="https://github.com/vitest-dev/vitest/commit/9e722834a"><!-- raw
HTML omitted -->(9e722)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated order from test() API  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8594">vitest-dev/vitest#8594</a>
<a href="https://github.com/vitest-dev/vitest/commit/4d41928c6"><!-- raw
HTML omitted -->(4d419)<!-- raw HTML omitted --></a></li>
<li>Rewrite pools without <code>tinypool</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> and
<a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8705">vitest-dev/vitest#8705</a>
<a href="https://github.com/vitest-dev/vitest/commit/4822d047a"><!-- raw
HTML omitted -->(4822d)<!-- raw HTML omitted --></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="07bc56a7a8"><code>07bc56a</code></a>
chore: release v4.0.2</li>
<li><a
href="2eedbce768"><code>2eedbce</code></a>
fix(spy): reset spies if both <code>restoreMocks</code> and
<code>mockReset</code> is set in the co...</li>
<li><a
href="26ce88db68"><code>26ce88d</code></a>
fix(pool): assign envs before running tests to keep in sync with
process.env ...</li>
<li><a
href="4a28faa677"><code>4a28faa</code></a>
chore: release v4.0.1</li>
<li><a
href="3fae73e2e1"><code>3fae73e</code></a>
fix(pool): don't teardown the communication channel too soon if
something is ...</li>
<li><a
href="81000631df"><code>8100063</code></a>
fix: move the <code>getBuiltins</code> check (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8765">#8765</a>)</li>
<li><a
href="da7ce1712f"><code>da7ce17</code></a>
chore: release v4.0.0</li>
<li><a
href="8e15bc8f97"><code>8e15bc8</code></a>
perf: create only one fetcher per project (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8762">#8762</a>)</li>
<li><a
href="9f0ecccb8b"><code>9f0eccc</code></a>
fix: <code>base</code> option doesn't crash vitest (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8760">#8760</a>)</li>
<li><a
href="d3ef4f29c1"><code>d3ef4f2</code></a>
perf(pool): resolve all environments first (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8759">#8759</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v4.0.2/packages/vitest">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by [GitHub Actions](<a
href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a>
Actions), a new releaser for vitest since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vitest&package-manager=npm_and_yarn&previous-version=3.2.4&new-version=4.0.2)](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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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>
2025-10-29 13:19:07 +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
2023-12-26 12:04:43 +02:00
2018-10-20 18:35:35 +02:00
2025-07-10 07:07:00 +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
2025-02-25 05:01:15 -05: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

For E2E testing we use Cypress

Cypress doesn't start a server so you'll need to start one manually by running npm run start.

Now open a terminal and run the following using chrome:

npm run test

or firefox:

npm run test -- --browser firefox

See the following docs for more info: (Launching Browsers)[https://docs.cypress.io/guides/guides/launching-browsers]

You can also see the tests as they run or select which suites to run by executing:

npm run cy:open

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.

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