Compare commits

...

427 Commits

Author SHA1 Message Date
dependabot[bot] ebece40308 Merge 3e7e1e6ce9 into c58191ff62 2025-02-20 14:04:30 +00:00
dependabot[bot] c58191ff62 Bump i18next-browser-languagedetector from 8.0.2 to 8.0.4 (#1072)
Bumps
[i18next-browser-languagedetector](https://github.com/i18next/i18next-browser-languageDetector)
from 8.0.2 to 8.0.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/i18next-browser-languageDetector/blob/master/CHANGELOG.md">i18next-browser-languagedetector's
changelog</a>.</em></p>
<blockquote>
<h3>8.0.4</h3>
<ul>
<li>fix localstorage check to try to address <a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/297">297</a>
<a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/pull/300">300</a></li>
</ul>
<h3>8.0.3</h3>
<ul>
<li>change localstorage check to try to address <a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/297">297</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/131b04be995f0a24b2bfd5a92e15516407a7127f"><code>131b04b</code></a>
8.0.4</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/421e91df5ae5781a513910f3d5e44027285f583d"><code>421e91d</code></a>
release</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/c24af003cb58e4c7104c11006dc342bea6dade71"><code>c24af00</code></a>
fix detection of window existence (<a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/300">#300</a>)</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/c7ba07514a897f83add81253a00160e3a1cf6bc7"><code>c7ba075</code></a>
Bump elliptic from 6.6.0 to 6.6.1 (<a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/299">#299</a>)</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/4f5a90ee514f1b3de9e9bf89206655ccbd6187d4"><code>4f5a90e</code></a>
Bump rollup from 2.79.1 to 2.79.2 (<a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/298">#298</a>)</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/a665fe839636530e0c3387e6f9c7756dffccf0aa"><code>a665fe8</code></a>
8.0.3</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/c24ea1777b81fc2eebb508e443e903880684d1c9"><code>c24ea17</code></a>
change localstorage check to try to address <a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/297">#297</a></li>
<li>See full diff in <a
href="https://github.com/i18next/i18next-browser-languageDetector/compare/v8.0.2...v8.0.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18next-browser-languagedetector&package-manager=npm_and_yarn&previous-version=8.0.2&new-version=8.0.4)](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-02-20 14:04:15 +00:00
dependabot[bot] 3e7e1e6ce9 Bump @shellygo/cypress-test-utils from 4.1.12 to 4.1.13
Bumps [@shellygo/cypress-test-utils](https://github.com/shellyDCMS/cypress-test-utils) from 4.1.12 to 4.1.13.
- [Commits](https://github.com/shellyDCMS/cypress-test-utils/commits)

---
updated-dependencies:
- dependency-name: "@shellygo/cypress-test-utils"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 13:37:58 +00:00
dependabot[bot] 8fbb581249 Bump color from 4.2.3 to 5.0.0 (#1056)
Bumps [color](https://github.com/Qix-/color) from 4.2.3 to 5.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Qix-/color/releases">color's
releases</a>.</em></p>
<blockquote>
<h2>5.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>move to ESM by <a
href="https://github.com/LitoMore"><code>@​LitoMore</code></a> in <a
href="https://github.com/Qix-/color/pull/264">https://github.com/Qix-/color/pull/264</a></li>
<li>fix: typo error, cant arrive at the anchor by <a
href="https://github.com/buzuosheng"><code>@​buzuosheng</code></a> in <a
href="https://github.com/Qix-/color/pull/252">https://github.com/Qix-/color/pull/252</a></li>
<li>Added more constructor examples (<a
href="https://github.com/Qix-/color/issues/181">#181</a>) by <a
href="https://github.com/ChristinaRau"><code>@​ChristinaRau</code></a>
in <a
href="https://github.com/Qix-/color/pull/260">https://github.com/Qix-/color/pull/260</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/buzuosheng"><code>@​buzuosheng</code></a> made
their first contribution in <a
href="https://github.com/Qix-/color/pull/252">https://github.com/Qix-/color/pull/252</a></li>
<li><a
href="https://github.com/ChristinaRau"><code>@​ChristinaRau</code></a>
made their first contribution in <a
href="https://github.com/Qix-/color/pull/260">https://github.com/Qix-/color/pull/260</a></li>
<li><a href="https://github.com/LitoMore"><code>@​LitoMore</code></a>
made their first contribution in <a
href="https://github.com/Qix-/color/pull/264">https://github.com/Qix-/color/pull/264</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/Qix-/color/compare/4.2.3...5.0.0">https://github.com/Qix-/color/compare/4.2.3...5.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Qix-/color/commit/fef7b619edd678455595b9b6a10780f13b58d285"><code>fef7b61</code></a>
5.0.0</li>
<li><a
href="https://github.com/Qix-/color/commit/f14937b79b7b81f5072518a584ab4799f3f3fe5c"><code>f14937b</code></a>
move to ESM (<a
href="https://github.com/Qix-/color/issues/264">#264</a>)</li>
<li><a
href="https://github.com/Qix-/color/commit/daec0b26942cd37dfa13bc5592a58670e77d2143"><code>daec0b2</code></a>
revert incorrect language tag</li>
<li><a
href="https://github.com/Qix-/color/commit/a6e6f67a9be7796ca8bd938042cb318d6d2c5d88"><code>a6e6f67</code></a>
Added more constructor examples (<a
href="https://github.com/Qix-/color/issues/181">#181</a>) (<a
href="https://github.com/Qix-/color/issues/260">#260</a>)</li>
<li><a
href="https://github.com/Qix-/color/commit/e188999dee229c902102ec37e398ff4d868616e5"><code>e188999</code></a>
fix: typo error, cant arrive at the anchor (<a
href="https://github.com/Qix-/color/issues/252">#252</a>)</li>
<li>See full diff in <a
href="https://github.com/Qix-/color/compare/4.2.3...5.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=color&package-manager=npm_and_yarn&previous-version=4.2.3&new-version=5.0.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 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-02-12 14:05:00 +00:00
dependabot[bot] b01f7247fe Bump vite from 6.0.11 to 6.1.0 (#1048)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 6.0.11 to 6.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases">vite's
releases</a>.</em></p>
<blockquote>
<h2>create-vite@6.1.0</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@6.1.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v6.1.0</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.1.0/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v6.1.0-beta.2</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.1.0-beta.2/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v6.1.0-beta.1</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.1.0-beta.1/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v6.1.0-beta.0</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.1.0-beta.0/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2>6.1.0 (2025-02-05)</h2>
<h3>Features</h3>
<ul>
<li>feat: show hosts in cert in CLI (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19317">#19317</a>)
(<a
href="https://github.com/vitejs/vite/commit/a5e306f2fc34fc70d543028c319367ff9b232ea0">a5e306f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19317">#19317</a></li>
<li>feat: support for env var for defining allowed hosts (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19325">#19325</a>)
(<a
href="https://github.com/vitejs/vite/commit/4d88f6c9391f96275b1359f1343ee2ec3e1adb7b">4d88f6c</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19325">#19325</a></li>
<li>feat: use native runtime to import the config (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19178">#19178</a>)
(<a
href="https://github.com/vitejs/vite/commit/7c2a7942cc8494a98fbc2b0235d91faf25242d30">7c2a794</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19178">#19178</a></li>
<li>feat: print <code>port</code> in the logged error message after
failed WS connection with <code>EADDRINUSE</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19212">#19212</a>)
(<a
href="https://github.com/vitejs/vite/commit/14027b0f2a9b01c14815c38aab22baf5b29594bb">14027b0</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19212">#19212</a></li>
<li>perf(css): only run postcss when needed (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19061">#19061</a>)
(<a
href="https://github.com/vitejs/vite/commit/30194fa1e41dda6470aa20f2bb34655c4bfd9cd1">30194fa</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19061">#19061</a></li>
<li>feat: add support for <code>.jxl</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18855">#18855</a>)
(<a
href="https://github.com/vitejs/vite/commit/57b397c4aa3d3c657e0117c2468800d627049c8d">57b397c</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18855">#18855</a></li>
<li>feat: add the <code>builtins</code> environment <code>resolve</code>
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18584">#18584</a>)
(<a
href="https://github.com/vitejs/vite/commit/2c2d521abfd7a3263b5082f9420738ad0ef67c71">2c2d521</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18584">#18584</a></li>
<li>feat: call Logger for plugin logs in build (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/13757">#13757</a>)
(<a
href="https://github.com/vitejs/vite/commit/bf3e41082932f4bf7d828e18ab0346b2ac8b59c9">bf3e410</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/13757">#13757</a></li>
<li>feat: export <code>defaultAllowedOrigins</code> for user-land config
and 3rd party plugins (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19259">#19259</a>)
(<a
href="https://github.com/vitejs/vite/commit/dc8946b9f6483ca7d63df3a5cbba307f1c21041e">dc8946b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19259">#19259</a></li>
<li>feat: expose createServerModuleRunnerTransport (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18730">#18730</a>)
(<a
href="https://github.com/vitejs/vite/commit/8c24ee4b4fcfa16fdd8bb699643a92ee81f9c92b">8c24ee4</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18730">#18730</a></li>
<li>feat: support async for proxy.bypass (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18940">#18940</a>)
(<a
href="https://github.com/vitejs/vite/commit/a6b958741bd97d631aba21aa5925bbf2bca65dac">a6b9587</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18940">#18940</a></li>
<li>feat: support log related functions in dev (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18922">#18922</a>)
(<a
href="https://github.com/vitejs/vite/commit/3766004289fde3300d1278fcf35f3bb980d9785f">3766004</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18922">#18922</a></li>
<li>feat: use module runner to import the config (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18637">#18637</a>)
(<a
href="https://github.com/vitejs/vite/commit/b7e0e42098dd2d42285a9d3c4f39c48a580367e7">b7e0e42</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18637">#18637</a></li>
<li>feat(css): add friendly errors for IE hacks that are not supported
by lightningcss (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19072">#19072</a>)
(<a
href="https://github.com/vitejs/vite/commit/caad985abca6450d56ca3d4e27e1e859fe8909b9">caad985</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19072">#19072</a></li>
<li>feat(optimizer): support bun text lockfile (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18403">#18403</a>)
(<a
href="https://github.com/vitejs/vite/commit/05b005fc25a1e8dda749fb14149aa2f3c988b6a1">05b005f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18403">#18403</a></li>
<li>feat(reporter): add <code>wasm</code> to the compressible assets
regex (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19085">#19085</a>)
(<a
href="https://github.com/vitejs/vite/commit/ce84142110584eadfccbd6ce9319573358af31a6">ce84142</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19085">#19085</a></li>
<li>feat(worker): support dynamic worker option fields (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19010">#19010</a>)
(<a
href="https://github.com/vitejs/vite/commit/d0c35232c6ccbcf448941328df34d15e9f73919b">d0c3523</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19010">#19010</a></li>
</ul>
<h3>Fixes</h3>
<ul>
<li>fix: avoid builtStart during vite optimize (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19356">#19356</a>)
(<a
href="https://github.com/vitejs/vite/commit/fdb36e076969c763d4249f6db890f8bf26e9f5d1">fdb36e0</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19356">#19356</a></li>
<li>fix(build): fix stale build manifest on watch rebuild (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19361">#19361</a>)
(<a
href="https://github.com/vitejs/vite/commit/fcd578587b2fbdef0ff8de8a0d97c9fc6da19ce1">fcd5785</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19361">#19361</a></li>
<li>fix: allow expanding env vars in reverse order (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19352">#19352</a>)
(<a
href="https://github.com/vitejs/vite/commit/3f5f2bddf142b2d1b162d4553d26f1ff0758b10d">3f5f2bd</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19352">#19352</a></li>
<li>fix: avoid packageJson without name in
<code>resolveLibCssFilename</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19324">#19324</a>)
(<a
href="https://github.com/vitejs/vite/commit/f183bdf2a799e703672ab1887d707ce120053eb2">f183bdf</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19324">#19324</a></li>
<li>fix(html): fix css disorder when building multiple entry html (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19143">#19143</a>)
(<a
href="https://github.com/vitejs/vite/commit/e7b4ba37f90a033036326b45023a1753584dd259">e7b4ba3</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19143">#19143</a></li>
<li>fix: don't call buildStart hooks for <code>vite optimize</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19347">#19347</a>)
(<a
href="https://github.com/vitejs/vite/commit/19ffad0a5aaf8c0ff55409e746048431b8b6640d">19ffad0</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19347">#19347</a></li>
<li>fix: don't call next middleware if user sent response in
proxy.bypass (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19318">#19318</a>)
(<a
href="https://github.com/vitejs/vite/commit/7e6364de2b0f3bf65aefaf451646ca500bad8239">7e6364d</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19318">#19318</a></li>
<li>fix: respect top-level <code>server.preTransformRequests</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19272">#19272</a>)
(<a
href="https://github.com/vitejs/vite/commit/12aaa585bc3fac403bf93f48ea117482cc7f43b1">12aaa58</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19272">#19272</a></li>
<li>fix: use <code>nodeLikeBuiltins</code> for <code>ssr.target:
'webworker'</code> without <code>noExternal: true</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19313">#19313</a>)
(<a
href="https://github.com/vitejs/vite/commit/9fc31b6e4d4f2a5bd9711d4f84dcb55061ebead0">9fc31b6</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19313">#19313</a></li>
<li>fix(css): less <code>@plugin</code> imports of JS files treated as
CSS and rebased (fix <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19268">#19268</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19269">#19269</a>)
(<a
href="https://github.com/vitejs/vite/commit/602b373dcdc755816ce28913873f70550347e936">602b373</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19268">#19268</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/19269">#19269</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19296">#19296</a>)
(<a
href="https://github.com/vitejs/vite/commit/2bea7cec4b7fddbd5f2fb6090a7eaf5ae7ca0f1b">2bea7ce</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19296">#19296</a></li>
<li>fix(resolve): preserve hash/search of file url (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19300">#19300</a>)
(<a
href="https://github.com/vitejs/vite/commit/d1e1b24c57328b5a808b981829503caa6ffadb56">d1e1b24</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19300">#19300</a></li>
<li>fix(resolve): warn if node-like builtin was imported when
<code>resolve.builtin</code> is empty (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19312">#19312</a>)
(<a
href="https://github.com/vitejs/vite/commit/b7aba0bc925f6d672bbb6a1e6c8c5c123a3bef55">b7aba0b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19312">#19312</a></li>
<li>fix(ssr): fix transform error due to export all id scope (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19331">#19331</a>)
(<a
href="https://github.com/vitejs/vite/commit/e28bce244918dac27b26d4e428f86b323a1c51ba">e28bce2</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19331">#19331</a></li>
<li>fix(ssr): pretty print plugin error in <code>ssrLoadModule</code>
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19290">#19290</a>)
(<a
href="https://github.com/vitejs/vite/commit/353c467610e2d92c0929fa4abd03f2cbd26e34ed">353c467</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19290">#19290</a></li>
<li>fix: change ResolvedConfig type to interface to allow extending it
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19210">#19210</a>)
(<a
href="https://github.com/vitejs/vite/commit/bc851e31d88cb26a2cba3fa46763bcd368e8df36">bc851e3</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19210">#19210</a></li>
<li>fix: correctly resolve hmr dep ids and fallback to url (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18840">#18840</a>)
(<a
href="https://github.com/vitejs/vite/commit/b84498b6def7d57ff6719da2d2baf6e29f0bb819">b84498b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18840">#18840</a></li>
<li>fix: make <code>--force</code> work for all environments (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18901">#18901</a>)
(<a
href="https://github.com/vitejs/vite/commit/51a42c6b6a285fb1f092be5bbd2e18cd1fe2b214">51a42c6</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18901">#18901</a></li>
<li>fix: use loc.file from rollup errors if available (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19222">#19222</a>)
(<a
href="https://github.com/vitejs/vite/commit/ce3fe236de625de745643e127e27f2a5b52c6d2e">ce3fe23</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19222">#19222</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19190">#19190</a>)
(<a
href="https://github.com/vitejs/vite/commit/f2c07dbfc874b46f6e09bb04996d0514663e4544">f2c07db</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19190">#19190</a></li>
<li>fix(hmr): register inlined assets as a dependency of CSS file (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18979">#18979</a>)
(<a
href="https://github.com/vitejs/vite/commit/eb22a74d29813d30be48d4413d785eedb0064b2c">eb22a74</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18979">#18979</a></li>
<li>fix(resolve): support resolving TS files by JS extension specifiers
in JS files (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18889">#18889</a>)
(<a
href="https://github.com/vitejs/vite/commit/612332b9bbe8d489265aea31c9c9a712319abc51">612332b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18889">#18889</a></li>
<li>fix(ssr): combine empty source mappings (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19226">#19226</a>)
(<a
href="https://github.com/vitejs/vite/commit/ba03da2a8c9ea6b26533cbcc4e50d58dc36499e2">ba03da2</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19226">#19226</a></li>
<li>fix(utils): clone <code>RegExp</code> values with <code>new
RegExp</code> instead of <code>structuredClone</code> (fix <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19245">#19245</a>,
fix <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/1">#1</a>
(<a
href="https://github.com/vitejs/vite/commit/56ad2bef0353a4d00cd18789de7f4e7e5329d663">56ad2be</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19245">#19245</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/18875">#18875</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/19247">#19247</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite/commit/3734f8099e3922c189497ce404fe7ff2f8929ae1"><code>3734f80</code></a>
fix(css): escape double quotes in <code>url()</code> when lightningcss
is used (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18997">#18997</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/2b4f115129fb3fbd730a92078acb724f8527b7f7"><code>2b4f115</code></a>
fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18996">#18996</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/12b612d8be2a18456fd94a2f0291d32d1ffb29d4"><code>12b612d</code></a>
fix: fallback terser to main thread when function options are used (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18987">#18987</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/d88d0004a8e891ca6026d356695e0b319caa7fce"><code>d88d000</code></a>
fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18967">#18967</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/21680bdf9ca7c12f677136b56e47f46469db8be2"><code>21680bd</code></a>
fix(css): skip non css in custom sass importer (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18970">#18970</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/62fad6d79f83daf916dde866909a2a3dd0c79583"><code>62fad6d</code></a>
chore(deps): update dependency <code>@​rollup/plugin-node-resolve</code>
to v16 (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18968">#18968</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/8a6bb4e11d5c1b61511ae1e5ed3ae3c65a33b2dc"><code>8a6bb4e</code></a>
fix(optimizer): keep NODE_ENV as-is when keepProcessEnv is
<code>true</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18899">#18899</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/7d6dd5d1d655d173668192509f63ac4ebf7af299"><code>7d6dd5d</code></a>
fix(ssr): recreate ssrCompatModuleRunner on restart (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18973">#18973</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/c4b532cc900bf988073583511f57bd581755d5e3"><code>c4b532c</code></a>
fix(css): root relative import in sass modern API on Windows (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18945">#18945</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/27f691b0c7dca2259108fe6b79583b459429bf7f"><code>27f691b</code></a>
refactor: make internal invoke event to use the same interface with
`handleIn...</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite/commits/create-vite@6.1.0/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=6.0.11&new-version=6.1.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 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-02-06 14:12:04 +00:00
dependabot[bot] 2c408689a3 Bump cypress from 14.0.1 to 14.0.2 (#1049)
Bumps [cypress](https://github.com/cypress-io/cypress) from 14.0.1 to
14.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/cypress-io/cypress/releases">cypress's
releases</a>.</em></p>
<blockquote>
<h2>v14.0.2</h2>
<p>Changelog: <a
href="https://docs.cypress.io/app/references/changelog#14-0-2">https://docs.cypress.io/app/references/changelog#14-0-2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/cypress-io/cypress/commit/6f067bcab5db953ee777df9b9823130bcd8b49a7"><code>6f067bc</code></a>
chore: release 14.0.2 (<a
href="https://redirect.github.com/cypress-io/cypress/issues/31021">#31021</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/4441a8f629649fb41bf3e0a28453bb002824c180"><code>4441a8f</code></a>
chore: do NOT encode backslash as this will cause pathing issues on
windows (...</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/e8e2d92ac269a506f58ef82eec3e2c1bec5b53e8"><code>e8e2d92</code></a>
misc: Updated mismatched dependencies warning message to be neutral (<a
href="https://redirect.github.com/cypress-io/cypress/issues/31011">#31011</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/46a473dfafd55e426f6ac18e2e8393a83403c23b"><code>46a473d</code></a>
fix: retry instance creation when the Cloud request fails (<a
href="https://redirect.github.com/cypress-io/cypress/issues/31019">#31019</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/37ad2329d65ca3de7be572199de977c7471748e7"><code>37ad232</code></a>
fix: Error codeframes in retry failures display the code that produced
the er...</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/2a57c8ba156502c88349448e0a30b047a3e282a9"><code>2a57c8b</code></a>
fix: make sure privileged commands can run when there is a space in the
spec ...</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/fdb58d43f15f63b72ca565242108aa332b1f904e"><code>fdb58d4</code></a>
chore: Update relative references to internal packages to <a
href="https://github.com/packages"><code>@​packages</code></a>
reference...</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/239f3d061a44a6887304fad105384195b9903758"><code>239f3d0</code></a>
chore: Update v8 snapshot cache - windows (<a
href="https://redirect.github.com/cypress-io/cypress/issues/31008">#31008</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/3535ae2c3c08ba5cbf90a1064936822a5caa9efe"><code>3535ae2</code></a>
chore: Update v8 snapshot cache - darwin (<a
href="https://redirect.github.com/cypress-io/cypress/issues/31007">#31007</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/1cec53b3f7a6bb060f0374d80ef5f0b1b96d3c80"><code>1cec53b</code></a>
chore: Update v8 snapshot cache - linux (<a
href="https://redirect.github.com/cypress-io/cypress/issues/31006">#31006</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/cypress-io/cypress/compare/v14.0.1...v14.0.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cypress&package-manager=npm_and_yarn&previous-version=14.0.1&new-version=14.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-02-06 14:05:10 +00:00
Maurizio Napolitano da361509d2 added italian version (#1045)
## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - added italian version
2025-02-04 08:35:49 +02:00
dependabot[bot] b0e19cc33d Bump @shellygo/cypress-test-utils from 4.1.11 to 4.1.12 (#1043)
Bumps
[@shellygo/cypress-test-utils](https://github.com/shellyDCMS/cypress-test-utils)
from 4.1.11 to 4.1.12.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/shellyDCMS/cypress-test-utils/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@shellygo/cypress-test-utils&package-manager=npm_and_yarn&previous-version=4.1.11&new-version=4.1.12)](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-02-03 08:24:29 +00:00
dependabot[bot] 7fe39e548a Bump stylelint-scss from 6.10.1 to 6.11.0 (#1042)
Bumps [stylelint-scss](https://github.com/stylelint-scss/stylelint-scss)
from 6.10.1 to 6.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint-scss/stylelint-scss/releases">stylelint-scss's
releases</a>.</em></p>
<blockquote>
<h2>6.11.0</h2>
<ul>
<li>Added: <code>no-duplicate-load-rules</code> rule (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1103">#1103</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> allow
functions from explicit namespaces (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1113">#1113</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.10.1...v6.11.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.10.1...v6.11.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint-scss/stylelint-scss/blob/master/CHANGELOG.md">stylelint-scss's
changelog</a>.</em></p>
<blockquote>
<h1>6.11.0</h1>
<ul>
<li>Added: <code>no-duplicate-load-rules</code> rule (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1103">#1103</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> allow
functions from explicit namespaces (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1113">#1113</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.10.1...v6.11.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.10.1...v6.11.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/f8f68be9552d86e3930a6bc39aca3c62db31198e"><code>f8f68be</code></a>
6.11.0</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/9ae636ba0fa184d020eb0d1d0d58af642bb2590b"><code>9ae636b</code></a>
Prepare version 6.11.0</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/75fb6806099a565b3d340ebb171d665fbc5e8891"><code>75fb680</code></a>
Add <code>no-duplicate-load-rules</code> rule to README</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/d58262a560d746f43af7f026ab1c1096da9701ed"><code>d58262a</code></a>
build(deps-dev): bump np from 10.1.0 to 10.2.0 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1120">#1120</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/e0482010ee48cbc4c31313fbc0757d19c9c12e42"><code>e048201</code></a>
build(deps-dev): bump stylelint from 16.14.0 to 16.14.1 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1119">#1119</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/60e77d4f8d1d04357492e6b024e87a43e61fe28d"><code>60e77d4</code></a>
Add <code>no-duplicate-load-rules</code> rule. (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1103">#1103</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/ae202e3b00cfd2d3f983b9dca446938adc703a3b"><code>ae202e3</code></a>
build(deps): bump mdn-data from 2.14.0 to 2.15.0 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1115">#1115</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/485e6a29a201f1355b016d099747f50b6abb30f6"><code>485e6a2</code></a>
build(deps-dev): bump jest-preset-stylelint from 7.1.1 to 7.2.0 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1117">#1117</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/59a8d16f9b548aa86045ed4f949186fc445c053b"><code>59a8d16</code></a>
build(deps-dev): bump stylelint from 16.13.2 to 16.14.0 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1116">#1116</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/7edcc413cbd6966fd331e823fcdce32a20ac97b4"><code>7edcc41</code></a>
Allow functions from explicit namespaces (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1113">#1113</a>)</li>
<li>See full diff in <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.10.1...v6.11.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=stylelint-scss&package-manager=npm_and_yarn&previous-version=6.10.1&new-version=6.11.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 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-01-30 13:44:18 +00:00
dependabot[bot] 3dde66b6e9 Bump ol from 10.3.1 to 10.4.0 (#1041)
Bumps [ol](https://github.com/openlayers/openlayers) from 10.3.1 to
10.4.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.4.0</h2>
<p>With more than 40 pull requests, the 10.4 release brings performance
improvements, bug fixes, better TypeScript generics and new features.
New features include a convenience <code>Image</code> layer loader for
debugging MapServer map files using the MapServer CGI API, and an
experimental <code>WebGLVectorTile</code> layer.</p>
<h2>Upgrade notes</h2>
<h3>Deprecation of ol/layer/WebGLPoints</h3>
<p>Use <code>ol/layer/WebGLVector</code> instead. Besides rendering
points it will also render lines and polygons.
In most cases this is a drop-in replacement. To use filtering the style
and filter have to be in a nested object.</p>
<pre lang="js"><code>// Before
new WebGLPointsLayer({
filter: ['between', ['get', 'year'], ['var', 'minYear'], ['var',
'maxYear']],
  style: {
    'circle-radius': 8,
    'circle-fill-color': 'blue',
  },
  source: vectorSource,
})
<p>// After
new WebGLVectorLayer({
style: [{
filter: ['between', ['get', 'year'], ['var', 'minYear'], ['var',
'maxYear']],
style: {
'circle-radius': 8,
'circle-fill-color': 'blue',
},
}],
source: vectorSource,
})
</code></pre></p>
<h3>ol-mapbox-style compatibility</h3>
<p>This version of OpenLayers is only compatible with
<code>ol-mapbox-style@12.4.0</code> or higher.</p>
<h3>Returning false from a one-time listener added with
<code>once</code></h3>
<p>Returning false from the listener function will now stop propagation,
when the listener is added with <code>once</code>.
Previously this only worked with the <code>on</code> method.</p>
<h4>The <code>filter</code> option for <code>WebGLPointsLayer</code> has
changed</h4>
<p>The filter option for the <code>WebGLPointsLayer</code> must now be
specified alongside other options instead of being part of the
<code>style</code> object. Note that the <code>WebGLPointsLayer</code>
is not part of the stable API and is subject to breaking changes between
major releases.</p>
<pre lang="js"><code>// Before
new WebGLPointsLayer({
  style: {
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/openlayers/openlayers/commit/85219a86c52428e7736957e7255f45a34e645cef"><code>85219a8</code></a>
Updates for the 10.4.0 release</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/b8306d3f538f2633a50dab90818631ad35e6b3f3"><code>b8306d3</code></a>
Merge pull request <a
href="https://redirect.github.com/openlayers/openlayers/issues/16591">#16591</a>
from geographika/mapserver-source</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/2262a6a79c0f13d4008c9f36bee2701a3a820493"><code>2262a6a</code></a>
Fix typo</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/b79ccdf1ac5ff8051132b056fab3ae526d49fabb"><code>b79ccdf</code></a>
Update comments</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/7549ac61e9555d3e7be0d11a2f22cdff32061295"><code>7549ac6</code></a>
Update test/browser/spec/ol/source/mapserver.test.js</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/9b358c6f0a5a0b0e0fdff3dba4380ce0941b1a15"><code>9b358c6</code></a>
Update file names and title to include CGI</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/5590f983490e3dd48beb279cd9f0494dd2ac715d"><code>5590f98</code></a>
Remove map from test and test all querystring parameters are set
correctly</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/698c82ee7e7ec085fcbda19e9632552b0eeea623"><code>698c82e</code></a>
Update tests</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/c7a99bfb36c1cdd93e7560408e2b051cf0e389cc"><code>c7a99bf</code></a>
Add mapserver.js</li>
<li><a
href="https://github.com/openlayers/openlayers/commit/b8a98dfe76fb04ce15d340a5415409f7135e95f1"><code>b8a98df</code></a>
Add createLoader function for MapServer layers with example and
tests</li>
<li>Additional commits viewable in <a
href="https://github.com/openlayers/openlayers/compare/v10.3.1...v10.4.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ol&package-manager=npm_and_yarn&previous-version=10.3.1&new-version=10.4.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 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-01-30 13:43:58 +00:00
dependabot[bot] 1692138e51 Bump cypress from 14.0.0 to 14.0.1 (#1040)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [cypress](https://github.com/cypress-io/cypress) from 14.0.0 to
14.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/cypress-io/cypress/releases">cypress's
releases</a>.</em></p>
<blockquote>
<h2>v14.0.1</h2>
<p>Changelog: <a
href="https://docs.cypress.io/app/references/changelog#14-0-1">https://docs.cypress.io/app/references/changelog#14-0-1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/cypress-io/cypress/commit/cbc28a6d3871e036d60aed4b7034dccf34888ff2"><code>cbc28a6</code></a>
chore: release 14.0.1 (<a
href="https://redirect.github.com/cypress-io/cypress/issues/30963">#30963</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/7a7286308847030f734d1e73458f8b6ba39e345a"><code>7a72863</code></a>
chore: convert xhrs js to ts (<a
href="https://redirect.github.com/cypress-io/cypress/issues/30935">#30935</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/87a845ab002a08cfef0fb3bb63e30a69c2ce1243"><code>87a845a</code></a>
misc: Update on.cypress.come urls to correct on.cypress.io urls (<a
href="https://redirect.github.com/cypress-io/cypress/issues/30953">#30953</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/f072ca1c03ae6dd4f7e96f94c30df8781c4701dc"><code>f072ca1</code></a>
chore: release <code>@​cypress/vite-dev-server-v6</code>.0.2</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/0811921dd026146041e1fcae60755dc4f5a21398"><code>0811921</code></a>
fix: visibility issue when parent element is clipping (<a
href="https://redirect.github.com/cypress-io/cypress/issues/30934">#30934</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/1548047aa8c230758ebdbef2aca887b6aa500ee4"><code>1548047</code></a>
fix: non-HTMLElement(s) fail during assertions (<a
href="https://redirect.github.com/cypress-io/cypress/issues/30947">#30947</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/e06c846c102299e4603844dba681f64978ddd52c"><code>e06c846</code></a>
chore: fix kitchensink windows (<a
href="https://redirect.github.com/cypress-io/cypress/issues/30909">#30909</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/dbd11d436bc3c79771f0b8335a51a438fdb5b8f9"><code>dbd11d4</code></a>
chore: remove various dead code (<a
href="https://redirect.github.com/cypress-io/cypress/issues/30818">#30818</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/96e05f106cbc43b97060e7519267eaaa236502f1"><code>96e05f1</code></a>
chore: Update Chrome (beta) to 133.0.6943.27 (<a
href="https://redirect.github.com/cypress-io/cypress/issues/30940">#30940</a>)</li>
<li><a
href="https://github.com/cypress-io/cypress/commit/bcfd873939440bb65a7b4dcb8d203b8a86085205"><code>bcfd873</code></a>
chore: updating v8 snapshot cache (<a
href="https://redirect.github.com/cypress-io/cypress/issues/30938">#30938</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/cypress-io/cypress/compare/v14.0.0...v14.0.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cypress&package-manager=npm_and_yarn&previous-version=14.0.0&new-version=14.0.1)](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-01-29 14:01:31 +00:00
dependabot[bot] 5b0edab69d Bump maplibre-gl from 5.0.1 to 5.1.0 (#1039)
Bumps [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) from
5.0.1 to 5.1.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>v5.1.0</h2>
<p><a
href="https://github.com/maplibre/maplibre-gl-js">https://github.com/maplibre/maplibre-gl-js</a>
<a
href="https://github.com/maplibre/maplibre-gl-js/compare/v5.0.1...v5.1.0">Changes</a>
since <a
href="https://github.com/maplibre/maplibre-gl-js/releases/tag/v5.0.1">MapLibre
GL JS v5.0.1</a>:</p>
<h3> Features and improvements</h3>
<ul>
<li>Add support for <code>vertical-align</code> in <code>format</code>
expression (<a
href="https://maplibre.org/maplibre-style-spec/expressions/#format">specification</a>)(<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/5043">#5043</a>).</li>
</ul>
<h3>🐞 Bug fixes</h3>
<ul>
<li>Render frame synchronized again in requestAnimationFrame callback
(<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/4535">#4535</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>5.1.0</h2>
<h3> Features and improvements</h3>
<ul>
<li>Add support for <code>vertical-align</code> in <code>format</code>
expression (<a
href="https://maplibre.org/maplibre-style-spec/expressions/#format">specification</a>)(<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/5043">#5043</a>).</li>
</ul>
<h3>🐞 Bug fixes</h3>
<ul>
<li>Render frame synchronized again in requestAnimationFrame callback
(<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/4535">#4535</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/bedcb8622337d73875638d165f10b0397f18d775"><code>bedcb86</code></a>
Bump version to 5.1.0 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5419">#5419</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/b4035a741cbfa3f37121288c414f9d250f5933d4"><code>b4035a7</code></a>
Vertical alignment in <code>format</code> expression (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5043">#5043</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/0b73fe0ad6e8c8785de4f36f7a45c455232979c2"><code>0b73fe0</code></a>
Add back synced frame method and use it for triggerRepaint. (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/4535">#4535</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/1d68ddc692dde1505fd9afed3c1a73a04c678de0"><code>1d68ddc</code></a>
Bump <code>@​typescript-eslint/parser</code> from 8.21.0 to 8.22.0 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5417">#5417</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/7dda2d7d6336fd0e369c61a14bf003c9973ff4ef"><code>7dda2d7</code></a>
Bump <code>@​types/node</code> from 22.10.10 to 22.12.0 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5416">#5416</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/5de671b2f8e9bd978c1c7a474842a04d396e8c8d"><code>5de671b</code></a>
Bump stylelint from 16.14.0 to 16.14.1 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5415">#5415</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/3c96df87f986d153c3a00168c584858c4882fdcd"><code>3c96df8</code></a>
Bump rollup from 4.32.0 to 4.32.1 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5413">#5413</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/9f0703a6088ca77ce34b1f82054fb315f35ec760"><code>9f0703a</code></a>
Bump <code>@​typescript-eslint/eslint-plugin</code> from 8.21.0 to
8.22.0 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5414">#5414</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/82fcc82fe16d2c059961e929671d3337b0389c70"><code>82fcc82</code></a>
Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5412">#5412</a>)</li>
<li><a
href="https://github.com/maplibre/maplibre-gl-js/commit/96b6eabde615c8122284ed68edd0608c20231e6c"><code>96b6eab</code></a>
Bump eslint from 9.18.0 to 9.19.0 (<a
href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/5411">#5411</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/maplibre/maplibre-gl-js/compare/v5.0.1...v5.1.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=5.0.1&new-version=5.1.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 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-01-29 14:01:07 +00:00
dependabot[bot] 5dc5732e63 Bump @cypress/code-coverage from 3.13.10 to 3.13.11 (#1038)
Bumps
[@cypress/code-coverage](https://github.com/cypress-io/code-coverage)
from 3.13.10 to 3.13.11.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/cypress-io/code-coverage/releases"><code>@​cypress/code-coverage</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v3.13.11</h2>
<h2><a
href="https://github.com/cypress-io/code-coverage/compare/v3.13.10...v3.13.11">3.13.11</a>
(2025-01-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> update dependency debug to v4.4.0 (<a
href="https://redirect.github.com/cypress-io/code-coverage/issues/917">#917</a>)
(<a
href="https://github.com/cypress-io/code-coverage/commit/a6a8cd52764db2d480556c2c483e7e1b089087bf">a6a8cd5</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/cypress-io/code-coverage/commit/a6a8cd52764db2d480556c2c483e7e1b089087bf"><code>a6a8cd5</code></a>
fix(deps): update dependency debug to v4.4.0 (<a
href="https://redirect.github.com/cypress-io/code-coverage/issues/917">#917</a>)</li>
<li>See full diff in <a
href="https://github.com/cypress-io/code-coverage/compare/v3.13.10...v3.13.11">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@cypress/code-coverage&package-manager=npm_and_yarn&previous-version=3.13.10&new-version=3.13.11)](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-01-29 14:00:36 +00:00
dependabot[bot] cb83ec7e63 Bump stylelint from 16.14.0 to 16.14.1 (#1036)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.14.0
to 16.14.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint/stylelint/releases">stylelint's
releases</a>.</em></p>
<blockquote>
<h2>16.4.1</h2>
<ul>
<li>Fixed: incompatible cache file format (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8359">#8359</a>)
(<a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md">stylelint's
changelog</a>.</em></p>
<blockquote>
<h2>16.14.1 - 2025-01-27</h2>
<p>It fixes a bug with caching.</p>
<ul>
<li>Fixed: incompatible cache file format (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8359">#8359</a>)
(<a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/stylelint/stylelint/commit/92eae1d7ed2f4be819283adaeb6b0b360b9953b9"><code>92eae1d</code></a>
16.14.1</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/578a5ac16f71768d98c0bf05503e253e87bc4427"><code>578a5ac</code></a>
Prepare 16.14.1 (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8360">#8360</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/8c4fc4a1b3a77df2b879daf7bbbe9e9be55fe1d5"><code>8c4fc4a</code></a>
Fix incompatible cache file format (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8359">#8359</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/c33ad7dd0a53151071dc81fbba42504b0687301d"><code>c33ad7d</code></a>
Refactor at-rule regexes for clarity (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8350">#8350</a>)</li>
<li>See full diff in <a
href="https://github.com/stylelint/stylelint/compare/16.14.0...16.14.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=stylelint&package-manager=npm_and_yarn&previous-version=16.14.0&new-version=16.14.1)](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-01-28 13:47:16 +00:00
dependabot[bot] c95bd6434f Bump typescript-eslint from 8.21.0 to 8.22.0 (#1035)
Bumps
[typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint)
from 8.21.0 to 8.22.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/releases">typescript-eslint's
releases</a>.</em></p>
<blockquote>
<h2>v8.22.0</h2>
<h2>8.22.0 (2025-01-27)</h2>
<h3>🚀 Features</h3>
<ul>
<li><strong>parser:</strong> add standalone isolatedDeclarations option
(<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10499">#10499</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] doesn't
report on ternary but on equivalent || (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10517">#10517</a>)</li>
<li><strong>eslint-plugin:</strong> [no-duplicate-type-constituents]
handle nested types (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10638">#10638</a>)</li>
<li><strong>eslint-plugin:</strong> [no-shadow] don't report
unnecessarily on valid ways of using module augmentation (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10616">#10616</a>)</li>
<li><strong>eslint-plugin:</strong> [no-extraneous-class] handle
accessor keyword (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10678">#10678</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-readonly] autofixer doesn't
add type to property that is mutated in the constructor (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10552">#10552</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unnecessary-template-expression]
handle template literal type (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10612">#10612</a>)</li>
<li><strong>type-utils:</strong> support matching intersection types in
<code>TypeOrValueSpecifier</code> with a <code>PackageSpecifier</code>
(<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10667">#10667</a>)</li>
</ul>
<h3>❤️ Thank You</h3>
<ul>
<li>Josh Goldberg </li>
<li>mdm317</li>
<li>Olivier Zalmanski <a
href="https://github.com/OlivierZal"><code>@​OlivierZal</code></a></li>
<li>Ronen Amiel</li>
<li>YeonJuan <a
href="https://github.com/yeonjuan"><code>@​yeonjuan</code></a></li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md">typescript-eslint's
changelog</a>.</em></p>
<blockquote>
<h2>8.22.0 (2025-01-27)</h2>
<p>This was a version bump only for typescript-eslint to align it with
other projects, there were no code changes.</p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typescript-eslint/typescript-eslint/commit/94e809808a445dde05ab6f284dec010269482eb5"><code>94e8098</code></a>
chore(release): publish 8.22.0</li>
<li>See full diff in <a
href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.22.0/packages/typescript-eslint">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typescript-eslint&package-manager=npm_and_yarn&previous-version=8.21.0&new-version=8.22.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 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-01-28 13:46:30 +00:00
Birk Skyum abf3bd1fa0 Fix insertion of access tokens, when swapping renderer (#1021)
Going from e.g. MapTiler to OpenLayers and back will lose the maptlier
key.

This code finds the urls in the style that has "{key}" and insert the
correct API keys

Fixes the error reported here, cc @nyurik 
- Fixes
https://github.com/maplibre/maputnik/issues/874#issuecomment-2605896666

Related to:
- https://github.com/maplibre/maputnik/issues/869

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [ ] Add an entry to `CHANGELOG.md` under the `## main` section.
2025-01-28 12:57:38 +00:00
dependabot[bot] 535cb63093 Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 (#1034)
Bumps
[dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata)
from 2.2.0 to 2.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dependabot/fetch-metadata/releases">dependabot/fetch-metadata's
releases</a>.</em></p>
<blockquote>
<h2>v2.3.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump actions/create-github-app-token from 1.10.2 to 1.10.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/537">dependabot/fetch-metadata#537</a></li>
<li>Update readme to include an if conditional by <a
href="https://github.com/Nishnha"><code>@​Nishnha</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/548">dependabot/fetch-metadata#548</a></li>
<li>Silence audit and funding messages from <code>npm</code> by <a
href="https://github.com/jeffwidman"><code>@​jeffwidman</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/550">dependabot/fetch-metadata#550</a></li>
<li>Bump actions/create-github-app-token from 1.10.3 to 1.11.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/554">dependabot/fetch-metadata#554</a></li>
<li>fix readme action example by <a
href="https://github.com/CloudNStoyan"><code>@​CloudNStoyan</code></a>
in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/563">dependabot/fetch-metadata#563</a></li>
<li>Fixed missing outputs in action.yml by <a
href="https://github.com/CatChen"><code>@​CatChen</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/564">dependabot/fetch-metadata#564</a></li>
<li>Handle branch names containing dependency group by <a
href="https://github.com/CloudNStoyan"><code>@​CloudNStoyan</code></a>
in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/565">dependabot/fetch-metadata#565</a></li>
<li>v2.3.0 by <a
href="https://github.com/fetch-metadata-action-automation"><code>@​fetch-metadata-action-automation</code></a>
in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/543">dependabot/fetch-metadata#543</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/CloudNStoyan"><code>@​CloudNStoyan</code></a>
made their first contribution in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/563">dependabot/fetch-metadata#563</a></li>
<li><a href="https://github.com/CatChen"><code>@​CatChen</code></a> made
their first contribution in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/564">dependabot/fetch-metadata#564</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/dependabot/fetch-metadata/compare/v2...v2.3.0">https://github.com/dependabot/fetch-metadata/compare/v2...v2.3.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dependabot/fetch-metadata/commit/d7267f607e9d3fb96fc2fbe83e0af444713e90b7"><code>d7267f6</code></a>
Merge pull request <a
href="https://redirect.github.com/dependabot/fetch-metadata/issues/543">#543</a>
from dependabot/bump-to-v2.3.0</li>
<li><a
href="https://github.com/dependabot/fetch-metadata/commit/e3dd295a04f6eccc15a116fc5cde058f1735c05d"><code>e3dd295</code></a>
v2.3.0</li>
<li><a
href="https://github.com/dependabot/fetch-metadata/commit/3da9521b8c62beab87c4d18ad1e9bd7fd7b9d3bf"><code>3da9521</code></a>
Merge pull request <a
href="https://redirect.github.com/dependabot/fetch-metadata/issues/565">#565</a>
from CloudNStoyan/main</li>
<li><a
href="https://github.com/dependabot/fetch-metadata/commit/de52f600152fa3f48a82e88e06e864cba8421436"><code>de52f60</code></a>
update build</li>
<li><a
href="https://github.com/dependabot/fetch-metadata/commit/59d2b1fb73ac123a1953e2ddc99ea8f1b869463a"><code>59d2b1f</code></a>
fix incorrect parsing of directory when using dependency-group</li>
<li><a
href="https://github.com/dependabot/fetch-metadata/commit/0d270694949cee4e6c179fc89629d95e0b9fb763"><code>0d27069</code></a>
Merge pull request <a
href="https://redirect.github.com/dependabot/fetch-metadata/issues/564">#564</a>
from CatChen/fixed-missing-outputs-in-action-yml</li>
<li><a
href="https://github.com/dependabot/fetch-metadata/commit/5a7546a6e709997b54d62d4e673a23eaa8621a26"><code>5a7546a</code></a>
Fixed missing outputs in action.yml</li>
<li><a
href="https://github.com/dependabot/fetch-metadata/commit/06ea45a2e4582d87b11f03c7ce596ae3261f39f6"><code>06ea45a</code></a>
Merge pull request <a
href="https://redirect.github.com/dependabot/fetch-metadata/issues/563">#563</a>
from CloudNStoyan/main</li>
<li><a
href="https://github.com/dependabot/fetch-metadata/commit/bbfca7ec1c0b06b16cc955f242ebc9f1c8daa4f4"><code>bbfca7e</code></a>
fix readme action example</li>
<li><a
href="https://github.com/dependabot/fetch-metadata/commit/b0d0393a82702c1819b5ae7ad6ea780cd8c18aae"><code>b0d0393</code></a>
Merge pull request <a
href="https://redirect.github.com/dependabot/fetch-metadata/issues/554">#554</a>
from dependabot/dependabot/github_actions/actions/cre...</li>
<li>Additional commits viewable in <a
href="https://github.com/dependabot/fetch-metadata/compare/v2.2.0...v2.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dependabot/fetch-metadata&package-manager=github_actions&previous-version=2.2.0&new-version=2.3.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 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-01-27 13:55:19 +00:00
dependabot[bot] a44653fff0 Bump @eslint/js from 9.18.0 to 9.19.0 (#1031)
Bumps
[@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js)
from 9.18.0 to 9.19.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/releases"><code>@​eslint/js</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v9.19.0</h2>
<h2>Features</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/1637b8e87df5c7f58ab71e0e159f4b96c998e070"><code>1637b8e</code></a>
feat: add <code>--report-unused-inline-configs</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19201">#19201</a>)
(Josh Goldberg )</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/aae67172ab9631b4267fc03f64d3c3d6d1fcda73"><code>aae6717</code></a>
fix: sync rule type header comments automatically (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19276">#19276</a>)
(Francesco Trotta)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/cfea9abe0e27cf2ce1d27232b8c70555397e141b"><code>cfea9ab</code></a>
docs: Clarify overrideConfig option (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19370">#19370</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/2b84f666cd7474bb061e2f12205af57f5dbb89d6"><code>2b84f66</code></a>
docs: Update README (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19362">#19362</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/044f93cbbe71a45130156004509083814e2b9669"><code>044f93c</code></a>
docs: clarify frozen rule description (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19351">#19351</a>)
(Pavel)</li>
<li><a
href="https://github.com/eslint/eslint/commit/797ee7c0d669678b90c5d5742228bc7b24353f79"><code>797ee7c</code></a>
docs: fix Bluesky links (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19368">#19368</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/81a9c0ebc33dd33765711296f827c4448c80163d"><code>81a9c0e</code></a>
docs: Update README (GitHub Actions Bot)</li>
<li><a
href="https://github.com/eslint/eslint/commit/093fb3d40286588c2c425b738426ebfe5d142a63"><code>093fb3d</code></a>
docs: replace <code>var</code> with <code>let</code> and
<code>const</code> in rule examples (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19365">#19365</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/417de3298527e4f257e1ae7b02e1df9db3c9ed33"><code>417de32</code></a>
docs: replace var with const in rule examples (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19352">#19352</a>)
(jj)</li>
<li><a
href="https://github.com/eslint/eslint/commit/17f2aaec16d5afbb0d219bce6ae01d7b15d74828"><code>17f2aae</code></a>
docs: update getting-started config to match default generated config
(<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19308">#19308</a>)
(0xDev)</li>
<li><a
href="https://github.com/eslint/eslint/commit/8a0a5a8851f72982327c2aa3a41403963f025771"><code>8a0a5a8</code></a>
docs: better <code>global ignores</code> instruction (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19297">#19297</a>)
(Jacopo Marrone)</li>
<li><a
href="https://github.com/eslint/eslint/commit/6671a2cd8ccc710fefbccad9a813c3bea5f76c68"><code>6671a2c</code></a>
docs: Update README (GitHub Actions Bot)</li>
<li><a
href="https://github.com/eslint/eslint/commit/e39d3f22ff793db42e1f1fc3808cbb12fc513118"><code>e39d3f2</code></a>
docs: fix divider for rule category (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19264">#19264</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/e0cf53f80a4b127524e0badc8999d5d1a247143f"><code>e0cf53f</code></a>
docs: fix search result box position for small screens (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19328">#19328</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/f92a6803a10c66cf77408b2bf29c17bcd63b1049"><code>f92a680</code></a>
docs: replace var with let or const in rule examples (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19331">#19331</a>)
(Ravi Teja Kolla)</li>
<li><a
href="https://github.com/eslint/eslint/commit/b04b84bc17d4aaaea1326cb08196593624db02a2"><code>b04b84b</code></a>
docs: revert accidental changes in TS config files docs (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19336">#19336</a>)
(Francesco Trotta)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/9b9cb0584867916d50aa2e9590b132e2ef8ca59c"><code>9b9cb05</code></a>
chore: upgrade <code>@​eslint/js</code><a
href="https://github.com/9"><code>@​9</code></a>.19.0 (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19371">#19371</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/58560e70bb4dcb305343fcd7c893ac56a404f674"><code>58560e7</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="https://github.com/eslint/eslint/commit/20897070913418078d8f1ea9a877d223650dff73"><code>2089707</code></a>
test: fix failing test in Node.js v22.13.0 (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19345">#19345</a>)
(Francesco Trotta)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md"><code>@​eslint/js</code>'s
changelog</a>.</em></p>
<blockquote>
<p>v9.19.0 - January 24, 2025</p>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/9b9cb0584867916d50aa2e9590b132e2ef8ca59c"><code>9b9cb05</code></a>
chore: upgrade <code>@​eslint/js</code><a
href="https://github.com/9"><code>@​9</code></a>.19.0 (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19371">#19371</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/58560e70bb4dcb305343fcd7c893ac56a404f674"><code>58560e7</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="https://github.com/eslint/eslint/commit/cfea9abe0e27cf2ce1d27232b8c70555397e141b"><code>cfea9ab</code></a>
docs: Clarify overrideConfig option (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19370">#19370</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/2b84f666cd7474bb061e2f12205af57f5dbb89d6"><code>2b84f66</code></a>
docs: Update README (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19362">#19362</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/044f93cbbe71a45130156004509083814e2b9669"><code>044f93c</code></a>
docs: clarify frozen rule description (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19351">#19351</a>)
(Pavel)</li>
<li><a
href="https://github.com/eslint/eslint/commit/797ee7c0d669678b90c5d5742228bc7b24353f79"><code>797ee7c</code></a>
docs: fix Bluesky links (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19368">#19368</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/81a9c0ebc33dd33765711296f827c4448c80163d"><code>81a9c0e</code></a>
docs: Update README (GitHub Actions Bot)</li>
<li><a
href="https://github.com/eslint/eslint/commit/093fb3d40286588c2c425b738426ebfe5d142a63"><code>093fb3d</code></a>
docs: replace <code>var</code> with <code>let</code> and
<code>const</code> in rule examples (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19365">#19365</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/417de3298527e4f257e1ae7b02e1df9db3c9ed33"><code>417de32</code></a>
docs: replace var with const in rule examples (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19352">#19352</a>)
(jj)</li>
<li><a
href="https://github.com/eslint/eslint/commit/17f2aaec16d5afbb0d219bce6ae01d7b15d74828"><code>17f2aae</code></a>
docs: update getting-started config to match default generated config
(<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19308">#19308</a>)
(0xDev)</li>
<li><a
href="https://github.com/eslint/eslint/commit/aae67172ab9631b4267fc03f64d3c3d6d1fcda73"><code>aae6717</code></a>
fix: sync rule type header comments automatically (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19276">#19276</a>)
(Francesco Trotta)</li>
<li><a
href="https://github.com/eslint/eslint/commit/8a0a5a8851f72982327c2aa3a41403963f025771"><code>8a0a5a8</code></a>
docs: better <code>global ignores</code> instruction (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19297">#19297</a>)
(Jacopo Marrone)</li>
<li><a
href="https://github.com/eslint/eslint/commit/20897070913418078d8f1ea9a877d223650dff73"><code>2089707</code></a>
test: fix failing test in Node.js v22.13.0 (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19345">#19345</a>)
(Francesco Trotta)</li>
<li><a
href="https://github.com/eslint/eslint/commit/6671a2cd8ccc710fefbccad9a813c3bea5f76c68"><code>6671a2c</code></a>
docs: Update README (GitHub Actions Bot)</li>
<li><a
href="https://github.com/eslint/eslint/commit/1637b8e87df5c7f58ab71e0e159f4b96c998e070"><code>1637b8e</code></a>
feat: add <code>--report-unused-inline-configs</code> (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19201">#19201</a>)
(Josh Goldberg )</li>
<li><a
href="https://github.com/eslint/eslint/commit/e39d3f22ff793db42e1f1fc3808cbb12fc513118"><code>e39d3f2</code></a>
docs: fix divider for rule category (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19264">#19264</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/e0cf53f80a4b127524e0badc8999d5d1a247143f"><code>e0cf53f</code></a>
docs: fix search result box position for small screens (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19328">#19328</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/f92a6803a10c66cf77408b2bf29c17bcd63b1049"><code>f92a680</code></a>
docs: replace var with let or const in rule examples (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19331">#19331</a>)
(Ravi Teja Kolla)</li>
<li><a
href="https://github.com/eslint/eslint/commit/b04b84bc17d4aaaea1326cb08196593624db02a2"><code>b04b84b</code></a>
docs: revert accidental changes in TS config files docs (<a
href="https://github.com/eslint/eslint/tree/HEAD/packages/js/issues/19336">#19336</a>)
(Francesco Trotta)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/58560e70bb4dcb305343fcd7c893ac56a404f674"><code>58560e7</code></a>
chore: package.json update for <code>@​eslint/js</code> release</li>
<li>See full diff in <a
href="https://github.com/eslint/eslint/commits/v9.19.0/packages/js">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@eslint/js&package-manager=npm_and_yarn&previous-version=9.18.0&new-version=9.19.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 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-01-27 13:46:51 +00:00
dependabot[bot] 215111aee1 Bump i18next from 24.2.1 to 24.2.2 (#1032)
Bumps [i18next](https://github.com/i18next/i18next) from 24.2.1 to
24.2.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/i18next/releases">i18next's
releases</a>.</em></p>
<blockquote>
<h2>v24.2.2</h2>
<ul>
<li>fix: Interpolation fails with arrays (TypeError) and doesn't work
with objects in defaultValue <a
href="https://redirect.github.com/i18next/react-i18next/issues/1829">1829</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/i18next/blob/master/CHANGELOG.md">i18next's
changelog</a>.</em></p>
<blockquote>
<h2>24.2.2</h2>
<ul>
<li>fix: Interpolation fails with arrays (TypeError) and doesn't work
with objects in defaultValue <a
href="https://redirect.github.com/i18next/react-i18next/issues/1829">1829</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/i18next/commit/e3d66d0eade4d1e47afd545339664ae3a5fd09eb"><code>e3d66d0</code></a>
24.2.2</li>
<li><a
href="https://github.com/i18next/i18next/commit/fdeab8a8ae85e853c00a2ff7ba89843eb9a6c52b"><code>fdeab8a</code></a>
fix: Interpolation fails with arrays (TypeError) and does not work with
objec...</li>
<li><a
href="https://github.com/i18next/i18next/commit/e10755458202e180dac399e6719dab7ab9fd5c46"><code>e107554</code></a>
update year</li>
<li><a
href="https://github.com/i18next/i18next/commit/3c67d4ac4736db47d3f0619ef8c2fed2d5069208"><code>3c67d4a</code></a>
maybe in future</li>
<li>See full diff in <a
href="https://github.com/i18next/i18next/compare/v24.2.1...v24.2.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18next&package-manager=npm_and_yarn&previous-version=24.2.1&new-version=24.2.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-01-27 13:46:34 +00:00
dependabot[bot] d6af4a6511 Bump eslint from 9.18.0 to 9.19.0 (#1030)
Bumps [eslint](https://github.com/eslint/eslint) from 9.18.0 to 9.19.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/releases">eslint's
releases</a>.</em></p>
<blockquote>
<h2>v9.19.0</h2>
<h2>Features</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/1637b8e87df5c7f58ab71e0e159f4b96c998e070"><code>1637b8e</code></a>
feat: add <code>--report-unused-inline-configs</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19201">#19201</a>)
(Josh Goldberg )</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/aae67172ab9631b4267fc03f64d3c3d6d1fcda73"><code>aae6717</code></a>
fix: sync rule type header comments automatically (<a
href="https://redirect.github.com/eslint/eslint/issues/19276">#19276</a>)
(Francesco Trotta)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/cfea9abe0e27cf2ce1d27232b8c70555397e141b"><code>cfea9ab</code></a>
docs: Clarify overrideConfig option (<a
href="https://redirect.github.com/eslint/eslint/issues/19370">#19370</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/2b84f666cd7474bb061e2f12205af57f5dbb89d6"><code>2b84f66</code></a>
docs: Update README (<a
href="https://redirect.github.com/eslint/eslint/issues/19362">#19362</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/044f93cbbe71a45130156004509083814e2b9669"><code>044f93c</code></a>
docs: clarify frozen rule description (<a
href="https://redirect.github.com/eslint/eslint/issues/19351">#19351</a>)
(Pavel)</li>
<li><a
href="https://github.com/eslint/eslint/commit/797ee7c0d669678b90c5d5742228bc7b24353f79"><code>797ee7c</code></a>
docs: fix Bluesky links (<a
href="https://redirect.github.com/eslint/eslint/issues/19368">#19368</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/81a9c0ebc33dd33765711296f827c4448c80163d"><code>81a9c0e</code></a>
docs: Update README (GitHub Actions Bot)</li>
<li><a
href="https://github.com/eslint/eslint/commit/093fb3d40286588c2c425b738426ebfe5d142a63"><code>093fb3d</code></a>
docs: replace <code>var</code> with <code>let</code> and
<code>const</code> in rule examples (<a
href="https://redirect.github.com/eslint/eslint/issues/19365">#19365</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/417de3298527e4f257e1ae7b02e1df9db3c9ed33"><code>417de32</code></a>
docs: replace var with const in rule examples (<a
href="https://redirect.github.com/eslint/eslint/issues/19352">#19352</a>)
(jj)</li>
<li><a
href="https://github.com/eslint/eslint/commit/17f2aaec16d5afbb0d219bce6ae01d7b15d74828"><code>17f2aae</code></a>
docs: update getting-started config to match default generated config
(<a
href="https://redirect.github.com/eslint/eslint/issues/19308">#19308</a>)
(0xDev)</li>
<li><a
href="https://github.com/eslint/eslint/commit/8a0a5a8851f72982327c2aa3a41403963f025771"><code>8a0a5a8</code></a>
docs: better <code>global ignores</code> instruction (<a
href="https://redirect.github.com/eslint/eslint/issues/19297">#19297</a>)
(Jacopo Marrone)</li>
<li><a
href="https://github.com/eslint/eslint/commit/6671a2cd8ccc710fefbccad9a813c3bea5f76c68"><code>6671a2c</code></a>
docs: Update README (GitHub Actions Bot)</li>
<li><a
href="https://github.com/eslint/eslint/commit/e39d3f22ff793db42e1f1fc3808cbb12fc513118"><code>e39d3f2</code></a>
docs: fix divider for rule category (<a
href="https://redirect.github.com/eslint/eslint/issues/19264">#19264</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/e0cf53f80a4b127524e0badc8999d5d1a247143f"><code>e0cf53f</code></a>
docs: fix search result box position for small screens (<a
href="https://redirect.github.com/eslint/eslint/issues/19328">#19328</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/f92a6803a10c66cf77408b2bf29c17bcd63b1049"><code>f92a680</code></a>
docs: replace var with let or const in rule examples (<a
href="https://redirect.github.com/eslint/eslint/issues/19331">#19331</a>)
(Ravi Teja Kolla)</li>
<li><a
href="https://github.com/eslint/eslint/commit/b04b84bc17d4aaaea1326cb08196593624db02a2"><code>b04b84b</code></a>
docs: revert accidental changes in TS config files docs (<a
href="https://redirect.github.com/eslint/eslint/issues/19336">#19336</a>)
(Francesco Trotta)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/9b9cb0584867916d50aa2e9590b132e2ef8ca59c"><code>9b9cb05</code></a>
chore: upgrade <code>@​eslint/js</code><a
href="https://github.com/9"><code>@​9</code></a>.19.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/19371">#19371</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/58560e70bb4dcb305343fcd7c893ac56a404f674"><code>58560e7</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="https://github.com/eslint/eslint/commit/20897070913418078d8f1ea9a877d223650dff73"><code>2089707</code></a>
test: fix failing test in Node.js v22.13.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/19345">#19345</a>)
(Francesco Trotta)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md">eslint's
changelog</a>.</em></p>
<blockquote>
<p>v9.19.0 - January 24, 2025</p>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/9b9cb0584867916d50aa2e9590b132e2ef8ca59c"><code>9b9cb05</code></a>
chore: upgrade <code>@​eslint/js</code><a
href="https://github.com/9"><code>@​9</code></a>.19.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/19371">#19371</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/58560e70bb4dcb305343fcd7c893ac56a404f674"><code>58560e7</code></a>
chore: package.json update for <code>@​eslint/js</code> release
(Jenkins)</li>
<li><a
href="https://github.com/eslint/eslint/commit/cfea9abe0e27cf2ce1d27232b8c70555397e141b"><code>cfea9ab</code></a>
docs: Clarify overrideConfig option (<a
href="https://redirect.github.com/eslint/eslint/issues/19370">#19370</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/2b84f666cd7474bb061e2f12205af57f5dbb89d6"><code>2b84f66</code></a>
docs: Update README (<a
href="https://redirect.github.com/eslint/eslint/issues/19362">#19362</a>)
(Nicholas C. Zakas)</li>
<li><a
href="https://github.com/eslint/eslint/commit/044f93cbbe71a45130156004509083814e2b9669"><code>044f93c</code></a>
docs: clarify frozen rule description (<a
href="https://redirect.github.com/eslint/eslint/issues/19351">#19351</a>)
(Pavel)</li>
<li><a
href="https://github.com/eslint/eslint/commit/797ee7c0d669678b90c5d5742228bc7b24353f79"><code>797ee7c</code></a>
docs: fix Bluesky links (<a
href="https://redirect.github.com/eslint/eslint/issues/19368">#19368</a>)
(Milos Djermanovic)</li>
<li><a
href="https://github.com/eslint/eslint/commit/81a9c0ebc33dd33765711296f827c4448c80163d"><code>81a9c0e</code></a>
docs: Update README (GitHub Actions Bot)</li>
<li><a
href="https://github.com/eslint/eslint/commit/093fb3d40286588c2c425b738426ebfe5d142a63"><code>093fb3d</code></a>
docs: replace <code>var</code> with <code>let</code> and
<code>const</code> in rule examples (<a
href="https://redirect.github.com/eslint/eslint/issues/19365">#19365</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/417de3298527e4f257e1ae7b02e1df9db3c9ed33"><code>417de32</code></a>
docs: replace var with const in rule examples (<a
href="https://redirect.github.com/eslint/eslint/issues/19352">#19352</a>)
(jj)</li>
<li><a
href="https://github.com/eslint/eslint/commit/17f2aaec16d5afbb0d219bce6ae01d7b15d74828"><code>17f2aae</code></a>
docs: update getting-started config to match default generated config
(<a
href="https://redirect.github.com/eslint/eslint/issues/19308">#19308</a>)
(0xDev)</li>
<li><a
href="https://github.com/eslint/eslint/commit/aae67172ab9631b4267fc03f64d3c3d6d1fcda73"><code>aae6717</code></a>
fix: sync rule type header comments automatically (<a
href="https://redirect.github.com/eslint/eslint/issues/19276">#19276</a>)
(Francesco Trotta)</li>
<li><a
href="https://github.com/eslint/eslint/commit/8a0a5a8851f72982327c2aa3a41403963f025771"><code>8a0a5a8</code></a>
docs: better <code>global ignores</code> instruction (<a
href="https://redirect.github.com/eslint/eslint/issues/19297">#19297</a>)
(Jacopo Marrone)</li>
<li><a
href="https://github.com/eslint/eslint/commit/20897070913418078d8f1ea9a877d223650dff73"><code>2089707</code></a>
test: fix failing test in Node.js v22.13.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/19345">#19345</a>)
(Francesco Trotta)</li>
<li><a
href="https://github.com/eslint/eslint/commit/6671a2cd8ccc710fefbccad9a813c3bea5f76c68"><code>6671a2c</code></a>
docs: Update README (GitHub Actions Bot)</li>
<li><a
href="https://github.com/eslint/eslint/commit/1637b8e87df5c7f58ab71e0e159f4b96c998e070"><code>1637b8e</code></a>
feat: add <code>--report-unused-inline-configs</code> (<a
href="https://redirect.github.com/eslint/eslint/issues/19201">#19201</a>)
(Josh Goldberg )</li>
<li><a
href="https://github.com/eslint/eslint/commit/e39d3f22ff793db42e1f1fc3808cbb12fc513118"><code>e39d3f2</code></a>
docs: fix divider for rule category (<a
href="https://redirect.github.com/eslint/eslint/issues/19264">#19264</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/e0cf53f80a4b127524e0badc8999d5d1a247143f"><code>e0cf53f</code></a>
docs: fix search result box position for small screens (<a
href="https://redirect.github.com/eslint/eslint/issues/19328">#19328</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/f92a6803a10c66cf77408b2bf29c17bcd63b1049"><code>f92a680</code></a>
docs: replace var with let or const in rule examples (<a
href="https://redirect.github.com/eslint/eslint/issues/19331">#19331</a>)
(Ravi Teja Kolla)</li>
<li><a
href="https://github.com/eslint/eslint/commit/b04b84bc17d4aaaea1326cb08196593624db02a2"><code>b04b84b</code></a>
docs: revert accidental changes in TS config files docs (<a
href="https://redirect.github.com/eslint/eslint/issues/19336">#19336</a>)
(Francesco Trotta)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/208e0b199f5d5f9dd173e58e3f5db19c1f0c38ed"><code>208e0b1</code></a>
9.19.0</li>
<li><a
href="https://github.com/eslint/eslint/commit/196dfdace64d095f2facb3d8ebed1be9cb2ccab3"><code>196dfda</code></a>
Build: changelog update for 9.19.0</li>
<li><a
href="https://github.com/eslint/eslint/commit/9b9cb0584867916d50aa2e9590b132e2ef8ca59c"><code>9b9cb05</code></a>
chore: upgrade <code>@​eslint/js</code><a
href="https://github.com/9"><code>@​9</code></a>.19.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/19371">#19371</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/58560e70bb4dcb305343fcd7c893ac56a404f674"><code>58560e7</code></a>
chore: package.json update for <code>@​eslint/js</code> release</li>
<li><a
href="https://github.com/eslint/eslint/commit/cfea9abe0e27cf2ce1d27232b8c70555397e141b"><code>cfea9ab</code></a>
docs: Clarify overrideConfig option (<a
href="https://redirect.github.com/eslint/eslint/issues/19370">#19370</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/2b84f666cd7474bb061e2f12205af57f5dbb89d6"><code>2b84f66</code></a>
docs: Update README (<a
href="https://redirect.github.com/eslint/eslint/issues/19362">#19362</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/044f93cbbe71a45130156004509083814e2b9669"><code>044f93c</code></a>
docs: clarify frozen rule description (<a
href="https://redirect.github.com/eslint/eslint/issues/19351">#19351</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/797ee7c0d669678b90c5d5742228bc7b24353f79"><code>797ee7c</code></a>
docs: fix Bluesky links (<a
href="https://redirect.github.com/eslint/eslint/issues/19368">#19368</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/81a9c0ebc33dd33765711296f827c4448c80163d"><code>81a9c0e</code></a>
docs: Update README</li>
<li><a
href="https://github.com/eslint/eslint/commit/093fb3d40286588c2c425b738426ebfe5d142a63"><code>093fb3d</code></a>
docs: replace <code>var</code> with <code>let</code> and
<code>const</code> in rule examples (<a
href="https://redirect.github.com/eslint/eslint/issues/19365">#19365</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/eslint/eslint/compare/v9.18.0...v9.19.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint&package-manager=npm_and_yarn&previous-version=9.18.0&new-version=9.19.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 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-01-27 13:46:12 +00:00
dependabot[bot] 3b84fddd59 Bump stylelint from 16.13.2 to 16.14.0 (#1029)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.13.2
to 16.14.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint/stylelint/releases">stylelint's
releases</a>.</em></p>
<blockquote>
<h2>16.14.0</h2>
<ul>
<li>Added: replaced text and corresponding range to <code>Warning</code>
type (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8234">#8234</a>)
(<a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
<li>Fixed: <code>SyntaxError: The requested module 'table'...</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8325">#8325</a>)
(<a href="https://github.com/denisx"><code>@​denisx</code></a>).</li>
<li>Fixed: <code>RuleContext['fix']</code> type (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8309">#8309</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>declaration-property-value-keyword-no-deprecated</code>
autofix of <code>border-color</code> and <code>overflow</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8346">#8346</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>declaration-property-value-keyword-no-deprecated</code>
false negatives for <code>overflow-x</code> and <code>overflow-y</code>
(<a
href="https://redirect.github.com/stylelint/stylelint/issues/8340">#8340</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>declaration-property-value-keyword-no-deprecated</code>
false negatives for <code>scrollbar-color</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8346">#8346</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>declaration-property-value-keyword-no-deprecated</code>
false positives for non-standard syntax values (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8329">#8329</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>declaration-property-value-keyword-no-deprecated</code>
warning message for <code>overflow: &lt;keyword&gt;
&lt;keyword&gt;</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8340">#8340</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>selector-pseudo-class-no-unknown</code> false positives
for <code>:has-slotted</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8332">#8332</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md">stylelint's
changelog</a>.</em></p>
<blockquote>
<h2>16.14.0 - 2025-01-25</h2>
<p>It fixes 8 bugs and adds features to our <code>Warning</code>
type.</p>
<ul>
<li>Added: replaced text and corresponding range to <code>Warning</code>
type (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8234">#8234</a>)
(<a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
<li>Fixed: <code>SyntaxError: The requested module 'table'...</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8325">#8325</a>)
(<a href="https://github.com/denisx"><code>@​denisx</code></a>).</li>
<li>Fixed: <code>RuleContext['fix']</code> type (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8309">#8309</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>declaration-property-value-keyword-no-deprecated</code>
autofix of <code>border-color</code> and <code>overflow</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8346">#8346</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>declaration-property-value-keyword-no-deprecated</code>
false negatives for <code>overflow-x</code> and <code>overflow-y</code>
(<a
href="https://redirect.github.com/stylelint/stylelint/pull/8340">#8340</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>declaration-property-value-keyword-no-deprecated</code>
false negatives for <code>scrollbar-color</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8346">#8346</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>declaration-property-value-keyword-no-deprecated</code>
false positives for non-standard syntax values (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8329">#8329</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>declaration-property-value-keyword-no-deprecated</code>
warning message for <code>overflow: &lt;keyword&gt;
&lt;keyword&gt;</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8340">#8340</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>selector-pseudo-class-no-unknown</code> false positives
for <code>:has-slotted</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8332">#8332</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/stylelint/stylelint/commit/15b90ade92ba0cd9b40d494417b6aa73142d5181"><code>15b90ad</code></a>
16.14.0</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/4fa5a91e86ffd8b77fa24a3811c26daab04995f5"><code>4fa5a91</code></a>
Prepare 16.14.0 (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8330">#8330</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/f24921c9c4758f7702f987052f01ea3a098e9cb3"><code>f24921c</code></a>
Fix <code>SyntaxError: The requested module 'table'...</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8325">#8325</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/e9b772f059092e7d3f658daa30df005e990e66e4"><code>e9b772f</code></a>
Add <code>declaration-property-value-keyword-no-deprecated</code>
autofix for shorthands...</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/02b814d62aaed99def5a6db8f8b2c56e9bd24e69"><code>02b814d</code></a>
Fix <code>declaration-property-value-keyword-no-deprecated</code>
warning message for `o...</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/16efbb78582e6538c3266da274c0edf949aa7b5a"><code>16efbb7</code></a>
Fix <code>at-rule-descriptor-no-unknown</code> false positives for page
and margin conte...</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/96745181e322ff92708fc3e6edeb0c90178b12e1"><code>9674518</code></a>
Add replaced text and corresponding range to <code>Warning</code> type
(<a
href="https://redirect.github.com/stylelint/stylelint/issues/8234">#8234</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/9e19713cc068facea024a0cae47c454045aaaa7d"><code>9e19713</code></a>
Fix <code>declaration-property-value-keyword-no-deprecated</code> false
positives for `b...</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/a2420f996c41f9dfed301e2adf7b9c89a7e49535"><code>a2420f9</code></a>
Bump eslint-plugin-jest from 28.10.0 to 28.11.0 in the eslint group (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8335">#8335</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/2f1655f29856b1384645a1ea544b05ac5ceeb250"><code>2f1655f</code></a>
Bump ignore from 7.0.1 to 7.0.3 (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8337">#8337</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/stylelint/stylelint/compare/16.13.2...16.14.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=stylelint&package-manager=npm_and_yarn&previous-version=16.13.2&new-version=16.14.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 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-01-27 13:45:33 +00:00
humo b87c8fb5c3 Japanese translation for PMTiles (#1027)
## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [x] Briefly describe the changes in this PR.
   simply adding Japanese translation for new input format PMTiles
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [ ] Add an entry to `CHANGELOG.md` under the `## main` section.
2025-01-25 07:24:28 +00:00
dependabot[bot] 12666d264a Bump @types/geojson from 7946.0.15 to 7946.0.16 (#1026)
Bumps
[@types/geojson](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/geojson)
from 7946.0.15 to 7946.0.16.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/geojson">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/geojson&package-manager=npm_and_yarn&previous-version=7946.0.15&new-version=7946.0.16)](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-01-24 13:53:48 +00:00
Pirmin Kalberer 5af2cc2f9e Add PMTiles support (#938)
Add support for pmtiles sources. Solves #807 

<strike>
There is still an error, probably when adding the source to the Maputnik
sources:

```
Failed to process sources for 'pmtiles://https://example.com/data/switzerland.pmtiles' TypeError: NetworkError when attempting to fetch resource.
    fetchSources App.tsx:642
```

@bdon How did you solve this for https://editor.protomaps.com/ ?
</strike>

---------

Co-authored-by: Brandon Liu <bdon@bdon.org>
Co-authored-by: WebFreak001 <gh@webfreak.org>
Co-authored-by: ShellyDCMS <60476837+ShellyDCMS@users.noreply.github.com>
Co-authored-by: Harel M <harel.mazor@gmail.com>
2025-01-23 10:59:08 +02:00
dependabot[bot] a2345a7308 Bump codemirror from 5.65.16 to 5.65.18 (#1024)
Bumps [codemirror](https://github.com/codemirror/basic-setup) from
5.65.16 to 5.65.18.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/codemirror/basic-setup/commits">compare
view</a></li>
</ul>
</details>
<br />

<details>
<summary>Most Recent Ignore Conditions Applied to This Pull
Request</summary>

| Dependency Name | Ignore Conditions |
| --- | --- |
| codemirror | [>= 6.a, < 7] |
</details>


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=codemirror&package-manager=npm_and_yarn&previous-version=5.65.16&new-version=5.65.18)](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-01-22 13:35:11 +00:00
Birk Skyum dcdbac35ff bump @types/geojson and postcss (#1022)
Dependabot is skipping two packages, presumably because it tried and
failed to update in the past, and now we changed the dependabot.yml

old dependabot attempts
- #833 

Updating manually, hoping it'll work going forward.

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [ ] Add an entry to `CHANGELOG.md` under the `## main` section.
2025-01-22 12:42:16 +01:00
Birk Skyum 2852fa62ff Use modern jsonlint fork (#1018) 2025-01-22 10:38:26 +00:00
Birk Skyum 87cd79e86f Use new scss syntax (#1015) 2025-01-21 22:38:05 +01:00
Birk Skyum 857cae7040 Add codeql workflow (#1019) 2025-01-21 19:46:10 +01:00
Birk Skyum cd7d607f13 Upgrade eslint (#1014)
It's apparently forced now to use the eslint.config.js instead of
.eslintrc

It got more strict with requiring the underscore on unused vars like
`catch(_err)` , but that was all

Closes #1012
Closes #995
Closes #992

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [ ] Add an entry to `CHANGELOG.md` under the `## main` section.
2025-01-21 15:21:30 +00:00
Harel M b429bb16d7 Fix network issue (#944)
## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->
In case of non 200 response the font and glyphs metadata would return
the ajax error object instead of the default value.

Fixes #935

- #935

 - [x] Briefly describe the changes in this PR.
 - [x] Link to related issues.
- [x] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.
2025-01-21 14:25:03 +00:00
Birk Skyum a21efcc4d5 Remove unused mocha (#1013)
I don't see mocha used anywhere

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [ ] Add an entry to `CHANGELOG.md` under the `## main` section.
2025-01-21 13:47:24 +00:00
dependabot[bot] 1ebbac91d4 Bump typescript from 5.4.3 to 5.7.3 (#1011)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.4.3
to 5.7.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/TypeScript/releases">typescript's
releases</a>.</em></p>
<blockquote>
<h2>TypeScript 5.7.3</h2>
<p>For release notes, check out the <a
href="https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/">release
announcement</a>.</p>
<ul>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.7.0%22+is%3Aclosed+">fixed
issues query for Typescript 5.7.0 (Beta)</a>.</li>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.7.1%22+is%3Aclosed+">fixed
issues query for Typescript 5.7.1 (RC)</a>.</li>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.7.2%22+is%3Aclosed+">fixed
issues query for Typescript 5.7.2 (Stable)</a>.</li>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.7.2%22+is%3Aclosed+">fixed
issues query for Typescript 5.7.3 (Stable)</a>.</li>
</ul>
<p>Downloads are available on <a
href="https://www.npmjs.com/package/typescript">npm</a></p>
<h2>TypeScript 5.7</h2>
<p>For release notes, check out the <a
href="https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/">release
announcement</a>.</p>
<ul>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.7.0%22+is%3Aclosed+">fixed
issues query for Typescript 5.7.0 (Beta)</a>.</li>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.7.1%22+is%3Aclosed+">fixed
issues query for Typescript 5.7.1 (RC)</a>.</li>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.7.2%22+is%3Aclosed+">fixed
issues query for Typescript 5.7.2 (Stable)</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
</ul>
<h2>TypeScript 5.7 RC</h2>
<p>For release notes, check out the <a
href="https://devblogs.microsoft.com/typescript/announcing-typescript-5-7-rc/">release
announcement</a>.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.7.0%22+is%3Aclosed+">fixed
issues query for Typescript 5.7.0 (Beta)</a>.</li>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.7.1%22+is%3Aclosed+">fixed
issues query for Typescript 5.7.1 (RC)</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
</ul>
<h2>TypeScript 5.7 Beta</h2>
<p>For release notes, check out the <a
href="https://devblogs.microsoft.com/typescript/announcing-typescript-5-7-beta/">release
announcement</a>.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.7.0%22+is%3Aclosed+">fixed
issues query for Typescript 5.7.0 (Beta)</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
</ul>
<h2>TypeScript 5.6.3</h2>
<p>For release notes, check out the <a
href="https://devblogs.microsoft.com/typescript/announcing-typescript-5-6/">release
announcement</a>.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.6.0%22+is%3Aclosed+">fixed
issues query for Typescript 5.6.0 (Beta)</a>.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/TypeScript/commit/a5e123d9e0690fcea92878ea8a0a382922009fc9"><code>a5e123d</code></a>
Update LKG</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/8bc02048a2a78d1b8f0e89d8260d76c440fdbc08"><code>8bc0204</code></a>
🤖 Pick PR <a
href="https://redirect.github.com/microsoft/TypeScript/issues/60828">#60828</a>
(Fix CodeQL configuration, releases) into release-5.7 (<a
href="https://redirect.github.com/microsoft/TypeScript/issues/60923">#60923</a>)</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/7aa63df74c2cc02dd171771623238dc40f352b7e"><code>7aa63df</code></a>
🤖 Pick PR <a
href="https://redirect.github.com/microsoft/TypeScript/issues/60393">#60393</a>
(Don't try to add an implicit undefi...) into release-5.7 (#...</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/9df7c36aa960086a403bb83c5a4fafaf5871acf6"><code>9df7c36</code></a>
Bump version to 5.7.3 and LKG</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/e167412fe07905b6324bf5f36a918c28050ebfac"><code>e167412</code></a>
🤖 Pick PR <a
href="https://redirect.github.com/microsoft/TypeScript/issues/60794">#60794</a>
(Harden <code>sanitizeLog</code> against incorr...) into release-5.7
(#...</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/9ba364c55a5c5cc378e89bf0de9559398926c0d3"><code>9ba364c</code></a>
Fix coverage build on release-5.7 (<a
href="https://redirect.github.com/microsoft/TypeScript/issues/60792">#60792</a>)</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/4b7441a8bee1f0cbc861a3ad23f72769fb518df1"><code>4b7441a</code></a>
🤖 Pick PR <a
href="https://redirect.github.com/microsoft/TypeScript/issues/60680">#60680</a>
(Mark the inherited any-based index ...) into release-5.7 (#...</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/e844dc305e09029d417a8daf84a816532d2ed4f3"><code>e844dc3</code></a>
Cherry-pick <a
href="https://redirect.github.com/microsoft/TypeScript/issues/60402">#60402</a>,
<a
href="https://redirect.github.com/microsoft/TypeScript/issues/60440">#60440</a>,
<a
href="https://redirect.github.com/microsoft/TypeScript/issues/60616">#60616</a>
into release-5.7 (<a
href="https://redirect.github.com/microsoft/TypeScript/issues/60777">#60777</a>)</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/21b02a1e1f19852790c36e550631e8083c67fc1c"><code>21b02a1</code></a>
🤖 Pick PR <a
href="https://redirect.github.com/microsoft/TypeScript/issues/60749">#60749</a>
(Do not require import attribute on ...) into release-5.7 (#...</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/b82fd16484225ba6d0798cd5595407ec65555ab6"><code>b82fd16</code></a>
🤖 Pick PR <a
href="https://redirect.github.com/microsoft/TypeScript/issues/60576">#60576</a>
(Avoid incorrectly reusing assertion...) into release-5.7 (#...</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/TypeScript/compare/v5.4.3...v5.7.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typescript&package-manager=npm_and_yarn&previous-version=5.4.3&new-version=5.7.3)](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-01-21 13:41:08 +00:00
dependabot[bot] ed70b76ed5 Bump eslint-plugin-react-hooks from 4.6.0 to 5.1.0 (#1006)
Bumps
[eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks)
from 4.6.0 to 5.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/facebook/react/releases">eslint-plugin-react-hooks's
releases</a>.</em></p>
<blockquote>
<h2>eslint-plugin-react-hooks@5.0.0 (Oct 11, 2024)</h2>
<p>This release only contains <code>eslint-plugin-react-hooks</code>.
Notably, new violations and support for ESLint v9 were added.</p>
<h2><code>eslint-plugin-react-hooks</code></h2>
<ul>
<li><strong>New Violations:</strong> Component names now need to start
with an uppercase letter instead of a non-lowercase letter. This means
<code>_Button</code> or <code>_component</code> are no longer valid. (<a
href="https://github.com/kassens"><code>@​kassens</code></a>) in <a
href="https://redirect.github.com/facebook/react/pull/25162">#25162</a>
For example, in
<pre lang="tsx"><code>function _Component() {
  useState()
^^^^^^^^ A React Hook &quot;useState&quot; is called in function
&quot;_Component&quot; which is neither a Component nor a custom React
Hook function.
}
</code></pre>
<code>_Component</code> should be renamed to
<code>Component</code>.</li>
</ul>
<ul>
<li>Add support for ESLint v9. (<a
href="https://github.com/eps1lon"><code>@​eps1lon</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/28773">#28773</a>)</li>
<li>Consider dispatch from <code>useActionState</code> stable. (<a
href="https://github.com/eps1lon"><code>@​eps1lon</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/29665">#29665</a>)</li>
<li>Accept <code>as</code> expression in callback. (<a
href="https://github.com/StyleShit"><code>@​StyleShit</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/28202">#28202</a>)</li>
<li>Accept <code>as</code> expressions in deps array. (<a
href="https://github.com/StyleShit"><code>@​StyleShit</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/28189">#28189</a>)</li>
<li>Treat <code>React.use()</code> the same as <code>use()</code>. (<a
href="https://github.com/kassens"><code>@​kassens</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/27769">#27769</a>)</li>
<li>Move <code>use()</code> lint to non-experimental. (<a
href="https://github.com/kassens"><code>@​kassens</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/27768">#27768</a>)</li>
<li>Support Flow <code>as</code> expressions. (<a
href="https://github.com/cpojer"><code>@​cpojer</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/27590">#27590</a>)</li>
<li>Allow <code>useEffect(fn, undefined)</code>. (<a
href="https://github.com/kassens"><code>@​kassens</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/27525">#27525</a>)</li>
<li>Disallow hooks in async functions. (<a
href="https://github.com/acdlite"><code>@​acdlite</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/27045">#27045</a>)</li>
<li>Rename experimental <code>useEvent</code> to
<code>useEffectEvent</code>. (<a
href="https://github.com/sebmarkbage"><code>@​sebmarkbage</code></a> in
<a
href="https://redirect.github.com/facebook/react/pull/25881">#25881</a>)</li>
<li>Lint for presence of <code>useEvent</code> functions in dependency
lists. (<a href="https://github.com/poteto"><code>@​poteto</code></a> in
<a
href="https://redirect.github.com/facebook/react/pull/25512">#25512</a>)</li>
<li>Check <code>useEvent</code> references instead. (<a
href="https://github.com/poteto"><code>@​poteto</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/25319">#25319</a>)</li>
<li>Update <code>RulesOfHooks</code> with <code>useEvent</code> rules.
(<a href="https://github.com/poteto"><code>@​poteto</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/25285">#25285</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md">eslint-plugin-react-hooks's
changelog</a>.</em></p>
<blockquote>
<h2>5.0.0</h2>
<ul>
<li><strong>New Violations:</strong> Component names now need to start
with an uppercase letter instead of a non-lowercase letter. This means
<code>_Button</code> or <code>_component</code> are no longer valid. (<a
href="https://github.com/kassens"><code>@​kassens</code></a>) in <a
href="https://redirect.github.com/facebook/react/pull/25162">#25162</a></li>
</ul>
<ul>
<li>Consider dispatch from <code>useActionState</code> stable. (<a
href="https://github.com/eps1lon"><code>@​eps1lon</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/29665">#29665</a>)</li>
<li>Add support for ESLint v9. (<a
href="https://github.com/eps1lon"><code>@​eps1lon</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/28773">#28773</a>)</li>
<li>Accept <code>as</code> expression in callback. (<a
href="https://github.com/StyleShit"><code>@​StyleShit</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/28202">#28202</a>)</li>
<li>Accept <code>as</code> expressions in deps array. (<a
href="https://github.com/StyleShit"><code>@​StyleShit</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/28189">#28189</a>)</li>
<li>Treat <code>React.use()</code> the same as <code>use()</code>. (<a
href="https://github.com/kassens"><code>@​kassens</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/27769">#27769</a>)</li>
<li>Move <code>use()</code> lint to non-experimental. (<a
href="https://github.com/kassens"><code>@​kassens</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/27768">#27768</a>)</li>
<li>Support Flow <code>as</code> expressions. (<a
href="https://github.com/cpojer"><code>@​cpojer</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/27590">#27590</a>)</li>
<li>Allow <code>useEffect(fn, undefined)</code>. (<a
href="https://github.com/kassens"><code>@​kassens</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/27525">#27525</a>)</li>
<li>Disallow hooks in async functions. (<a
href="https://github.com/acdlite"><code>@​acdlite</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/27045">#27045</a>)</li>
<li>Rename experimental <code>useEvent</code> to
<code>useEffectEvent</code>. (<a
href="https://github.com/sebmarkbage"><code>@​sebmarkbage</code></a> in
<a
href="https://redirect.github.com/facebook/react/pull/25881">#25881</a>)</li>
<li>Lint for presence of <code>useEvent</code> functions in dependency
lists. (<a href="https://github.com/poteto"><code>@​poteto</code></a> in
<a
href="https://redirect.github.com/facebook/react/pull/25512">#25512</a>)</li>
<li>Check <code>useEvent</code> references instead. (<a
href="https://github.com/poteto"><code>@​poteto</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/25319">#25319</a>)</li>
<li>Update <code>RulesOfHooks</code> with <code>useEvent</code> rules.
(<a href="https://github.com/poteto"><code>@​poteto</code></a> in <a
href="https://redirect.github.com/facebook/react/pull/25285">#25285</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~react-bot">react-bot</a>, a new releaser
for eslint-plugin-react-hooks since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react-hooks&package-manager=npm_and_yarn&previous-version=4.6.0&new-version=5.1.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 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-01-21 13:40:44 +00:00
dependabot[bot] dd8703e22b Bump sass from 1.72.0 to 1.83.4 (#1000)
Bumps [sass](https://github.com/sass/dart-sass) from 1.72.0 to 1.83.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/sass/dart-sass/releases">sass's
releases</a>.</em></p>
<blockquote>
<h2>Dart Sass 1.83.4</h2>
<p>To install Sass 1.83.4, download one of the packages below and <a
href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or
see <a href="https://sass-lang.com/install">the Sass website</a> for
full installation instructions.</p>
<h1>Changes</h1>
<ul>
<li>No user-visible changes.</li>
</ul>
<p>See the <a
href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1834">full
changelog</a> for changes in earlier releases.</p>
<h2>Dart Sass 1.83.3</h2>
<p>To install Sass 1.83.3, download one of the packages below and <a
href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or
see <a href="https://sass-lang.com/install">the Sass website</a> for
full installation instructions.</p>
<h1>Changes</h1>
<ul>
<li>No user-visible changes.</li>
</ul>
<p>See the <a
href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1833">full
changelog</a> for changes in earlier releases.</p>
<h2>Dart Sass 1.83.2</h2>
<p>To install Sass 1.83.2, download one of the packages below and <a
href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or
see <a href="https://sass-lang.com/install">the Sass website</a> for
full installation instructions.</p>
<h1>Changes</h1>
<ul>
<li>
<p>Properly display deprecation IDs for the JS Sass API.</p>
</li>
<li>
<p>Don't display deprecation IDs for user-defined deprecations.</p>
</li>
</ul>
<p>See the <a
href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1832">full
changelog</a> for changes in earlier releases.</p>
<h2>Dart Sass 1.83.1</h2>
<p>To install Sass 1.83.1, download one of the packages below and <a
href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or
see <a href="https://sass-lang.com/install">the Sass website</a> for
full installation instructions.</p>
<h1>Changes</h1>
<ul>
<li>
<p>Fix a bug where <code>--quiet-deps</code> would get deactivated for
<code>@content</code> blocks, even when those blocks were entirely
contained within dependencies.</p>
</li>
<li>
<p>Include deprecation IDs in deprecation warnings to make it easier to
determine what to pass to <code>--silence-deprecation</code> or
<code>--fatal-deprecation</code>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/sass/dart-sass/blob/main/CHANGELOG.md">sass's
changelog</a>.</em></p>
<blockquote>
<h2>1.83.4</h2>
<ul>
<li>No user-visible changes.</li>
</ul>
<h2>1.83.3</h2>
<ul>
<li>No user-visible changes.</li>
</ul>
<h2>1.83.2</h2>
<ul>
<li>
<p>Properly display deprecation IDs for the JS Sass API.</p>
</li>
<li>
<p>Don't display deprecation IDs for user-defined deprecations.</p>
</li>
</ul>
<h2>1.83.1</h2>
<ul>
<li>
<p>Fix a bug where <code>--quiet-deps</code> would get deactivated for
<code>@content</code> blocks,
even when those blocks were entirely contained within dependencies.</p>
</li>
<li>
<p>Include deprecation IDs in deprecation warnings to make it easier to
determine
what to pass to <code>--silence-deprecation</code> or
<code>--fatal-deprecation</code>.</p>
</li>
</ul>
<h2>1.83.0</h2>
<ul>
<li>Allow trailing commas in <em>all</em> argument and parameter
lists.</li>
</ul>
<h2>1.82.0</h2>
<h3>Command-Line Interface</h3>
<ul>
<li>
<p>Improve <code>--watch</code> mode reliability when making multiple
changes at once, such
as checking out a different Git branch.</p>
</li>
<li>
<p>Parse the <code>calc-size()</code> function as a calculation now that
it's supported in
some browsers.</p>
</li>
</ul>
<h3>Dart API</h3>
<ul>
<li>Add a <code>SassCalculation.calcSize()</code> function.</li>
</ul>
<h2>1.81.1</h2>
<ul>
<li>No user-visible changes.</li>
</ul>
<h2>1.81.0</h2>
<ul>
<li>
<p>Fix a few cases where deprecation warnings weren't being emitted for
global
built-in functions whose names overlap with CSS calculations.</p>
</li>
<li>
<p>Add support for the CSS <code>round()</code> calculation with a
single argument, as long</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/sass/dart-sass/commit/89a5394639688ad5ad5677fb6258f39fd74f95b9"><code>89a5394</code></a>
Fix more bugs in the sass-parser release process (<a
href="https://redirect.github.com/sass/dart-sass/issues/2491">#2491</a>)</li>
<li><a
href="https://github.com/sass/dart-sass/commit/46686eddcaee5a85f43bc300ee8650f8ac198f6c"><code>46686ed</code></a>
Merge pull request <a
href="https://redirect.github.com/sass/dart-sass/issues/2490">#2490</a>
from sass/sass-parser-release</li>
<li><a
href="https://github.com/sass/dart-sass/commit/126176760c49f16c4e3c112ce9315ac799cdb11f"><code>1261767</code></a>
Use a file: dependency for local Sass development</li>
<li><a
href="https://github.com/sass/dart-sass/commit/173f39b652e611f677fdb9cf66e01ee40bc66486"><code>173f39b</code></a>
Use the Dart Sass version for the sass-parser dependency</li>
<li><a
href="https://github.com/sass/dart-sass/commit/ddb14b2c39e297167f418abfd63fd216463ad72d"><code>ddb14b2</code></a>
Fix deprecation ID displays in JS mode (<a
href="https://redirect.github.com/sass/dart-sass/issues/2483">#2483</a>)</li>
<li><a
href="https://github.com/sass/dart-sass/commit/b12b508e79cce0a74262eb5c31f67a1cf1cb57a6"><code>b12b508</code></a>
Compile sass-parser before deploying (<a
href="https://redirect.github.com/sass/dart-sass/issues/2489">#2489</a>)</li>
<li><a
href="https://github.com/sass/dart-sass/commit/b19b57fd1d13d6f739bd9f2dd150f8382ddfd41d"><code>b19b57f</code></a>
Merge pull request <a
href="https://redirect.github.com/sass/dart-sass/issues/2478">#2478</a>
from sass/if</li>
<li><a
href="https://github.com/sass/dart-sass/commit/23ff19def96e27a39fa3cad22f6a93efeb479833"><code>23ff19d</code></a>
Merge branch 'main' into if</li>
<li><a
href="https://github.com/sass/dart-sass/commit/8818d934d9fe36b5ecada8e00868b0309f490c02"><code>8818d93</code></a>
Properly override the sass-parser dependency on sass during release (<a
href="https://redirect.github.com/sass/dart-sass/issues/2487">#2487</a>)</li>
<li><a
href="https://github.com/sass/dart-sass/commit/adb7016ea8ade98b195022526a066cfda70f8b29"><code>adb7016</code></a>
Merge pull request <a
href="https://redirect.github.com/sass/dart-sass/issues/2488">#2488</a>
from sass/sdk-formatter</li>
<li>Additional commits viewable in <a
href="https://github.com/sass/dart-sass/compare/1.72.0...1.83.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sass&package-manager=npm_and_yarn&previous-version=1.72.0&new-version=1.83.4)](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-01-21 13:38:16 +00:00
dependabot[bot] 7ecd5e847f Bump vite-plugin-istanbul from 6.0.0 to 6.0.2 (#1010)
Bumps
[vite-plugin-istanbul](https://github.com/ifaxity/vite-plugin-istanbul)
from 6.0.0 to 6.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/ifaxity/vite-plugin-istanbul/releases">vite-plugin-istanbul's
releases</a>.</em></p>
<blockquote>
<h2>v6.0.2</h2>
<h2><a
href="https://github.com/ifaxity/vite-plugin-istanbul/compare/v6.0.1...v6.0.2">6.0.2</a>
(2024-05-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>removed engine version (<a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/215">#215</a>)
(<a
href="https://github.com/ifaxity/vite-plugin-istanbul/commit/be2d28cf1976fcaf477f4b2500aa1a0f07a3abdb">be2d28c</a>),
closes <a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/214">#214</a></li>
</ul>
<h2>v6.0.2-rc.1</h2>
<h2><a
href="https://github.com/ifaxity/vite-plugin-istanbul/compare/v6.0.1...v6.0.2-rc.1">6.0.2-rc.1</a>
(2024-05-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>removed engine version (<a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/215">#215</a>)
(<a
href="https://github.com/ifaxity/vite-plugin-istanbul/commit/be2d28cf1976fcaf477f4b2500aa1a0f07a3abdb">be2d28c</a>),
closes <a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/214">#214</a></li>
</ul>
<h2>v6.0.1</h2>
<h2><a
href="https://github.com/ifaxity/vite-plugin-istanbul/compare/v6.0.0...v6.0.1">6.0.1</a>
(2024-05-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>only emit esm build (<a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/212">#212</a>)
(<a
href="https://github.com/ifaxity/vite-plugin-istanbul/commit/895c7bb111d3b3fede0c91fe74b8adf79ddd80ad">895c7bb</a>),
closes <a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/209">#209</a></li>
</ul>
<h2>v6.0.1-rc.1</h2>
<h2><a
href="https://github.com/ifaxity/vite-plugin-istanbul/compare/v6.0.0...v6.0.1-rc.1">6.0.1-rc.1</a>
(2024-05-04)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>only emit esm build (<a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/212">#212</a>)
(<a
href="https://github.com/ifaxity/vite-plugin-istanbul/commit/895c7bb111d3b3fede0c91fe74b8adf79ddd80ad">895c7bb</a>),
closes <a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/209">#209</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/iFaxity/vite-plugin-istanbul/commit/be2d28cf1976fcaf477f4b2500aa1a0f07a3abdb"><code>be2d28c</code></a>
fix: removed engine version (<a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/215">#215</a>)</li>
<li><a
href="https://github.com/iFaxity/vite-plugin-istanbul/commit/9fe59335209fa48ac03514d8088216f57394bc9a"><code>9fe5933</code></a>
build(ci): added pnpm setup for actions (<a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/213">#213</a>)</li>
<li><a
href="https://github.com/iFaxity/vite-plugin-istanbul/commit/895c7bb111d3b3fede0c91fe74b8adf79ddd80ad"><code>895c7bb</code></a>
fix: only emit esm build (<a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/212">#212</a>)</li>
<li><a
href="https://github.com/iFaxity/vite-plugin-istanbul/commit/5004c58766608886d114e98d3cfa95710a04743e"><code>5004c58</code></a>
Merge pull request <a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/210">#210</a>
from iFaxity/dependabot/npm_and_yarn/commitlint/cli-1...</li>
<li><a
href="https://github.com/iFaxity/vite-plugin-istanbul/commit/4516f5e5e17937c0b67fc7413277dd2a631d84ce"><code>4516f5e</code></a>
build(deps-dev): bump <code>@​commitlint/cli</code> from 19.2.2 to
19.3.0</li>
<li><a
href="https://github.com/iFaxity/vite-plugin-istanbul/commit/f6e3ef895da1a680ada33c4984cff5fea1c0b764"><code>f6e3ef8</code></a>
Merge pull request <a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/206">#206</a>
from iFaxity/dependabot/npm_and_yarn/commitlint/confi...</li>
<li><a
href="https://github.com/iFaxity/vite-plugin-istanbul/commit/9cd34c340c171740b53b0ef2a3f0fb6526aec2df"><code>9cd34c3</code></a>
build(deps-dev): bump <code>@​commitlint/config-conventional</code></li>
<li><a
href="https://github.com/iFaxity/vite-plugin-istanbul/commit/99fa96b780940780628ec2d134903eea39d7eae9"><code>99fa96b</code></a>
Merge pull request <a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/208">#208</a>
from iFaxity/dependabot/npm_and_yarn/types/node-20.12.7</li>
<li><a
href="https://github.com/iFaxity/vite-plugin-istanbul/commit/c367441fe89cdc3e4ec9ad12da4f4930bbeb866f"><code>c367441</code></a>
Merge pull request <a
href="https://redirect.github.com/ifaxity/vite-plugin-istanbul/issues/207">#207</a>
from iFaxity/dependabot/npm_and_yarn/typescript-5.4.5</li>
<li><a
href="https://github.com/iFaxity/vite-plugin-istanbul/commit/cbc88e01942d58616306d5abc54c806e4ecbae01"><code>cbc88e0</code></a>
build(deps-dev): bump <code>@​types/node</code> from 20.12.5 to
20.12.7</li>
<li>Additional commits viewable in <a
href="https://github.com/ifaxity/vite-plugin-istanbul/compare/v6.0.0...v6.0.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite-plugin-istanbul&package-manager=npm_and_yarn&previous-version=6.0.0&new-version=6.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-01-21 13:32:29 +00:00
dependabot[bot] 1890001bf4 Bump react-i18next from 15.0.1 to 15.4.0 (#1008)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from
15.0.1 to 15.4.0.
<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>
<h3>15.4.0</h3>
<p>feat: add meta with codes on warnings to allow conditional logging <a
href="https://redirect.github.com/i18next/react-i18next/pull/1826">1826</a></p>
<h3>15.3.0</h3>
<p>Uses the i18next logger instead of the default console logger, if
there is a valid i18next instance. Now the debug i18next option is
respected, and you can also inject your own logger module: <a
href="https://www.i18next.com/misc/creating-own-plugins#logger">https://www.i18next.com/misc/creating-own-plugins#logger</a></p>
<h3>15.2.0</h3>
<p>This version may be breaking if you still use React &lt; v18 with
TypeScript.
For JS users this version is equal to v15.1.4</p>
<ul>
<li>fix: Global JSX namespace is deprecated <a
href="https://redirect.github.com/i18next/react-i18next/issues/1823">1823</a>
with <a
href="https://redirect.github.com/i18next/react-i18next/pull/1822">1822</a></li>
</ul>
<h3>15.1.4</h3>
<ul>
<li>Fix: warning each child should have a unique key <a
href="https://redirect.github.com/i18next/react-i18next/pull/1820">1820</a></li>
</ul>
<h3>15.1.3</h3>
<ul>
<li>fix: Self-closing REACT components in translation strings should not
attempt to replace the component's children <a
href="https://redirect.github.com/i18next/react-i18next/issues/1815">1815</a>
<a
href="https://redirect.github.com/i18next/react-i18next/pull/1816">1816</a></li>
</ul>
<h3>15.1.2</h3>
<ul>
<li>fix: Attempted to assign to readonly property <a
href="https://redirect.github.com/i18next/react-i18next/pull/1813">1813</a></li>
</ul>
<h3>15.1.1</h3>
<ul>
<li>fix: Not all namespaces are loaded when passing the lng option to
useTranslate <a
href="https://redirect.github.com/i18next/react-i18next/issues/1809">1809</a></li>
</ul>
<h3>15.1.0</h3>
<ul>
<li>fix: <code>&lt;Trans /&gt;</code> warns 'Each child in a list should
have a unique &quot;key&quot; prop.' for react 19 <a
href="https://redirect.github.com/i18next/react-i18next/pull/1806">1806</a></li>
</ul>
<h3>15.0.3</h3>
<ul>
<li>try to fix <a
href="https://redirect.github.com/i18next/next-i18next/issues/2302">unexpected
token issue</a></li>
</ul>
<h3>15.0.2</h3>
<ul>
<li>try to fix Trans handling with alwaysFormat set to true <a
href="https://redirect.github.com/i18next/react-i18next/issues/1801">1801</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/react-i18next/commit/330a8e72e33ead1194812a4dce7c912eed10381e"><code>330a8e7</code></a>
15.4.0</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/26ab5a3e8134efd775ee5e7d10cc77442a634ff3"><code>26ab5a3</code></a>
release</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/3cd025f034ed2b0e65e8b2516885ac3ba4a2605e"><code>3cd025f</code></a>
feat: format warning with code and data to allow conditional logging (<a
href="https://redirect.github.com/i18next/react-i18next/issues/1826">#1826</a>)</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/ff509baabd7dda6f6a22ac21ed4b92a40c7704ea"><code>ff509ba</code></a>
15.3.0</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/26616eba2fdbf2813f6514c5883dcda7c769d5ae"><code>26616eb</code></a>
use i18next logger if possible</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/9b194b1be6fa1f38dca3ef010c3ba440240a80ab"><code>9b194b1</code></a>
15.2.0</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/073feff0ea802ce672c8aee7a138c1e5ac3d57b4"><code>073feff</code></a>
release</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/eb372c4e4b0fd749b6b4a9b20e67fb4a4652ed62"><code>eb372c4</code></a>
Global JSX namespace is deprecated (<a
href="https://redirect.github.com/i18next/react-i18next/issues/1822">#1822</a>)</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/69a342cb3bb773e6ae45c700d3bb3feca021ca72"><code>69a342c</code></a>
15.1.4</li>
<li><a
href="https://github.com/i18next/react-i18next/commit/0441701a928ed44aa245540cff5a1a5c18301aba"><code>0441701</code></a>
release</li>
<li>Additional commits viewable in <a
href="https://github.com/i18next/react-i18next/compare/v15.0.1...v15.4.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-i18next&package-manager=npm_and_yarn&previous-version=15.0.1&new-version=15.4.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 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-01-21 13:31:56 +00:00
dependabot[bot] 79e547dd91 Bump @types/react-aria-modal from 4.0.10 to 5.0.0 (#1009)
Bumps
[@types/react-aria-modal](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-aria-modal)
from 4.0.10 to 5.0.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-aria-modal">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/react-aria-modal&package-manager=npm_and_yarn&previous-version=4.0.10&new-version=5.0.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 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-01-21 13:31:39 +00:00
dependabot[bot] 016cb25fad Bump @types/uuid from 9.0.8 to 10.0.0 (#1005)
Bumps
[@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid)
from 9.0.8 to 10.0.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/uuid&package-manager=npm_and_yarn&previous-version=9.0.8&new-version=10.0.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 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-01-21 13:31:13 +00:00
dependabot[bot] c5a98a6c02 Bump eslint-plugin-react from 7.34.1 to 7.37.4 (#1004)
Bumps
[eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react)
from 7.34.1 to 7.37.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jsx-eslint/eslint-plugin-react/releases">eslint-plugin-react's
releases</a>.</em></p>
<blockquote>
<h2>v7.37.4</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>no-unknown-property</code>]: support
<code>onBeforeToggle</code>, <code>popoverTarget</code>,
<code>popoverTargetAction</code> attributes (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3865">#3865</a>[]
<a href="https://github.com/acusti"><code>@​acusti</code></a>)</li>
<li>[types] fix types of flat configs (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3874">#3874</a>[]
<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
</ul>
<p><a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1000">#1000</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1000">jsx-eslint/eslint-plugin-react#1000</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1002">#1002</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1002">jsx-eslint/eslint-plugin-react#1002</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1005">#1005</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1005">jsx-eslint/eslint-plugin-react#1005</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/100">#100</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/100">jsx-eslint/eslint-plugin-react#100</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1010">#1010</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1010">jsx-eslint/eslint-plugin-react#1010</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1013">#1013</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1013">jsx-eslint/eslint-plugin-react#1013</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1022">#1022</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1022">jsx-eslint/eslint-plugin-react#1022</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1029">#1029</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1029">jsx-eslint/eslint-plugin-react#1029</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/102">#102</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/102">jsx-eslint/eslint-plugin-react#102</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1034">#1034</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1034">jsx-eslint/eslint-plugin-react#1034</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1038">#1038</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1038">jsx-eslint/eslint-plugin-react#1038</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1041">#1041</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1041">jsx-eslint/eslint-plugin-react#1041</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1043">#1043</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1043">jsx-eslint/eslint-plugin-react#1043</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1046">#1046</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1046">jsx-eslint/eslint-plugin-react#1046</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1047">#1047</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1047">jsx-eslint/eslint-plugin-react#1047</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1050">#1050</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1050">jsx-eslint/eslint-plugin-react#1050</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1053">#1053</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1053">jsx-eslint/eslint-plugin-react#1053</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1057">#1057</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1057">jsx-eslint/eslint-plugin-react#1057</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/105">#105</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/105">jsx-eslint/eslint-plugin-react#105</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1061">#1061</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1061">jsx-eslint/eslint-plugin-react#1061</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1062">#1062</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1062">jsx-eslint/eslint-plugin-react#1062</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1070">#1070</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1070">jsx-eslint/eslint-plugin-react#1070</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1071">#1071</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1071">jsx-eslint/eslint-plugin-react#1071</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1073">#1073</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1073">jsx-eslint/eslint-plugin-react#1073</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1076">#1076</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1076">jsx-eslint/eslint-plugin-react#1076</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1079">#1079</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1079">jsx-eslint/eslint-plugin-react#1079</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1088">#1088</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1088">jsx-eslint/eslint-plugin-react#1088</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1098">#1098</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1098">jsx-eslint/eslint-plugin-react#1098</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1101">#1101</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1101">jsx-eslint/eslint-plugin-react#1101</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1103">#1103</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1103">jsx-eslint/eslint-plugin-react#1103</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/110">#110</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/110">jsx-eslint/eslint-plugin-react#110</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1116">#1116</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1116">jsx-eslint/eslint-plugin-react#1116</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1117">#1117</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1117">jsx-eslint/eslint-plugin-react#1117</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1119">#1119</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1119">jsx-eslint/eslint-plugin-react#1119</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1121">#1121</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1121">jsx-eslint/eslint-plugin-react#1121</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1122">#1122</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1122">jsx-eslint/eslint-plugin-react#1122</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1123">#1123</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1123">jsx-eslint/eslint-plugin-react#1123</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1130">#1130</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1130">jsx-eslint/eslint-plugin-react#1130</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1131">#1131</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1131">jsx-eslint/eslint-plugin-react#1131</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1132">#1132</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1132">jsx-eslint/eslint-plugin-react#1132</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1134">#1134</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1134">jsx-eslint/eslint-plugin-react#1134</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1135">#1135</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1135">jsx-eslint/eslint-plugin-react#1135</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1139">#1139</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1139">jsx-eslint/eslint-plugin-react#1139</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1148">#1148</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1148">jsx-eslint/eslint-plugin-react#1148</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1149">#1149</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1149">jsx-eslint/eslint-plugin-react#1149</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.3...v7.37.4">7.37.4</a>
- 2025.01.12</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>no-unknown-property</code>]: support
<code>onBeforeToggle</code>, <code>popoverTarget</code>,
<code>popoverTargetAction</code> attributes (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3865">#3865</a>[]
<a href="https://github.com/acusti"><code>@​acusti</code></a>)</li>
<li>[types] fix types of flat configs (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3874">#3874</a>[]
<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
</ul>
<p><a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3874">#3874</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3874">jsx-eslint/eslint-plugin-react#3874</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3865">#3865</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3865">jsx-eslint/eslint-plugin-react#3865</a></p>
<h2><a
href="https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.2...v7.37.3">7.37.3</a>
- 2024.12.23</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>no-danger</code>]: avoid a crash on a nested component name
(<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3833">#3833</a>[]
<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[Fix] types: correct generated type declaration (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3840">#3840</a>[]
<a href="https://github.com/ocavue"><code>@​ocavue</code></a>)</li>
<li>[<code>no-unknown-property</code>]: support <code>precedence</code>
prop in react 19 (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3829">#3829</a>[]
<a href="https://github.com/acusti"><code>@​acusti</code></a>)</li>
<li>[<code>prop-types</code>]: props missing in validation when using
generic types from a namespace import (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3859">#3859</a>[]
<a
href="https://github.com/rbondoc96"><code>@​rbondoc96</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Tests] [<code>jsx-no-script-url</code>]: Improve tests (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3849">#3849</a>[]
<a href="https://github.com/radu2147"><code>@​radu2147</code></a>)</li>
<li>[Docs] fix broken links:
[<code>default-props-match-prop-types</code>],
[<code>jsx-boolean-value</code>],
[<code>jsx-curly-brace-presence</code>], [<code>jsx-no-bind</code>],
[<code>no-array-index-key</code>], [<code>no-is-mounted</code>],
[<code>no-render-return-value</code>],
[<code>require-default-props</code>] (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3841">#3841</a>[]
<a
href="https://github.com/bastiendmt"><code>@​bastiendmt</code></a>)</li>
</ul>
<p><a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3859">#3859</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3859">jsx-eslint/eslint-plugin-react#3859</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3849">#3849</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3849">jsx-eslint/eslint-plugin-react#3849</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3841">#3841</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3841">jsx-eslint/eslint-plugin-react#3841</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3840">#3840</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3840">jsx-eslint/eslint-plugin-react#3840</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3833">#3833</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3833">jsx-eslint/eslint-plugin-react#3833</a>
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3829">#3829</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3829">jsx-eslint/eslint-plugin-react#3829</a></p>
<h2><a
href="https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.1...v7.37.2">7.37.2</a>
- 2024.10.22</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>destructuring-assignment</code>]: fix false negative when
using <code>typeof props.a</code> (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3835">#3835</a>[]
<a href="https://github.com/golopot"><code>@​golopot</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Refactor] [<code>destructuring-assignment</code>]: use
<code>getParentStatelessComponent</code> (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3835">#3835</a>[]
<a href="https://github.com/golopot"><code>@​golopot</code></a>)</li>
</ul>
<p><a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3835">#3835</a>:
<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3835">jsx-eslint/eslint-plugin-react#3835</a></p>
<h2><a
href="https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.0...v7.37.1">7.37.1</a>
- 2024.10.01</h2>
<h3>Fixed</h3>
<ul>
<li>[meta] do not npmignore <code>d.ts</code> files (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3836">#3836</a>[]
<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[readme] Fix shared settings link (<a
href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3834">#3834</a>[]
<a
href="https://github.com/MgenGlder"><code>@​MgenGlder</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jsx-eslint/eslint-plugin-react/commit/e6b5b41191690ee166d0cca1e9db27092b910f03"><code>e6b5b41</code></a>
Update CHANGELOG and bump version</li>
<li><a
href="https://github.com/jsx-eslint/eslint-plugin-react/commit/cfd5edd4f66905ea3300d3ee96289b9fefbbfb5f"><code>cfd5edd</code></a>
[Dev Deps] update <code>@babel/eslint-parser</code></li>
<li><a
href="https://github.com/jsx-eslint/eslint-plugin-react/commit/efc021fbece010b3f4a658cd1b05753e9e2776f1"><code>efc021f</code></a>
[types] fix types of flat configs</li>
<li><a
href="https://github.com/jsx-eslint/eslint-plugin-react/commit/82a196a0b2c7c5c91e57f320428b58900cb4a8cf"><code>82a196a</code></a>
[Fix] <code>no-unknown-property</code>: support
<code>onBeforeToggle</code>, <code>popoverTarget</code>, `popo...</li>
<li><a
href="https://github.com/jsx-eslint/eslint-plugin-react/commit/5c816edc1d146767143ce894707bd7284aca400c"><code>5c816ed</code></a>
[actions] publish action: allow additional URL</li>
<li><a
href="https://github.com/jsx-eslint/eslint-plugin-react/commit/244743a7a974787f60d0afb05dd2cae8f7392064"><code>244743a</code></a>
Update CHANGELOG and bump version</li>
<li><a
href="https://github.com/jsx-eslint/eslint-plugin-react/commit/bc5b9dda28e37ee2a5dc9daa98868ba4a339839e"><code>bc5b9dd</code></a>
[actions] release workflow needs some new domains</li>
<li><a
href="https://github.com/jsx-eslint/eslint-plugin-react/commit/ed3b1cf8f398a284353e9f8d41a4ab7b1c31a543"><code>ed3b1cf</code></a>
[Tests] <code>jsx-uses-vars</code>, <code>jsx-uses-react</code>: fix
<code>no-unused-vars</code> tests in esli...</li>
<li><a
href="https://github.com/jsx-eslint/eslint-plugin-react/commit/033ad19c6afd4cc6a0777f6c174e7f2dadbd7853"><code>033ad19</code></a>
[Deps] update <code>array.prototype.flatmap</code>,
<code>es-iterator-helpers</code>, `object.value...</li>
<li><a
href="https://github.com/jsx-eslint/eslint-plugin-react/commit/b4a14f4cdbac6e6ad78f79bd3cec167416ddbc90"><code>b4a14f4</code></a>
[meta] add <code>directories.test</code></li>
<li>Additional commits viewable in <a
href="https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.1...v7.37.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react&package-manager=npm_and_yarn&previous-version=7.34.1&new-version=7.37.4)](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-01-21 13:30:51 +00:00
dependabot[bot] 9885f1c303 Bump @types/mocha from 10.0.6 to 10.0.10 (#1002)
Bumps
[@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha)
from 10.0.6 to 10.0.10.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/mocha&package-manager=npm_and_yarn&previous-version=10.0.6&new-version=10.0.10)](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-01-21 13:30:29 +00:00
dependabot[bot] 9079bf1730 Bump @types/color from 3.0.6 to 4.2.0 (#1001)
Bumps
[@types/color](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/color)
from 3.0.6 to 4.2.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/color">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/color&package-manager=npm_and_yarn&previous-version=3.0.6&new-version=4.2.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 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-01-21 13:30:14 +00:00
dependabot[bot] 0de0e52fef Bump stylelint-config-recommended-scss from 14.0.0 to 14.1.0 (#999)
Bumps
[stylelint-config-recommended-scss](https://github.com/stylelint-scss/stylelint-config-recommended-scss)
from 14.0.0 to 14.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases">stylelint-config-recommended-scss's
releases</a>.</em></p>
<blockquote>
<h2>14.1.0</h2>
<ul>
<li>Changed: replaced deprecated
<code>scss/at-import-partial-extension</code> rule with
<code>scss/load-partial-extension</code> rule.</li>
<li>Changed: updated to <a
href="https://github.com/stylelint-scss/stylelint-scss/releases/tag/v6.4.0"><code>stylelint-scss@6.4.0</code></a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/blob/master/CHANGELOG.md">stylelint-config-recommended-scss's
changelog</a>.</em></p>
<blockquote>
<h1>14.1.0</h1>
<ul>
<li>Changed: replaced deprecated
<code>scss/at-import-partial-extension</code> rule with
<code>scss/load-partial-extension</code> rule.</li>
<li>Changed: updated to <a
href="https://github.com/stylelint-scss/stylelint-scss/releases/tag/v6.4.0"><code>stylelint-scss@6.4.0</code></a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/commit/f4a40b4e302d5f795aba1059fcdf60586d8b0cfc"><code>f4a40b4</code></a>
14.1.0</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/commit/7f500132941c7a19b6447d7ae697f6b312b6d4c0"><code>7f50013</code></a>
Prepare 14.1.0</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/commit/0f817d205cb5d3b278154ea17e6fca4cf10ebc8f"><code>0f817d2</code></a>
Replace deprecated rule (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-recommended-scss/issues/305">#305</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/commit/7ba96d5d8fa808a8e107ca2073ce360d7ed1c3a0"><code>7ba96d5</code></a>
Bump stylelint-scss from 6.3.2 to 6.4.0 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-recommended-scss/issues/304">#304</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/commit/54b7810623a353521064e6865ff16a549cda4a68"><code>54b7810</code></a>
Bump <code>@​stylelint/remark-preset</code> from 5.1.0 to 5.1.1 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-recommended-scss/issues/303">#303</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/commit/4a1779fe6d55b951445c1085ae2eca3bdce0a766"><code>4a1779f</code></a>
Bump stylelint-config-recommended from 14.0.0 to 14.0.1 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-recommended-scss/issues/302">#302</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/commit/53986f63bd58d7dce7a2b63c26226eb6fb775a32"><code>53986f6</code></a>
Bump np from 10.0.5 to 10.0.6 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-recommended-scss/issues/301">#301</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/commit/ba338cfebe0a72e2adf7581ca6351f01b9c87553"><code>ba338cf</code></a>
Bump stylelint-scss from 6.3.0 to 6.3.2 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-recommended-scss/issues/300">#300</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/commit/0332105047a4cfdb593412dfbb31dc935c25c19e"><code>0332105</code></a>
Bump prettier from 3.2.5 to 3.3.2 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-recommended-scss/issues/299">#299</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/commit/e1cde4aa6728a6c8c97965c8c838bd4edb147346"><code>e1cde4a</code></a>
Bump stylelint from 16.5.0 to 16.6.1 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-recommended-scss/issues/296">#296</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/compare/v14.0.0...v14.1.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=stylelint-config-recommended-scss&package-manager=npm_and_yarn&previous-version=14.0.0&new-version=14.1.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 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-01-21 13:29:58 +00:00
Birk Skyum 3e6994084c Bump OpenLayers (#998)
Closes #996

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [ ] Add an entry to `CHANGELOG.md` under the `## main` section.
2025-01-21 15:24:15 +02:00
Birk Skyum 891bcf1777 Dependabot automerge workflow (#997)
Follow up to
- #972

Closes #971 
- #971 

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [ ] Add an entry to `CHANGELOG.md` under the `## main` section.

Co-authored-by: Harel M <harel.mazor@gmail.com>
2025-01-21 12:34:00 +00:00
dependabot[bot] 69e4888d71 Bump eslint-plugin-react-refresh from 0.4.6 to 0.4.18 (#987)
Bumps
[eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh)
from 0.4.6 to 0.4.18.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases">eslint-plugin-react-refresh's
releases</a>.</em></p>
<blockquote>
<h2>v0.4.18</h2>
<p>ESM/CJS interop is the worse that happened to this ecosystem, this is
all I have to say.</p>
<h2>v0.4.17</h2>
<ul>
<li>Fix detection of local components to not generate warning on for
variable inside JSX files that follow React component naming (fixes <a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/75">#75</a>)</li>
<li>Update types to not require extra unnecessary <code>.default</code>
property access under TS node16 module resolution (fixes <a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/70">#70</a>)</li>
</ul>
<h2>v0.4.16</h2>
<p>Fix CJS/ESM interop issue. Sorry everyone for the trouble.</p>
<h2>v0.4.15</h2>
<h3>Add support for custom HOCs (<a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/60">#60</a>)</h3>
<p>By default, the rule only knows that <code>memo</code> &amp;
<code>forwardRef</code> function calls with return a React component.
With this option, you can also allow extra function names like Mobx
observer to make this code valid:</p>
<pre lang="tsx"><code>const Foo = () =&gt; &lt;&gt;&lt;/&gt;;
export default observer(Foo);
</code></pre>
<pre lang="json"><code>{
  &quot;react-refresh/only-export-components&quot;: [
    &quot;error&quot;,
    { &quot;customHOCs&quot;: [&quot;observer&quot;] }
  ]
}
</code></pre>
<p>Thanks <a
href="https://github.com/HorusGoul"><code>@​HorusGoul</code></a>!</p>
<h3>Add recommended config and simple types (<a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/67">#67</a>)</h3>
<p>You can now add the recommended config to your ESLint config like
this:</p>
<pre lang="js"><code>import reactRefresh from
&quot;eslint-plugin-react-refresh&quot;;
<p>export default [
/* Main config */
reactRefresh.configs.recommended, // Or reactRefresh.configs.vite for
Vite users
];
</code></pre></p>
<p>To follow ESLint recommandations, the rule is added with the
<code>error</code> severity.</p>
<p>Some simple types ensure that people typecheking their config won't
need <code>@ts-expect-error</code> anymore.</p>
<h3>Bump ESLint peer dependency to 8.40</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md">eslint-plugin-react-refresh's
changelog</a>.</em></p>
<blockquote>
<h2>0.4.18</h2>
<p>ESM/CJS interop is the worth that happend to this ecosystem, this is
all I have to say.</p>
<h2>0.4.17</h2>
<ul>
<li>Fix detection of local components to not generate warning on for
variable inside JSX files that follow React component naming (fixes <a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/75">#75</a>)</li>
<li>Update types to not require extra unnecessary <code>.default</code>
property access under TS node16 module resolution (fixes <a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/70">#70</a>)</li>
</ul>
<h2>0.4.16</h2>
<p>Fix CJS/ESM interop issue. Sorry everyone for the trouble.</p>
<h2>0.4.15</h2>
<h3>Add support for custom HOCs (<a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/60">#60</a>)</h3>
<p>By default, the rule only knows that <code>memo</code> &amp;
<code>forwardRef</code> function calls with return a React component.
With this option, you can also allow extra function names like Mobx
observer to make this code valid:</p>
<pre lang="tsx"><code>const Foo = () =&gt; &lt;&gt;&lt;/&gt;;
export default observer(Foo);
</code></pre>
<pre lang="json"><code>{
  &quot;react-refresh/only-export-components&quot;: [
    &quot;error&quot;,
    { &quot;customHOCs&quot;: [&quot;observer&quot;] }
  ]
}
</code></pre>
<p>Thanks <a
href="https://github.com/HorusGoul"><code>@​HorusGoul</code></a>!</p>
<h3>Add recommended config and simple types (<a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/67">#67</a>)</h3>
<p>You can now add the recommended config to your ESLint config like
this:</p>
<pre lang="js"><code>import reactRefresh from
&quot;eslint-plugin-react-refresh&quot;;
<p>export default [
/* Main config */
reactRefresh.configs.recommended, // Or reactRefresh.configs.vite for
Vite users
];
</code></pre></p>
<p>To follow ESLint recommandations, the rule is added with the
<code>error</code> severity.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/3d6251de43d1bb85868063faa444380f39c76a84"><code>3d6251d</code></a>
Fix types [publish]</li>
<li><a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/47f25f07d9de73238fd4a96feaca87eaa1392099"><code>47f25f0</code></a>
Update types to not require extra unnecessary <code>.default</code>
property access unde...</li>
<li><a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/639e7724f472ed2ed1cd9e1955519ba6705431a9"><code>639e772</code></a>
Fix detection of local components to not generate warning on for
variable ins...</li>
<li><a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/d939cc4bd483850c791c74d99b1b4962fa7f4275"><code>d939cc4</code></a>
Fix exports [publish]</li>
<li><a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/7d1709b06591dab298ca8dce57a4f9254959b826"><code>7d1709b</code></a>
0.4.15 [publish]</li>
<li><a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/ec747c2a25106bca12002007832217916bf2f36c"><code>ec747c2</code></a>
Add configs and simple types (<a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/67">#67</a>)</li>
<li><a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/359ae21a40308ee638e4a980a489c8a80d50ed19"><code>359ae21</code></a>
Bump ESLint peer dependency (fixes <a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/56">#56</a>)</li>
<li><a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/86bddb3b9ac4c04a80a7d11e2bec33f638603169"><code>86bddb3</code></a>
Add changelog entry &amp; simplify legacy name based only check</li>
<li><a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/478e7788bd39f8b860983ca4d9275afdeb1f292f"><code>478e778</code></a>
Add basic support for custom HOCs (<a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/60">#60</a>)</li>
<li><a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/94c9d7d98cd5f855de95fdcdc1fc414c393fb31e"><code>94c9d7d</code></a>
docs: switch suggested severity from 'warn' to 'error' (<a
href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/66">#66</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.6...v0.4.18">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react-refresh&package-manager=npm_and_yarn&previous-version=0.4.6&new-version=0.4.18)](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>
Co-authored-by: Harel M <harel.mazor@gmail.com>
2025-01-21 14:24:47 +02:00
dependabot[bot] 2a3e7ea4bb Bump stylelint from 16.2.1 to 16.13.2 (#977)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.2.1 to
16.13.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint/stylelint/releases">stylelint's
releases</a>.</em></p>
<blockquote>
<h2>16.13.2</h2>
<ul>
<li>Fixed: <code>--fix</code> CLI flag raising unknown value error (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8313">#8313</a>)
(<a
href="https://github.com/ybiquitous"><code>@​ybiquitous</code></a>).</li>
</ul>
<h2>16.13.1</h2>
<ul>
<li>Fixed: <code>ignore.default is not a function</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8305">#8305</a>)
(<a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
</ul>
<h2>16.13.0</h2>
<ul>
<li>Deprecated: ambiguous position arguments passed to
<code>utils.report()</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8244">#8244</a>)
(<a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
<li>Added: <code>lax</code>/<code>strict</code> values to the
<code>fix</code> Node.js API option and CLI flag (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8106">#8106</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: support for profiling rule performance via the
<code>TIMING</code> environment variable (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8108">#8108</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: <code>at-rule-descriptor-no-unknown</code> rule (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8197">#8197</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: <code>at-rule-descriptor-value-no-unknown</code> rule (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8211">#8211</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: <code>at-rule-no-deprecated</code> rule (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8251">#8251</a>)
(<a href="https://github.com/jeddy3"><code>@​jeddy3</code></a>).</li>
<li>Added: <code>at-rule-prelude-no-invalid</code> rule (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8268">#8268</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: <code>declaration-property-value-keyword-no-deprecated</code>
rule (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8223">#8223</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Added: <code>&quot;ignore&quot;: [&quot;at-rule-preludes&quot;,
&quot;declaration-values&quot;]</code> to <code>string-no-newline</code>
(<a
href="https://redirect.github.com/stylelint/stylelint/issues/8214">#8214</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: <code>messageArgs</code> to
<code>declaration-property-value-no-unknown</code>,
<code>font-family-name-quotes</code>,
<code>font-family-no-duplicate-names</code>,
<code>function-calc-no-unspaced-operator</code>,
<code>import-notation</code>,
<code>media-feature-name-unit-allowed-list</code>,
<code>selector-attribute-quotes</code> and
<code>selector-pseudo-element-colon-notation</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8285">#8285</a>
&amp; <a
href="https://redirect.github.com/stylelint/stylelint/issues/8252">#8252</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: deprecation warnings to only display once per (custom) rule
(<a
href="https://redirect.github.com/stylelint/stylelint/issues/8265">#8265</a>)
(<a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
<li>Fixed: <code>*-no-vendor-prefix</code> message ambiguity (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8239">#8239</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>at-rule-(dis)allowed-list</code>,
<code>at-rule-no-vendor-prefix</code>,
<code>at-rule-property-required-list</code> message argument (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8277">#8277</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>at-rule-property-required-list</code> message for
inclusion of properties and descriptors (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8207">#8207</a>)
(<a href="https://github.com/jeddy3"><code>@​jeddy3</code></a>).</li>
<li>Fixed: <code>at-rule-*</code> false positives and negatives for
<code>@charset</code> rule (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8215">#8215</a>)
(<a href="https://github.com/jeddy3"><code>@​jeddy3</code></a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> false
positives for descriptors (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8240">#8240</a>)
(<a href="https://github.com/jeddy3"><code>@​jeddy3</code></a>).</li>
<li>Fixed: <code>property-(dis)allowed-list</code> false negatives for
custom properties, use <code>/^--/</code> to (dis)allow them (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8209">#8209</a>)
(<a
href="https://github.com/fbasmaison-lucca"><code>@​fbasmaison-lucca</code></a>).</li>
<li>Fixed: <code>property-no-unknown</code> false positives for
descriptors (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8203">#8203</a>)
(<a href="https://github.com/jeddy3"><code>@​jeddy3</code></a>).</li>
<li>Fixed: <code>selector-pseudo-class-no-unknown</code> false positives
for deprecated pseudo-classes (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8264">#8264</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>selector-type-case</code> false positives for
<code>hatchPath</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8264">#8264</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>selector-type-no-unknown</code> false positives for
<code>shadow</code>, <code>hatch</code> and <code>hatchpath</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8264">#8264</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
</ul>
<h2>16.12.0</h2>
<ul>
<li>Added: <code>selector-pseudo-class-allowed-list</code> now checks
<code>@page</code> pseudo-classes (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8176">#8176</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Added: <code>selector-pseudo-class-disallowed-list</code> now checks
<code>@page</code> pseudo-classes (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8171">#8171</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>at-rule-property-required-list</code> message to use
&quot;descriptor&quot; for accuracy (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8186">#8186</a>)
(<a
href="https://github.com/ybiquitous"><code>@​ybiquitous</code></a>).</li>
<li>Fixed: <code>custom-property-no-missing-var-function</code> false
positives for <code>container-name</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8157">#8157</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>custom-property-no-missing-var-function</code> false
positives for custom properties passed to <code>running()</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8172">#8172</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>function-no-unknown</code> false positives for
<code>running()</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8172">#8172</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>selector-pseudo-class-no-unknown</code> false positives
for <code>:open</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8184">#8184</a>)
(<a
href="https://github.com/lukewarlow"><code>@​lukewarlow</code></a>).</li>
<li>Fixed: <code>selector-pseudo-class-no-unknown</code> false positives
for <code>:recto</code>, <code>:verso</code> and <code>:nth()</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8170">#8170</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>selector-pseudo-class-no-unknown</code> false positives
for some <code>moz-*</code> vendor-prefixed pseudo-classes (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8188">#8188</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>selector-pseudo-element-no-unknown</code> false
positives for <code>::details-content</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8174">#8174</a>)
(<a
href="https://github.com/lukewarlow"><code>@​lukewarlow</code></a>).</li>
<li>Fixed: <code>selector-type-no-unknown</code> false positives for
idents in functional pseudo-classes (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8191">#8191</a>)
(<a href="https://github.com/elskhn"><code>@​elskhn</code></a>).</li>
<li>Fixed: <code>value-keyword-case</code> false negatives (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8158">#8158</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>value-keyword-case</code> false positives for
vendor-prefixed system colors (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8146">#8146</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
</ul>
<h2>16.11.0</h2>
<ul>
<li>Added: <code>--report-unscoped-disables</code> CLI flag and
<code>reportUnscopedDisables</code> option to Node.js API and
configuration object (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8024">#8024</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Added: <code>ignoreFunctions: []</code> to
<code>media-query-no-invalid</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8060">#8060</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: <code>name</code> configuration property under
<code>overrides</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8095">#8095</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Fixed: <code>benchmark-rule</code> script to resolve
<code>TypeError</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8090">#8090</a>)
(<a
href="https://github.com/ybiquitous"><code>@​ybiquitous</code></a>).</li>
<li>Fixed: <code>github</code> formatter deprecation warning link to
<code>https://stylelint.io/awesome-stylelint#formatters</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8115">#8115</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md">stylelint's
changelog</a>.</em></p>
<blockquote>
<h2>16.13.2 - 2025-01-14</h2>
<p>It fixes a regression bug with <code>--fix</code>.</p>
<ul>
<li>Fixed: <code>--fix</code> CLI flag raising unknown value error (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8313">#8313</a>)
(<a
href="https://github.com/ybiquitous"><code>@​ybiquitous</code></a>).</li>
</ul>
<h2>16.13.1 - 2025-01-13</h2>
<p>It fixes one bug due to an upstream change in our <code>ignore</code>
dependency.</p>
<ul>
<li>Fixed: <code>ignore.default is not a function</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8305">#8305</a>)
(<a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
</ul>
<h2>16.13.0 - 2025-01-12</h2>
<p>It adds 3 rules to help you write error-free at-rules and 2 rules to
warn you about deprecated CSS features. We've turned these rules on in
our <a
href="https://www.npmjs.com/package/stylelint-config-standard">standard
config</a>.</p>
<p>It also adds new rule options, a feature to display how long rules
take, lax autofix and support for <code>messageArgs</code> in more
rules. It fixes 7 bugs.</p>
<p>Lastly, we've made a deprecation that may affect some plugins. We've
updated our docs for <a
href="https://github.com/stylelint/stylelint/blob/main/docs/developer-guide/plugins.md#quiet-deprecation-warnings">plugin
authors</a> and <a
href="https://github.com/stylelint/stylelint/blob/main/docs/user-guide/options.md#quietdeprecationwarnings">end
users</a> on how to silence deprecation warnings.</p>
<ul>
<li>Deprecated: ambiguous position arguments passed to
<code>utils.report()</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8244">#8244</a>)
(<a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
<li>Added: <code>lax</code>/<code>strict</code> values to the
<code>fix</code> Node.js API option and CLI flag (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8106">#8106</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: support for profiling rule performance via the
<code>TIMING</code> environment variable (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8108">#8108</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: <code>at-rule-descriptor-no-unknown</code> rule (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8197">#8197</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: <code>at-rule-descriptor-value-no-unknown</code> rule (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8211">#8211</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: <code>at-rule-no-deprecated</code> rule (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8251">#8251</a>)
(<a href="https://github.com/jeddy3"><code>@​jeddy3</code></a>).</li>
<li>Added: <code>at-rule-prelude-no-invalid</code> rule (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8268">#8268</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: <code>declaration-property-value-keyword-no-deprecated</code>
rule (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8223">#8223</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Added: <code>&quot;ignore&quot;: [&quot;at-rule-preludes&quot;,
&quot;declaration-values&quot;]</code> to <code>string-no-newline</code>
(<a
href="https://redirect.github.com/stylelint/stylelint/pull/8214">#8214</a>)
(<a
href="https://github.com/ryo-manba"><code>@​ryo-manba</code></a>).</li>
<li>Added: <code>messageArgs</code> to
<code>declaration-property-value-no-unknown</code>,
<code>font-family-name-quotes</code>,
<code>font-family-no-duplicate-names</code>,
<code>function-calc-no-unspaced-operator</code>,
<code>import-notation</code>,
<code>media-feature-name-unit-allowed-list</code>,
<code>selector-attribute-quotes</code> and
<code>selector-pseudo-element-colon-notation</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8285">#8285</a>
&amp; <a
href="https://redirect.github.com/stylelint/stylelint/pull/8252">#8252</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: deprecation warnings to only display once per (custom) rule
(<a
href="https://redirect.github.com/stylelint/stylelint/pull/8265">#8265</a>)
(<a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
<li>Fixed: <code>*-no-vendor-prefix</code> message ambiguity (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8239">#8239</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>at-rule-(dis)allowed-list</code>,
<code>at-rule-no-vendor-prefix</code>,
<code>at-rule-property-required-list</code> message argument (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8277">#8277</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>at-rule-property-required-list</code> message for
inclusion of properties and descriptors (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8207">#8207</a>)
(<a href="https://github.com/jeddy3"><code>@​jeddy3</code></a>).</li>
<li>Fixed: <code>at-rule-*</code> false positives and negatives for
<code>@charset</code> rule (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8215">#8215</a>)
(<a href="https://github.com/jeddy3"><code>@​jeddy3</code></a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> false
positives for descriptors (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8240">#8240</a>)
(<a href="https://github.com/jeddy3"><code>@​jeddy3</code></a>).</li>
<li>Fixed: <code>property-(dis)allowed-list</code> false negatives for
custom properties, use <code>/^--/</code> to (dis)allow them (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8209">#8209</a>)
(<a
href="https://github.com/fbasmaison-lucca"><code>@​fbasmaison-lucca</code></a>).</li>
<li>Fixed: <code>property-no-unknown</code> false positives for
descriptors (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8203">#8203</a>)
(<a href="https://github.com/jeddy3"><code>@​jeddy3</code></a>).</li>
<li>Fixed: <code>selector-pseudo-class-no-unknown</code> false positives
for deprecated pseudo-classes (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8264">#8264</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>selector-type-case</code> false positives for
<code>hatchPath</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8264">#8264</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>selector-type-no-unknown</code> false positives for
<code>shadow</code>, <code>hatch</code> and <code>hatchpath</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8264">#8264</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
</ul>
<h2>16.12.0 - 2024-12-15</h2>
<ul>
<li>Added: <code>selector-pseudo-class-allowed-list</code> now checks
<code>@page</code> pseudo-classes (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8176">#8176</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Added: <code>selector-pseudo-class-disallowed-list</code> now checks
<code>@page</code> pseudo-classes (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8171">#8171</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>at-rule-property-required-list</code> message to use
&quot;descriptor&quot; for accuracy (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8186">#8186</a>)
(<a
href="https://github.com/ybiquitous"><code>@​ybiquitous</code></a>).</li>
<li>Fixed: <code>custom-property-no-missing-var-function</code> false
positives for <code>container-name</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8157">#8157</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>custom-property-no-missing-var-function</code> false
positives for custom properties passed to <code>running()</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8172">#8172</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
<li>Fixed: <code>function-no-unknown</code> false positives for
<code>running()</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8172">#8172</a>)
(<a
href="https://github.com/Mouvedia"><code>@​Mouvedia</code></a>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/stylelint/stylelint/commit/8887d41c70da8c2d97f01b5d73f285c4dfa5dd25"><code>8887d41</code></a>
16.13.2</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/545a26d5d547794ef8f499eb27f6547902d804ce"><code>545a26d</code></a>
Prepare 16.13.2 (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8314">#8314</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/c03f407ce0e3c322dca71c229e8ad51dd9c0d894"><code>c03f407</code></a>
Fix <code>--fix</code> CLI flag raising unknown value error (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8313">#8313</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/8a173d4ad4164aae9160b69b248de573bd2235d9"><code>8a173d4</code></a>
16.13.1</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/c0df29584694032c0d7e22248afe8d26994e313c"><code>c0df295</code></a>
Prepare 16.13.1 (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8306">#8306</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/7ea421982459f67f096b4af1392cf0087c8549a3"><code>7ea4219</code></a>
Fix <code>ignore.default is not a function</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8305">#8305</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/f5055feb3613eaf0f8a790d553112f28fa78fb3c"><code>f5055fe</code></a>
Bump typescript from 5.7.2 to 5.7.3 in the typescript group (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8299">#8299</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/5f82aa87ee4eb79d10f1028459527aa017d272cf"><code>5f82aa8</code></a>
Bump rollup from 4.30.0 to 4.30.1 (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8300">#8300</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/7aba28edb838a7fcb4fad7cd18c07f979a92f7c6"><code>7aba28e</code></a>
Bump eslint from 9.17.0 to 9.18.0 in the eslint group (<a
href="https://redirect.github.com/stylelint/stylelint/issues/8298">#8298</a>)</li>
<li><a
href="https://github.com/stylelint/stylelint/commit/81baea5b9d7d8df1df2f0f706ba9438bf9ea82ff"><code>81baea5</code></a>
16.13.0</li>
<li>Additional commits viewable in <a
href="https://github.com/stylelint/stylelint/compare/16.2.1...16.13.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=stylelint&package-manager=npm_and_yarn&previous-version=16.2.1&new-version=16.13.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>
Co-authored-by: Harel M <harel.mazor@gmail.com>
2025-01-21 14:08:53 +02:00
dependabot[bot] a97287a66e Bump i18next from 23.12.2 to 24.2.1 (#990)
Bumps [i18next](https://github.com/i18next/i18next) from 23.12.2 to
24.2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/i18next/releases">i18next's
releases</a>.</em></p>
<blockquote>
<h2>v24.2.1</h2>
<ul>
<li>Standardize null/undefined checks across codebase <a
href="https://redirect.github.com/i18next/i18next/pull/2275">2275</a></li>
<li>fix(typescript): make TFunction augmentable again <a
href="https://redirect.github.com/i18next/i18next/pull/2279">2279</a>,
fixes <a
href="https://redirect.github.com/i18next/i18next/issues/2278">2278</a></li>
</ul>
<h2>v24.2.0</h2>
<ul>
<li>feat(typescript): Add strictKeyChecks option to enforce checking key
existence when defaultValue is used <a
href="https://redirect.github.com/i18next/i18next/pull/2274">2274</a>,
fixes <a
href="https://redirect.github.com/i18next/i18next/issues/2043">2043</a></li>
</ul>
<h2>v24.1.2</h2>
<ul>
<li>optimize fix: Bug Report: Unsafe Behavior in i18n.t Function Leading
to Potential Code Execution <a
href="https://redirect.github.com/i18next/i18next/issues/2273">2273</a></li>
</ul>
<h2>v24.1.1</h2>
<ul>
<li>fix: Bug Report: Unsafe Behavior in i18n.t Function Leading to
Potential Code Execution <a
href="https://redirect.github.com/i18next/i18next/issues/2273">2273</a></li>
</ul>
<h2>v24.1.0</h2>
<ul>
<li>try to address <a
href="https://redirect.github.com/i18next/i18next/issues/2270">2270</a>
by cloning the store data <a
href="https://redirect.github.com/i18next/i18next/pull/2271">2271</a></li>
</ul>
<h2>v24.0.5</h2>
<ul>
<li>remove extra log for <a
href="https://redirect.github.com/i18next/i18next/pull/2268">2268</a></li>
</ul>
<h2>v24.0.4</h2>
<ul>
<li>simplify fix: incorrect locale detected <a
href="https://redirect.github.com/i18next/i18next/pull/2268">2268</a></li>
</ul>
<h2>v24.0.3</h2>
<ul>
<li>fix: incorrect locale detected <a
href="https://redirect.github.com/i18next/i18next/pull/2268">2268</a></li>
<li>fix: Intl.getCanonicalLocales throws with custom regions <a
href="https://redirect.github.com/i18next/i18next/issues/2267">2267</a></li>
</ul>
<h2>v24.0.2</h2>
<ul>
<li>if no Intl api, log error and use dummy rule</li>
</ul>
<h2>v24.0.1</h2>
<ul>
<li>early return and log error, if no Intl api</li>
</ul>
<h2>v24.0.0</h2>
<p><strong>This is a major breaking release:</strong></p>
<ul>
<li>remove support for older environments</li>
<li>remove old i18next JSON formats
<ul>
<li>To convert your existing v3 translations to the v4 format, have a
look at <a
href="https://github.com/i18next/i18next-v4-format-converter">i18next-v4-format-converter</a>
or this <a
href="https://i18next.github.io/i18next-v4-format-converter-web/">web
tool</a>.</li>
</ul>
</li>
<li>remove support for compatibility to v1 API</li>
<li>Intl API is mandatory now and will not fallback anymore</li>
<li>possible compatibility layer for older formats:
<code>test/compatibility/v4/v4Compatibility.js</code></li>
<li>rename <code>initImmediate</code> to <code>initAsync</code></li>
<li>fallback to <code>dev</code> language if plural rule not found</li>
<li>remove TypeScript v4 support. TypeScript v5 is now an optional peer
dependency</li>
<li>addresses
<ul>
<li><a
href="https://redirect.github.com/i18next/i18next/pull/2244">2244</a></li>
<li><a
href="https://redirect.github.com/i18next/i18next/pull/2184">2184</a></li>
<li><a
href="https://redirect.github.com/i18next/i18next/issues/2213">2213</a></li>
<li><a
href="https://redirect.github.com/i18next/i18next/pull/2206">2206</a></li>
<li><a
href="https://redirect.github.com/i18next/i18next/issues/2208">2208</a></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/i18next/blob/master/CHANGELOG.md">i18next's
changelog</a>.</em></p>
<blockquote>
<h2>24.2.1</h2>
<ul>
<li>Standardize null/undefined checks across codebase <a
href="https://redirect.github.com/i18next/i18next/pull/2275">2275</a></li>
<li>fix(typescript): make TFunction augmentable again <a
href="https://redirect.github.com/i18next/i18next/pull/2279">2279</a>,
fixes <a
href="https://redirect.github.com/i18next/i18next/issues/2278">2278</a></li>
</ul>
<h2>24.2.0</h2>
<ul>
<li>feat(typescript): Add strictKeyChecks option to enforce checking key
existence when defaultValue is used <a
href="https://redirect.github.com/i18next/i18next/pull/2274">2274</a>,
fixes <a
href="https://redirect.github.com/i18next/i18next/issues/2043">2043</a></li>
</ul>
<h2>24.1.2</h2>
<ul>
<li>optimize fix: Bug Report: Unsafe Behavior in i18n.t Function Leading
to Potential Code Execution <a
href="https://redirect.github.com/i18next/i18next/issues/2273">2273</a></li>
</ul>
<h2>24.1.1</h2>
<ul>
<li>fix: Bug Report: Unsafe Behavior in i18n.t Function Leading to
Potential Code Execution <a
href="https://redirect.github.com/i18next/i18next/issues/2273">2273</a></li>
</ul>
<h2>24.1.0</h2>
<ul>
<li>try to address <a
href="https://redirect.github.com/i18next/i18next/issues/2270">2270</a>
by cloning the store data <a
href="https://redirect.github.com/i18next/i18next/pull/2271">2271</a></li>
</ul>
<h2>24.0.5</h2>
<ul>
<li>remove extra log for <a
href="https://redirect.github.com/i18next/i18next/pull/2268">2268</a></li>
</ul>
<h2>24.0.4</h2>
<ul>
<li>simplify fix: incorrect locale detected <a
href="https://redirect.github.com/i18next/i18next/pull/2268">2268</a></li>
</ul>
<h2>24.0.3</h2>
<ul>
<li>fix: incorrect locale detected <a
href="https://redirect.github.com/i18next/i18next/pull/2268">2268</a></li>
<li>fix: Intl.getCanonicalLocales throws with custom regions <a
href="https://redirect.github.com/i18next/i18next/issues/2267">2267</a></li>
</ul>
<h2>24.0.2</h2>
<ul>
<li>if no Intl api, log error and use dummy rule</li>
</ul>
<h2>24.0.1</h2>
<ul>
<li>early return and log error, if no Intl api</li>
</ul>
<h2>24.0.0</h2>
<p><strong>This is a major breaking release:</strong></p>
<ul>
<li>remove support for older environments</li>
<li>remove old i18next JSON formats
<ul>
<li>To convert your existing v3 translations to the v4 format, have a
look at <a
href="https://github.com/i18next/i18next-v4-format-converter">i18next-v4-format-converter</a>
or this <a
href="https://i18next.github.io/i18next-v4-format-converter-web/">web
tool</a>.</li>
</ul>
</li>
<li>remove support for compatibility to v1 API</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/i18next/commit/7e0b526b94a309bc26b0eb14b02ac75003b56ed1"><code>7e0b526</code></a>
24.2.1</li>
<li><a
href="https://github.com/i18next/i18next/commit/73940ccfb4bc7a42c076535a9b2b8c3e3a919c03"><code>73940cc</code></a>
release</li>
<li><a
href="https://github.com/i18next/i18next/commit/009c4577ce8f4edec0f1e574ce269b4d60419dac"><code>009c457</code></a>
fix: make TFunction type augmentable (<a
href="https://redirect.github.com/i18next/i18next/issues/2279">#2279</a>)</li>
<li><a
href="https://github.com/i18next/i18next/commit/dd783784342d88380f245d6ce4c8cd18e154bd8a"><code>dd78378</code></a>
update ts example</li>
<li><a
href="https://github.com/i18next/i18next/commit/e2797d58b5ad71f142f04431685e0f9147dd86a3"><code>e2797d5</code></a>
prpare changelog</li>
<li><a
href="https://github.com/i18next/i18next/commit/6e6d899093c66c20c7871535b772d85246c44da7"><code>6e6d899</code></a>
Standardize null/undefined checks across codebase (<a
href="https://redirect.github.com/i18next/i18next/issues/2275">#2275</a>)</li>
<li><a
href="https://github.com/i18next/i18next/commit/c55cbe8145658b4971ccb1f8adbbae3eb75f18d2"><code>c55cbe8</code></a>
24.2.0</li>
<li><a
href="https://github.com/i18next/i18next/commit/dfff2cd73c7f7a1a123568b22b2dea55fa205464"><code>dfff2cd</code></a>
added some tests for undefined or null keys</li>
<li><a
href="https://github.com/i18next/i18next/commit/62daae4fb4e3e104f2655eaa86e41f4d1fe45621"><code>62daae4</code></a>
feat(typescript): Add <code>strictKeyChecks</code> option to enforce
checking key existe...</li>
<li><a
href="https://github.com/i18next/i18next/commit/c51950ecd987c62adfb75834812948b81c9ec01b"><code>c51950e</code></a>
24.1.2</li>
<li>Additional commits viewable in <a
href="https://github.com/i18next/i18next/compare/v23.12.2...v24.2.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18next&package-manager=npm_and_yarn&previous-version=23.12.2&new-version=24.2.1)](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-01-21 14:07:58 +02:00
dependabot[bot] 9a866179b7 Bump @types/react-color from 3.0.12 to 3.0.13 (#982)
Bumps
[@types/react-color](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-color)
from 3.0.12 to 3.0.13.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-color">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/react-color&package-manager=npm_and_yarn&previous-version=3.0.12&new-version=3.0.13)](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-01-21 14:00:16 +02:00
dependabot[bot] 84e9a73d86 Bump i18next-parser from 9.0.1 to 9.1.0 (#981)
Bumps [i18next-parser](https://github.com/i18next/i18next-parser) from
9.0.1 to 9.1.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/i18next-parser/blob/master/CHANGELOG.md">i18next-parser's
changelog</a>.</em></p>
<blockquote>
<h1>9.1.0</h1>
<ul>
<li>Add support for i18next 24 <a
href="https://redirect.github.com/i18next/i18next-parser/issues/1090">#1090</a>
<a
href="https://redirect.github.com/i18next/i18next-parser/issues/1093">#1093</a></li>
<li>Add namespace information to duplicate warnings <a
href="https://redirect.github.com/i18next/i18next-parser/issues/1091">#1091</a></li>
<li>Update dependencies</li>
</ul>
<h1>9.0.2</h1>
<ul>
<li>Fix cheerio dependency <a
href="https://redirect.github.com/i18next/i18next-parser/issues/1045">#1045</a></li>
<li>Update dependencies</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/i18next-parser/commit/94ba13421428a6c07d6798c36a962d0dfbeb5e2d"><code>94ba134</code></a>
Bump to 9.1.0</li>
<li><a
href="https://github.com/i18next/i18next-parser/commit/ea3879fcd80f3d461ec9b2d17c4d99d477afc1bd"><code>ea3879f</code></a>
Update PR template</li>
<li><a
href="https://github.com/i18next/i18next-parser/commit/abf020bfd00e82a0f2f9fb5b04a6853e2c0fd75d"><code>abf020b</code></a>
Update i18next dependency</li>
<li><a
href="https://github.com/i18next/i18next-parser/commit/2f8ff7833f7eb98263bf500ace72e12e365beba1"><code>2f8ff78</code></a>
Merge pull request <a
href="https://redirect.github.com/i18next/i18next-parser/issues/1087">#1087</a>
from i18next/dependabot/npm_and_yarn/master/execa-9.5.1</li>
<li><a
href="https://github.com/i18next/i18next-parser/commit/43be6e8b277af3cd2d795a34df824e1e67d16b0f"><code>43be6e8</code></a>
Merge pull request <a
href="https://redirect.github.com/i18next/i18next-parser/issues/1072">#1072</a>
from i18next/dependabot/npm_and_yarn/master/esbuild-...</li>
<li><a
href="https://github.com/i18next/i18next-parser/commit/718f9d2371c7aed013e90d45e7eb9408ff7445bf"><code>718f9d2</code></a>
Merge pull request <a
href="https://redirect.github.com/i18next/i18next-parser/issues/1068">#1068</a>
from i18next/dependabot/npm_and_yarn/path-to-regexp-...</li>
<li><a
href="https://github.com/i18next/i18next-parser/commit/227e01da579704e0bcaea30ee5564b1749cf754f"><code>227e01d</code></a>
Merge pull request <a
href="https://redirect.github.com/i18next/i18next-parser/issues/1067">#1067</a>
from i18next/dependabot/npm_and_yarn/master/husky-9.1.6</li>
<li><a
href="https://github.com/i18next/i18next-parser/commit/a25cbed8fd22ca16ad401ac531c58ece2e6b851f"><code>a25cbed</code></a>
Merge pull request <a
href="https://redirect.github.com/i18next/i18next-parser/issues/1086">#1086</a>
from i18next/dependabot/npm_and_yarn/master/babel/pr...</li>
<li><a
href="https://github.com/i18next/i18next-parser/commit/7cbad677a544798e1c6cee09305ee83db832e98f"><code>7cbad67</code></a>
Merge pull request <a
href="https://redirect.github.com/i18next/i18next-parser/issues/1089">#1089</a>
from i18next/dependabot/github_actions/master/codeco...</li>
<li><a
href="https://github.com/i18next/i18next-parser/commit/e47955e54af04ef944ea527e757eae403612b2ea"><code>e47955e</code></a>
Merge pull request <a
href="https://redirect.github.com/i18next/i18next-parser/issues/1093">#1093</a>
from lazka/v24-support</li>
<li>Additional commits viewable in <a
href="https://github.com/i18next/i18next-parser/compare/9.0.1...9.1.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18next-parser&package-manager=npm_and_yarn&previous-version=9.0.1&new-version=9.1.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 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-01-21 13:59:56 +02:00
dependabot[bot] 1b1668cdbf Bump codecov/codecov-action from 3 to 5 (#974)
Bumps
[codecov/codecov-action](https://github.com/codecov/codecov-action) from
3 to 5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/codecov/codecov-action/releases">codecov/codecov-action's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<h2>v5 Release</h2>
<p><code>v5</code> of the Codecov GitHub Action will use the <a
href="https://github.com/codecov/wrapper">Codecov Wrapper</a> to
encapsulate the <a
href="https://github.com/codecov/codecov-cli">CLI</a>. This will help
ensure that the Action gets updates quicker.</p>
<h3>Migration Guide</h3>
<p>The <code>v5</code> release also coincides with the opt-out feature
for tokens for public repositories. In the <code>Global Upload
Token</code> section of the settings page of an organization in
codecov.io, you can set the ability for Codecov to receive a coverage
reports from any source. This will allow contributors or other members
of a repository to upload without needing access to the Codecov token.
For more details see <a
href="https://docs.codecov.com/docs/codecov-tokens#uploading-without-a-token">how
to upload without a token</a>.</p>
<blockquote>
<p>[!WARNING]<br />
<strong>The following arguments have been changed</strong></p>
<ul>
<li><code>file</code> (this has been deprecated in favor of
<code>files</code>)</li>
<li><code>plugin</code> (this has been deprecated in favor of
<code>plugins</code>)</li>
</ul>
</blockquote>
<p>The following arguments have been added:</p>
<ul>
<li><code>binary</code></li>
<li><code>gcov_args</code></li>
<li><code>gcov_executable</code></li>
<li><code>gcov_ignore</code></li>
<li><code>gcov_include</code></li>
<li><code>report_type</code></li>
<li><code>skip_validation</code></li>
<li><code>swift_project</code></li>
</ul>
<p>You can see their usage in the <code>action.yml</code> <a
href="https://github.com/codecov/codecov-action/blob/main/action.yml">file</a>.</p>
<h2>What's Changed</h2>
<ul>
<li>chore(deps): bump to eslint9+ and remove eslint-config-google by <a
href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1591">codecov/codecov-action#1591</a></li>
<li>build(deps-dev): bump <code>@​octokit/webhooks-types</code> from
7.5.1 to 7.6.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1595">codecov/codecov-action#1595</a></li>
<li>build(deps-dev): bump typescript from 5.6.2 to 5.6.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1604">codecov/codecov-action#1604</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
8.8.0 to 8.8.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1601">codecov/codecov-action#1601</a></li>
<li>build(deps): bump <code>@​actions/core</code> from 1.11.0 to 1.11.1
by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>
in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1597">codecov/codecov-action#1597</a></li>
<li>build(deps): bump github/codeql-action from 3.26.9 to 3.26.11 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1596">codecov/codecov-action#1596</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.8.0 to 8.8.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1600">codecov/codecov-action#1600</a></li>
<li>build(deps-dev): bump eslint from 9.11.1 to 9.12.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1598">codecov/codecov-action#1598</a></li>
<li>build(deps): bump github/codeql-action from 3.26.11 to 3.26.12 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1609">codecov/codecov-action#1609</a></li>
<li>build(deps): bump actions/checkout from 4.2.0 to 4.2.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1608">codecov/codecov-action#1608</a></li>
<li>build(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1607">codecov/codecov-action#1607</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
8.8.1 to 8.9.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1612">codecov/codecov-action#1612</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.8.1 to 8.9.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1611">codecov/codecov-action#1611</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.9.0 to 8.10.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1615">codecov/codecov-action#1615</a></li>
<li>build(deps-dev): bump eslint from 9.12.0 to 9.13.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1618">codecov/codecov-action#1618</a></li>
<li>build(deps): bump github/codeql-action from 3.26.12 to 3.26.13 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1617">codecov/codecov-action#1617</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
8.9.0 to 8.10.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1614">codecov/codecov-action#1614</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.10.0 to 8.11.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1620">codecov/codecov-action#1620</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
8.10.0 to 8.11.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1619">codecov/codecov-action#1619</a></li>
<li>build(deps-dev): bump <code>@​types/jest</code> from 29.5.13 to
29.5.14 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1622">codecov/codecov-action#1622</a></li>
<li>build(deps): bump actions/checkout from 4.2.1 to 4.2.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1625">codecov/codecov-action#1625</a></li>
<li>build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1624">codecov/codecov-action#1624</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.11.0 to 8.12.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1626">codecov/codecov-action#1626</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.12.1 to 8.12.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1629">codecov/codecov-action#1629</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md">codecov/codecov-action's
changelog</a>.</em></p>
<blockquote>
<h3>v5 Release</h3>
<p><code>v5</code> of the Codecov GitHub Action will use the <a
href="https://github.com/codecov/wrapper">Codecov Wrapper</a> to
encapsulate the <a
href="https://github.com/codecov/codecov-cli">CLI</a>. This will help
ensure that the Action gets updates quicker.</p>
<h3>Migration Guide</h3>
<p>The <code>v5</code> release also coincides with the opt-out feature
for tokens for public repositories. In the <code>Global Upload
Token</code> section of the settings page of an organization in
codecov.io, you can set the ability for Codecov to receive a coverage
reports from any source. This will allow contributors or other members
of a repository to upload without needing access to the Codecov token.
For more details see <a
href="https://docs.codecov.com/docs/codecov-tokens#uploading-without-a-token">how
to upload without a token</a>.</p>
<blockquote>
<p>[!WARNING]
<strong>The following arguments have been changed</strong></p>
<ul>
<li><code>file</code> (this has been deprecated in favor of
<code>files</code>)</li>
<li><code>plugin</code> (this has been deprecated in favor of
<code>plugins</code>)</li>
</ul>
</blockquote>
<p>The following arguments have been added:</p>
<ul>
<li><code>binary</code></li>
<li><code>gcov_args</code></li>
<li><code>gcov_executable</code></li>
<li><code>gcov_ignore</code></li>
<li><code>gcov_include</code></li>
<li><code>report_type</code></li>
<li><code>skip_validation</code></li>
<li><code>swift_project</code></li>
</ul>
<p>You can see their usage in the <code>action.yml</code> <a
href="https://github.com/codecov/codecov-action/blob/main/action.yml">file</a>.</p>
<h2>What's Changed</h2>
<ul>
<li>chore(deps): bump to eslint9+ and remove eslint-config-google by <a
href="https://github.com/thomasrockhu-codecov"><code>@​thomasrockhu-codecov</code></a>
in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1591">codecov/codecov-action#1591</a></li>
<li>build(deps-dev): bump <code>@​octokit/webhooks-types</code> from
7.5.1 to 7.6.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1595">codecov/codecov-action#1595</a></li>
<li>build(deps-dev): bump typescript from 5.6.2 to 5.6.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1604">codecov/codecov-action#1604</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
8.8.0 to 8.8.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1601">codecov/codecov-action#1601</a></li>
<li>build(deps): bump <code>@​actions/core</code> from 1.11.0 to 1.11.1
by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>
in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1597">codecov/codecov-action#1597</a></li>
<li>build(deps): bump github/codeql-action from 3.26.9 to 3.26.11 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1596">codecov/codecov-action#1596</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.8.0 to 8.8.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1600">codecov/codecov-action#1600</a></li>
<li>build(deps-dev): bump eslint from 9.11.1 to 9.12.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1598">codecov/codecov-action#1598</a></li>
<li>build(deps): bump github/codeql-action from 3.26.11 to 3.26.12 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1609">codecov/codecov-action#1609</a></li>
<li>build(deps): bump actions/checkout from 4.2.0 to 4.2.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1608">codecov/codecov-action#1608</a></li>
<li>build(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1607">codecov/codecov-action#1607</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
8.8.1 to 8.9.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1612">codecov/codecov-action#1612</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.8.1 to 8.9.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1611">codecov/codecov-action#1611</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.9.0 to 8.10.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1615">codecov/codecov-action#1615</a></li>
<li>build(deps-dev): bump eslint from 9.12.0 to 9.13.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1618">codecov/codecov-action#1618</a></li>
<li>build(deps): bump github/codeql-action from 3.26.12 to 3.26.13 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1617">codecov/codecov-action#1617</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
8.9.0 to 8.10.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1614">codecov/codecov-action#1614</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.10.0 to 8.11.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1620">codecov/codecov-action#1620</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
8.10.0 to 8.11.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1619">codecov/codecov-action#1619</a></li>
<li>build(deps-dev): bump <code>@​types/jest</code> from 29.5.13 to
29.5.14 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1622">codecov/codecov-action#1622</a></li>
<li>build(deps): bump actions/checkout from 4.2.1 to 4.2.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1625">codecov/codecov-action#1625</a></li>
<li>build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1624">codecov/codecov-action#1624</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.11.0 to 8.12.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1626">codecov/codecov-action#1626</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/eslint-plugin</code>
from 8.12.1 to 8.12.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1629">codecov/codecov-action#1629</a></li>
<li>build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
8.11.0 to 8.12.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/codecov/codecov-action/pull/1628">codecov/codecov-action#1628</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/codecov/codecov-action/commit/1e68e06f1dbfde0e4cefc87efeba9e4643565303"><code>1e68e06</code></a>
chore(release): 5.1.2 (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1727">#1727</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/277db52c203b15a43138893d8190f8fd3ebd9fc6"><code>277db52</code></a>
fix: update statment (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1726">#1726</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/c77245a0133aa4d2391077651dc7afff8967322d"><code>c77245a</code></a>
fix: update action script (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1725">#1725</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/9b01a3419101d2fd03eaa10f7495f7d03c6adf95"><code>9b01a34</code></a>
fix: prevent oidc on tokenless due to permissioning (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1724">#1724</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/47e0552fc48070ca786b1b2d61fc0d418c561619"><code>47e0552</code></a>
chore(release): wrapper-0.0.31 (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1723">#1723</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/34ef57048dd0d0f5b23912db0e56e083fa649c9a"><code>34ef570</code></a>
Put quotes around <code>${{ inputs.token }}</code> in
<code>action.yml</code> (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1721">#1721</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/d93fc22ce078505d16266964d0a69961a4f04724"><code>d93fc22</code></a>
build(deps): bump github/codeql-action from 3.27.6 to 3.27.9 (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1722">#1722</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/5c93f7ab87f1aa9b956609bbc4b50a6e747fe2fb"><code>5c93f7a</code></a>
Remove mistake from options table (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1718">#1718</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/2c97106b3af991d079089d9f92344f21b6415a99"><code>2c97106</code></a>
build(deps): bump github/codeql-action from 3.27.5 to 3.27.6 (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1717">#1717</a>)</li>
<li><a
href="https://github.com/codecov/codecov-action/commit/7f8b4b4bde536c465e797be725718b88c5d95e0e"><code>7f8b4b4</code></a>
chore(release): wrapper-0.0.30 (<a
href="https://redirect.github.com/codecov/codecov-action/issues/1715">#1715</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/codecov/codecov-action/compare/v3...v5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=codecov/codecov-action&package-manager=github_actions&previous-version=3&new-version=5)](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-01-21 13:59:19 +02:00
dependabot[bot] 53fbc1ffe9 Bump uuid from 9.0.1 to 11.0.5 (#980)
Bumps [uuid](https://github.com/uuidjs/uuid) from 9.0.1 to 11.0.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/uuidjs/uuid/releases">uuid's
releases</a>.</em></p>
<blockquote>
<h2>v11.0.5</h2>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v11.0.4...v11.0.5">11.0.5</a>
(2025-01-09)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>add TS unit test, pin to typescript@5.0.4 (<a
href="https://redirect.github.com/uuidjs/uuid/issues/860">#860</a>) (<a
href="https://github.com/uuidjs/uuid/commit/24ac2fd067e5bab97a5ccea3f6f365a64c01d140">24ac2fd</a>)</li>
</ul>
<h2>v11.0.4</h2>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v11.0.3...v11.0.4">11.0.4</a>
(2025-01-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>docs:</strong> insure -&gt; ensure (<a
href="https://redirect.github.com/uuidjs/uuid/issues/843">#843</a>) (<a
href="https://github.com/uuidjs/uuid/commit/d2a61e154d861e58549466e753bb9e4d5bfffb68">d2a61e1</a>)</li>
<li>exclude tests from published package (<a
href="https://redirect.github.com/uuidjs/uuid/issues/840">#840</a>) (<a
href="https://github.com/uuidjs/uuid/commit/f992ff4780937089b0134195fa22e76e2e1cb3a7">f992ff4</a>)</li>
<li>Test for invalid byte array sizes and ranges in <code>v1()</code>,
<code>v4()</code>, and <code>v7()</code> (<a
href="https://redirect.github.com/uuidjs/uuid/issues/845">#845</a>) (<a
href="https://github.com/uuidjs/uuid/commit/e0ee90051ebd13475bbcff4d371330aa4f9bd1dd">e0ee900</a>)</li>
</ul>
<h2>v11.0.3</h2>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v11.0.2...v11.0.3">11.0.3</a>
(2024-11-04)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>apply stricter typing to the v* signatures (<a
href="https://redirect.github.com/uuidjs/uuid/issues/831">#831</a>) (<a
href="https://github.com/uuidjs/uuid/commit/c2d3fed22cfd47c22c8f22f6154abb5060648ce5">c2d3fed</a>)</li>
<li>export internal uuid types (<a
href="https://redirect.github.com/uuidjs/uuid/issues/833">#833</a>) (<a
href="https://github.com/uuidjs/uuid/commit/341edf444ced63708ba336285dbec29443523939">341edf4</a>)</li>
<li>remove sourcemaps (<a
href="https://redirect.github.com/uuidjs/uuid/issues/827">#827</a>) (<a
href="https://github.com/uuidjs/uuid/commit/b93ea101af7382053032d4fb61cc85599d6c7216">b93ea10</a>)</li>
<li>revert &quot;simplify type for v3 and v5&quot; (<a
href="https://redirect.github.com/uuidjs/uuid/issues/835">#835</a>) (<a
href="https://github.com/uuidjs/uuid/commit/e2dee691e95aba854a892d2507d8cd9f009bf61d">e2dee69</a>)</li>
</ul>
<h2>v11.0.2</h2>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v11.0.1...v11.0.2">11.0.2</a>
(2024-10-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>remove wrapper.mjs (<a
href="https://github.com/uuidjs/uuid/commit/2a18871f00f6f9effa9f8afadd98278e6866112c">2a18871</a>)</li>
<li>remove wrapper.mjs (<a
href="https://redirect.github.com/uuidjs/uuid/issues/822">#822</a>) (<a
href="https://github.com/uuidjs/uuid/commit/6683ad38b048375b451eac1194960f24ba20e0ca">6683ad3</a>)</li>
</ul>
<h2>v11.0.1</h2>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v11.0.0...v11.0.1">11.0.1</a>
(2024-10-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>restore package.json#browser field (<a
href="https://redirect.github.com/uuidjs/uuid/issues/817">#817</a>) (<a
href="https://github.com/uuidjs/uuid/commit/ae8f38657bca0ee053bf29c88c006b1ea05af1b5">ae8f386</a>)</li>
</ul>
<h2>v11.0.0</h2>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v11.0.0...v11.0.0">11.0.0</a>
(2024-10-27)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md">uuid's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v11.0.4...v11.0.5">11.0.5</a>
(2025-01-09)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>add TS unit test, pin to typescript@5.0.4 (<a
href="https://redirect.github.com/uuidjs/uuid/issues/860">#860</a>) (<a
href="https://github.com/uuidjs/uuid/commit/24ac2fd067e5bab97a5ccea3f6f365a64c01d140">24ac2fd</a>)</li>
</ul>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v11.0.3...v11.0.4">11.0.4</a>
(2025-01-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>docs:</strong> insure -&gt; ensure (<a
href="https://redirect.github.com/uuidjs/uuid/issues/843">#843</a>) (<a
href="https://github.com/uuidjs/uuid/commit/d2a61e154d861e58549466e753bb9e4d5bfffb68">d2a61e1</a>)</li>
<li>exclude tests from published package (<a
href="https://redirect.github.com/uuidjs/uuid/issues/840">#840</a>) (<a
href="https://github.com/uuidjs/uuid/commit/f992ff4780937089b0134195fa22e76e2e1cb3a7">f992ff4</a>)</li>
<li>Test for invalid byte array sizes and ranges in <code>v1()</code>,
<code>v4()</code>, and <code>v7()</code> (<a
href="https://redirect.github.com/uuidjs/uuid/issues/845">#845</a>) (<a
href="https://github.com/uuidjs/uuid/commit/e0ee90051ebd13475bbcff4d371330aa4f9bd1dd">e0ee900</a>)</li>
</ul>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v11.0.2...v11.0.3">11.0.3</a>
(2024-11-04)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>apply stricter typing to the v* signatures (<a
href="https://redirect.github.com/uuidjs/uuid/issues/831">#831</a>) (<a
href="https://github.com/uuidjs/uuid/commit/c2d3fed22cfd47c22c8f22f6154abb5060648ce5">c2d3fed</a>)</li>
<li>export internal uuid types (<a
href="https://redirect.github.com/uuidjs/uuid/issues/833">#833</a>) (<a
href="https://github.com/uuidjs/uuid/commit/341edf444ced63708ba336285dbec29443523939">341edf4</a>)</li>
<li>remove sourcemaps (<a
href="https://redirect.github.com/uuidjs/uuid/issues/827">#827</a>) (<a
href="https://github.com/uuidjs/uuid/commit/b93ea101af7382053032d4fb61cc85599d6c7216">b93ea10</a>)</li>
<li>revert &quot;simplify type for v3 and v5&quot; (<a
href="https://redirect.github.com/uuidjs/uuid/issues/835">#835</a>) (<a
href="https://github.com/uuidjs/uuid/commit/e2dee691e95aba854a892d2507d8cd9f009bf61d">e2dee69</a>)</li>
</ul>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v11.0.1...v11.0.2">11.0.2</a>
(2024-10-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>remove wrapper.mjs (<a
href="https://redirect.github.com/uuidjs/uuid/issues/822">#822</a>) (<a
href="https://github.com/uuidjs/uuid/commit/6683ad38b048375b451eac1194960f24ba20e0ca">6683ad3</a>)</li>
</ul>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v11.0.0...v11.0.1">11.0.1</a>
(2024-10-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>restore package.json#browser field (<a
href="https://redirect.github.com/uuidjs/uuid/issues/817">#817</a>) (<a
href="https://github.com/uuidjs/uuid/commit/ae8f38657bca0ee053bf29c88c006b1ea05af1b5">ae8f386</a>)</li>
</ul>
<h2><a
href="https://github.com/uuidjs/uuid/compare/v9.0.0...v11.0.0">11.0.0</a>
(2024-10-26)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li>refactor v1 internal state and options logic (<a
href="https://redirect.github.com/uuidjs/uuid/issues/780">#780</a>)</li>
<li>refactor v7 internal state and options logic, fixes <a
href="https://redirect.github.com/uuidjs/uuid/issues/764">#764</a> (<a
href="https://redirect.github.com/uuidjs/uuid/issues/779">#779</a>)</li>
<li>Port to TypeScript, closes <a
href="https://redirect.github.com/uuidjs/uuid/issues/762">#762</a> (<a
href="https://redirect.github.com/uuidjs/uuid/issues/763">#763</a>)</li>
<li>update node support matrix (only support node 16-20) (<a
href="https://redirect.github.com/uuidjs/uuid/issues/750">#750</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>Port to TypeScript, closes <a
href="https://redirect.github.com/uuidjs/uuid/issues/762">#762</a> (<a
href="https://redirect.github.com/uuidjs/uuid/issues/763">#763</a>) (<a
href="https://github.com/uuidjs/uuid/commit/1e0f9870db864ca93f7a69db0d468b5e1b7605e7">1e0f987</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/uuidjs/uuid/commit/46ada3cbc4acdc907dd6924eaedcc2c53dc6095a"><code>46ada3c</code></a>
chore(main): release 11.0.5 (<a
href="https://redirect.github.com/uuidjs/uuid/issues/861">#861</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/24ac2fd067e5bab97a5ccea3f6f365a64c01d140"><code>24ac2fd</code></a>
fix: add TS unit test, pin to typescript@5.0.4 (<a
href="https://redirect.github.com/uuidjs/uuid/issues/860">#860</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/e426aaa97527a41e9a033ce70d57995c437a9e06"><code>e426aaa</code></a>
build: use <code>npm pack</code> tarball for local examples and testing
instead of .loca...</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/050cd5b9df5aa73097a1677b9e7c3482eb4367fc"><code>050cd5b</code></a>
chore(main): release 11.0.4 (<a
href="https://redirect.github.com/uuidjs/uuid/issues/842">#842</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/e0ee90051ebd13475bbcff4d371330aa4f9bd1dd"><code>e0ee900</code></a>
fix: Test for invalid byte array sizes and ranges in <code>v1()</code>,
<code>v4()</code>, and `v7(...</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/6e83b3ae8360ed03042be658645ece06a27abd69"><code>6e83b3a</code></a>
chore: update deps (<a
href="https://redirect.github.com/uuidjs/uuid/issues/848">#848</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/5f58b43aa4fabee56fb8f75756f70f407a58745c"><code>5f58b43</code></a>
docs: Ensure link to getrandomvalues-not-supported is maintained (<a
href="https://redirect.github.com/uuidjs/uuid/issues/844">#844</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/d2a61e154d861e58549466e753bb9e4d5bfffb68"><code>d2a61e1</code></a>
fix(docs): insure -&gt; ensure (<a
href="https://redirect.github.com/uuidjs/uuid/issues/843">#843</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/f992ff4780937089b0134195fa22e76e2e1cb3a7"><code>f992ff4</code></a>
fix: exclude tests from published package (<a
href="https://redirect.github.com/uuidjs/uuid/issues/840">#840</a>)</li>
<li><a
href="https://github.com/uuidjs/uuid/commit/59df7092c7507dab57e9c9e495ea277e3eedcd9f"><code>59df709</code></a>
docs: add notes on platform support (<a
href="https://redirect.github.com/uuidjs/uuid/issues/838">#838</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/uuidjs/uuid/compare/v9.0.1...v11.0.5">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~broofa">broofa</a>, a new releaser for uuid
since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=uuid&package-manager=npm_and_yarn&previous-version=9.0.1&new-version=11.0.5)](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-01-21 13:56:48 +02:00
dependabot[bot] b357e1f352 Bump stylelint-scss from 6.2.1 to 6.10.1 (#984)
Bumps [stylelint-scss](https://github.com/stylelint-scss/stylelint-scss)
from 6.2.1 to 6.10.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint-scss/stylelint-scss/releases">stylelint-scss's
releases</a>.</em></p>
<blockquote>
<h2>6.10.1</h2>
<ul>
<li>Fixed: <code>declaration-property-value-no-unknown</code> fix
trailing whitespace in value parsing (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1089">#1089</a>).</li>
<li>Fixed: <code>no-global-function-names</code> allow CSS round
function (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1097">#1097</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.10.0...v6.10.1">https://github.com/stylelint-scss/stylelint-scss/compare/v6.10.0...v6.10.1</a></p>
<h2>6.10.0</h2>
<ul>
<li>Added: <code>declaration-property-value-no-unknown</code> support
nested properties with shorthand values (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1071">#1071</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> fix
multiline values parsing (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1085">#1085</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.9.0...v6.10.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.9.0...v6.10.0</a></p>
<h2>6.9.0</h2>
<ul>
<li>Added: missing native functions (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1070">#1070</a>).</li>
<li>Fixed: unify rule messages (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1072">#1072</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.8.1...v6.9.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.8.1...v6.9.0</a></p>
<h2>6.8.1</h2>
<ul>
<li>Fixed: <code>declaration-property-value-no-unknown</code> fix false
positives for nested properties in nested declarations (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1068">#1068</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.8.0...v6.8.1">https://github.com/stylelint-scss/stylelint-scss/compare/v6.8.0...v6.8.1</a></p>
<h2>6.8.0</h2>
<ul>
<li>Added: <code>function-color-channel</code> rule (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1060">#1060</a>).</li>
<li>Added: <code>selector-no-redundant-nesting-selector</code> support
for Dart Sass deprecation (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1022">#1022</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> include
explicit namespace variables in <code>isDollarVar()</code> (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1062">#1062</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> fix false
positives for imported custom functions (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1061">#1061</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> reported
ranges and message (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8003">stylelint/stylelint#8003</a>,
<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1066">#1066</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> false
negatives/positives via <a
href="https://github.com/csstree/csstree/releases/tag/v3.0.0"><code>css-tree@3.0.0</code></a>
(<a
href="https://redirect.github.com/stylelint/stylelint/pull/7993">stylelint/stylelint#7993</a>,
<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1065">#1065</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.7.0...v6.8.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.7.0...v6.8.0</a></p>
<h2>6.7.0</h2>
<ul>
<li>Added: <code>function-no-unknown</code>: add support for Sass v1.78
<code>color.channel</code> function (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1052">#1052</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.6.0...v6.7.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.6.0...v6.7.0</a></p>
<h2>6.6.0</h2>
<ul>
<li>Added: <code>declaration-property-value-no-unknown</code>: add
support for first-class operators (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1042">#1042</a>).</li>
<li>Added: <code>declaration-property-value-no-unknown</code>: add
support SCSS variables as arguments in nested functions (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1042">#1042</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.5.1...v6.6.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.5.1...v6.6.0</a></p>
<h2>6.5.1</h2>
<ul>
<li>Fixed: <code>function-quote-no-quoted-strings-inside</code> fix
broken autofix (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1043">#1043</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.5.0...v6.5.1">https://github.com/stylelint-scss/stylelint-scss/compare/v6.5.0...v6.5.1</a></p>
<h2>6.5.0</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint-scss/stylelint-scss/blob/master/CHANGELOG.md">stylelint-scss's
changelog</a>.</em></p>
<blockquote>
<h1>6.10.1</h1>
<ul>
<li>Fixed: <code>declaration-property-value-no-unknown</code> fix
trailing whitespace in value parsing (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1089">#1089</a>).</li>
<li>Fixed: <code>no-global-function-names</code> allow CSS round
function (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1097">#1097</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.10.0...v6.10.1">https://github.com/stylelint-scss/stylelint-scss/compare/v6.10.0...v6.10.1</a></p>
<h1>6.10.0</h1>
<ul>
<li>Added: <code>declaration-property-value-no-unknown</code> support
nested properties with shorthand values (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1071">#1071</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> fix
multiline values parsing (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1085">#1085</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.9.0...v6.10.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.9.0...v6.10.0</a></p>
<h1>6.9.0</h1>
<ul>
<li>Added: missing native functions (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1070">#1070</a>).</li>
<li>Fixed: unify rule messages (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1072">#1072</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.8.1...v6.9.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.8.1...v6.9.0</a></p>
<h1>6.8.1</h1>
<ul>
<li>Fixed: <code>declaration-property-value-no-unknown</code> fix false
positives for nested properties in nested declarations (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1068">#1068</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.8.0...v6.8.1">https://github.com/stylelint-scss/stylelint-scss/compare/v6.8.0...v6.8.1</a></p>
<h1>6.8.0</h1>
<ul>
<li>Added: <code>function-color-channel</code> rule (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1060">#1060</a>).</li>
<li>Added: <code>selector-no-redundant-nesting-selector</code> support
for Dart Sass deprecation (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1022">#1022</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> include
explicit namespace variables in <code>isDollarVar()</code> (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1062">#1062</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> fix false
positives for imported custom functions (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1061">#1061</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> reported
ranges and message (<a
href="https://redirect.github.com/stylelint/stylelint/pull/8003">stylelint/stylelint#8003</a>,
<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1066">#1066</a>).</li>
<li>Fixed: <code>declaration-property-value-no-unknown</code> false
negatives/positives via <a
href="https://github.com/csstree/csstree/releases/tag/v3.0.0"><code>css-tree@3.0.0</code></a>
(<a
href="https://redirect.github.com/stylelint/stylelint/pull/7993">stylelint/stylelint#7993</a>,
<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1065">#1065</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.7.0...v6.8.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.7.0...v6.8.0</a></p>
<h1>6.7.0</h1>
<ul>
<li>Added: <code>function-no-unknown</code>: add support for Sass v1.78
<code>color.channel</code> function (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1052">#1052</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.6.0...v6.7.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.6.0...v6.7.0</a></p>
<h1>6.6.0</h1>
<ul>
<li>Added: <code>declaration-property-value-no-unknown</code>: add
support for first-class operators (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1042">#1042</a>).</li>
<li>Added: <code>declaration-property-value-no-unknown</code>: add
support SCSS variables as arguments in nested functions (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1042">#1042</a>).</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.5.1...v6.6.0">https://github.com/stylelint-scss/stylelint-scss/compare/v6.5.1...v6.6.0</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/c00f664466199be3a9ee566000f396b7ac471b68"><code>c00f664</code></a>
6.10.1</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/ac594525ecec39b8778eac39e5cd3cb3451a74c0"><code>ac59452</code></a>
Prepare version 6.10.1</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/aa6ad9418700da6d69b89c6a2e8d8d76887c18ba"><code>aa6ad94</code></a>
Update contributors list (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1111">#1111</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/8d025525a79023eaa3938c401d8adabb75ce306d"><code>8d02552</code></a>
no-global-function-names: add unit test for CSS round (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1110">#1110</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/48320301a6edbfb02c5e1d43f6050c1d77775262"><code>4832030</code></a>
Update package-lock.json</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/c4e559db9312739f41381e6c4bd15e380b2f5b4c"><code>c4e559d</code></a>
Allow CSS round() function (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1097">#1097</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/711ff012d329c7224d4753737fc77d704d3baf75"><code>711ff01</code></a>
build(deps): bump mdn-data from 2.12.2 to 2.14.0 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1108">#1108</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/0c9bbd2df7c7685525728efbc84bde4f02bed57c"><code>0c9bbd2</code></a>
build(deps-dev): bump postcss from 8.4.49 to 8.5.1 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1107">#1107</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/dd85b452a5f79110a7950e59a3d35fc2075706e7"><code>dd85b45</code></a>
build(deps-dev): bump stylelint from 16.11.0 to 16.13.2 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1106">#1106</a>)</li>
<li><a
href="https://github.com/stylelint-scss/stylelint-scss/commit/1956986ba66600cbb286452bef70a814d87392a9"><code>1956986</code></a>
build(deps-dev): bump prettier from 3.4.1 to 3.4.2 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-scss/issues/1100">#1100</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/stylelint-scss/stylelint-scss/compare/v6.2.1...v6.10.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=stylelint-scss&package-manager=npm_and_yarn&previous-version=6.2.1&new-version=6.10.1)](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-01-21 13:56:27 +02:00
dependabot[bot] c5f6d51ea1 Bump react-icons from 5.0.1 to 5.4.0 (#986)
Bumps [react-icons](https://github.com/react-icons/react-icons) from
5.0.1 to 5.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/react-icons/react-icons/releases">react-icons's
releases</a>.</em></p>
<blockquote>
<h2>v5.4.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Add closing of the icon details modal with the ESC key by <a
href="https://github.com/gabrielogregorio"><code>@​gabrielogregorio</code></a>
in <a
href="https://redirect.github.com/react-icons/react-icons/pull/900">react-icons/react-icons#900</a></li>
<li>support moduleResolution: bundler in tsconfig by <a
href="https://github.com/kamijin-fanta"><code>@​kamijin-fanta</code></a>
in <a
href="https://redirect.github.com/react-icons/react-icons/pull/970">react-icons/react-icons#970</a></li>
<li>min search length changed to 2 by <a
href="https://github.com/Kumar06Lav"><code>@​Kumar06Lav</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/967">react-icons/react-icons#967</a></li>
<li>Bump webpack from 5.89.0 to 5.94.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/975">react-icons/react-icons#975</a></li>
<li>Bump micromatch from 4.0.5 to 4.0.8 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/976">react-icons/react-icons#976</a></li>
<li>Bump axios from 1.6.8 to 1.7.7 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/977">react-icons/react-icons#977</a></li>
<li>preview: Reduce the number of results displayed in search results by
<a
href="https://github.com/kamijin-fanta"><code>@​kamijin-fanta</code></a>
in <a
href="https://redirect.github.com/react-icons/react-icons/pull/997">react-icons/react-icons#997</a></li>
<li>2024-12-03 upgrade icons by <a
href="https://github.com/kamijin-fanta"><code>@​kamijin-fanta</code></a>
in <a
href="https://redirect.github.com/react-icons/react-icons/pull/998">react-icons/react-icons#998</a></li>
<li>Bump dset from 3.1.3 to 3.1.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/979">react-icons/react-icons#979</a></li>
<li>Bump express from 4.19.2 to 4.21.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/981">react-icons/react-icons#981</a></li>
<li>Bump rollup from 2.79.1 to 2.79.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/982">react-icons/react-icons#982</a></li>
<li>Bump http-proxy-middleware from 2.0.6 to 2.0.7 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/989">react-icons/react-icons#989</a></li>
<li>Bump cross-spawn from 7.0.3 to 7.0.6 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/react-icons/react-icons/pull/994">react-icons/react-icons#994</a></li>
<li>workflow: upgrade workflows by <a
href="https://github.com/kamijin-fanta"><code>@​kamijin-fanta</code></a>
in <a
href="https://redirect.github.com/react-icons/react-icons/pull/999">react-icons/react-icons#999</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/Kumar06Lav"><code>@​Kumar06Lav</code></a> made
their first contribution in <a
href="https://redirect.github.com/react-icons/react-icons/pull/967">react-icons/react-icons#967</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/react-icons/react-icons/compare/v5.3.0...v5.4.0">https://github.com/react-icons/react-icons/compare/v5.3.0...v5.4.0</a></p>
<table>
<thead>
<tr>
<th>Icon Library</th>
<th>License</th>
<th>Version</th>
<th align="right">Count</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://circumicons.com/">Circum Icons</a></td>
<td><a
href="https://github.com/Klarr-Agency/Circum-Icons/blob/main/LICENSE">MPL-2.0
license</a></td>
<td>1.0.0</td>
<td align="right">288</td>
</tr>
<tr>
<td><a href="https://fontawesome.com/">Font Awesome 5</a></td>
<td><a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0
License</a></td>
<td>5.15.4-3-gafecf2a</td>
<td align="right">1612</td>
</tr>
<tr>
<td><a href="https://fontawesome.com/">Font Awesome 6</a></td>
<td><a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0
License</a></td>
<td>6.6.0</td>
<td align="right">2050</td>
</tr>
<tr>
<td><a href="https://ionicons.com/">Ionicons 4</a></td>
<td><a
href="https://github.com/ionic-team/ionicons/blob/master/LICENSE">MIT</a></td>
<td>4.6.3</td>
<td align="right">696</td>
</tr>
<tr>
<td><a href="https://ionicons.com/">Ionicons 5</a></td>
<td><a
href="https://github.com/ionic-team/ionicons/blob/master/LICENSE">MIT</a></td>
<td>5.5.4</td>
<td align="right">1332</td>
</tr>
<tr>
<td><a href="http://google.github.io/material-design-icons/">Material
Design icons</a></td>
<td><a
href="https://github.com/google/material-design-icons/blob/master/LICENSE">Apache
License Version 2.0</a></td>
<td>4.0.0-125-gef43291c4d</td>
<td align="right">4341</td>
</tr>
<tr>
<td><a href="http://s-ings.com/typicons/">Typicons</a></td>
<td><a href="https://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA
3.0</a></td>
<td>2.1.2</td>
<td align="right">336</td>
</tr>
<tr>
<td><a href="https://octicons.github.com/">Github Octicons
icons</a></td>
<td><a
href="https://github.com/primer/octicons/blob/master/LICENSE">MIT</a></td>
<td>18.3.0</td>
<td align="right">264</td>
</tr>
<tr>
<td><a href="https://feathericons.com/">Feather</a></td>
<td><a
href="https://github.com/feathericons/feather/blob/master/LICENSE">MIT</a></td>
<td>4.29.2</td>
<td align="right">287</td>
</tr>
<tr>
<td><a href="https://lucide.dev/">Lucide</a></td>
<td><a
href="https://github.com/lucide-icons/lucide/blob/main/LICENSE">ISC</a></td>
<td>0.462.0</td>
<td align="right">1541</td>
</tr>
<tr>
<td><a href="https://game-icons.net/">Game Icons</a></td>
<td><a href="https://creativecommons.org/licenses/by/3.0/">CC BY
3.0</a></td>
<td>12920d6565588f0512542a3cb0cdfd36a497f910</td>
<td align="right">4040</td>
</tr>
<tr>
<td><a href="https://erikflowers.github.io/weather-icons/">Weather
Icons</a></td>
<td><a href="http://scripts.sil.org/OFL">SIL OFL 1.1</a></td>
<td>2.0.12</td>
<td align="right">219</td>
</tr>
<tr>
<td><a href="https://vorillaz.github.io/devicons/">Devicons</a></td>
<td><a href="https://opensource.org/licenses/MIT">MIT</a></td>
<td>1.8.0</td>
<td align="right">192</td>
</tr>
<tr>
<td><a href="https://github.com/ant-design/ant-design-icons">Ant Design
Icons</a></td>
<td><a href="https://opensource.org/licenses/MIT">MIT</a></td>
<td>4.4.2</td>
<td align="right">831</td>
</tr>
<tr>
<td><a href="https://github.com/twbs/icons">Bootstrap Icons</a></td>
<td><a href="https://opensource.org/licenses/MIT">MIT</a></td>
<td>1.11.3</td>
<td align="right">2716</td>
</tr>
<tr>
<td><a href="https://github.com/Remix-Design/RemixIcon">Remix
Icon</a></td>
<td><a href="http://www.apache.org/licenses/">Apache License Version
2.0</a></td>
<td>4.5.0</td>
<td align="right">3020</td>
</tr>
<tr>
<td><a href="https://github.com/icons8/flat-color-icons">Flat Color
Icons</a></td>
<td><a href="https://opensource.org/licenses/MIT">MIT</a></td>
<td>1.0.2</td>
<td align="right">329</td>
</tr>
<tr>
<td><a
href="https://github.com/grommet/grommet-icons">Grommet-Icons</a></td>
<td><a href="http://www.apache.org/licenses/">Apache License Version
2.0</a></td>
<td>4.12.1</td>
<td align="right">635</td>
</tr>
<tr>
<td><a
href="https://github.com/tailwindlabs/heroicons">Heroicons</a></td>
<td><a href="https://opensource.org/licenses/MIT">MIT</a></td>
<td>1.0.6</td>
<td align="right">460</td>
</tr>
<tr>
<td><a href="https://github.com/tailwindlabs/heroicons">Heroicons
2</a></td>
<td><a href="https://opensource.org/licenses/MIT">MIT</a></td>
<td>2.2.0</td>
<td align="right">972</td>
</tr>
<tr>
<td><a href="https://simpleicons.org/">Simple Icons</a></td>
<td><a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0
Universal</a></td>
<td>13.19.0</td>
<td align="right">3275</td>
</tr>
<tr>
<td><a href="https://thesabbir.github.io/simple-line-icons/">Simple Line
Icons</a></td>
<td><a href="https://opensource.org/licenses/MIT">MIT</a></td>
<td>2.5.5</td>
<td align="right">189</td>
</tr>
<tr>
<td><a href="https://github.com/Keyamoon/IcoMoon-Free">IcoMoon
Free</a></td>
<td><a
href="https://github.com/Keyamoon/IcoMoon-Free/blob/master/License.txt">CC
BY 4.0 License</a></td>
<td>d006795ede82361e1bac1ee76f215cf1dc51e4ca</td>
<td align="right">491</td>
</tr>
<tr>
<td><a href="https://github.com/atisawd/boxicons">BoxIcons</a></td>
<td><a
href="https://github.com/atisawd/boxicons/blob/master/LICENSE">MIT</a></td>
<td>2.1.4</td>
<td align="right">1634</td>
</tr>
<tr>
<td><a href="https://github.com/astrit/css.gg">css.gg</a></td>
<td><a href="https://opensource.org/licenses/MIT">MIT</a></td>
<td>2.1.4</td>
<td align="right">704</td>
</tr>
<tr>
<td><a href="https://github.com/microsoft/vscode-codicons">VS Code
Icons</a></td>
<td><a href="https://creativecommons.org/licenses/by/4.0/">CC BY
4.0</a></td>
<td>0.0.36</td>
<td align="right">466</td>
</tr>
</tbody>
</table>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/react-icons/react-icons/commit/7b14efea784c5e83b30b87c969d35bcb8c478186"><code>7b14efe</code></a>
v5.4.0</li>
<li><a
href="https://github.com/react-icons/react-icons/commit/1e40e107f4def0bb1e4a79c5037244b64d9c91fb"><code>1e40e10</code></a>
workflow: upgrade workflows (<a
href="https://redirect.github.com/react-icons/react-icons/issues/999">#999</a>)</li>
<li><a
href="https://github.com/react-icons/react-icons/commit/9a2d9a77ca17abb9778a856dc159a380bc8746b9"><code>9a2d9a7</code></a>
Bump cross-spawn from 7.0.3 to 7.0.6 (<a
href="https://redirect.github.com/react-icons/react-icons/issues/994">#994</a>)</li>
<li><a
href="https://github.com/react-icons/react-icons/commit/585585c9f62194b4845140ba90ec6bcb04276fa9"><code>585585c</code></a>
Bump http-proxy-middleware from 2.0.6 to 2.0.7 (<a
href="https://redirect.github.com/react-icons/react-icons/issues/989">#989</a>)</li>
<li><a
href="https://github.com/react-icons/react-icons/commit/33d12d5ac7b7482a052f7b9e245952e44d9f3b5e"><code>33d12d5</code></a>
Bump rollup from 2.79.1 to 2.79.2 (<a
href="https://redirect.github.com/react-icons/react-icons/issues/982">#982</a>)</li>
<li><a
href="https://github.com/react-icons/react-icons/commit/f2070d817812cdc061ded5102d43309646abb407"><code>f2070d8</code></a>
Bump express from 4.19.2 to 4.21.0 (<a
href="https://redirect.github.com/react-icons/react-icons/issues/981">#981</a>)</li>
<li><a
href="https://github.com/react-icons/react-icons/commit/63755fbfdc649606d8fa100999eab2cd910cac16"><code>63755fb</code></a>
Bump dset from 3.1.3 to 3.1.4 (<a
href="https://redirect.github.com/react-icons/react-icons/issues/979">#979</a>)</li>
<li><a
href="https://github.com/react-icons/react-icons/commit/1fa8a8f7adfef818cbf1530047593651cf44c32e"><code>1fa8a8f</code></a>
upgrade icons (<a
href="https://redirect.github.com/react-icons/react-icons/issues/998">#998</a>)</li>
<li><a
href="https://github.com/react-icons/react-icons/commit/1393664992d5cc98a9e2bfb7b9e7bf797c3611be"><code>1393664</code></a>
preview: Reduce the number of results displayed in search results (<a
href="https://redirect.github.com/react-icons/react-icons/issues/997">#997</a>)</li>
<li><a
href="https://github.com/react-icons/react-icons/commit/9d7ecf4c89ae4031e071247c225b72aa2f0ea3a0"><code>9d7ecf4</code></a>
5.3.1-snapshot.0</li>
<li>Additional commits viewable in <a
href="https://github.com/react-icons/react-icons/compare/v5.0.1...v5.4.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-icons&package-manager=npm_and_yarn&previous-version=5.0.1&new-version=5.4.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 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-01-21 13:51:15 +02:00
dependabot[bot] 86a94b9576 Bump peaceiris/actions-gh-pages from 3 to 4 (#976)
Bumps
[peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages)
from 3 to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/peaceiris/actions-gh-pages/releases">peaceiris/actions-gh-pages's
releases</a>.</em></p>
<blockquote>
<h2>actions-github-pages v4.0.0</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v4.0.0/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.9.3</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.9.3/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.9.2</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.9.2/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.9.1</h2>
<ul>
<li>update deps</li>
</ul>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.9.1/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.9.0</h2>
<ul>
<li>deps: bump node12 to node16</li>
<li>deps: bump <code>@​actions/core</code> from 1.6.0 to 1.10.0</li>
</ul>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.9.0/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.8.0</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.8.0/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.7.3</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.7.3/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.7.2</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.7.2/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.7.1</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.7.1/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.7.0</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.7.0/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<p>Overviews:</p>
<ul>
<li>Add .nojekyll file by default for all branches (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/438">#438</a>)
(079d483), closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/438">#438</a></li>
<li>Add destination_dir option (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/403">#403</a>)
(f30118c), closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/403">#403</a>
<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/324">#324</a>
<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/390">#390</a></li>
<li>Add exclude_assets option (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/416">#416</a>)
(0f5c65e), closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/416">#416</a>
<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/163">#163</a></li>
<li>exclude_assets supports glob patterns (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/417">#417</a>)
(6f45501), closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/417">#417</a>
<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/163">#163</a></li>
</ul>
<h2>actions-github-pages v3.6.4</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.6.4/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.6.3</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.6.3/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<h2>actions-github-pages v3.6.2</h2>
<p>See <a
href="https://github.com/peaceiris/actions-gh-pages/blob/v3.6.2/CHANGELOG.md">CHANGELOG.md</a>
for more details.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md">peaceiris/actions-gh-pages's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/peaceiris/actions-gh-pages/compare/v3.9.2...v3.9.3">3.9.3</a>
(2023-03-30)</h2>
<h3>docs</h3>
<ul>
<li>fix typo, bump hugo version (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/851">#851</a>)
(<a
href="https://github.com/peaceiris/actions-gh-pages/commit/884a0224fd48faeb3bde89519e9d612d0585a679">884a022</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/851">#851</a></li>
</ul>
<h3>fix</h3>
<ul>
<li>fix error handling (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/841">#841</a>)
(<a
href="https://github.com/peaceiris/actions-gh-pages/commit/32e33dcd3ae1d0cf56ac5a88267de6cbf0359353">32e33dc</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/841">#841</a></li>
<li>update known_hosts (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/871">#871</a>)
(<a
href="https://github.com/peaceiris/actions-gh-pages/commit/31c15f03292ac100ae41a50fd3055e00d1b11a32">31c15f0</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/871">#871</a></li>
</ul>
<h2><a
href="https://github.com/peaceiris/actions-gh-pages/compare/v3.9.1...v3.9.2">3.9.2</a>
(2023-01-17)</h2>
<h3>chore</h3>
<ul>
<li>rename cicd (<a
href="https://github.com/peaceiris/actions-gh-pages/commit/32c9288f553bbcbf66869cf553c82754431faf03">32c9288</a>)</li>
<li>replace npm ci with install (<a
href="https://github.com/peaceiris/actions-gh-pages/commit/983978086a87d25a1ff678aa1ef4c2acc413784a">9839780</a>)</li>
</ul>
<h3>ci</h3>
<ul>
<li>add github-actions npm (<a
href="https://github.com/peaceiris/actions-gh-pages/commit/5e5dc6d02eeb18001e0a7af6d6fcbabd4fd9e2b7">5e5dc6d</a>)</li>
<li>enable automerge (<a
href="https://github.com/peaceiris/actions-gh-pages/commit/dd7d77895818fd15ebecf20b6bf76028d377e1b6">dd7d778</a>)</li>
<li>remove dependabot (<a
href="https://github.com/peaceiris/actions-gh-pages/commit/7af79a873e9c2b6c37690db94012342fdb90914a">7af79a8</a>)</li>
<li>remove enabledManagers (<a
href="https://github.com/peaceiris/actions-gh-pages/commit/cba22ba760f1c7e62c9ae43167ea68ca9de56506">cba22ba</a>)</li>
<li>use peaceiris/workflows/setup-node 0.19.1 (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/818">#818</a>)
(<a
href="https://github.com/peaceiris/actions-gh-pages/commit/416f539fb4263ec46f9bbee251e87cfeae9f85ff">416f539</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/818">#818</a></li>
</ul>
<h3>deps</h3>
<ul>
<li>apply npm audit fix (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/809">#809</a>)
(<a
href="https://github.com/peaceiris/actions-gh-pages/commit/e3aa46d23bbf7f669a6d92c15dda089b2edf4959">e3aa46d</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/809">#809</a></li>
</ul>
<h2><a
href="https://github.com/peaceiris/actions-gh-pages/compare/v3.9.0...v3.9.1">3.9.1</a>
(2023-01-05)</h2>
<h3>chore</h3>
<ul>
<li>change cicd label name (<a
href="https://github.com/peaceiris/actions-gh-pages/commit/180896524151a5634ff5815a72c59467fc27c874">1808965</a>)</li>
</ul>
<h3>ci</h3>
<ul>
<li>add Renovate config (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/802">#802</a>)
(<a
href="https://github.com/peaceiris/actions-gh-pages/commit/072d16c439270cd3a36c3e0977ccbe10f2b2bc55">072d16c</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/802">#802</a></li>
<li>bump actions/dependency-review-action from 2 to 3 (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/799">#799</a>)
(<a
href="https://github.com/peaceiris/actions-gh-pages/commit/e3b45f27007dc55bcdd52f01e38af6f61576ec7f">e3b45f2</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/799">#799</a></li>
<li>bump peaceiris/actions-github-app-token from 1.1.4 to 1.1.5 (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/798">#798</a>)
(<a
href="https://github.com/peaceiris/actions-gh-pages/commit/a5f971f112fd50b6dd28469f23be2618b1ea87e7">a5f971f</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/798">#798</a></li>
<li>bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0 (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/793">#793</a>)
(<a
href="https://github.com/peaceiris/actions-gh-pages/commit/9af6a68dde7720af8fd55364c2c637ca5922a879">9af6a68</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/793">#793</a></li>
<li>bump peaceiris/workflows from 0.17.1 to 0.17.2 (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/794">#794</a>)
(<a
href="https://github.com/peaceiris/actions-gh-pages/commit/087a759f907a127fdee23c8994321ff96f7d9430">087a759</a>),
closes <a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/794">#794</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/peaceiris/actions-gh-pages/commit/4f9cc6602d3f66b9c108549d475ec49e8ef4d45e"><code>4f9cc66</code></a>
chore(release): 4.0.0</li>
<li><a
href="https://github.com/peaceiris/actions-gh-pages/commit/9c75028a530dcac84f98f83ac112b3ecc5eec533"><code>9c75028</code></a>
chore(release): Add build assets</li>
<li><a
href="https://github.com/peaceiris/actions-gh-pages/commit/5049354438ced05ab8a5da89ef20fd8efff107c7"><code>5049354</code></a>
build: node 20.11.1</li>
<li><a
href="https://github.com/peaceiris/actions-gh-pages/commit/4eb285e828117bca26638192c3ed309c622e7bad"><code>4eb285e</code></a>
chore: bump node16 to node20 (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1067">#1067</a>)</li>
<li><a
href="https://github.com/peaceiris/actions-gh-pages/commit/cdc09a3baa7eac9b40de1dfa92172d75ca5bca5a"><code>cdc09a3</code></a>
chore(deps): update dependency <code>@​types/node</code> to v16.18.77
(<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1065">#1065</a>)</li>
<li><a
href="https://github.com/peaceiris/actions-gh-pages/commit/d830378ec6ffd7f902a3427b78b7941511f64de3"><code>d830378</code></a>
chore(deps): update dependency <code>@​types/node</code> to v16.18.76
(<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1063">#1063</a>)</li>
<li><a
href="https://github.com/peaceiris/actions-gh-pages/commit/80daa1d14446ef560c4b984b37ac7668a7db0ab4"><code>80daa1d</code></a>
chore(deps): update dependency <code>@​types/node</code> to v16.18.75
(<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1061">#1061</a>)</li>
<li><a
href="https://github.com/peaceiris/actions-gh-pages/commit/108285e909b33bc551c67972cdbdbee53b17a112"><code>108285e</code></a>
chore(deps): update dependency ts-jest to v29.1.2 (<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1060">#1060</a>)</li>
<li><a
href="https://github.com/peaceiris/actions-gh-pages/commit/99c95ff54e31aa8b98a1f45d98910a945931c89c"><code>99c95ff</code></a>
chore(deps): update dependency <code>@​types/node</code> to v16.18.74
(<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1058">#1058</a>)</li>
<li><a
href="https://github.com/peaceiris/actions-gh-pages/commit/1f4653792dc64b25bbf4a3490ae085a487673e55"><code>1f46537</code></a>
chore(deps): update dependency <code>@​types/node</code> to v16.18.73
(<a
href="https://redirect.github.com/peaceiris/actions-gh-pages/issues/1057">#1057</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/peaceiris/actions-gh-pages/compare/v3...v4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peaceiris/actions-gh-pages&package-manager=github_actions&previous-version=3&new-version=4)](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-01-21 13:50:46 +02:00
dependabot[bot] 117f37139e Bump @vitejs/plugin-react from 4.2.1 to 4.3.4 (#993)
Bumps
[@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react)
from 4.2.1 to 4.3.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite-plugin-react/releases"><code>@​vitejs/plugin-react</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v4.3.4</h2>
<h3>Add Vite 6 to peerDependencies range</h3>
<p>Vite 6 is highly backward compatible, not much to add!</p>
<h3>Force Babel to output spec compliant import attributes <a
href="https://redirect.github.com/vitejs/vite-plugin-react/pull/386">#386</a></h3>
<p>The default was an old spec (<code>with type:
&quot;json&quot;</code>). We now enforce spec compliant (<code>with {
type: &quot;json&quot; }</code>)</p>
<h2>v4.3.3</h2>
<h3>React Compiler runtimeModule option removed</h3>
<p>React Compiler was updated to accept a <code>target</code> option and
<code>runtimeModule</code> was removed. vite-plugin-react will still
detect <code>runtimeModule</code> for backwards compatibility.</p>
<p>When using a custom <code>runtimeModule</code> or <code>target !==
'19'</code>, the plugin will not try to pre-optimize
<code>react/compiler-runtime</code> dependency.</p>
<p>The <a
href="https://www.npmjs.com/package/react-compiler-runtime">react-compiler-runtime</a>
is now available on npm can be used instead of the local shim for people
using the compiler with React &lt; 19.</p>
<p>Here is the configuration to use the compiler with React 18 and
correct source maps in development:</p>
<pre lang="bash"><code>npm install babel-plugin-react-compiler
react-compiler-runtime @babel/plugin-transform-react-jsx-development
</code></pre>
<pre lang="ts"><code>export default defineConfig(({ command }) =&gt; {
const babelPlugins = [['babel-plugin-react-compiler', { target: '18' }]]
  if (command === 'serve') {
babelPlugins.push(['@babel/plugin-transform-react-jsx-development', {}])
  }
<p>return {
plugins: [react({ babel: { plugins: babelPlugins } })],
}
})
</code></pre></p>
<h2>v4.3.2</h2>
<p>Ignore directive sourcemap error <a
href="https://redirect.github.com/vitejs/vite-plugin-react/issues/369">#369</a></p>
<h2>v4.3.1</h2>
<h3>Fix support for React Compiler with React 18</h3>
<p>The previous version made this assumption that the compiler was only
usable with React 19, but it's possible to use it with React 18 and a
custom <code>runtimeModule</code>: <a
href="https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43">https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43</a></p>
<p>When using a custom <code>runtimeModule</code>, the plugin will not
try to pre-optimize <code>react/compiler-runtime</code> dependency.</p>
<p>Reminder: Vite expect code outside of <code>node_modules</code> to be
ESM, so you will need to update the gist with <code>import React from
'react'</code>.</p>
<h2>v4.3.0</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md"><code>@​vitejs/plugin-react</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>4.3.4 (2024-11-26)</h2>
<h3>Add Vite 6 to peerDependencies range</h3>
<p>Vite 6 is highly backward compatible, not much to add!</p>
<h3>Force Babel to output spec compliant import attributes <a
href="https://redirect.github.com/vitejs/vite-plugin-react/pull/386">#386</a></h3>
<p>The default was an old spec (<code>with type:
&quot;json&quot;</code>). We now enforce spec compliant (<code>with {
type: &quot;json&quot; }</code>)</p>
<h2>4.3.3 (2024-10-19)</h2>
<h3>React Compiler runtimeModule option removed</h3>
<p>React Compiler was updated to accept a <code>target</code> option and
<code>runtimeModule</code> was removed. vite-plugin-react will still
detect <code>runtimeModule</code> for backwards compatibility.</p>
<p>When using a custom <code>runtimeModule</code> or <code>target !==
'19'</code>, the plugin will not try to pre-optimize
<code>react/compiler-runtime</code> dependency.</p>
<p>The <a
href="https://www.npmjs.com/package/react-compiler-runtime">react-compiler-runtime</a>
is now available on npm can be used instead of the local shim for people
using the compiler with React &lt; 19.</p>
<p>Here is the configuration to use the compiler with React 18 and
correct source maps in development:</p>
<pre lang="bash"><code>npm install babel-plugin-react-compiler
react-compiler-runtime @babel/plugin-transform-react-jsx-development
</code></pre>
<pre lang="ts"><code>export default defineConfig(({ command }) =&gt; {
const babelPlugins = [['babel-plugin-react-compiler', { target: '18' }]]
  if (command === 'serve') {
babelPlugins.push(['@babel/plugin-transform-react-jsx-development', {}])
  }
<p>return {
plugins: [react({ babel: { plugins: babelPlugins } })],
}
})
</code></pre></p>
<h2>4.3.2 (2024-09-29)</h2>
<p>Ignore directive sourcemap error <a
href="https://redirect.github.com/vitejs/vite-plugin-react/issues/369">#369</a></p>
<h2>4.3.1 (2024-06-10)</h2>
<h3>Fix support for React Compiler with React 18</h3>
<p>The previous version made this assumption that the compiler was only
usable with React 19, but it's possible to use it with React 18 and a
custom <code>runtimeModule</code>: <a
href="https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43">https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43</a></p>
<p>When using a custom <code>runtimeModule</code>, the plugin will not
try to pre-optimize <code>react/compiler-runtime</code> dependency.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/2e368a65aaf8314142538c369c296e277fdfb69b"><code>2e368a6</code></a>
release: plugin-react@4.3.4</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/bde1ad6f7318814aeb1c3e98ce9f9a00bc9117aa"><code>bde1ad6</code></a>
feat: add Vite 6 to peerDependencies range (<a
href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/390">#390</a>)</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/45a727ceed4f179bc02b41a75333e05884a98123"><code>45a727c</code></a>
fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/373">#373</a>)</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/5d2b6c6701c7951316e5e0f361b46ab6dc8641b3"><code>5d2b6c6</code></a>
fix: force non-legacy import attributes babel output (<a
href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/386">#386</a>)</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/b61592a6ffb9e36c3ffb887c30baa29b6df4f53c"><code>b61592a</code></a>
release: plugin-react@4.3.3</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/e8a923f870a7f13691da51f38094983d69c7488e"><code>e8a923f</code></a>
fix: add <code>react-dom</code> in <code>optimizeOps</code> to handle
CJS script. (<a
href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/375">#375</a>)</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/7a7e339b645a422cb27d1937d27bd1e9e1f1fa17"><code>7a7e339</code></a>
feat: support new React Compiler target option (<a
href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/374">#374</a>)</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/63b2e3876dbd6fd2a775fe04df71fb18c8bc6150"><code>63b2e38</code></a>
release: plugin-react@4.3.2</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/fdf6ce49d3598fe21a128e0bcd03082f63f08496"><code>fdf6ce4</code></a>
fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/273">#273</a>)</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/4544e9790e178bcc302d994becd6aca2d4aa6181"><code>4544e97</code></a>
feat: update refresh utils for React Router 7 support (<a
href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/363">#363</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite-plugin-react/commits/v4.3.4/packages/plugin-react">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@vitejs/plugin-react&package-manager=npm_and_yarn&previous-version=4.2.1&new-version=4.3.4)](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-01-21 13:49:48 +02:00
dependabot[bot] 39aef39b72 Bump @types/react-autocomplete from 1.8.10 to 1.8.11 (#979)
Bumps
[@types/react-autocomplete](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-autocomplete)
from 1.8.10 to 1.8.11.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-autocomplete">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/react-autocomplete&package-manager=npm_and_yarn&previous-version=1.8.10&new-version=1.8.11)](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-01-21 13:49:28 +02:00
dependabot[bot] 1657aa4676 Bump @rollup/plugin-replace from 5.0.5 to 6.0.2 (#985)
Bumps
[@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace)
from 5.0.5 to 6.0.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md"><code>@​rollup/plugin-replace</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>v6.0.2</h2>
<p><em>2024-12-15</em></p>
<h3>Bugfixes</h3>
<ul>
<li>fix: add missing types for <code>objectGuards</code> option (<a
href="https://github.com/rollup/plugins/tree/HEAD/packages/replace/issues/1818">#1818</a>)</li>
</ul>
<h2>v6.0.1</h2>
<p><em>2024-09-23</em></p>
<h3>Bugfixes</h3>
<ul>
<li>fix: The <code>preventAssignment</code> option is treated as a value
to replace (<a
href="https://github.com/rollup/plugins/tree/HEAD/packages/replace/issues/1768">#1768</a>)</li>
</ul>
<h2>v6.0.0</h2>
<p><em>2024-09-23</em></p>
<h3>Breaking Changes</h3>
<ul>
<li>fix!: objectGuards doesn't take effects (<a
href="https://github.com/rollup/plugins/tree/HEAD/packages/replace/issues/1764">#1764</a>)</li>
</ul>
<h2>v5.0.7</h2>
<p><em>2024-06-05</em></p>
<h3>Bugfixes</h3>
<ul>
<li>fix: add missing sourceMap documentation (<a
href="https://github.com/rollup/plugins/tree/HEAD/packages/replace/issues/1698">#1698</a>)</li>
</ul>
<h2>v5.0.6</h2>
<p><em>2024-06-05</em></p>
<h3>Bugfixes</h3>
<ul>
<li>fix: ternary operator replacement (<a
href="https://github.com/rollup/plugins/tree/HEAD/packages/replace/issues/1712">#1712</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rollup/plugins/commit/fba0a6b2afc3e9f83857896eab5b821f37a3f31e"><code>fba0a6b</code></a>
chore(repo): remove circle ci, add validate workflow, update deps (<a
href="https://github.com/rollup/plugins/tree/HEAD/packages/replace/issues/867">#867</a>)</li>
<li><a
href="https://github.com/rollup/plugins/commit/0150c55e372262ba4b2c60783ad00a76b3726ed1"><code>0150c55</code></a>
chore(repo): Add &quot;directory&quot; to package.json repository
fields. (<a
href="https://github.com/rollup/plugins/tree/HEAD/packages/replace/issues/826">#826</a>)</li>
<li><a
href="https://github.com/rollup/plugins/commit/bed12cf8cdfa018455659cc18964717845b0ebe7"><code>bed12cf</code></a>
chore(release): replace v2.4.2</li>
<li><a
href="https://github.com/rollup/plugins/commit/8752c2f9099cdbf3a8580936b2599b57cd8da344"><code>8752c2f</code></a>
docs(replace): document the <code>values</code> option (<a
href="https://github.com/rollup/plugins/tree/HEAD/packages/replace/issues/814">#814</a>)</li>
<li><a
href="https://github.com/rollup/plugins/commit/4a11bbd4de64085b2245cf98ef3b4cd51233a76e"><code>4a11bbd</code></a>
chore(release): replace v2.4.1</li>
<li><a
href="https://github.com/rollup/plugins/commit/659ed596b256803e14b5bb8c5a2bceb609607696"><code>659ed59</code></a>
fix(replace): add missing types for new <code>preventAssignment</code>
option (<a
href="https://github.com/rollup/plugins/tree/HEAD/packages/replace/issues/813">#813</a>)</li>
<li><a
href="https://github.com/rollup/plugins/commit/fbcb8f270348f989cec975b2b1746f6a7c5fc279"><code>fbcb8f2</code></a>
chore(release): replace v2.4.0</li>
<li>See full diff in <a
href="https://github.com/rollup/plugins/commits/babel-v6.0.2/packages/replace">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@rollup/plugin-replace&package-manager=npm_and_yarn&previous-version=5.0.5&new-version=6.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-01-21 13:48:55 +02:00
dependabot[bot] b09d41e41d Bump url from 0.11.3 to 0.11.4 (#989)
Bumps [url](https://github.com/defunctzombie/node-url) from 0.11.3 to
0.11.4.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/defunctzombie/node-url/commit/455a3e2106bf254498615efc50a8dd5527be4132"><code>455a3e2</code></a>
v0.11.4</li>
<li><a
href="https://github.com/defunctzombie/node-url/commit/97ab476052e8a2efa15d503795f750543208fc25"><code>97ab476</code></a>
[meta] add missing <code>engines.node</code></li>
<li><a
href="https://github.com/defunctzombie/node-url/commit/c5e1391d8917c154b5bdeaf3b3c335513d1fd8ee"><code>c5e1391</code></a>
[Fix] use <code>punycode</code> from the package and not from the node
core module</li>
<li><a
href="https://github.com/defunctzombie/node-url/commit/57539a87a36d8dfc263d4095905f8e242af17d56"><code>57539a8</code></a>
[Deps] update <code>qs</code></li>
<li><a
href="https://github.com/defunctzombie/node-url/commit/11a50c9c3f2bc01a0060bdbbe90e3a1ac20ce72c"><code>11a50c9</code></a>
[Dev Deps] update <code>@ljharb/eslint-config</code>,
<code>acorn</code>, <code>aud</code></li>
<li><a
href="https://github.com/defunctzombie/node-url/commit/db8a439d4bbaa16f850ef43d5f8693cb6a991dc9"><code>db8a439</code></a>
[actions] improve workflows</li>
<li>See full diff in <a
href="https://github.com/defunctzombie/node-url/compare/v0.11.3...v0.11.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=url&package-manager=npm_and_yarn&previous-version=0.11.3&new-version=0.11.4)](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-01-21 13:48:20 +02:00
dependabot[bot] f17f529ede Bump mocha from 10.3.0 to 11.0.1 (#991)
Bumps [mocha](https://github.com/mochajs/mocha) from 10.3.0 to 11.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mochajs/mocha/releases">mocha's
releases</a>.</em></p>
<blockquote>
<h2>v11.0.1</h2>
<h2><a
href="https://github.com/mochajs/mocha/compare/v11.0.0...v11.0.1">11.0.1</a>
(2024-12-02)</h2>
<h3>🌟 Features</h3>
<ul>
<li>bumped glob dependency from 8 to 10 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5250">#5250</a>)
(<a
href="https://github.com/mochajs/mocha/commit/43c3157c6ef4f2d4bfecf3ad3a42479fd64187b8">43c3157</a>)</li>
</ul>
<h3>📚 Documentation</h3>
<ul>
<li>fix examples for <code>linkPartialObjects</code> methods (<a
href="https://redirect.github.com/mochajs/mocha/issues/5255">#5255</a>)
(<a
href="https://github.com/mochajs/mocha/commit/34e0e52e047a9119aeae9cb5b660a8438656a1e0">34e0e52</a>)</li>
</ul>
<h2>v11.0.0 Prerelease</h2>
<h2><a
href="https://github.com/mochajs/mocha/compare/v10.8.2...v11.0.0">11.0.0</a>
(2024-11-11)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li>adapt new engine range for Mocha 11 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5216">#5216</a>)</li>
</ul>
<h3>🌟 Features</h3>
<ul>
<li>allow calling hook methods (<a
href="https://redirect.github.com/mochajs/mocha/issues/5231">#5231</a>)
(<a
href="https://github.com/mochajs/mocha/commit/e3da641b08bed20f12df524fc64cb9579f980c1e">e3da641</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li>adapt new engine range for Mocha 11 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5216">#5216</a>)
(<a
href="https://github.com/mochajs/mocha/commit/80da25a4132ca50d3ad35087cb62c9b0f8fc946a">80da25a</a>)</li>
</ul>
<h3>📚 Documentation</h3>
<ul>
<li>downgrade example/tests chai to 4.5.0 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5245">#5245</a>)
(<a
href="https://github.com/mochajs/mocha/commit/eac87e10f49207a9b388f87d77d198583c6f889a">eac87e1</a>)</li>
</ul>
<h2>v10.8.2</h2>
<h2><a
href="https://github.com/mochajs/mocha/compare/v10.8.1...v10.8.2">10.8.2</a>
(2024-10-30)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li>support errors with circular dependencies in object values with
--parallel (<a
href="https://redirect.github.com/mochajs/mocha/issues/5212">#5212</a>)
(<a
href="https://github.com/mochajs/mocha/commit/ba0fefe10b08a689cf49edc3818026938aa3a240">ba0fefe</a>)</li>
<li>test link in html reporter (<a
href="https://redirect.github.com/mochajs/mocha/issues/5224">#5224</a>)
(<a
href="https://github.com/mochajs/mocha/commit/f054acc1f60714bbe00ad1ab270fb4977836d045">f054acc</a>)</li>
</ul>
<h3>📚 Documentation</h3>
<ul>
<li>indicate 'exports' interface does not work in browsers (<a
href="https://redirect.github.com/mochajs/mocha/issues/5181">#5181</a>)
(<a
href="https://github.com/mochajs/mocha/commit/14e640ee49718d587779a9594b18f3796c42cf2a">14e640e</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/mochajs/mocha/blob/main/CHANGELOG.md">mocha's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/mochajs/mocha/compare/v11.0.0...v11.0.1">11.0.1</a>
(2024-12-02)</h2>
<h3>🌟 Features</h3>
<ul>
<li>bumped glob dependency from 8 to 10 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5250">#5250</a>)
(<a
href="https://github.com/mochajs/mocha/commit/43c3157c6ef4f2d4bfecf3ad3a42479fd64187b8">43c3157</a>)</li>
</ul>
<h3>📚 Documentation</h3>
<ul>
<li>fix examples for <code>linkPartialObjects</code> methods (<a
href="https://redirect.github.com/mochajs/mocha/issues/5255">#5255</a>)
(<a
href="https://github.com/mochajs/mocha/commit/34e0e52e047a9119aeae9cb5b660a8438656a1e0">34e0e52</a>)</li>
</ul>
<h2><a
href="https://github.com/mochajs/mocha/compare/v10.8.2...v11.0.0">11.0.0</a>
(2024-11-11)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li>adapt new engine range for Mocha 11 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5216">#5216</a>)</li>
</ul>
<h3>🌟 Features</h3>
<ul>
<li>allow calling hook methods (<a
href="https://redirect.github.com/mochajs/mocha/issues/5231">#5231</a>)
(<a
href="https://github.com/mochajs/mocha/commit/e3da641b08bed20f12df524fc64cb9579f980c1e">e3da641</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li>adapt new engine range for Mocha 11 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5216">#5216</a>)
(<a
href="https://github.com/mochajs/mocha/commit/80da25a4132ca50d3ad35087cb62c9b0f8fc946a">80da25a</a>)</li>
</ul>
<h3>📚 Documentation</h3>
<ul>
<li>downgrade example/tests chai to 4.5.0 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5245">#5245</a>)
(<a
href="https://github.com/mochajs/mocha/commit/eac87e10f49207a9b388f87d77d198583c6f889a">eac87e1</a>)</li>
</ul>
<h2><a
href="https://github.com/mochajs/mocha/compare/v10.8.1...v10.8.2">10.8.2</a>
(2024-10-30)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li>support errors with circular dependencies in object values with
--parallel (<a
href="https://redirect.github.com/mochajs/mocha/issues/5212">#5212</a>)
(<a
href="https://github.com/mochajs/mocha/commit/ba0fefe10b08a689cf49edc3818026938aa3a240">ba0fefe</a>)</li>
<li>test link in html reporter (<a
href="https://redirect.github.com/mochajs/mocha/issues/5224">#5224</a>)
(<a
href="https://github.com/mochajs/mocha/commit/f054acc1f60714bbe00ad1ab270fb4977836d045">f054acc</a>)</li>
</ul>
<h3>📚 Documentation</h3>
<ul>
<li>indicate 'exports' interface does not work in browsers (<a
href="https://redirect.github.com/mochajs/mocha/issues/5181">#5181</a>)
(<a
href="https://github.com/mochajs/mocha/commit/14e640ee49718d587779a9594b18f3796c42cf2a">14e640e</a>)</li>
</ul>
<h3>🧹 Chores</h3>
<ul>
<li>fix docs builds by re-adding eleventy and ignoring gitignore again
(<a
href="https://redirect.github.com/mochajs/mocha/issues/5240">#5240</a>)
(<a
href="https://github.com/mochajs/mocha/commit/881e3b0ca2e24284aab2a04f63639a0aa9e0ad1b">881e3b0</a>)</li>
</ul>
<h3>🤖 Automation</h3>
<ul>
<li><strong>deps:</strong> bump the github-actions group with 1 update
(<a
href="https://redirect.github.com/mochajs/mocha/issues/5132">#5132</a>)
(<a
href="https://github.com/mochajs/mocha/commit/e536ab25b308774e3103006c044cb996a2e17c87">e536ab2</a>)</li>
</ul>
<h2><a
href="https://github.com/mochajs/mocha/compare/v10.8.0...v10.8.1">10.8.1</a>
(2024-10-29)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mochajs/mocha/commit/4c558fb83ca5d7e260961b1ebfddcd377017a608"><code>4c558fb</code></a>
chore(main): release 11.0.1 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5257">#5257</a>)</li>
<li><a
href="https://github.com/mochajs/mocha/commit/a5bd707301006a318f8fea205545d8779a1c94c5"><code>a5bd707</code></a>
Release v11.0.1</li>
<li><a
href="https://github.com/mochajs/mocha/commit/43c3157c6ef4f2d4bfecf3ad3a42479fd64187b8"><code>43c3157</code></a>
feat: bumped glob dependency from 8 to 10 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5250">#5250</a>)</li>
<li><a
href="https://github.com/mochajs/mocha/commit/34e0e52e047a9119aeae9cb5b660a8438656a1e0"><code>34e0e52</code></a>
docs: fix examples for <code>linkPartialObjects</code> methods (<a
href="https://redirect.github.com/mochajs/mocha/issues/5255">#5255</a>)</li>
<li><a
href="https://github.com/mochajs/mocha/commit/d3b2c386db74f0d448c7381097381dedb1c996f2"><code>d3b2c38</code></a>
chore(main): release 11.0.0 prerelease (<a
href="https://redirect.github.com/mochajs/mocha/issues/5241">#5241</a>)</li>
<li><a
href="https://github.com/mochajs/mocha/commit/80da25a4132ca50d3ad35087cb62c9b0f8fc946a"><code>80da25a</code></a>
fix!: adapt new engine range for Mocha 11 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5216">#5216</a>)</li>
<li><a
href="https://github.com/mochajs/mocha/commit/eac87e10f49207a9b388f87d77d198583c6f889a"><code>eac87e1</code></a>
docs: downgrade example/tests chai to 4.5.0 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5245">#5245</a>)</li>
<li><a
href="https://github.com/mochajs/mocha/commit/e3da641b08bed20f12df524fc64cb9579f980c1e"><code>e3da641</code></a>
feat: allow calling hook methods (<a
href="https://redirect.github.com/mochajs/mocha/issues/5231">#5231</a>)</li>
<li><a
href="https://github.com/mochajs/mocha/commit/05097db4f2e0118f033978b8503aec36b1867c55"><code>05097db</code></a>
chore(main): release 10.8.2 (<a
href="https://redirect.github.com/mochajs/mocha/issues/5239">#5239</a>)</li>
<li><a
href="https://github.com/mochajs/mocha/commit/14e640ee49718d587779a9594b18f3796c42cf2a"><code>14e640e</code></a>
docs: indicate 'exports' interface does not work in browsers (<a
href="https://redirect.github.com/mochajs/mocha/issues/5181">#5181</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mochajs/mocha/compare/v10.3.0...v11.0.1">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~voxpelli">voxpelli</a>, a new releaser for
mocha since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mocha&package-manager=npm_and_yarn&previous-version=10.3.0&new-version=11.0.1)](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-01-21 13:47:55 +02:00
dependabot[bot] f12af91a55 Bump i18next-browser-languagedetector from 8.0.0 to 8.0.2 (#994)
Bumps
[i18next-browser-languagedetector](https://github.com/i18next/i18next-browser-languageDetector)
from 8.0.0 to 8.0.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/i18next-browser-languageDetector/blob/master/CHANGELOG.md">i18next-browser-languagedetector's
changelog</a>.</em></p>
<blockquote>
<h3>8.0.2</h3>
<ul>
<li>fix for when passed services are null, should address <a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/296">296</a></li>
</ul>
<h3>8.0.1</h3>
<ul>
<li>some environments, throws when accessing document.cookie</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/9d765ed9fca1d11120ceab70868f3af5a3a421c5"><code>9d765ed</code></a>
8.0.2</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/0cd29a88b2529a521c39bb7e44a2d6e94da6d0be"><code>0cd29a8</code></a>
fix for when passed services are null, should address <a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/296">#296</a></li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/be02df96ea991e3c6a3a46bacdc2ae939c209220"><code>be02df9</code></a>
8.0.1</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/6c1886c210cd8d7df7827d490ddba2e890e8b77b"><code>6c1886c</code></a>
some environments, throws when accessing document.cookie</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/e6e4089b329fbca1b1e8580580559da7df5ae35b"><code>e6e4089</code></a>
Bump elliptic from 6.5.7 to 6.6.0 (<a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/295">#295</a>)</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/5131d9ac9608fdb3229470d8f4c10a0e22c9f00d"><code>5131d9a</code></a>
Bump elliptic from 6.5.4 to 6.5.7 (<a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/294">#294</a>)</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/1f74f59da434a8cd1d98f3357b8541d8bdd04b0c"><code>1f74f59</code></a>
Use arrow function and implicit return in index.js (<a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/290">#290</a>)</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/c9f0f3503762e47b0f4f7567458e1acf67cde7ce"><code>c9f0f35</code></a>
Bump braces from 3.0.2 to 3.0.3 (<a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/289">#289</a>)</li>
<li><a
href="https://github.com/i18next/i18next-browser-languageDetector/commit/e16138050e0a860908593449cd042112c52437ad"><code>e161380</code></a>
refactor: Defaults (<a
href="https://redirect.github.com/i18next/i18next-browser-languageDetector/issues/288">#288</a>)</li>
<li>See full diff in <a
href="https://github.com/i18next/i18next-browser-languageDetector/compare/v8.0.0...v8.0.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18next-browser-languagedetector&package-manager=npm_and_yarn&previous-version=8.0.0&new-version=8.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-01-21 13:47:15 +02:00
dependabot[bot] e87e122067 Bump vite from 6.0.10 to 6.0.11 (#978)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 6.0.10 to 6.0.11.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases">vite's
releases</a>.</em></p>
<blockquote>
<h2>v6.0.11</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.0.11/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->6.0.11 (2025-01-21)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: <code>preview.allowedHosts</code> with specific values was not
respected (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19246">#19246</a>)
(<a
href="https://github.com/vitejs/vite/commit/aeb3ec84a288d6be227a1284607f13428a4f14a1">aeb3ec8</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19246">#19246</a></li>
<li>fix: allow CORS from loopback addresses by default (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19249">#19249</a>)
(<a
href="https://github.com/vitejs/vite/commit/3d038997377a30022b6a6b7916e0b4b5d8b9a363">3d03899</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19249">#19249</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite/commit/a0ed4057c90a1135aa58d06305f446e232f63e2a"><code>a0ed405</code></a>
release: v6.0.11</li>
<li><a
href="https://github.com/vitejs/vite/commit/3d038997377a30022b6a6b7916e0b4b5d8b9a363"><code>3d03899</code></a>
fix: allow CORS from loopback addresses by default (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19249">#19249</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/aeb3ec84a288d6be227a1284607f13428a4f14a1"><code>aeb3ec8</code></a>
fix: <code>preview.allowedHosts</code> with specific values was not
respected (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19246">#19246</a>)</li>
<li>See full diff in <a
href="https://github.com/vitejs/vite/commits/v6.0.11/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=6.0.10&new-version=6.0.11)](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-01-21 13:46:53 +02:00
dependabot[bot] b070cea0a5 Bump peter-evans/create-pull-request from 6 to 7 (#975)
Bumps
[peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request)
from 6 to 7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/peter-evans/create-pull-request/releases">peter-evans/create-pull-request's
releases</a>.</em></p>
<blockquote>
<h2>Create Pull Request v7.0.0</h2>
<p> Now supports commit signing with bot-generated tokens! See
&quot;What's new&quot; below. ✍️🤖</p>
<h3>Behaviour changes</h3>
<ul>
<li>Action input <code>git-token</code> has been renamed
<code>branch-token</code>, to be more clear about its purpose. The
<code>branch-token</code> is the token that the action will use to
create and update the branch.</li>
<li>The action now handles requests that have been rate-limited by
GitHub. Requests hitting a primary rate limit will retry twice, for a
total of three attempts. Requests hitting a secondary rate limit will
not be retried.</li>
<li>The <code>pull-request-operation</code> output now returns
<code>none</code> when no operation was executed.</li>
<li>Removed deprecated output environment variable
<code>PULL_REQUEST_NUMBER</code>. Please use the
<code>pull-request-number</code> action output instead.</li>
</ul>
<h3>What's new</h3>
<ul>
<li>The action can now sign commits as <code>github-actions[bot]</code>
when using <code>GITHUB_TOKEN</code>, or your own bot when using <a
href="https://github.com/peter-evans/create-pull-request/blob/HEAD/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens">GitHub
App tokens</a>. See <a
href="https://github.com/peter-evans/create-pull-request/blob/HEAD/docs/concepts-guidelines.md#commit-signature-verification-for-bots">commit
signing</a> for details.</li>
<li>Action input <code>draft</code> now accepts a new value
<code>always-true</code>. This will set the pull request to draft status
when the pull request is updated, as well as on creation.</li>
<li>A new action input <code>maintainer-can-modify</code> indicates
whether <a
href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork">maintainers
can modify</a> the pull request. The default is <code>true</code>, which
retains the existing behaviour of the action.</li>
<li>A new output <code>pull-request-commits-verified</code> returns
<code>true</code> or <code>false</code>, indicating whether GitHub
considers the signature of the branch's commits to be verified.</li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.36 to
18.19.39 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3000">peter-evans/create-pull-request#3000</a></li>
<li>build(deps-dev): bump ts-jest from 29.1.5 to 29.2.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3008">peter-evans/create-pull-request#3008</a></li>
<li>build(deps-dev): bump prettier from 3.3.2 to 3.3.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3018">peter-evans/create-pull-request#3018</a></li>
<li>build(deps-dev): bump ts-jest from 29.2.0 to 29.2.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3019">peter-evans/create-pull-request#3019</a></li>
<li>build(deps-dev): bump eslint-plugin-prettier from 5.1.3 to 5.2.1 by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3035">peter-evans/create-pull-request#3035</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.39 to
18.19.41 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3037">peter-evans/create-pull-request#3037</a></li>
<li>build(deps): bump undici from 6.19.2 to 6.19.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3036">peter-evans/create-pull-request#3036</a></li>
<li>build(deps-dev): bump ts-jest from 29.2.2 to 29.2.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3038">peter-evans/create-pull-request#3038</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.41 to
18.19.42 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3070">peter-evans/create-pull-request#3070</a></li>
<li>build(deps): bump undici from 6.19.4 to 6.19.5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3086">peter-evans/create-pull-request#3086</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.42 to
18.19.43 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3087">peter-evans/create-pull-request#3087</a></li>
<li>build(deps-dev): bump ts-jest from 29.2.3 to 29.2.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3088">peter-evans/create-pull-request#3088</a></li>
<li>build(deps): bump undici from 6.19.5 to 6.19.7 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3145">peter-evans/create-pull-request#3145</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.43 to
18.19.44 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3144">peter-evans/create-pull-request#3144</a></li>
<li>Update distribution by <a
href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3154">peter-evans/create-pull-request#3154</a></li>
<li>build(deps): bump undici from 6.19.7 to 6.19.8 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3213">peter-evans/create-pull-request#3213</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.44 to
18.19.45 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3214">peter-evans/create-pull-request#3214</a></li>
<li>Update distribution by <a
href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3221">peter-evans/create-pull-request#3221</a></li>
<li>build(deps-dev): bump eslint-import-resolver-typescript from 3.6.1
to 3.6.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3255">peter-evans/create-pull-request#3255</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.45 to
18.19.46 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3254">peter-evans/create-pull-request#3254</a></li>
<li>build(deps-dev): bump ts-jest from 29.2.4 to 29.2.5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3256">peter-evans/create-pull-request#3256</a></li>
<li>v7 - signed commits by <a
href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3057">peter-evans/create-pull-request#3057</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/rustycl0ck"><code>@​rustycl0ck</code></a> made
their first contribution in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3057">peter-evans/create-pull-request#3057</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/peter-evans/create-pull-request/compare/v6.1.0...v7.0.0">https://github.com/peter-evans/create-pull-request/compare/v6.1.0...v7.0.0</a></p>
<h2>Create Pull Request v6.1.0</h2>
<p> Adds <code>pull-request-branch</code> as an action output.</p>
<h2>What's Changed</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/67ccf781d68cd99b580ae25a5c18a1cc84ffff1f"><code>67ccf78</code></a>
fix: preserve unicode in filepaths when commit signing (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3588">#3588</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/bb88e27d3f9cc69c8bc689eba126096c6fe3dded"><code>bb88e27</code></a>
build: update distribution (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3583">#3583</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/b378ed537a3374cbb7642141277ace10488f9318"><code>b378ed5</code></a>
build(deps): bump p-limit from 6.1.0 to 6.2.0 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3578">#3578</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/fa9200e5b4f0d3fe4adc6d4a980fdb27ca333ed2"><code>fa9200e</code></a>
build(deps-dev): bump <code>@​types/node</code> from 18.19.67 to
18.19.68 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3570">#3570</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/16e0059bfd236716f0191bfcfa63d9ded4cf325f"><code>16e0059</code></a>
build(deps-dev): bump prettier from 3.4.1 to 3.4.2 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3560">#3560</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/5bffd5ae80c9e3cdce3fdaba74ba437193643add"><code>5bffd5a</code></a>
build(deps-dev): bump eslint-import-resolver-typescript (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3559">#3559</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/a22a0ddc2127a4161a9f144623d1e51be98d81aa"><code>a22a0dd</code></a>
build(deps-dev): bump prettier from 3.4.0 to 3.4.1 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3544">#3544</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/b27ce378c8a71596550fb729c05c9a998f8ff26f"><code>b27ce37</code></a>
build(deps-dev): bump <code>@​types/node</code> from 18.19.66 to
18.19.67 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3543">#3543</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/4e0cc19e22f9071762b3542aa9fa90a1d682dd32"><code>4e0cc19</code></a>
build(deps): bump <code>@​octokit/plugin-paginate-rest</code> from
11.3.5 to 11.3.6 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3542">#3542</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/25b6871a4ebe4c3585f47c7a687ac6fd0ec0e32d"><code>25b6871</code></a>
docs: update scopes for push-to-fork</li>
<li>Additional commits viewable in <a
href="https://github.com/peter-evans/create-pull-request/compare/v6...v7">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-pull-request&package-manager=github_actions&previous-version=6&new-version=7)](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-01-21 13:46:15 +02:00
Birk Skyum e104bda7b6 fix dependabot.yml (#972)
Towards #971 
- #971 

The dependabot script appear broken. This copies the config from
maplibre-gl-js, which we know work.

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [ ] Add an entry to `CHANGELOG.md` under the `## main` section.
2025-01-21 11:42:11 +01:00
Birk Skyum 6af3165418 move eslint, sass, cypress packages to devDeps (#973)
I find these packages belong in devDeps not deps, because it's either
build-only or test related

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [ ] Add an entry to `CHANGELOG.md` under the `## main` section.
2025-01-21 11:22:42 +01:00
Birk Skyum b1d4b53548 Bump cypress and vite (#970)
The latest Cypress 14 support the latest Vite 6, so this PR bumps both

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [X] Add an entry to `CHANGELOG.md` under the `## main` section.
2025-01-21 10:50:57 +01:00
Birk Skyum 36d80d5e91 Bump node in CI to 22.13 (#969)
This updates the .npmrc to use Node 18.19 -> 22.13


## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [ ] Add an entry to `CHANGELOG.md` under the `## main` section.

Co-authored-by: Harel M <harel.mazor@gmail.com>
2025-01-21 09:54:19 +01:00
Birk Skyum 69124d0752 Update maplibre packages (#968)
This PR updates the maplibre-relevant package, including the bump to v5.

This notably allow styles with globe to be rendered as a globe
https://demotiles.maplibre.org/globe.json

Before
<img width="1726" alt="Screenshot 2025-01-21 at 09 17 01"
src="https://github.com/user-attachments/assets/f126f92d-6091-4273-b621-680cc092187f"
/>


After
<img width="1728" alt="Screenshot 2025-01-21 at 09 17 18"
src="https://github.com/user-attachments/assets/369621cd-46af-4acb-bd5c-7043aadcc297"
/>



## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [ ] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [X] Add an entry to `CHANGELOG.md` under the `## main` section.
2025-01-21 10:48:40 +02:00
Joscha Eckert 405b8aa951 add fallback behavior for showOpenFilePicker and showSaveFilePicker (#967)
## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [x] Briefly describe the changes in this PR.
 - [x] Link to related issues.
- [x] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.

## Description

`showOpenFilePicker` and `showSaveFilePicker` are undefined on Firefox.
With this pr, Maputnik uses the old behavior as a fallback. It keeps the
naming "open" and "save" instead of "upload" and "download" to underline
that the style stays within the browser and no actual upload happens.

@zstadler Could you give it a try, please?

## Related Issue

- fixes https://github.com/maplibre/maputnik/issues/966

## Visual Changes

The "Save as" button gets hidden if `showSaveFilePicker` is not
available since it would have no use.

<table>
<tr>
<td>
Chrome
</td>
<td>
Firefox
</td>
</tr>
<tr>
<td>
<img
src="https://github.com/user-attachments/assets/cdc2cd4d-1c09-4dec-8c94-f8b0dd0c5b8e"
/>
</td>
<td>
<img
src="https://github.com/user-attachments/assets/0763ef63-6501-4cc1-977b-94753c3008ae"
/>
</td>
</tr>
</table>
2025-01-16 23:53:27 +02:00
Joscha d50ea76347 feat: use FileSystemFileHandle to modify a file on the local filesystem (#965)
## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [x] Briefly describe the changes in this PR.
 - [x] Link to related issues.
- [x] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.

## Changes

- This pull request makes use of the FileSystemFileHandle API to modify
a local file. No need to download it - just click save.
- I don't know how to cover this functionality by tests so I need
directions in case test coverage is required.
- The pull request adds
[@types/wicg-file-system-access](https://www.npmjs.com/package/@types/wicg-file-system-access)
as a new dev dependency which I am not really pleased about but can't
think of a way around it.

## Known Limitations

- The used File API is only available in when accessed from https or on
localhost.
- There is no visual indicator that the file has been saved. Previously
the browser showed it as a new download.

## Issue

- https://github.com/maplibre/maputnik/issues/964

## Screenshots

### Menu
<img
src="https://github.com/user-attachments/assets/dfcfc5c2-0019-4857-ba26-224b5598fc11"
/>

### Open modal
<img
src="https://github.com/user-attachments/assets/4e1293e8-16b6-4b86-925b-3bebb49d8ca6"
height="200px" />

### Save modal
<img
src="https://github.com/user-attachments/assets/4f10e2c0-2dd3-4726-a613-30e0406619b0"
height="200px" />

---------

Co-authored-by: Harel M <harel.mazor@gmail.com>
2025-01-09 18:54:26 +02:00
Bart Louwers c6174a57d9 Update Protomaps Light gallery style to v4 (#960)
Changes:
https://github.com/protomaps/basemaps/blob/main/CHANGELOG.md#styles-v400--tiles-v400
2024-11-25 12:40:06 +01:00
dependabot[bot] 43892305a8 Bump cross-spawn from 7.0.3 to 7.0.6 (#958)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from
7.0.3 to 7.0.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md">cross-spawn's
changelog</a>.</em></p>
<blockquote>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.5...v7.0.6">7.0.6</a>
(2024-11-18)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>update cross-spawn version to 7.0.5 in package-lock.json (<a
href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176">f700743</a>)</li>
</ul>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.4...v7.0.5">7.0.5</a>
(2024-11-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>fix escaping bug introduced by backtracking (<a
href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f">640d391</a>)</li>
</ul>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.4">7.0.4</a>
(2024-11-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>disable regexp backtracking (<a
href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160">#160</a>)
(<a
href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff">5ff3a07</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/77cd97f3ca7b62c904a63a698fc4a79bf41977d0"><code>77cd97f</code></a>
chore(release): 7.0.6</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/6717de49ff1e5de49622488dcb9c33fb25370c85"><code>6717de4</code></a>
chore: upgrade standard-version</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176"><code>f700743</code></a>
fix: update cross-spawn version to 7.0.5 in package-lock.json</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/9a7e3b2165917367f74b8365faad9873b30d7263"><code>9a7e3b2</code></a>
chore: fix build status badge</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/085268352dcbcad8064c64c5efb25268b4023184"><code>0852683</code></a>
chore(release): 7.0.5</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f"><code>640d391</code></a>
fix: fix escaping bug introduced by backtracking</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/bff0c87c8b627c4e6d04ec2449e733048bebb464"><code>bff0c87</code></a>
chore: remove codecov</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/a7c6abc6fee79641d45b452fe6217deaa1bd0973"><code>a7c6abc</code></a>
chore: replace travis with github workflows</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/9b9246e0969e86656d7ccd527716bc3c18842a19"><code>9b9246e</code></a>
chore(release): 7.0.4</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff"><code>5ff3a07</code></a>
fix: disable regexp backtracking (<a
href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160">#160</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cross-spawn&package-manager=npm_and_yarn&previous-version=7.0.3&new-version=7.0.6)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/maplibre/maputnik/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 20:38:15 +02:00
bolo af01346279 Fixes #949 Add OSM OpenMapTiles to style gallery list (#956)
## Launch Checklist

Add OSM OpenMapTiles to style gallery list
Fixes #949

Before

![image](https://github.com/user-attachments/assets/49e39bdd-9920-4ba3-b68f-3e423fae8d7f)

After

![image](https://github.com/user-attachments/assets/370e8aaf-7b96-4ba6-a79d-362c38c3e736)



<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [X] Briefly describe the changes in this PR.
 - [X] Link to related issues.
- [X] Include before/after visuals or gifs if this PR includes visual
changes.
2024-11-14 23:53:13 +02:00
Filip Czaplicki dd6b40c943 Use printf for generating version.go (#933)
Flag -e is to "enable interpretation of backslash escapes"
Which might be a default, depends on a shell.

`sh -c 'echo "a\nb"'` on my OS prints
> a\nb

(no newline)

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->
 - [x] Briefly describe the changes in this PR.
2024-10-31 15:07:24 -04:00
Rob Labs 687f9abaf2 [user interface]: Use .png as the XYZ Tile URL format hint for raster & raster-dem tiles (#952)
## Launch Checklist

 - [x] Briefly describe the changes in this PR.

* When adding a new Raster or Raster-dem tile source, use `.png` as the
hint for the tile URL hint prompt.
* Currently, the user is prompted for a Vector tile source (e.g.,
`.pbf`)
* If a new Mapnik user already has their XYZ raster Tile URL, then they
may already know how to modify this text field.
* This change may be useful for new users and is intended for them.
* `.png` is a start. It could be `.webp` or `.jpg`, or `.jpg`, or in the
case of Esri there is no extension for the images.
* See [RobLabs.com/xyz](https://RobLabs.com/xyz) for sample XYZ raster
tile URLs

---

- [x] Include before/after visuals or gifs if this PR includes visual
changes.
* Steps to reproduce
* See [RobLabs.com/maputnik](https://roblabs.com/maputnik) for a working
version of this fix for Maputnik
* On top menu bar: *Data Sources* > In the *Add New Source* section >
Change *Source Type* to "Raster (Tile URLs)"
* There you will see prompt hint for a raster Tile instead of vector
tile `.pbf`.
* See the release notes for the National Park Service prototype release
for [Maputnik for National Park Service Park
Tiles](https://github.com/roblabs/maputnik/releases/tag/v2.1.1-nationalparkservice)
for more screen shots.

#### Before

`.pbf` may be confusing for those adding a Raster


![image](https://github.com/user-attachments/assets/f3869f2e-b2d6-4339-807d-7c14ddfecd29)

#### After


![image](https://github.com/user-attachments/assets/2bb06206-23c2-467c-981d-f939a9525d3d)

---

 - [x] Write tests for all new functionality.
 * See screen shots for functionality
 - ~~[] Add an entry to `CHANGELOG.md` under the `## main` section.~~
 *Not really a feature, so I will leave this out*
 - [ ] ~~Link to related issues.~~
2024-10-31 21:03:35 +02:00
teyotan 172d4d5278 Add tileSize field for raster and raster-dem tile sources (#946) (#947)
## Launch Checklist

Add `tileSize` field for raster and raster-dem tile sources. Solves #946


![Untitled](https://github.com/user-attachments/assets/833bf41b-0439-47f3-b9ff-5f289f437725)

### Not in this PR

i18n for `Tile Size`

 - [x] Briefly describe the changes in this PR.
 - [x] Link to related issues.
- [x] Include before/after visuals or gifs if this PR includes visual
changes.
 - [x] Write tests for all new functionality.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.

---------

Co-authored-by: Harel M <harel.mazor@gmail.com>
Co-authored-by: Keitaroh Kobayashi <keita@kbys.me>
Co-authored-by: Hugues Tavernier <hugues.tavernier@protonmail.com>
Co-authored-by: Joscha <34318751+josxha@users.noreply.github.com>
2024-10-15 10:11:57 +03:00
dependabot[bot] b03af2c039 Bump rollup from 4.21.3 to 4.22.4 (#941)
Bumps [rollup](https://github.com/rollup/rollup) from 4.21.3 to 4.22.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rollup/rollup/releases">rollup's
releases</a>.</em></p>
<blockquote>
<h2>v4.22.4</h2>
<h2>4.22.4</h2>
<p><em>2024-09-21</em></p>
<h3>Bug Fixes</h3>
<ul>
<li>Fix a vulnerability in generated code that affects IIFE, UMD and CJS
bundles when run in a browser context (<a
href="https://redirect.github.com/rollup/rollup/issues/5671">#5671</a>)</li>
</ul>
<h3>Pull Requests</h3>
<ul>
<li><a
href="https://redirect.github.com/rollup/rollup/pull/5670">#5670</a>:
refactor: Use object.prototype to check for reserved properties (<a
href="https://github.com/YuHyeonWook"><code>@​YuHyeonWook</code></a>)</li>
<li><a
href="https://redirect.github.com/rollup/rollup/pull/5671">#5671</a>:
Fix DOM Clobbering CVE (<a
href="https://github.com/lukastaegert"><code>@​lukastaegert</code></a>)</li>
</ul>
<h2>v4.22.3</h2>
<h2>4.22.3</h2>
<p><em>2024-09-21</em></p>
<h3>Bug Fixes</h3>
<ul>
<li>Ensure that mutations in modules without side effects are observed
while properly handling transitive dependencies (<a
href="https://redirect.github.com/rollup/rollup/issues/5669">#5669</a>)</li>
</ul>
<h3>Pull Requests</h3>
<ul>
<li><a
href="https://redirect.github.com/rollup/rollup/pull/5669">#5669</a>:
Ensure impure dependencies of pure modules are added (<a
href="https://github.com/lukastaegert"><code>@​lukastaegert</code></a>)</li>
</ul>
<h2>v4.22.2</h2>
<h2>4.22.2</h2>
<p><em>2024-09-20</em></p>
<h3>Bug Fixes</h3>
<ul>
<li>Revert fix for side effect free modules until other issues are
investigated (<a
href="https://redirect.github.com/rollup/rollup/issues/5667">#5667</a>)</li>
</ul>
<h3>Pull Requests</h3>
<ul>
<li><a
href="https://redirect.github.com/rollup/rollup/pull/5667">#5667</a>:
Partially revert <a
href="https://redirect.github.com/rollup/rollup/issues/5658">#5658</a>
and re-apply <a
href="https://redirect.github.com/rollup/rollup/issues/5644">#5644</a>
(<a
href="https://github.com/lukastaegert"><code>@​lukastaegert</code></a>)</li>
</ul>
<h2>v4.22.1</h2>
<h2>4.22.1</h2>
<p><em>2024-09-20</em></p>
<h3>Bug Fixes</h3>
<ul>
<li>Revert <a
href="https://redirect.github.com/rollup/rollup/issues/5644">#5644</a>
&quot;stable chunk hashes&quot; while issues are being investigated</li>
</ul>
<h3>Pull Requests</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rollup/rollup/blob/master/CHANGELOG.md">rollup's
changelog</a>.</em></p>
<blockquote>
<h2>4.22.4</h2>
<p><em>2024-09-21</em></p>
<h3>Bug Fixes</h3>
<ul>
<li>Fix a vulnerability in generated code that affects IIFE, UMD and CJS
bundles when run in a browser context (<a
href="https://redirect.github.com/rollup/rollup/issues/5671">#5671</a>)</li>
</ul>
<h3>Pull Requests</h3>
<ul>
<li><a
href="https://redirect.github.com/rollup/rollup/pull/5670">#5670</a>:
refactor: Use object.prototype to check for reserved properties (<a
href="https://github.com/YuHyeonWook"><code>@​YuHyeonWook</code></a>)</li>
<li><a
href="https://redirect.github.com/rollup/rollup/pull/5671">#5671</a>:
Fix DOM Clobbering CVE (<a
href="https://github.com/lukastaegert"><code>@​lukastaegert</code></a>)</li>
</ul>
<h2>4.22.3</h2>
<p><em>2024-09-21</em></p>
<h3>Bug Fixes</h3>
<ul>
<li>Ensure that mutations in modules without side effects are observed
while properly handling transitive dependencies (<a
href="https://redirect.github.com/rollup/rollup/issues/5669">#5669</a>)</li>
</ul>
<h3>Pull Requests</h3>
<ul>
<li><a
href="https://redirect.github.com/rollup/rollup/pull/5669">#5669</a>:
Ensure impure dependencies of pure modules are added (<a
href="https://github.com/lukastaegert"><code>@​lukastaegert</code></a>)</li>
</ul>
<h2>4.22.2</h2>
<p><em>2024-09-20</em></p>
<h3>Bug Fixes</h3>
<ul>
<li>Revert fix for side effect free modules until other issues are
investigated (<a
href="https://redirect.github.com/rollup/rollup/issues/5667">#5667</a>)</li>
</ul>
<h3>Pull Requests</h3>
<ul>
<li><a
href="https://redirect.github.com/rollup/rollup/pull/5667">#5667</a>:
Partially revert <a
href="https://redirect.github.com/rollup/rollup/issues/5658">#5658</a>
and re-apply <a
href="https://redirect.github.com/rollup/rollup/issues/5644">#5644</a>
(<a
href="https://github.com/lukastaegert"><code>@​lukastaegert</code></a>)</li>
</ul>
<h2>4.22.1</h2>
<p><em>2024-09-20</em></p>
<h3>Bug Fixes</h3>
<ul>
<li>Revert <a
href="https://redirect.github.com/rollup/rollup/issues/5644">#5644</a>
&quot;stable chunk hashes&quot; while issues are being investigated</li>
</ul>
<h3>Pull Requests</h3>
<ul>
<li><a
href="https://redirect.github.com/rollup/rollup/pull/5663">#5663</a>:
chore(deps): update dependency inquirer to v11 (<a
href="https://github.com/renovate"><code>@​renovate</code></a>[bot], <a
href="https://github.com/lukastaegert"><code>@​lukastaegert</code></a>)</li>
<li><a
href="https://redirect.github.com/rollup/rollup/pull/5664">#5664</a>:
chore(deps): lock file maintenance minor/patch updates (<a
href="https://github.com/renovate"><code>@​renovate</code></a>[bot])</li>
<li><a
href="https://redirect.github.com/rollup/rollup/pull/5665">#5665</a>:
fix: type in CI file (<a
href="https://github.com/YuHyeonWook"><code>@​YuHyeonWook</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rollup/rollup/commit/79c0aba353ca84c0e22c3cfe9eee433ba83f3670"><code>79c0aba</code></a>
4.22.4</li>
<li><a
href="https://github.com/rollup/rollup/commit/e2552c9e955e0a61f70f508200ee9f752f85a541"><code>e2552c9</code></a>
Fix DOM Clobbering CVE (<a
href="https://redirect.github.com/rollup/rollup/issues/5671">#5671</a>)</li>
<li><a
href="https://github.com/rollup/rollup/commit/10ab90ea612f80de21c6c433c2d792eaf7b45f1c"><code>10ab90e</code></a>
refactor: Use object.prototype to check for reserved properties (<a
href="https://redirect.github.com/rollup/rollup/issues/5670">#5670</a>)</li>
<li><a
href="https://github.com/rollup/rollup/commit/e1cba8e84a0c01dd16580ba7a2536a988dfb4e18"><code>e1cba8e</code></a>
4.22.3</li>
<li><a
href="https://github.com/rollup/rollup/commit/59cec3e86748369ce887f8fdb4ef7351335ab281"><code>59cec3e</code></a>
Ensure impure dependencies of pure modules are added (<a
href="https://redirect.github.com/rollup/rollup/issues/5669">#5669</a>)</li>
<li><a
href="https://github.com/rollup/rollup/commit/b86ffd776cfa906573d36c3f019316d02445d9ef"><code>b86ffd7</code></a>
4.22.2</li>
<li><a
href="https://github.com/rollup/rollup/commit/d5ff63de9e317283f059bde06320bca11cf90488"><code>d5ff63d</code></a>
Partially revert <a
href="https://redirect.github.com/rollup/rollup/issues/5658">#5658</a>
and re-apply <a
href="https://redirect.github.com/rollup/rollup/issues/5644">#5644</a>
(<a
href="https://redirect.github.com/rollup/rollup/issues/5667">#5667</a>)</li>
<li><a
href="https://github.com/rollup/rollup/commit/0a821d931894f7f6f4ee33285b6f0925e10c8348"><code>0a821d9</code></a>
Create SECURITY.md</li>
<li><a
href="https://github.com/rollup/rollup/commit/76e962daca5b7352bf199c28fa0a10ad4745c5e7"><code>76e962d</code></a>
4.22.1</li>
<li><a
href="https://github.com/rollup/rollup/commit/68c23da8824e05e84460a9a5bf18c4e91912a52a"><code>68c23da</code></a>
Partially revert <a
href="https://redirect.github.com/rollup/rollup/issues/5644">#5644</a></li>
<li>Additional commits viewable in <a
href="https://github.com/rollup/rollup/compare/v4.21.3...v4.22.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rollup&package-manager=npm_and_yarn&previous-version=4.21.3&new-version=4.22.4)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/maplibre/maputnik/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-29 16:09:22 +03:00
huangli 6089cde302 Add scheme type options for vector/raster tile (#943)
## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [x] Briefly describe the changes in this PR.
 - [ ] Link to related issues.
- [x] Include before/after visuals or gifs if this PR includes visual
changes.
 - [ ] Write tests for all new functionality.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.


![image](https://github.com/user-attachments/assets/39c275dc-b526-426b-9d46-db1f1635d7ee)
2024-09-29 15:01:30 +03:00
Ian Wagner 25cf61a825 Add links to tile provider authentication docs (#914)
This probably confused some people in the past, since vector tiles won't
even display an access denied image ;)

Before (no information on access keys and where to get them):

<img width="411" alt="image"
src="https://github.com/user-attachments/assets/8820fb20-bda4-460c-9cc9-8fec5daa480d">

After (add links to providers in info callout + add a field for Stadia
Maps API keys):

<img width="395" alt="image"
src="https://github.com/user-attachments/assets/91ee732c-b3f5-45f8-81a6-8d896a93f644">

---------

Co-authored-by: Harel M <harel.mazor@gmail.com>
Co-authored-by: Joscha <34318751+josxha@users.noreply.github.com>
Co-authored-by: Hugues Tavernier <hugues.tavernier@protonmail.com>
Co-authored-by: Keitaroh Kobayashi <keita@kbys.me>
2024-09-25 10:22:39 +03:00
dependabot[bot] 0f1000c5b0 Bump vite from 5.2.6 to 5.4.6 (#937)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 5.2.6 to 5.4.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases">vite's
releases</a>.</em></p>
<blockquote>
<h2>create-vite@5.4.0</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.4.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>create-vite@5.3.0</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.3.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->5.4.6 (2024-09-16)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: avoid DOM Clobbering gadget in
<code>getRelativeUrlFromDocument</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18115">#18115</a>)
(<a
href="https://github.com/vitejs/vite/commit/179b17773cf35c73ddb041f9e6c703fd9f3126af">179b177</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18115">#18115</a></li>
<li>fix: fs raw query (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18112">#18112</a>)
(<a
href="https://github.com/vitejs/vite/commit/6820bb3b9a54334f3268fc5ee1e967d2e1c0db34">6820bb3</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18112">#18112</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.4.5 (2024-09-13)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix(preload): backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18098">#18098</a>,
throw error preloading module as well (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18099">#18099</a>)
(<a
href="https://github.com/vitejs/vite/commit/faa2405e5d1da07a7c7fb6d48e887bf97a2f3dba">faa2405</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18098">#18098</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/18099">#18099</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.4.4 (2024-09-11)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17997">#17997</a>,
ensure req.url matches moduleByEtag URL to avoid incorrect 304 (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18078">#18078</a>)
(<a
href="https://github.com/vitejs/vite/commit/74a79c53b2286c91739d1473945012b5d206eddf">74a79c5</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17997">#17997</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/18078">#18078</a></li>
<li>fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18063">#18063</a>,
allow scanning exports from <code>script module</code> in svelte (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18077">#18077</a>)
(<a
href="https://github.com/vitejs/vite/commit/d90ba40474aa1da8e722e1660ba739621238e5ac">d90ba40</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18063">#18063</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/18077">#18077</a></li>
<li>fix(preload): backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18046">#18046</a>,
allow ignoring dep errors (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18076">#18076</a>)
(<a
href="https://github.com/vitejs/vite/commit/8760293d6836dac554d1d6f214b8b09ed97cccd4">8760293</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18046">#18046</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/18076">#18076</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.4.3 (2024-09-03)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: allow getting URL of JS files in publicDir (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17915">#17915</a>)
(<a
href="https://github.com/vitejs/vite/commit/943ece177e7709b3ba574e810afce347c51d4442">943ece1</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17915">#17915</a></li>
<li>fix: cjs warning respect the logLevel flag (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17993">#17993</a>)
(<a
href="https://github.com/vitejs/vite/commit/dc3c14f39fcd57867c8ae81b75ae768b53b4b880">dc3c14f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17993">#17993</a></li>
<li>fix: improve CJS warning trace information (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17926">#17926</a>)
(<a
href="https://github.com/vitejs/vite/commit/5c5f82c84bb64309875b42eee9d4dd525ab42e8c">5c5f82c</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17926">#17926</a></li>
<li>fix: only remove entry assets handled by Vite core (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17916">#17916</a>)
(<a
href="https://github.com/vitejs/vite/commit/ebfaa7e6019783f308db5e759a6a67abb7cc626c">ebfaa7e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17916">#17916</a></li>
<li>fix: waitForRequestIdle locked (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17982">#17982</a>)
(<a
href="https://github.com/vitejs/vite/commit/ad1376018a94b42540a8488d897cc520849e1228">ad13760</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17982">#17982</a></li>
<li>fix(css): fix directory index import in sass modern api (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17960">#17960</a>)
(<a
href="https://github.com/vitejs/vite/commit/9b001baa70c8489ac5550107c110a5dca281cda4">9b001ba</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17960">#17960</a></li>
<li>fix(css): fix sass <code>file://</code> reference (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17909">#17909</a>)
(<a
href="https://github.com/vitejs/vite/commit/561b940f6f963fbb78058a6e23b4adad53a2edb9">561b940</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17909">#17909</a></li>
<li>fix(css): fix sass modern source map (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17938">#17938</a>)
(<a
href="https://github.com/vitejs/vite/commit/d428e7e3a05f8da5ea00bb1b6a0827a5cc225899">d428e7e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17938">#17938</a></li>
<li>fix(deps): bump tsconfck (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17990">#17990</a>)
(<a
href="https://github.com/vitejs/vite/commit/8c661b20e92f33eb2e3ba3841b20dd6f6076f1ef">8c661b2</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17990">#17990</a></li>
<li>fix(html): rewrite assets url in &lt;template&gt; (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17988">#17988</a>)
(<a
href="https://github.com/vitejs/vite/commit/413c86aa971bc1ad8958578c929f45a368799f74">413c86a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17988">#17988</a></li>
<li>fix(preload): add crossorigin attribute in CSS link tags (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17930">#17930</a>)
(<a
href="https://github.com/vitejs/vite/commit/15871c75e0722adeda23f771fd6c45fecba4d118">15871c7</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17930">#17930</a></li>
<li>chore: reduce diffs with v6 branch (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17942">#17942</a>)
(<a
href="https://github.com/vitejs/vite/commit/bf9065aa13da6a519014c3bc1d34cfb1cb49ccca">bf9065a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17942">#17942</a></li>
<li>chore(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17945">#17945</a>)
(<a
href="https://github.com/vitejs/vite/commit/cfb621e7a5a3e24d710a9af156e6855e73caf891">cfb621e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17945">#17945</a></li>
<li>chore(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17991">#17991</a>)
(<a
href="https://github.com/vitejs/vite/commit/0ca53cff9ff49108fcec75ff01d2445f9c2f2a4c">0ca53cf</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17991">#17991</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.4.2 (2024-08-20)<!-- raw HTML omitted
--></h2>
<ul>
<li>chore: remove stale TODOs (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17866">#17866</a>)
(<a
href="https://github.com/vitejs/vite/commit/e012f296df583bd133d26399397bd4ae49de1497">e012f29</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17866">#17866</a></li>
<li>refactor: remove redundant prepend/strip base (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17887">#17887</a>)
(<a
href="https://github.com/vitejs/vite/commit/3b8f03d789ec3ef1a099c884759bd4e61b03ce7c">3b8f03d</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17887">#17887</a></li>
<li>fix: resolve relative URL generated by <code>renderBuiltUrl</code>
passed to module preload (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16084">#16084</a>)
(<a
href="https://github.com/vitejs/vite/commit/fac3a8ed6855c4ab3032957137b74f21ec501e72">fac3a8e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16084">#16084</a></li>
<li>feat: support originalFilename (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17867">#17867</a>)
(<a
href="https://github.com/vitejs/vite/commit/7d8c0e2dcbdea3a3465a1d87e259988e82561035">7d8c0e2</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/17867">#17867</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.4.1 (2024-08-15)<!-- raw HTML omitted
--></h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite/commit/f9691767ad763720065cc7c5c7f369f97b4e7ea8"><code>f969176</code></a>
release: v5.4.6</li>
<li><a
href="https://github.com/vitejs/vite/commit/179b17773cf35c73ddb041f9e6c703fd9f3126af"><code>179b177</code></a>
fix: avoid DOM Clobbering gadget in
<code>getRelativeUrlFromDocument</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18115">#18115</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/6820bb3b9a54334f3268fc5ee1e967d2e1c0db34"><code>6820bb3</code></a>
fix: fs raw query (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18112">#18112</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/37881e71980ddbf6a93444c2d21b8ee6c076ad07"><code>37881e7</code></a>
release: v5.4.5</li>
<li><a
href="https://github.com/vitejs/vite/commit/faa2405e5d1da07a7c7fb6d48e887bf97a2f3dba"><code>faa2405</code></a>
fix(preload): backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18098">#18098</a>,
throw error preloading module as well (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18099">#18099</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/54c55dbffc86f21ae88a171a5af90c37876db226"><code>54c55db</code></a>
release: v5.4.4</li>
<li><a
href="https://github.com/vitejs/vite/commit/74a79c53b2286c91739d1473945012b5d206eddf"><code>74a79c5</code></a>
fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/17997">#17997</a>,
ensure req.url matches moduleByEtag URL to avoid incorr...</li>
<li><a
href="https://github.com/vitejs/vite/commit/d90ba40474aa1da8e722e1660ba739621238e5ac"><code>d90ba40</code></a>
fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18063">#18063</a>,
allow scanning exports from <code>script module</code> in svelte
(...</li>
<li><a
href="https://github.com/vitejs/vite/commit/8760293d6836dac554d1d6f214b8b09ed97cccd4"><code>8760293</code></a>
fix(preload): backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18046">#18046</a>,
allow ignoring dep errors (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18076">#18076</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/ccbfc1a06816ccf45b93cffa9f8c2b94d3ad97d3"><code>ccbfc1a</code></a>
release: v5.4.3</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite/commits/v5.4.6/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=5.2.6&new-version=5.4.6)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/maplibre/maputnik/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-18 07:01:15 +03:00
Bart Louwers fa4ece22cf Add Americana and Protomaps Light styles (#936) 2024-09-17 01:38:43 +02:00
Kevin Schaul d940c02faf Use same version number for web and desktop (#932)
With the new release process in place, I think keeping a separate
version number for desktop is confusing and unnecessary. This PR remove
it so the desktop version reports the version number of the web version
embedded in the binary.

## Launch Checklist

<!-- Thanks for the PR! Feel free to add or remove items from the
checklist. -->


 - [x] Briefly describe the changes in this PR.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.
2024-09-05 09:19:32 -05:00
Joscha 00f431c50e add german translation, update docs (#931)
- add german translation (following the changes in
https://github.com/maplibre/maputnik/pull/929)
- using an alphabecial order for the languages
- update the documentation with a step-by-step guide
- add myself as a helping person for german
- move the helping-users list to the implementation of new features
- update CHANGELOG.md
- add a link to the l18n README in the root README


![image](https://github.com/user-attachments/assets/2834f2c5-2cb7-4848-a6bf-24149be979ae)
2024-09-03 08:24:26 +03:00
Harel M 60785f53bc Add translation process and small fixes (#930)
## Launch Checklist

This adds information about how to translate Maputnik and how to get in
touch with people who have translated in the past.
@keichan34, @jieme, @lhapaipai - I need your approval for this so that
people in the future will know to contact you in case text is being
added and they need help translating it.

CC: @ianthetechie 

I've also changed the word "Language" in the upper part of the screen so
that it won't be translated in case you accidentally switch language,
and you need to switch back.

I've also fixed some RTL issues in the CSS and updated the maplibre
components labels when the language changes.
2024-09-02 12:44:44 +03:00
Hugues Tavernier 32fa02d289 Add french language support (#929)
## Launch Checklist

Add french language support

## issues

in the left side menu the translated text takes up space, resulting in a
degraded UI


![maputnik-fr-1](https://github.com/user-attachments/assets/ef7c2048-cc4e-44d6-b386-5877983a5a81)
2024-09-01 09:58:15 +03:00
Kevin Schaul bab95cd6b1 Remove release of web code (#928) 2024-08-30 07:28:06 +03:00
github-actions[bot] 482e6ec545 Bump version to 2.1.1 (#927)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

---------

Co-authored-by: HarelM <3269297+HarelM@users.noreply.github.com>
Co-authored-by: Harel M <harel.mazor@gmail.com>
2024-08-29 22:14:08 +03:00
Kevin Schaul ca45bcce86 Fix release-notes.js (#926)
Was missing trailing `, causing [this
failure](https://github.com/maplibre/maputnik/actions/runs/10619718712/job/29437920164)
2024-08-29 22:11:14 +03:00
github-actions[bot] 4dd34e99fd Bump version to 2.1.0 (#925)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

---------

Co-authored-by: HarelM <3269297+HarelM@users.noreply.github.com>
Co-authored-by: Harel M <harel.mazor@gmail.com>
2024-08-29 20:22:26 +03:00
dependabot[bot] 3773acd5be Bump micromatch from 4.0.5 to 4.0.8 (#923)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5
to 4.0.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/micromatch/micromatch/releases">micromatch's
releases</a>.</em></p>
<blockquote>
<h2>4.0.8</h2>
<p>Ultimate release that fixes both CVE-2024-4067 and CVE-2024-4068. We
consider the issues low-priority, so even if you see automated scanners
saying otherwise, don't be scared.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md">micromatch's
changelog</a>.</em></p>
<blockquote>
<h2>[4.0.8] - 2024-08-22</h2>
<ul>
<li>backported CVE-2024-4067 fix (from v4.0.6) over to 4.x branch</li>
</ul>
<h2>[4.0.7] - 2024-05-22</h2>
<ul>
<li>this is basically v4.0.5, with some README updates</li>
<li><strong>it is vulnerable to CVE-2024-4067</strong></li>
<li>Updated braces to v3.0.3 to avoid CVE-2024-4068</li>
<li>does NOT break API compatibility</li>
</ul>
<h2>[4.0.6] - 2024-05-21</h2>
<ul>
<li>Added <code>hasBraces</code> to check if a pattern contains
braces.</li>
<li>Fixes CVE-2024-4067</li>
<li><strong>BREAKS API COMPATIBILITY</strong></li>
<li>Should be labeled as a major release, but it's not.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/micromatch/micromatch/commit/8bd704ec0d9894693d35da425d827819916be920"><code>8bd704e</code></a>
4.0.8</li>
<li><a
href="https://github.com/micromatch/micromatch/commit/a0e68416a44da10f3e4e30845ab95af4fd286d5a"><code>a0e6841</code></a>
run verb to generate README documentation</li>
<li><a
href="https://github.com/micromatch/micromatch/commit/4ec288484f6e8cccf597ad3d43529c31d0f7a02a"><code>4ec2884</code></a>
Merge branch 'v4' into hauserkristof-feature/v4.0.8</li>
<li><a
href="https://github.com/micromatch/micromatch/commit/03aa8052171e878897eee5d7bb2ae0ae83ec2ade"><code>03aa805</code></a>
Merge pull request <a
href="https://redirect.github.com/micromatch/micromatch/issues/266">#266</a>
from hauserkristof/feature/v4.0.8</li>
<li><a
href="https://github.com/micromatch/micromatch/commit/814f5f70efcd100ca9d29198867812a3d6ab91a8"><code>814f5f7</code></a>
lint</li>
<li><a
href="https://github.com/micromatch/micromatch/commit/67fcce6a1077c2faf5ad0c5f998fa70202cc5dae"><code>67fcce6</code></a>
fix: CHANGELOG about braces &amp; CVE-2024-4068, v4.0.5</li>
<li><a
href="https://github.com/micromatch/micromatch/commit/113f2e3fa7cb30b429eda7c4c38475a8e8ba1b30"><code>113f2e3</code></a>
fix: CVE numbers in CHANGELOG</li>
<li><a
href="https://github.com/micromatch/micromatch/commit/d9dbd9a266686f44afb38da26fe016f96d1ec04f"><code>d9dbd9a</code></a>
feat: updated CHANGELOG</li>
<li><a
href="https://github.com/micromatch/micromatch/commit/2ab13157f416679f54e3a32b1425e184bd16749e"><code>2ab1315</code></a>
fix: use actions/setup-node@v4</li>
<li><a
href="https://github.com/micromatch/micromatch/commit/1406ea38f3e24b29f4d4f46908d5cffcb3e6c4ce"><code>1406ea3</code></a>
feat: rework test to work on macos with node 10,12 and 14</li>
<li>Additional commits viewable in <a
href="https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=micromatch&package-manager=npm_and_yarn&previous-version=4.0.5&new-version=4.0.8)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/maplibre/maputnik/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 20:13:19 +03:00
Kevin Schaul 6887d70194 Make build scripts executable (#924)
Hopefully will fix CI issue merged in #922

cc @HarelM
2024-08-29 19:52:56 +03:00
Kevin Schaul 66c5a5c953 Update desktop build to pull from this repo (#922)
Previously the desktop build lived in a separate repo and had to
download a released version of the maputnik editor source code. Now that
both live in the same repo, the desktop version can simply run the
maputnik build command and use those generated files.

This commit also removes the ci-desktop workflow, which is not needed.
The regular ci workflow already built the desktop version (this commit
also fixes that build).

Fixes #919

If this works for you all, it would be lovely to create a new tag or
release on GitHub for two reasons:
1. So the latest binaries are easier to locate, and
2. So I can update my [submission to
homebrew](https://github.com/Homebrew/homebrew-core/commit/6e536ff007ef0bea5a3591af5678eb3152908cc9)
to make installation easier (for os x users at least)
2024-08-29 17:07:24 +03:00
Harel M 8184ac8393 Update geocoder to 1.6.0 (#920)
This is to update geocoder to latest version which now have types and is
fully modernized.
2024-08-21 08:56:59 +03:00
Joleen Knepp 6a0d2e8ee5 Added Simplified Chinese language support (#921)
Added Simplified Chinese language support
2024-08-21 07:17:31 +03:00
Keitaroh Kobayashi 58edd262b0 Add react-i18next for multi-language support (#917)
This is a rough start on adding react-i18next. I'll be working on adding
more translatable strings and translations in the coming days. I'm going
to need to wrap class components in HOCs, so let me know if there's
something I should be fixing before doing that. I'm thinking now to keep
the exported class names exactly the same, and rename the existing
classes by prefixing an `I` (for internal). For example:

```
export default class AppToolbar ...
```

becomes

```
class IAppToolbar ...
const AppToolbar = withTranslation()(IAppToolbar);
export default AppToolbar;
```

I'll be able to contribute Japanese strings (I've talked to a couple
people on my team and they'll be happy to help as well), so that's the
language I decided to go with in this PR.

Closes #746

---------

Co-authored-by: Ko Nagase <nagase@georepublic.co.jp>
Co-authored-by: Harel M <harel.mazor@gmail.com>
2024-08-19 12:43:04 +03:00
Ian Wagner 35840409b8 Add Stadia Outdoors style (#913)
* Adds the Stadia Outdoors style (anticipating the question: the
MapLibre domain and localhost development are allowlisted)
* Minor fixes to README as the npm commands seem to have changed
slightly
* Reorder the empty style to the beginning; seems the logical place for
it to me, but open for discussion
2024-07-25 22:50:24 -04:00
Kacper Golinski d0f6e0fadb Update feature id label to $id in feature properties popup (#912)
Current label, "Feature ID", creates a little bit of confusion. It's not
clear that this label isn't really part of the feature properties.

For example, when we want to filter by feature id, we need to use `$id`

```
[==, "$id," 123] 
```
2024-07-12 21:18:23 +03:00
Bart Louwers 0de304ca3e Add Versatiles Colorful as example style (#908)
These are great looking permissively licensed styles maintained by a
passionate open source communities. I think they should be included in
the example styles. 🙂

The thumbnails were uploaded to GitHub and should be available pretty
much forever, I chose to triple the pixel density because the other
thumbnails look bad on my high res monitor.

<img width="573" alt="Screenshot 2024-06-22 at 12 25 56"
src="https://github.com/maplibre/maputnik/assets/649392/e3138a0f-bfca-4949-915d-f9fc3e9bb346">
2024-06-24 08:09:25 +03:00
dependabot[bot] 48bf25c1b0 Bump braces from 3.0.2 to 3.0.3 (#904)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to
3.0.3.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/micromatch/braces/commit/74b2db2938fad48a2ea54a9c8bf27a37a62c350d"><code>74b2db2</code></a>
3.0.3</li>
<li><a
href="https://github.com/micromatch/braces/commit/88f1429a0f47e1dd3813de35211fc97ffda27f9e"><code>88f1429</code></a>
update eslint. lint, fix unit tests.</li>
<li><a
href="https://github.com/micromatch/braces/commit/415d660c3002d1ab7e63dbf490c9851da80596ff"><code>415d660</code></a>
Snyk js braces 6838727 (<a
href="https://redirect.github.com/micromatch/braces/issues/40">#40</a>)</li>
<li><a
href="https://github.com/micromatch/braces/commit/190510f79db1adf21d92798b0bb6fccc1f72c9d6"><code>190510f</code></a>
fix tests, skip 1 test in test/braces.expand</li>
<li><a
href="https://github.com/micromatch/braces/commit/716eb9f12d820b145a831ad678618731927e8856"><code>716eb9f</code></a>
readme bump</li>
<li><a
href="https://github.com/micromatch/braces/commit/a5851e57f45c3431a94d83fc565754bc10f5bbc3"><code>a5851e5</code></a>
Merge pull request <a
href="https://redirect.github.com/micromatch/braces/issues/37">#37</a>
from coderaiser/fix/vulnerability</li>
<li><a
href="https://github.com/micromatch/braces/commit/2092bd1fb108d2c59bd62e243b70ad98db961538"><code>2092bd1</code></a>
feature: braces: add maxSymbols (<a
href="https://github.com/micromatch/braces/issues/">https://github.com/micromatch/braces/issues/</a>...</li>
<li><a
href="https://github.com/micromatch/braces/commit/9f5b4cf47329351bcb64287223ffb6ecc9a5e6d3"><code>9f5b4cf</code></a>
fix: vulnerability (<a
href="https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727">https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727</a>)</li>
<li><a
href="https://github.com/micromatch/braces/commit/98414f9f1fabe021736e26836d8306d5de747e0d"><code>98414f9</code></a>
remove funding file</li>
<li><a
href="https://github.com/micromatch/braces/commit/665ab5d561c017a38ba7aafd92cc6655b91d8c14"><code>665ab5d</code></a>
update keepEscaping doc (<a
href="https://redirect.github.com/micromatch/braces/issues/27">#27</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/micromatch/braces/compare/3.0.2...3.0.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=braces&package-manager=npm_and_yarn&previous-version=3.0.2&new-version=3.0.3)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/maplibre/maputnik/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-16 13:08:52 +03:00
Harel M c82c6158e6 Update Cypress related packages (#903)
Let's see if this adds the relevant information to the CI run details.
CC: @ShellyDCMS
2024-05-29 10:47:14 +03:00
bolo 41cd7dfad1 Update OpenMapTiles styles to the latest version fixes #901 (#902)
Update version numbers of OpenMapTiles styles.

These styles are updated with the latest version (v3.15) of
OpenMapTiles.

Fixes #901
2024-05-20 14:43:00 +03:00
Kevin Schaul 7591b031ce Upgrade Cypress to fix CI errors (#897)
This upgrade should fix the error of Firefox tests failing. See this
issue for more details:
https://github.com/cypress-io/cypress/issues/29190
2024-04-16 08:26:13 +03:00
Kevin Schaul 95b5324fd3 Fix desktop ci artifacts path (#896)
The `working-directory` option does not apply to the artifacts steps, so
we have to specify the full paths
2024-04-12 16:02:53 -05:00
dependabot[bot] f34529ef06 Bump vite from 5.2.2 to 5.2.6 (#895)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 5.2.2 to 5.2.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases">vite's
releases</a>.</em></p>
<blockquote>
<h2>create-vite@5.2.3</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@5.2.3/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->5.2.6 (2024-03-24)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: <code>fs.deny</code> with globs with directories (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16250">#16250</a>)
(<a href="https://github.com/vitejs/vite/commit/ba5269c">ba5269c</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16250">#16250</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.2.5 (2024-03-24)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: avoid SSR requests in waitForRequestIdle (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16246">#16246</a>)
(<a href="https://github.com/vitejs/vite/commit/7093f77">7093f77</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16246">#16246</a></li>
<li>docs: clarify enforce vs hook.order (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16226">#16226</a>)
(<a href="https://github.com/vitejs/vite/commit/3a73e48">3a73e48</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16226">#16226</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.2.4 (2024-03-23)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: dont resolve imports with malformed URI (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16244">#16244</a>)
(<a href="https://github.com/vitejs/vite/commit/fbf69d5">fbf69d5</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16244">#16244</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.2.3 (2024-03-22)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: handle warmup request error correctly (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16223">#16223</a>)
(<a href="https://github.com/vitejs/vite/commit/d7c5256">d7c5256</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16223">#16223</a></li>
<li>fix: skip encode if is data uri (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16233">#16233</a>)
(<a href="https://github.com/vitejs/vite/commit/8617e76">8617e76</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16233">#16233</a></li>
<li>fix(optimizer): fix <code>optimizeDeps.include</code> glob syntax
for <code>./*</code> exports (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16230">#16230</a>)
(<a href="https://github.com/vitejs/vite/commit/f184c80">f184c80</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16230">#16230</a></li>
<li>fix(runtime): fix sourcemap with <code>prepareStackTrace</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16220">#16220</a>)
(<a href="https://github.com/vitejs/vite/commit/dad7f4f">dad7f4f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16220">#16220</a></li>
<li>chore: <code>utf8</code> replaced with <code>utf-8</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16232">#16232</a>)
(<a href="https://github.com/vitejs/vite/commit/9800c73">9800c73</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16232">#16232</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite/commit/7369016d8a0f26ad9200cf7fd0e2045ca9fd1a41"><code>7369016</code></a>
release: v5.2.6</li>
<li><a
href="https://github.com/vitejs/vite/commit/ba5269cca81de3f5fbb0f49d58a1c55688043258"><code>ba5269c</code></a>
fix: <code>fs.deny</code> with globs with directories (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16250">#16250</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/7a2791ce174933ae3afc29f596491cc0c67b9618"><code>7a2791c</code></a>
release: v5.2.5</li>
<li><a
href="https://github.com/vitejs/vite/commit/7093f779b7db2e0fdcb3f41affd76696b783a5fc"><code>7093f77</code></a>
fix: avoid SSR requests in waitForRequestIdle (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16246">#16246</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/3a73e485cd4c08954fcb06698b5f721dea6e9f44"><code>3a73e48</code></a>
docs: clarify enforce vs hook.order (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16226">#16226</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/6a07243a0ecc06a81e87d5b3de7b88023a045e6b"><code>6a07243</code></a>
release: v5.2.4</li>
<li><a
href="https://github.com/vitejs/vite/commit/fbf69d5f6cef335fc18640fed7da16593b13c9b3"><code>fbf69d5</code></a>
fix: dont resolve imports with malformed URI (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16244">#16244</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/a67f9f69456439baa727823ac604a68f7279b3bb"><code>a67f9f6</code></a>
release: v5.2.3</li>
<li><a
href="https://github.com/vitejs/vite/commit/8617e7638ec105c7a6019a7ebac3b3185297b90d"><code>8617e76</code></a>
fix: skip encode if is data uri (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16233">#16233</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/f184c8032bec6e668265a98d254a442e1024b6f3"><code>f184c80</code></a>
fix(optimizer): fix <code>optimizeDeps.include</code> glob syntax for
<code>./*</code> exports (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16">#16</a>...</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite/commits/v5.2.6/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=5.2.2&new-version=5.2.6)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/maplibre/maputnik/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 20:26:34 +03:00
IGUCHI Kanahiro a73b11805d localIdeographFontFamily: false to load CJK fonts (#893)
close #892 

this changes works well for CJK fonts.

<img width="736" alt="Screenshot 2024-03-25 at 22 04 36"
src="https://github.com/maplibre/maputnik/assets/20744195/adb0295e-5428-4773-b216-8f380e2dcb05">
2024-03-27 01:12:17 +02:00
Harel M ff15b77b7f Update React to version 18 and other deps (#890)
This PR aims at updating some packages.
I'll keep this in draft until I'll be more happy with the results.
Current setup seems to work, I'll let the CI run and see how bad this
is.
Packages that needs to be updated/replaces:
- [x] ~autocompete - The only warning left in the console is related to
the autocomplete, which probably needs to be updated since it's a
package that wasn't updated in the last 6 years.~ #611
- [x] ~Codemirror is also something that will need an update, but it
looks too complicated at this point in time, so let's see how this
goes.~ #891
- [ ] react-color
- [x] ~react-aria-menubutton~ #846
- [ ] Others?

Most of the changes here are related to types, which is good.
2024-03-21 22:51:29 +02:00
Harel M 355b663e7e Another attempt to fix the inspect issues (#889)
Fixes #871

- #871 

In case of same sources, calling the render method when the map style
changes, but not right away to let the map load the sources should fix
the issue.
2024-03-14 21:02:49 +02:00
Harel M 3c043fd5e0 Replace mapbox-gl-inspect with maplibre-gl-inspect (#888)
This hopefully fixes #871 

- #871 

I still need to update maplibre-gl-inspect to allow this to be fixed.
2024-03-13 22:48:01 +02:00
Harel M 5f54dd0ccf Temp fix using patch-package for maplibre-inspect issue (#885)
This is a temporary fix for:
 - #871

The fix is using `patch-package` to fix the part of the code that is
causing the issue, I believe.
Initial tests shows that this is fixing the issue, I hope it is not
introducing other issues.
A proper fix and also using the maplibre package will be done once a
repo is migrated as can be expected after the following PR is resolved:
- https://github.com/maplibre/maplibre/issues/359
2024-03-09 23:03:23 +02:00
Harel M 3727f5da48 Improve inspect hover UI (#879)
Fixes #868
- #868

It solves all the block within blocks and all kind of controls that are
not required which creates gaps.
I use a simple table, so the width is dynamic but it is always aligned
for all the properties and the features.

![image](https://github.com/maplibre/maputnik/assets/3269297/75138b00-ec7b-4e8d-b51b-f8ff6abcd5cb)

Vary basic stuff.
There's still the layer popup, which I'm not sure I know what it is and
might need to be fixed as well.
CC: @zstadler
2024-02-21 07:17:28 +02:00
Yuri Astrakhan 079c5f67cc Merge entire history from desktop repo to /desktop
Preserve history of the maputnik/desktop repository,
but move related files to `/desktop` directory,
and adjust the ci script to use it.
2024-02-12 13:52:35 -05:00
Yuri Astrakhan a304d4e060 Renamed ci to ci-desktop 2024-02-12 13:48:37 -05:00
Kevin Schaul 7ac1b03b5a Move into /desktop dir
For eventual merge into maplibre/maputnik repo
2024-02-12 11:06:45 -06:00
glebpinigin b9e32894b3 Readme.md container port changed to 80 (#881)
Activating maputnik with `docker run` requires to bind port 80 from
container and not 8888, because nginx is running with default config and
listening port 80

For `npm run` port 8888 is explicitly set up [in
config](https://github.com/maplibre/maputnik/blob/bc5ecfade6801e16df339a8caba766d28b88de56/vite.config.ts#L8).
2024-02-08 23:35:46 +02:00
Harel M bc5ecfade6 Removes number conversion for dirty input (#878)
Fixes #870

- #870

This regression bug was introduced as part of the refactoring of
typescript.
Here:
- #848

I've added tests to cover the scenario so that it won't happen again,
hopefully.
2024-02-07 10:32:19 +02:00
HarelM c84c7a7b96 Fix redo issue 2024-02-04 16:37:47 +02:00
Harel M cb77c6b4e2 Add nominatim search to maputnik (#873)
This replaces PR:
- #785

Before:

![image](https://github.com/maplibre/maputnik/assets/3269297/95297211-4108-43d8-8a43-42f87e2fbe16)
After:

![image](https://github.com/maplibre/maputnik/assets/3269297/86c3ae58-1bb7-4d2c-8ad9-6b84a21c96f7)

This is based on the geocoder example in maplibre docs:
https://maplibre.org/maplibre-gl-js/docs/examples/geocoder/
2024-02-04 11:37:23 +02:00
Harel M ea42f434eb Update MapLibre to version 4 (#872)
This updates maplibre from a pre-release to an official release.
It also removed the pre.2 from maputnik as maputnik is now published and
there's no reason to keep it in pre-release version name.
This doesn't mean maputnik has an npm package at this point though.
2024-02-04 10:01:22 +02:00
dependabot[bot] 6f82c12861 Bump vite from 5.0.10 to 5.0.12 (#865)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 5.0.10 to 5.0.12.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->5.0.12 (2024-01-19)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: await <code>configResolved</code> hooks of worker plugins (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15597">#15597</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15605">#15605</a>)
(<a href="https://github.com/vitejs/vite/commit/ef89f80">ef89f80</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15597">#15597</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/15605">#15605</a></li>
<li>fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)
(<a href="https://github.com/vitejs/vite/commit/91641c4">91641c4</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15653">#15653</a></li>
</ul>
<h2><!-- raw HTML omitted -->5.0.11 (2024-01-05)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: don't pretransform classic script links (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15361">#15361</a>)
(<a href="https://github.com/vitejs/vite/commit/19e3c9a">19e3c9a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15361">#15361</a></li>
<li>fix: inject <code>__vite__mapDeps</code> code before sourcemap file
comment (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15483">#15483</a>)
(<a href="https://github.com/vitejs/vite/commit/d2aa096">d2aa096</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15483">#15483</a></li>
<li>fix(assets): avoid splitting <code>,</code> inside base64 value of
<code>srcset</code> attribute (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15422">#15422</a>)
(<a href="https://github.com/vitejs/vite/commit/8de7bd2">8de7bd2</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15422">#15422</a></li>
<li>fix(html): handle offset magic-string slice error (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15435">#15435</a>)
(<a href="https://github.com/vitejs/vite/commit/5ea9edb">5ea9edb</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15435">#15435</a></li>
<li>chore(deps): update dependency strip-literal to v2 (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15475">#15475</a>)
(<a href="https://github.com/vitejs/vite/commit/49d21fe">49d21fe</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15475">#15475</a></li>
<li>chore(deps): update tj-actions/changed-files action to v41 (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15476">#15476</a>)
(<a href="https://github.com/vitejs/vite/commit/2a540ee">2a540ee</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15476">#15476</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite/commit/ee81e196769c102a6b1bf30f8444ccde236e71d5"><code>ee81e19</code></a>
release: v5.0.12</li>
<li><a
href="https://github.com/vitejs/vite/commit/91641c4da0a011d4c5352e88fc68389d4e1289a5"><code>91641c4</code></a>
fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/ef89f8092f0eb1d8fd7d21256e6af8c4e64fe9b2"><code>ef89f80</code></a>
fix: await <code>configResolved</code> hooks of worker plugins (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15597">#15597</a>)
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15605">#15605</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/b44c49302ffbf0c82f984f6219ed6376d1e4552a"><code>b44c493</code></a>
release: v5.0.11</li>
<li><a
href="https://github.com/vitejs/vite/commit/d2aa0969ee316000d3b957d7e879f001e85e369e"><code>d2aa096</code></a>
fix: inject <code>__vite__mapDeps</code> code before sourcemap file
comment (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15483">#15483</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/2a540eee82f9a31deff8215bdbdccfa46d494a06"><code>2a540ee</code></a>
chore(deps): update tj-actions/changed-files action to v41 (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15476">#15476</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/5ea9edbc9ceb991e85f893fe62d68ed028677451"><code>5ea9edb</code></a>
fix(html): handle offset magic-string slice error (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15435">#15435</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/49d21fe1feaac30dee0196bd484480a8000a4363"><code>49d21fe</code></a>
chore(deps): update dependency strip-literal to v2 (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15475">#15475</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/8de7bd2b68db27b83d9484cc8d4e26436615168e"><code>8de7bd2</code></a>
fix(assets): avoid splitting <code>,</code> inside base64 value of
<code>srcset</code> attribute (#...</li>
<li><a
href="https://github.com/vitejs/vite/commit/19e3c9a8a16847486fbad8a8cd48fc771b1538bb"><code>19e3c9a</code></a>
fix: don't pretransform classic script links (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15361">#15361</a>)</li>
<li>See full diff in <a
href="https://github.com/vitejs/vite/commits/v5.0.12/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=5.0.10&new-version=5.0.12)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/maplibre/maputnik/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-04 09:18:19 +02:00
HarelM 3b95b25777 Remove unneed console.log 2024-01-13 14:38:56 +02:00
Harel M 1da65f2116 Fix missing logo (#863)
Fixes #861
This should hopefully address the last item in the below issue of the
missing logo.
I tested it locally and it seems to be working as expected, I hope this
will be the case once deployed.
- #861
2024-01-12 18:46:10 +02:00
Harel M a62db148cd Remove Storybook, cleanups (#860)
1. Changed references to point to this new repo
2. Fixed docker image publishing to point to ghcr.io.
3. Remove survey link - the survey is closed and there's no point in
keeping it.
4. Remove storybook - Basically a storybook is the ability to look at
components and see how they look and interact with them.
It's a powerful tool for developing component library with "live"
documentation.
But it's an overkill for this project and I would like to reduce
maintenance costs.
Currently all the "stories" are in javascript and not in typescript and
it feels like a waste of time to try and maintain it, along with
updating the storybook library itself and everything around it.
2024-01-12 10:59:57 +02:00
HarelM 6ed10a862f Update pages deploy on every commit to main 2024-01-11 22:57:07 +02:00
HarelM 123e84f19b login to ghcr.io 2024-01-11 22:29:46 +02:00
HarelM d9b1b6f3ae Fix docker deploy, remove unneeded files 2024-01-11 22:24:47 +02:00
Harel M e0cef99c07 Update LICENSE 2024-01-11 22:11:18 +02:00
Harel M eb48bed32a Update MapLibre dependencies, add terrain editing (#859)
This PR aims at updating MapLibre dependencies.

The main goal of this update is to allow adding terrain specification to
the editor.
This requires version 4 of maplibre so currently it will use the
pre-release.
2024-01-11 22:05:47 +02:00
Harel M 87cf81d1c9 Prepare for on boarding (#858)
I believe this solves most of the missing checkboxes:
- https://github.com/maplibre/maplibre/issues/352

Let me know if there's anything else missing.
Other configuration can be done after the repo has been migrated I
believe.
2024-01-11 17:08:42 +02:00
ShellyDCMS 8e35ed97e6 Improve drivers (#856)
Co-authored-by: shelly_goldblit <shelly_goldblit@dell.com>
Co-authored-by: HarelM <harel.mazor@gmail.com>
2024-01-02 12:12:06 +02:00
Harel M 124ae98bf3 E2E: Improve tests, lint, and add more drivers (#855)
This PR introduces lint to cypress code, adds drivers to try and
abstract the usage of cypress as much as possible.
Nothing very interesting, mainly to try out the driver pattern for the
e2e tests.
2023-12-27 20:58:24 +02:00
Harel M b784bf2b84 Improve tests (#854)
Recover commented out tests, 
Improve usage of helper in driver, 
Added data-wd-key for test to use instead of classes
Moved all non tsx file to a single folder (lib) instead of lib and utils

---------

Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
2023-12-27 10:19:59 +02:00
Max 09a1f3f87b Use nginx to serve built files (#808)
Resolves #842
Better suited than python + handles sigterm better

Co-authored-by: Harel M <harel.mazor@gmail.com>
2023-12-26 23:28:17 +02:00
Harel M a22476cab2 Add lint to CI and fix errors (#853)
Adds lint to CI and fixes errors.
I'm not sure I'm fully proud of all the solutions there.
But there's no lint issues and the lint is being checked as part of the
CI.

---------

Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
2023-12-26 23:13:22 +02:00
ShellyDCMS a324ddb654 add code coverage (#852)
Add Cypress code coverage using Istanbul nyc

![image](https://github.com/maputnik/editor/assets/60476837/e7c364b7-7b54-4bf1-85aa-ee6fb19cc40c)

---------

Co-authored-by: shelly_goldblit <shelly_goldblit@dell.com>
Co-authored-by: Harel M <harel.mazor@gmail.com>
2023-12-26 12:04:43 +02:00
Harel M 656264f2bc Migration of jsx files to tsx 3 (#851)
This is in continue to:
- #850
- #848

The last files should be converted as part of this PR, there are only a
handful left.
2023-12-25 15:48:46 +02:00
Harel M 974dd7bfd9 Migration of jsx files to tsx 2 (#850)
This is to continue the work of migrating all the jsx files into tsx
files.
The MO is basically described here: #848.

About 7 files to go...
2023-12-22 23:32:25 +02:00
Harel M fa182e66fa Migration of jsx files to tsx 1 (#848)
In this PR I have changed some of the jsx files to tsx file.
I'm starting off with the "leafs" so that migration of the rest will be
easier, hopefully.

What I'm basically doing is taking a jsx file, copy paste it into:
https://mskelton.dev/ratchet

And after that I'm fixing the types as needed.
It's not a very long process.

Hopefully more PRs will follow and this will be over soon.
I don't plan to migrate the storybook as I generally don't understand
why is it useful, I'll open an issue to see if anyone thinks
differently.
2023-12-21 23:46:56 +02:00
Harel M 3bf0e510e6 Migrate all the non react components code to typescript (#847)
This completes the migration to typescript of all the non react
components code.
The only changes introduced besides types are the type checks using
`"something" in object` which narrows down types in typescript.
2023-12-21 00:07:53 +02:00
Harel M e8d07fa694 Initial migration to typescript (#845)
This migrates some utilities classes from javascript to typescript.
Nothing special about the migration, mainly added types and made sure
the code adheres to the strict mode.

I have picked some small files so git doesn't think they are the same
since they are "very different".
I hope that in later PRs, when migrating lager files this won't be an
issues.
2023-12-20 22:56:33 +02:00
Harel M 4d1e2e6893 Refactor driver for E2E (#843)
This is basically the content of #841 with the code review changes and
relevant fixes to tests/driver code to pass the tests.
CC: @ShellyDCMS

After this we should lint the project and add the lint to the CI to make
sure it doesn't break.

---------

Co-authored-by: ShellyDCMS <60476837+ShellyDCMS@users.noreply.github.com>
Co-authored-by: shelly_goldblit <shelly_goldblit@dell.com>
2023-12-20 16:34:46 +02:00
Harel M f219ff1e17 Fix favicon (#844)
This PR fixes the missing facicon.
As part of the migration to vite, this issue was introduced.
- #836
2023-12-20 07:18:13 +02:00
Yuri Astrakhan 8eabfa5519 Fix incorrect CI tag filter (#838) 2023-12-18 06:21:43 +02:00
Harel M ad69cbdb20 Vite + TypeScript (#836)
Resolves #803

This is an initial commit to allow migrating to typescript bit by bit.
It introduces vite.
It removes all the webpack configuration (which I have no clue what all
the profiling are needed for, and couldn't find anything in the readme).
It also changes a single file from javascript to typescript:
`urlopen.js` -> `urlopen.ts`
Which was done manually, later on I'll see if I can automate most of the
migration.
For now, everything seems to work as expected.
I also upgrades storybook to use vite and renames the stories to jsx (I
honestly don't know why this complexity is needed here, but I'll keep it
for now).

cc: @damianstasik
2023-12-17 22:52:19 -05:00
Yuri Astrakhan 17eaa3f204 Rename primary branch to main (#837)
Co-authored-by: Harel M <harel.mazor@gmail.com>
2023-12-18 00:09:10 +02:00
Harel M 1df2e36dbb Replace WebDriverIO with Cypress (#831)
This does the following:
1. Moves the WDIO code from javascript to typescript
2. Moves to use files that are `cy.ts` instead of `index.js`
3. Replace e2e to use cypress
4. Introduce back some skipped tests

This is in continue to the conversation here:
https://github.com/HarelM/editor/pull/3

Before:
```
 "spec" Reporter:
------------------------------------------------------------------
[chrome 120.0.6099.71 linux #0-0] Running: chrome (v120.0.6099.71) on linux
[chrome 120.0.6099.71 linux #0-0] Session ID: ee9a87bcfce007ac7721929c6e6234d0
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0] » /test/functional/index.js
[chrome 120.0.6099.71 linux #0-0] maputnik
[chrome 120.0.6099.71 linux #0-0]     history
[chrome 120.0.6099.71 linux #0-0]        - undo/redo
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]     layers
[chrome 120.0.6099.71 linux #0-0]         ops
[chrome 120.0.6099.71 linux #0-0]            ✓ delete
[chrome 120.0.6099.71 linux #0-0]            ✓ duplicate
[chrome 120.0.6099.71 linux #0-0]            ✓ hide
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         background
[chrome 120.0.6099.71 linux #0-0]            ✓ add
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]             modify
[chrome 120.0.6099.71 linux #0-0]                 layer
[chrome 120.0.6099.71 linux #0-0]                    - expand/collapse
[chrome 120.0.6099.71 linux #0-0]                    ✓ id
[chrome 120.0.6099.71 linux #0-0]                    ✓ min-zoom
[chrome 120.0.6099.71 linux #0-0]                    ✓ max-zoom
[chrome 120.0.6099.71 linux #0-0]                    ✓ comments
[chrome 120.0.6099.71 linux #0-0]                    - color
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]                 filter
[chrome 120.0.6099.71 linux #0-0]                    - expand/collapse
[chrome 120.0.6099.71 linux #0-0]                    - compound filter
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]                 paint
[chrome 120.0.6099.71 linux #0-0]                    - expand/collapse
[chrome 120.0.6099.71 linux #0-0]                    - color
[chrome 120.0.6099.71 linux #0-0]                    - pattern
[chrome 120.0.6099.71 linux #0-0]                    - opacity
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]                 json-editor
[chrome 120.0.6099.71 linux #0-0]                    - expand/collapse
[chrome 120.0.6099.71 linux #0-0]                    - modify
[chrome 120.0.6099.71 linux #0-0]                    - parse error
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         fill
[chrome 120.0.6099.71 linux #0-0]            ✓ add
[chrome 120.0.6099.71 linux #0-0]            - change source
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         line
[chrome 120.0.6099.71 linux #0-0]            ✓ add
[chrome 120.0.6099.71 linux #0-0]            - groups
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         symbol
[chrome 120.0.6099.71 linux #0-0]            ✓ add
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         raster
[chrome 120.0.6099.71 linux #0-0]            ✓ add
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         circle
[chrome 120.0.6099.71 linux #0-0]            ✓ add
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         fill extrusion
[chrome 120.0.6099.71 linux #0-0]            ✓ add
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         groups
[chrome 120.0.6099.71 linux #0-0]            ✓ simple
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]     map
[chrome 120.0.6099.71 linux #0-0]         zoom level
[chrome 120.0.6099.71 linux #0-0]            - via url
[chrome 120.0.6099.71 linux #0-0]            - via map controls
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]     modals
[chrome 120.0.6099.71 linux #0-0]         open
[chrome 120.0.6099.71 linux #0-0]            ✓ close
[chrome 120.0.6099.71 linux #0-0]            - upload
[chrome 120.0.6099.71 linux #0-0]            ✓ load from url
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         shortcuts
[chrome 120.0.6099.71 linux #0-0]            ✓ open/close
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         export
[chrome 120.0.6099.71 linux #0-0]            ✓ close
[chrome 120.0.6099.71 linux #0-0]            - download
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         sources
[chrome 120.0.6099.71 linux #0-0]            - active sources
[chrome 120.0.6099.71 linux #0-0]            - public source
[chrome 120.0.6099.71 linux #0-0]            - add new source
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         inspect
[chrome 120.0.6099.71 linux #0-0]            ✓ toggle
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         style settings
[chrome 120.0.6099.71 linux #0-0]            ✓ name
[chrome 120.0.6099.71 linux #0-0]            ✓ owner
[chrome 120.0.6099.71 linux #0-0]            ✓ sprite url
[chrome 120.0.6099.71 linux #0-0]            ✓ glyphs url
[chrome 120.0.6099.71 linux #0-0]            ✓ maptiler access token
[chrome 120.0.6099.71 linux #0-0]            ✓ thunderforest access token
[chrome 120.0.6099.71 linux #0-0]            ✓ style renderer
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]         sources
[chrome 120.0.6099.71 linux #0-0]            - toggle
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]     screenshots
[chrome 120.0.6099.71 linux #0-0]        ✓ front_page
[chrome 120.0.6099.71 linux #0-0]        ✓ open
[chrome 120.0.6099.71 linux #0-0]        ✓ export
[chrome 120.0.6099.71 linux #0-0]        ✓ sources
[chrome 120.0.6099.71 linux #0-0]        ✓ style settings
[chrome 120.0.6099.71 linux #0-0]        ✓ inspect
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]     accessibility
[chrome 120.0.6099.71 linux #0-0]         skip links
[chrome 120.0.6099.71 linux #0-0]            ✓ skip link to layer list
[chrome 120.0.6099.71 linux #0-0]            ✓ skip link to layer editor
[chrome 120.0.6099.71 linux #0-0]            ✓ skip link to map view
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0]     keyboard
[chrome 120.0.6099.71 linux #0-0]         shortcuts
[chrome 120.0.6099.71 linux #0-0]            ✓ ESC should unfocus
[chrome 120.0.6099.71 linux #0-0]            ✓ '?' should show shortcuts modal
[chrome 120.0.6099.71 linux #0-0]            ✓ 'o' should show open modal
[chrome 120.0.6099.71 linux #0-0]            ✓ 'e' should show export modal
[chrome 120.0.6099.71 linux #0-0]            ✓ 'd' should show sources modal
[chrome 120.0.6099.71 linux #0-0]            ✓ 's' should show settings modal
[chrome 120.0.6099.71 linux #0-0]            - 'i' should change map to inspect mode
[chrome 120.0.6099.71 linux #0-0]            ✓ 'm' should focus map
[chrome 120.0.6099.71 linux #0-0]            ✓ '!' should show debug modal
[chrome 120.0.6099.71 linux #0-0]
[chrome 120.0.6099.71 linux #0-0] 44 passing (58.8s)
[chrome 120.0.6099.71 linux #0-0] 23 skipped
```

After:
```
accessibility
    skip links
      - skip link to layer list
      - skip link to layer editor
      - skip link to map view

history
    ✓ undo/redo (4894ms)

keyboard
    shortcuts
      ✓ ESC should unfocus (1912ms)
      ✓ '?' should show shortcuts modal (458ms)
      ✓ 'o' should show open modal (710ms)
      ✓ 'e' should show export modal (692ms)
      ✓ 'd' should show sources modal (588ms)
      ✓ 's' should show settings modal (894ms)
      ✓ 'i' should change map to inspect mode (804ms)
      ✓ 'm' should focus map (837ms)
      ✓ '!' should show debug modal (607ms)

layers
    ops
      ✓ delete (4313ms)
      ✓ duplicate (1780ms)
      ✓ hide (1862ms)
    background
      ✓ add (1675ms)
      modify
        layer
          - expand/collapse
          ✓ id (3735ms)
          ✓ min-zoom (2209ms)
          ✓ max-zoom (2127ms)
          ✓ comments (2515ms)
          ✓ color (2022ms)
        filter
          - expand/collapse
          - compound filter
        paint
          - expand/collapse
          - color
          - pattern
          - opacity
        json-editor
          - expand/collapse
          - modify
          - parse error
    fill
      ✓ add (1831ms)
      - change source
    line
      ✓ add (1844ms)
      ✓ groups (687ms)
    symbol
      ✓ add (2035ms)
    raster
      ✓ add (1814ms)
    circle
      ✓ add (1867ms)
    fill extrusion
      ✓ add (1963ms)
    groups
      ✓ simple (2653ms)

map
    zoom level
      ✓ via url (2279ms)
      ✓ via map controls (733ms)

modals
    open
      ✓ close (2519ms)
      - upload
      ✓ load from url (1557ms)
    shortcuts
      ✓ open/close (1136ms)
    export
      ✓ close (755ms)
      - download
    sources
      - active sources
      - public source
      - add new source
    inspect
      ✓ toggle (1020ms)
    style settings
      ✓ name (1085ms)
      ✓ owner (1060ms)
      ✓ sprite url (1214ms)
      ✓ glyphs url (1553ms)
      ✓ maptiler access token (1111ms)
      ✓ thunderforest access token (1102ms)
      ✓ style renderer (922ms)
    sources
      - toggle



      Spec                                              Tests  Passing  Failing  Pending  Skipped  
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  accessibility.cy.ts                       52ms        3        -        -        3        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  history.cy.ts                            00:06        1        1        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  keyboard.cy.ts                           00:10        9        9        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  layers.cy.ts                             00:39       28       17        -       11        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  map.cy.ts                                00:04        2        2        -        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✔  modals.cy.ts                             00:16       18       12        -        6        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        01:18       61       41        -       20        -  
```

---------

Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
2023-12-17 21:49:23 +02:00
Birk Skyum 0c46affda9 Add dependabot (#826)
It has a low limit on how many PRs it's allowed to open at a time, so it
should not flood the repo.
2023-12-17 01:16:47 -05:00
Harel M 18f45e932b Use driver pattern for e2e tests (#829)
I've moved all the logic relevant to WBIO into a single file in order to
be able to replace it.
I have tried to upgrade WDIO in order to use the latest version and it
got stuck on my computer.
Furthermore, I was not able to run it locally which made this whole
cycle very long.
After this will be merged I will replace WDIO with cypress.
This doesn't change anything, only moves some code in the tests to a
single file, removes unneeded files and uses the driver pattern, which
will later allow switching the underline WDIO with Cypress.

cc: @nyurik
2023-12-17 01:14:23 -05:00
Yuri Astrakhan 31d56c9fae Bump CI versions (#830) 2023-12-17 00:49:34 -05:00
Birk Skyum b7838ad6e1 Use latest firefox (#825) 2023-10-23 08:06:02 +02:00
Birk Skyum c92fd12854 Bump to node 18 (#824) 2023-10-22 22:11:06 +02:00
Birk Skyum eb55796461 Merge pull request #823 from birkskyum/new-webdriver
Chrome new headless
2023-10-22 20:20:26 +02:00
Yuri Astrakhan 4b97f82980 Revert "Revert "Resolve #821 (#822)""
This reverts commit e4d559f953.
2023-10-21 18:33:48 -04:00
Yuri Astrakhan 5d0b6e3201 Revert "Revert "Added checkbox for cluster attribute (#810)""
This reverts commit 52f949e152.
2023-10-21 18:33:46 -04:00
Birk Skyum 5ab9be9fdb update node version 2023-10-22 00:27:41 +02:00
Birk Skyum 9659d41b83 chrome new headless 2023-10-22 00:20:55 +02:00
Yuri Astrakhan 52f949e152 Revert "Added checkbox for cluster attribute (#810)"
This reverts commit 393f4a38b9.
2023-10-21 18:19:24 -04:00
Yuri Astrakhan e4d559f953 Revert "Resolve #821 (#822)"
This reverts commit 577663f706.
2023-10-21 18:19:21 -04:00
zstadler 577663f706 Resolve #821 (#822)
Please see code analysis at
https://github.com/maputnik/editor/issues/821#issuecomment-1772360990
2023-10-20 11:01:20 -04:00
Eliav-B 393f4a38b9 Added checkbox for cluster attribute (#810)
* Added additional checkbox to set the cluster attribute when adding a GeoJson source

* Fixed default source function in the 'geojson_json' case

---------

Co-authored-by: shimon <ruisuhsh100@gmail.com>
2023-10-20 10:54:40 -04:00
Kevin Schaul 3727c9ad5e 814/remove mapbox references (#816)
Fixes #814

* fix: remove outdated references to mapbox
* docs: fix references in readme
* chore: fix mapbox references in tests
* chore: fix mapbox references in stories, webpack config
* chore: remove empty array
2023-08-28 22:17:49 -04:00
Yuri Astrakhan a99cbc00ba Merge pull request #812 from kevinschaul/switch-to-maplibre-ks
Convert from Mapbox GL to MapLibre
2023-07-18 23:32:11 +02:00
Kevin Schaul fe5f7e8b8c upgrade to setup-go@v3 2023-07-18 15:16:29 -05:00
Kevin Schaul 3ed4b8f2d7 add GOBIN to CI 2023-07-18 11:31:01 -05:00
Kevin Schaul f17c2e8112 reenable go modules in CI 2023-07-18 10:50:48 -05:00
Kevin Schaul 2be447f105 downgrade to node 16 to avoid ssl issue (for now) 2023-07-18 10:10:08 -05:00
Kevin Schaul 2fe6fa2be6 Update workflow to latest desktop, drop old node 2023-07-18 09:52:29 -05:00
Kevin Schaul 7265bf0aa4 Refactor into a go module, update dependencies (#18)
* Refactor into a go module

`go get` is no longer supported outside of a go module. This commit
converts the project into a go module, moving dependencies into a go.mod
file.

* Use go.rice instead of go-bindata-assetfs

go.rice appears to be maintained and more popular

* Edit dependencies

* Pin to specific versions

* Updating workflows

* Fix syntax, I hope

* Update go

* Increment version number

* Version number

* version number
2023-07-18 16:44:57 +02:00
Kevin Schaul 83dd21414b Merge branch 'master' into switch-to-maplibre-ks 2023-07-13 14:48:38 -05:00
Kevin Schaul 56d96a248d Remove JSON.stringify in call to validate 2023-07-13 14:43:18 -05:00
Kevin Schaul 5b1ee7296b Fix Buffer is undefined error 2023-07-13 14:35:16 -05:00
Kevin Schaul 8e0546fba4 Get map rendering with maplibre 2023-07-12 16:37:19 -05:00
Yuri Astrakhan 2ff3d08bb0 Merge pull request #796 from maputnik/dependabot/npm_and_yarn/async-2.6.4
Bump async from 2.6.3 to 2.6.4
2022-12-15 15:14:51 -05:00
dependabot[bot] afe7a492a7 Bump async from 2.6.3 to 2.6.4
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 19:54:14 +00:00
Yuri Astrakhan 1f26ab707f Merge pull request #792 from maputnik/dependabot/npm_and_yarn/deep-object-diff-1.1.9
Bump deep-object-diff from 1.1.7 to 1.1.9
2022-12-15 14:53:11 -05:00
Yuri Astrakhan 233191e27c Merge pull request #793 from maputnik/dependabot/npm_and_yarn/loader-utils-1.4.2
Bump loader-utils from 1.4.1 to 1.4.2
2022-12-15 14:52:58 -05:00
Yuri Astrakhan 246f9a191d Merge pull request #795 from maputnik/dependabot/npm_and_yarn/decode-uri-component-0.2.2
Bump decode-uri-component from 0.2.0 to 0.2.2
2022-12-15 14:52:17 -05:00
dependabot[bot] 07f6efe45d Bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 23:57:21 +00:00
dependabot[bot] ccd0402eea Bump loader-utils from 1.4.1 to 1.4.2
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-18 00:36:06 +00:00
dependabot[bot] 8ccee0ba75 Bump deep-object-diff from 1.1.7 to 1.1.9
Bumps [deep-object-diff](https://github.com/mattphillips/deep-object-diff) from 1.1.7 to 1.1.9.
- [Release notes](https://github.com/mattphillips/deep-object-diff/releases)
- [Commits](https://github.com/mattphillips/deep-object-diff/commits)

---
updated-dependencies:
- dependency-name: deep-object-diff
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 23:59:29 +00:00
Yuri Astrakhan d6b67be7b2 Merge pull request #780 from maputnik/dependabot/npm_and_yarn/ejs-3.1.7
Bump ejs from 3.1.6 to 3.1.7
2022-11-09 14:52:11 -05:00
Yuri Astrakhan ac56ea4627 Merge pull request #791 from maputnik/dependabot/npm_and_yarn/loader-utils-1.4.1
Bump loader-utils from 1.4.0 to 1.4.1
2022-11-09 14:51:37 -05:00
dependabot[bot] b00cf66ea6 Bump loader-utils from 1.4.0 to 1.4.1
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 03:55:59 +00:00
Luke Seelenbinder 8e329a0ff9 Remove missed reference to mapbox-gl.
* Also removes specialized support for Mapbox URLs.
2022-11-01 10:24:05 +01:00
Luke Seelenbinder 74cacd5bdf Initial work to convert from Mapbox GL v1.13 to MapLibre v2.4.0. 2022-10-27 14:02:47 +02:00
pathmapper 7d5fb23130 Merge pull request #782 from maputnik/dependabot/npm_and_yarn/got-11.8.5
Bump got from 11.8.3 to 11.8.5
2022-08-14 09:25:13 +02:00
pathmapper 08bbd55f13 Merge pull request #784 from maputnik/dependabot/npm_and_yarn/terser-4.8.1
Bump terser from 4.8.0 to 4.8.1
2022-08-14 09:25:00 +02:00
dependabot[bot] d6d4930513 Bump terser from 4.8.0 to 4.8.1
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 03:45:50 +00:00
dependabot[bot] 6220e15723 Bump got from 11.8.3 to 11.8.5
Bumps [got](https://github.com/sindresorhus/got) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5)

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 14:02:05 +00:00
dependabot[bot] 72053a2dba Bump ejs from 3.1.6 to 3.1.7
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-07 04:59:25 +00:00
pathmapper bf27a35ef5 Merge pull request #778 from propheel/feat/updateDependencies
Update dependencies
2022-05-07 06:57:58 +02:00
Filip Proborszcz 4705bf823a Use geckodriver 0.30 for firefox until 0.31 works 2022-05-02 15:13:42 +02:00
Filip Proborszcz a8f6208561 Fix layer drag&drop and init warning 2022-05-01 11:28:15 +02:00
Filip Proborszcz af2629be75 Make layer list sortable again 2022-04-10 22:22:16 +02:00
pathmapper 8bfad6c9fd Merge pull request #777 from maputnik/npm-ci
Use npm ci for workflow
2022-04-09 07:51:55 +02:00
Filip Proborszcz 5c3713da90 Use proper version of array-move 2022-04-08 04:14:58 +02:00
Filip Proborszcz 174eae1cf4 Use selenium standalone service to run tests 2022-04-08 03:37:40 +02:00
Filip Proborszcz d73add77e7 Fixes for breaking changes
- new webpack dev server options
- babel support for async functions in hooks
- new uuid import style
- automatically open browser for testing
2022-04-08 02:23:43 +02:00
Filip Proborszcz ab00c9f426 Many dependency updates
@storybook 6.4.20 blocks most of others like: react 18, webpack 5,
and keeps lots of unnecessary dependencies due to chakra 2 dep.
2022-04-07 17:21:34 +02:00
pathmapper d6ab302815 Use npm ci for workflow
https://docs.npmjs.com/cli/v8/commands/npm-ci
2022-04-07 03:28:47 +02:00
pathmapper f5646f57d1 Merge pull request #776 from propheel/useNode16
Use node 16.x
2022-04-07 03:11:13 +02:00
Filip Proborszcz c77d8f6625 Use shared SHM for Docker image 2022-04-07 00:37:20 +02:00
Filip Proborszcz e34c1ca4be Use node 16.x
It required converting mocha tests code into async since [@wdio/sync is
deprecated](https://webdriver.io/docs/sync-vs-async/) starting with
node v16.
It removed the dependency on fibers and on [node-gyp + python](https://
webdriver.io/docs/sync-vs-async/#common-issues-in-sync-mode) indirectly
though which is a great thing.

Also moved away from node-sass to sass since [node-sass is deprecated]
(https://sass-lang.com/blog/libsass-is-deprecated).
2022-04-06 14:05:15 +02:00
Orange Mug 87745f1fc9 Merge pull request #752 from pathmapper/webpack_stats
Webpack stats
2021-08-06 17:59:46 +01:00
pathmapper 9ba0fd5f39 Remove yarn.lock 2021-08-04 09:44:33 +02:00
pathmapper 70decbb5c1 Change webpack-dev-server info 2021-08-04 09:36:37 +02:00
pathmapper 51fa4a4377 Merge pull request #739 from pathmapper/maputnik_tag
Request using 'maputnik' tag for SE questions
2020-10-10 20:16:33 +02:00
pathmapper fb6f4d73e2 Mention 'maputnik' tag in comment 2020-10-04 12:11:00 +02:00
pathmapper 63b14933ba Merge pull request #729 from orangemug/fix/issue-712-v2
Correctly upgrade old-style filter functions to expressions
2020-09-15 19:10:49 +02:00
Orange Mug a86c31cefa Merge pull request #727 from orangemug/feature/added-html-option-to-export
Added HTML export option to export modal.
2020-09-10 19:20:40 +01:00
orangemug 25e2554412 Another commit to force a rebuild 2020-09-10 18:07:47 +01:00
Orange Mug 34bb3bc0a7 Merge pull request #726 from orangemug/fix/issue-718
Fix to not change layer key while editing layer
2020-09-10 18:06:03 +01:00
orangemug 852243cd52 onChange -> onInput for <FieldId/> component. 2020-09-09 20:22:52 +01:00
Orange Mug 40faf86adf Merge pull request #725 from orangemug/fix/issue-710
Added 'base' to functions
2020-09-09 20:15:18 +01:00
Orange Mug bb69f143b8 Merge pull request #724 from orangemug/fix/issue-707
Remove key/value from style when editing style results in empty array
2020-09-09 20:14:58 +01:00
orangemug bb43200887 Move logic into checkIfSimpleFilter function and added FILTER_OPS check. 2020-09-09 16:12:18 +01:00
orangemug ae3f79f4ad Attempt to correctly upgrade old-style filter functions to expressions. 2020-09-09 15:55:20 +01:00
orangemug 731a315624 Merge remote-tracking branch 'upstream/master' into feature/added-html-option-to-export 2020-09-09 15:12:23 +01:00
orangemug 5e441454d5 Merge remote-tracking branch 'upstream/master' into fix/issue-718 2020-09-09 15:11:52 +01:00
orangemug a55716bbd9 Merge remote-tracking branch 'upstream/master' into fix/issue-710 2020-09-09 15:08:42 +01:00
orangemug 44aea3745e Merge remote-tracking branch 'upstream/master' into fix/issue-707 2020-09-09 15:07:35 +01:00
Orange Mug a572bc02a6 Merge pull request #728 from orangemug/fix/disable-host-check
Disable host check for codesandbox
2020-09-09 15:06:54 +01:00
orangemug 4dee95fa2e Added --disable-host-check 2020-09-09 15:02:14 +01:00
orangemug 381ff6292f Removed disableHostCheck from ./config/webpack.config.js 2020-09-09 14:56:39 +01:00
orangemug c12db1703b Changed start script for codesandbox. 2020-09-09 14:55:51 +01:00
orangemug 2676583833 Added start-sandbox script. 2020-09-09 14:55:12 +01:00
orangemug 6ca2af7f8a Change codesandbox check. 2020-09-09 14:46:09 +01:00
orangemug 553b17822d Try disable host check for codesandbox. 2020-09-09 14:19:06 +01:00
orangemug a6148e5f40 Added HTML export option to export modal. 2020-09-09 14:06:48 +01:00
orangemug 4f77629eb7 Fix to not change layer key while editing layer. 2020-09-08 17:58:33 +01:00
orangemug 9103d9560a Added 'base' to functions. 2020-09-08 16:50:29 +01:00
orangemug 06c63509f7 Remove key/value from style when editing style results in empty array 2020-09-08 16:12:41 +01:00
pathmapper bbe0af6c0e Merge pull request #716 from pathmapper/Use-desktop-v1.0.7
Use desktop v1.0.7 for CI workflow
2020-07-24 19:11:54 +02:00
pathmapper 7455ccc3b7 Use desktop v1.0.7 2020-07-24 18:41:11 +02:00
pathmapper c9504fcaed Merge pull request #16 from pathmapper/static
Add option to serve directory under /static/ (supersedes #2)
2020-07-24 18:31:30 +02:00
pathmapper b7ef0943f4 Fix formatting 2020-07-23 20:25:24 +02:00
pathmapper 4661677387 Add docs 2020-07-23 20:19:33 +02:00
pathmapper 77ed14a340 Update desktop version number 2020-07-23 19:52:38 +02:00
pathmapper e24d390f7c Fix build error 2020-07-23 19:33:23 +02:00
pathmapper 698fdfc958 Fix syntax error 2020-07-23 19:28:34 +02:00
pathmapper 77b3655c3c Add option to serve directory under /static/ (from #2) 2020-07-23 19:22:43 +02:00
Orange Mug 8b766777ac Merge pull request #706 from orangemug/fix/input-label-a11y
Improved label accessibility
2020-06-30 10:50:37 +01:00
orangemug 8441abe907 Added padding to 'maputnik-doc-button' and removed cursor from doc label. 2020-06-30 10:30:26 +01:00
orangemug ca56951256 Fix styling in export model 2020-06-30 09:48:55 +01:00
orangemug 5981151b27 Added cursor pointer to SDK docs button 2020-06-30 09:43:24 +01:00
orangemug 21dbc6c4d9 Added back in https://github.com/maputnik/editor link 2020-06-30 09:42:05 +01:00
Orange Mug 6f060c2a0a Merge pull request #708 from pathmapper/update_mb_deps
Update mb-gl
2020-06-30 09:27:02 +01:00
pathmapper 24327541c5 Update mb-gl 2020-06-30 09:16:53 +02:00
orangemug 0d6b9ee9d4 Fixed source modal CSS for new block definitions. 2020-06-29 16:26:28 +01:00
orangemug 3ad487dce7 Removed isRequired from label incase null. 2020-06-29 16:18:04 +01:00
orangemug a46c834874 Fixed data functions. 2020-06-29 16:14:35 +01:00
orangemug 67bdea1827 Re-added info button and SDK docs to fields after refactor. 2020-06-29 16:03:59 +01:00
Orange Mug cc4133aac1 Merge pull request #703 from pathmapper/fix_674
Add again shouldComponentUpdate
2020-06-29 15:41:49 +01:00
orangemug 4a6f58d61c Changed heading sizes for modals. 2020-06-10 20:37:46 +01:00
orangemug e3dc98b76d <h2/> -> <h1/> 2020-06-10 20:37:08 +01:00
orangemug 09373dda44 Fixed changing between zoom/data functions. 2020-06-10 20:26:39 +01:00
orangemug c4b05b62b3 Remove logging. 2020-06-10 19:44:05 +01:00
orangemug 06bccfab10 Fix for checkboxes within non-clickable label 2020-06-10 19:21:29 +01:00
orangemug b83c9a1ad9 Fix block styling issues. 2020-06-10 19:20:18 +01:00
orangemug 0279daf7bd 'getApplicationNode' doesn't appear to be required as the modal is already a dialog 2020-06-10 18:17:25 +01:00
orangemug bfada7cace Added aria-label to things that are otherwise labelled in the UI. 2020-06-10 18:16:43 +01:00
orangemug 6c751fe1c4 Updated maputnik/design to diagnose axe accessibility checker issue with SVGs 2020-06-10 17:18:11 +01:00
orangemug 34299c94ee Fixed some 'axe' accessibility checker issues. 2020-06-10 16:22:13 +01:00
orangemug 5804b3c72a CSS outline fixes for keyboard users. 2020-06-10 13:04:04 +01:00
orangemug 8ae6e9fc61 Fix to ignore click suppression on inputs 2020-06-10 13:02:38 +01:00
orangemug 40579c3e0c Added back in action buttons to input label/fieldset 2020-06-10 10:59:44 +01:00
orangemug f3906c8dd8 A role="navigation" should not be on <ul/> as it changes how screen readers announce them. 2020-06-10 10:25:56 +01:00
orangemug f911ed3522 Fix <InputColor/> issues when trying to close picker. 2020-06-10 10:10:40 +01:00
orangemug 2cc179acc1 Fixed more input accessibility issues, also
- Added searchParams based router for easier testing
 - Added more stories to the storybook
2020-06-09 19:11:07 +01:00
Orange Mug 2912db6e32 Merge pull request #704 from pathmapper/update_omt_styles
Update Basic and Toner styles
2020-06-06 12:32:34 +01:00
pathmapper 70eb3e785a Trigger codesandbox 2020-06-06 12:48:34 +02:00
pathmapper 8f944d9973 Empty Commit to trigger codesanbox again 2020-06-06 12:46:53 +02:00
pathmapper 8faf841f3d Update Basic and Toner 2020-06-06 11:29:24 +02:00
pathmapper d8ba8fcbfb Add again shouldComponentUpdate 2020-06-05 15:11:49 +02:00
orangemug d6f31ec82e Block* -> Field* 2020-06-03 17:11:47 +01:00
Orange Mug b19eacf4f9 Merge pull request #699 from orangemug/maintenance/component-refactor
Tidy of components + added storybook.js
2020-06-03 16:18:04 +01:00
Orange Mug 3d158a791a Merge pull request #698 from pathmapper/issue_668
Integrate desktop builds in ci workflow
2020-06-03 14:53:06 +01:00
pathmapper 04b3b42524 Use desktop version instead of SHA 2020-06-03 15:37:17 +02:00
pathmapper c264cd1771 Merge pull request #15 from pathmapper/update_desktop_version
Update desktop version number
2020-06-03 15:08:54 +02:00
pathmapper 1495d11462 Update desktop version number
The makefile was updated in https://github.com/maputnik/desktop/pull/14
2020-06-03 15:05:47 +02:00
pathmapper af92aac7ec Remove tests 2020-06-03 13:45:59 +02:00
orangemug 90dfbf37e0 Added 'a11y' and 'source' addons to storybook as well as more stories 2020-06-03 09:52:54 +01:00
pathmapper e21f412933 Update ci.yml 2020-06-03 10:26:44 +02:00
pathmapper da297fe82c Checkout a particular SHA
https://github.com/maputnik/editor/pull/698#issuecomment-636748873
2020-06-03 10:12:32 +02:00
orangemug 624ccb5b00 Tidy of components
- Moved all components into a single directory like nextjs
 - Made component names consistent with each other
 - Made component names consistent with their export class names
 - Added storybook for a few components with the aim to extend this further.
2020-06-01 16:09:32 +01:00
pathmapper 9f0e5641ab Integrate desktop builds in ci workflow 2020-05-31 21:54:53 +02:00
pathmapper fda11e52e7 Merge pull request #14 from pathmapper/makefile_editor
Update for use in the editor ci workflow
2020-05-31 21:43:57 +02:00
pathmapper d9e3aa6ac4 Update for use in the editor ci workflow 2020-05-31 21:41:02 +02:00
pathmapper aeca95a27f Merge pull request #13 from pathmapper/rename_ci
Rename ci
2020-05-31 21:30:22 +02:00
pathmapper 7dfcdac202 Rename ci 2020-05-31 21:23:52 +02:00
pathmapper 4f156ee3fd Merge pull request #12 from pathmapper/gh-actions
Replace Travis with Github Actions
2020-05-31 21:14:39 +02:00
pathmapper 6d00214f55 Update README.md 2020-05-31 21:09:02 +02:00
pathmapper 1e7b6e809c Remove Travis 2020-05-31 21:05:00 +02:00
pathmapper cdcc61e234 Create go.yml 2020-05-31 21:04:11 +02:00
Orange Mug d07b40ccef Merge pull request #696 from orangemug/feature/add-more-functional-tests
Added more webdriver tests
2020-05-31 16:05:28 +01:00
orangemug e0abd8251d Remove temp file 2020-05-31 15:57:23 +01:00
orangemug 324452e714 Disable undo/redo again. 2020-05-31 15:48:20 +01:00
orangemug 8d3ad6b1a1 Added more functional tests. 2020-05-31 15:33:09 +01:00
pathmapper 9c63172d36 Merge pull request #11 from pathmapper/travis
Travis: Update go version and use OSM Liberty
2020-05-28 23:00:06 +02:00
pathmapper 6f21fd8dff Use OSM Liberty style 2020-05-28 22:56:08 +02:00
pathmapper 0e788c5841 Update go version 2020-05-28 22:55:39 +02:00
pathmapper 7229df704a Merge pull request #10 from pathmapper/1.7.0
Update Editor to v1.7.0
2020-05-28 22:08:56 +02:00
pathmapper 686fd27b35 Update Editor to v1.7.0 2020-05-28 22:05:48 +02:00
pathmapper 293342e4fb Update Desktop version number 2020-05-28 22:04:40 +02:00
pathmapper 03d9b946e7 Merge pull request #9 from miya0001/patch
Fixed the error `cannot use cli.StringFlag literal ...`
2020-05-28 21:54:55 +02:00
Orange Mug 3d4cc34a08 Merge pull request #695 from pathmapper/node_14
Add Node 14 to CI workflow
2020-05-28 11:48:59 +01:00
pathmapper ff351716b6 Update node-sass 2020-05-28 12:26:28 +02:00
Orange Mug c963a8cc59 Merge pull request #694 from pathmapper/issue_templates
Point users to https://gis.stackexchange.com/ in issue template
2020-05-28 09:39:53 +01:00
Orange Mug 52ad980aef Merge pull request #693 from pathmapper/update-mb-deps
Update GL JS and Style Spec
2020-05-28 09:38:56 +01:00
pathmapper fb04cce650 Update wdio deps 2020-05-28 08:56:23 +02:00
pathmapper 4b8acb10b0 Add Node 14 2020-05-28 08:39:57 +02:00
pathmapper 86d67389fc Update bug_report.md 2020-05-28 08:30:11 +02:00
pathmapper 9dad53e444 Point users to https://gis.stackexchange.com/ 2020-05-28 08:23:14 +02:00
pathmapper d5afeb14c1 Update bug_report.md 2020-05-28 08:04:15 +02:00
pathmapper 85bb1d4d40 Update MB dependencies 2020-05-28 07:29:55 +02:00
Orange Mug d95e25d185 Merge pull request #692 from orangemug/feature/codesandbox-ci
Added back in codesandbox CI config
2020-05-27 11:12:00 +01:00
Orange Mug a88f2bc0a3 Merge pull request #691 from orangemug/fix/readme-styling
Fixed README styling
2020-05-27 11:11:46 +01:00
orangemug 5a4254d300 Added back in codesandbox CI config. 2020-05-27 10:45:52 +01:00
orangemug 6bfe2aa364 Reordered header items in README. 2020-05-27 10:37:01 +01:00
orangemug 0acd1fec0a Fixed README styling, updated logo and removed broken badges. 2020-05-27 10:32:03 +01:00
pathmapper 3046fedb55 Merge pull request #690 from pathmapper/other_issue_template
Add other issue template
2020-05-27 11:26:23 +02:00
Orange Mug 1574b49b01 Merge pull request #687 from orangemug/feature/github-actions-ci
Added new CI workflow using GitHub actions
2020-05-27 10:20:21 +01:00
pathmapper 4417a2d8f1 Add other issue template 2020-05-27 11:18:27 +02:00
pathmapper 1f34e927e7 Merge pull request #689 from pathmapper/master
Add issue template for bug report
2020-05-27 10:58:00 +02:00
pathmapper 9af6a537ef Update issue templates
Add custom bug report
2020-05-27 10:48:54 +02:00
Orange Mug 6e07142f13 Merge pull request #546 from nyurik/dockerfile
Optimize docker image
2020-05-25 09:41:15 +01:00
orangemug d2853f34a4 Removed meta-demo-comment as it won't work from forked repos 2020-05-25 06:58:57 +01:00
orangemug 7faed0d27e Added firefox tests and fixed docker deploy 2020-05-24 12:56:52 +01:00
Orange Mug 22101f93ad Merge pull request #686 from orangemug/fix/issue-322
Added tip to JSON editor about how to unfocus
2020-05-24 12:04:35 +01:00
orangemug 0661899d54 Fixes for code review comments. 2020-05-24 11:46:47 +01:00
Orange Mug 862ac84464 Merge pull request #683 from orangemug/fix/a11y-issue-320
Fix some accessibility issues
2020-05-24 11:44:41 +01:00
Orange Mug 1e4aadbb6d Merge pull request #684 from orangemug/fix/issue-533
Fix for updating available sources cache when updating style
2020-05-24 11:42:15 +01:00
orangemug ce731e7d6b Added new CI workflow using GitHub actions.
Also

 - Fixed screenshot tests
 - Fixed code coverage
 - Removed appveyor
 - Removed circleci
 - Updated wdio related dependencies
 - Added docker image deploy to the GitHub registry
2020-05-24 11:13:16 +01:00
orangemug 5448cdbe4e Don't remember state when toggling <AddModal/> 2020-05-21 10:07:22 +01:00
orangemug 315a9b82c0 Fixed for initial focus of JSON editor message. 2020-05-21 09:22:42 +01:00
orangemug 9e1c0e4c82 Added aria-hidden to JSON editor message. 2020-05-21 09:20:47 +01:00
orangemug 7db675e0d1 Added ESC note to JSON editor. 2020-05-19 12:21:12 +01:00
orangemug 0aa629164a Fix for updating available sources when updating style. 2020-05-19 10:24:59 +01:00
orangemug c2ec77e869 Fixed lint errors. 2020-05-18 19:41:09 +01:00
orangemug b28407a4a0 Accessibility fixes
- Aria landmarks
 - Title attributes to all icon only buttons
 - <Multibutton/> now internally a radio group
 - Replaced 1 'skip navigation link' with UI group links
 - Added map specific shortcuts to the shortcut menu
 - Hidden layer list actions from tab index
2020-05-18 19:37:49 +01:00
Orange Mug e3e6647e03 Merge pull request #682 from orangemug/fix/issue-681
Fix open modal URL entry to use form submission
2020-05-14 15:32:09 +01:00
orangemug eb0f833d49 Fixed typo. 2020-05-14 13:33:57 +01:00
orangemug c5c1dd12b9 Added missing prop validation 2020-05-14 13:27:43 +01:00
orangemug b7e414a042 Fix URL entry to use form submission and improved errors if protocol isn't present. 2020-05-14 12:13:47 +01:00
Orange Mug 81a6f31803 Merge pull request #680 from pathmapper/mb_styles
Fix token input
2020-05-14 11:49:33 +01:00
pathmapper 65cd050a18 Fix token input 2020-05-05 09:40:43 +02:00
Orange Mug c426dd7349 Merge pull request #673 from pathmapper/update_mb_dependencies
Update MB deps
2020-05-02 09:33:10 +01:00
Orange Mug c5af645546 Merge pull request #675 from nspringer-trimble/feature/inspect-source-name
Add source name to inspect popup
2020-05-02 09:32:07 +01:00
pathmapper 1bf0abfb5a Update MB deps 2020-04-30 09:18:13 +02:00
Nick Springer 18338de21a Add source name to inspect popup 2020-04-27 15:30:07 -04:00
Orange Mug 857117eb71 Merge pull request #666 from orangemug/fix/issue-646
Fix to make layer list header visible at all times
2020-04-26 10:15:33 +01:00
Orange Mug 8d86bca8b3 Merge pull request #671 from pathmapper/update_readme
Remove v1.7.0-beta from readme
2020-04-26 10:02:51 +01:00
orangemug dc4e6a0925 Fix vertical align of view/select in toolbar 2020-04-26 09:58:21 +01:00
pathmapper e9d6119ac6 Remove v1.7.0-beta from readme 2020-04-26 10:58:01 +02:00
orangemug cbdf45c852 Fixed <select/> styling in firefox and improved in chrome. 2020-04-26 09:23:18 +01:00
Orange Mug a191c36f96 Merge pull request #667 from orangemug/fix/issue-656
Support multiple tiles URLs for source
2020-04-25 13:52:30 +01:00
orangemug 0a8d0974ca Fixed field spec for image/video. 2020-04-25 13:31:15 +01:00
orangemug 8e6c54564b Add <DynamicArrayInput/> to source tile urls to support multiple values. 2020-04-25 11:38:13 +01:00
orangemug 4bbe2ce1ea Fix to make layer list header visible at all times.
Also improved scrollbar styling/positioning for toolbar and layers list.
2020-04-25 11:05:34 +01:00
Takayuki Miyauchi 4a3825fa89 fixed the error cannot use cli.StringFlag literal ... 2020-02-21 07:24:00 +09:00
pathmapper 5371b0f9fb Merge pull request #8 from pathmapper/editor_1.6.1
Update editor to v1.6.1
2019-10-13 17:50:22 +02:00
pathmapper 538cea7f45 Update editor to v1.6.1 2019-10-13 14:28:42 +02:00
pathmapper fdfc470ccc Merge pull request #6 from pathmapper/update_versions
Update version numbers
2019-10-10 14:30:14 +02:00
pathmapper 3153eea1da Update version numbers 2019-10-08 22:29:45 +02:00
pathmapper 8471d0af3d Merge pull request #5 from JesseCrocker/choose-listen-port
Add option to choose a listening port
2019-10-08 22:20:05 +02:00
Jesse Crocker 1ce2d59b9b Add --port option to readme 2019-09-04 09:21:56 -06:00
Yuri Astrakhan 2a832955c4 Updated docs, rm creds 2019-08-03 15:02:16 -04:00
Yuri Astrakhan 608b836fe0 fix readme 2019-08-03 12:37:19 -04:00
Yuri Astrakhan de9c4fcc4a Optimize docker image
* Use 2 stage docker building to produce a tiny python3-slim based docker image with just the compilation results.
2019-08-03 12:08:54 -04:00
Jesse Crocker d951256b1c Add option to choose a listening port 2019-04-15 12:29:15 -06:00
pathmapper ec753869d5 Merge pull request #3 from maputnik/update-release-to-v1.5.0
Update release to v1.5.0
2019-02-09 14:07:52 +01:00
Lukas Welte 2e58be1c90 Switch around editor and desktop in version field so that it prints nicer 2019-02-09 13:47:58 +01:00
Lukas Welte 562a4f7322 Remove appveyor status from README 2019-02-09 13:45:45 +01:00
Lukas Welte e52a63e1dd Remove the deprecation warning from the readme 2019-02-09 12:47:47 +01:00
Lukas Welte 4533fd06ed Have Desktop version (changes in Desktop code) and editor version in version field 2019-02-09 12:39:32 +01:00
pathmapper b4fc62632c Merge pull request #4 from pathmapper/pathmapper-update-readme
Update README.md
2019-02-09 10:28:15 +01:00
pathmapper e3a9a8a38c Update README.md 2019-02-09 10:09:05 +01:00
pathmapper 7c4e982fb3 Merge pull request #1 from fawick/master
Fix README.md
2019-02-09 09:51:13 +01:00
Lukas Welte 85dd22b09a Use recent go version 2019-02-07 17:58:11 +01:00
Lukas Welte 18e15eeb5c remove complete bin folder in make clean 2019-02-07 17:35:23 +01:00
Lukas Welte 3a45b8dd41 Move dependencies into Makefile 2019-02-07 17:33:38 +01:00
Lukas Welte 5b8412765b Linux should be enough to build go for linux, windows and mac 2019-02-07 17:29:49 +01:00
Lukas Welte 69519df82f Use folders for different maputnik executables 2019-02-07 17:25:27 +01:00
Lukas Welte 8052701021 Use go cross compile to build once with travis for all platforms 2019-02-07 17:18:48 +01:00
Lukas Welte 35c0150522 Download release instead of building editor from source 2019-02-07 16:05:02 +01:00
Lukas Welte c55278e7da Remove editor submodule 2019-02-07 15:56:29 +01:00
Lukas Martinelli d3ecef3de6 Update README.md 2018-04-15 16:14:22 +05:30
Fabian Wickborn 3ef0a90de4 Fix README.md 2017-10-25 20:33:45 +02:00
Lukas Martinelli 87290889fd Upgrade to v1.0.2 2017-01-25 13:57:27 +01:00
Lukas Martinelli 1997e31b6b Build latest 2017-01-18 13:06:43 +01:00
Lukas Martinelli 5b21a2fa4f Build latest 2017-01-18 13:03:50 +01:00
Lukas Martinelli d314add6a9 Release v1.0.1 of CLI 2017-01-16 10:18:27 +01:00
Lukas Martinelli 50d61cdb0e Move to v1.0.0 2017-01-13 21:56:06 +01:00
Lukas Martinelli 4ffea21c5f Upgrade to latest Maputnik 2017-01-10 14:57:13 +01:00
Lukas Martinelli d29a79e79f Update editor 2017-01-08 17:15:57 +01:00
Lukas Martinelli 004177a3c8 Kill watch ocmmand after 5s 2017-01-08 13:40:38 +01:00
Lukas Martinelli b9e70a943f Update x/sys 2017-01-08 13:29:20 +01:00
Lukas Martinelli de853eb2d7 Use Go 1.7 explicitely in Travis 2017-01-08 13:29:20 +01:00
Lukas Martinelli f242c2c015 Update README.md 2017-01-08 10:45:01 +01:00
Lukas Martinelli d895cf079c Execute maputnik in travis 2017-01-08 10:39:12 +01:00
Lukas Martinelli 147cbc1580 Include subdirectories in embedded assets 2017-01-01 21:12:24 +01:00
Lukas Martinelli 3e46c0d3ba Set version, badge and download instruction 2017-01-01 16:49:18 +01:00
Lukas Martinelli d233e0a14d Create public dir 2017-01-01 16:33:29 +01:00
Lukas Martinelli a73b2fd7e1 Use nvm for travis 2017-01-01 16:24:36 +01:00
Lukas Martinelli 69f63f2844 Use latest node in desktop build 2017-01-01 16:22:01 +01:00
Lukas Martinelli 10136c07db Publish artifacts 2017-01-01 16:16:18 +01:00
Lukas Martinelli 5e3156ab21 Fetch submodule in appveyor 2017-01-01 16:00:59 +01:00
Lukas Martinelli 6be8959951 Update to latest master 2017-01-01 15:52:10 +01:00
Lukas Martinelli d2cd84de2b Switch filewatch implementation to fsnotify 2017-01-01 15:50:58 +01:00
Lukas Martinelli 60bea1777a Ugrade to v0.3.1 2016-12-31 16:12:07 +01:00
Lukas Martinelli ce9216b2d5 Write and read file directly 2016-12-03 23:04:32 +01:00
Lukas Martinelli 35ed202cd0 Support CORS 2016-12-03 23:04:12 +01:00
Lukas Martinelli 0d77518a02 Support saving file 2016-12-03 16:51:47 +01:00
lukasmartinelli 11375008fa Extend README with endpoint desription 2016-11-05 17:40:19 +01:00
lukasmartinelli 009f4e105d Specify path to mingw make 2016-11-03 13:29:14 +01:00
lukasmartinelli b1af4917e5 Add missing bindata deps 2016-11-03 13:26:14 +01:00
lukasmartinelli 5b712d74ae Use MinGW make in AppVeyor 2016-11-03 13:24:02 +01:00
lukasmartinelli ca2df37c79 Fix go get in AppVeyor 2016-11-03 13:19:58 +01:00
lukasmartinelli 7d1890156d Update Travis go get 2016-11-03 13:18:08 +01:00
lukasmartinelli ecab640a9a Add AppVeyor integration 2016-11-02 17:10:40 +01:00
lukasmartinelli f8cb0619f3 Use HTTPS endpoint for submodule 2016-11-02 17:08:48 +01:00
lukasmartinelli d874b2503b Add Travis file 2016-11-02 17:01:46 +01:00
lukasmartinelli 3d09f2a0f3 Add server usage example 2016-09-27 17:31:14 +02:00
lukasmartinelli 1f1580276d Integrate file access into API 2016-09-27 14:28:40 +02:00
lukasmartinelli 0421a7f099 Add websocket filewatcher 2016-09-27 11:45:27 +02:00
lukasmartinelli 8b722fc967 Add Makefile 2016-09-27 10:59:56 +02:00
lukasmartinelli 66e3ce8743 Add server and bindata packaging 2016-09-27 10:27:47 +02:00
Lukas Martinelli 45eb3a01e6 Initial commit 2016-09-27 10:08:08 +02:00
291 changed files with 25028 additions and 25220 deletions
-20
View File
@@ -1,20 +0,0 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"static-fs",
"react-hot-loader/babel",
"@babel/plugin-proposal-class-properties"
],
"env": {
"test": {
"plugins": [
["istanbul", {
"exclude": ["node_modules/**", "test/**"]
}]
]
}
}
}
-103
View File
@@ -1,103 +0,0 @@
version: 2
templates:
# Test the build **only** no webdriver
build-steps: &build-steps
- checkout
- run:
name: "Create artifacts directory"
command: mkdir /tmp/artifacts
- restore_cache:
key: v1-dependencies-{{ arch }}-{{ checksum "package.json" }}
- run: npm install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ arch }}-{{ checksum "package.json" }}
- run: mkdir -p /tmp/artifacts/logs
- run: npm run build
- run: npm run lint-js
- run: npm run lint-css
- store_artifacts:
path: /tmp/artifacts
destination: /artifacts
# Test in webdriver
wdio-steps: &wdio-steps
- checkout
- run:
name: "Create artifacts directory"
command: mkdir /tmp/artifacts
- restore_cache:
key: v1-dependencies-{{ arch }}-{{ checksum "package.json" }}
- run: npm install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ arch }}-{{ checksum "package.json" }}
- run: mkdir -p /tmp/artifacts/logs
- run: npm run build
- run: npm run profiling-build
- run: npm run lint-js
- run: npm run lint-css
- run: DOCKER_HOST=localhost npm test
- run: ./node_modules/.bin/istanbul report --include /tmp/artifacts/coverage/coverage.json --dir /tmp/artifacts/coverage html lcov
- store_artifacts:
path: /tmp/artifacts
destination: /artifacts
jobs:
build-linux-node-v10:
docker:
- image: node:10
- image: selenium/standalone-chrome:3.141.59
working_directory: ~/repo-linux-node-v10
steps: *wdio-steps
build-linux-node-v12:
docker:
- image: node:12
working_directory: ~/repo-linux-node-v12
steps: *build-steps
build-linux-node-v13:
docker:
- image: node:13
working_directory: ~/repo-linux-node-v13
steps: *build-steps
build-osx-node-v10:
macos:
xcode: "9.0"
dependencies:
override:
- brew install node@10
working_directory: ~/repo-osx-node-v10
steps: *build-steps
build-osx-node-v12:
macos:
xcode: "9.0"
dependencies:
override:
- brew install node@12
working_directory: ~/repo-osx-node-v12
steps: *build-steps
build-osx-node-v13:
macos:
xcode: "9.0"
dependencies:
override:
- brew install node@13
working_directory: ~/repo-osx-node-v13
steps: *build-steps
workflows:
version: 2
build:
jobs:
- build-linux-node-v10
- build-linux-node-v12
- build-linux-node-v13
- build-osx-node-v10
- build-osx-node-v12
- build-osx-node-v13
+45
View File
@@ -0,0 +1,45 @@
.git
.gitignore
Dockerfile
#
#
# COPIED FROM .gitignore , please keep it in sync
#
#
# Logs
logs
*.log
*.swp
*.swo
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
# Ignore build files
public
/errorShots
/old
/build
+2 -1
View File
@@ -1 +1,2 @@
custom: "https://maputnik.github.io/donate" github: [maplibre]
open_collective: maplibre
+27
View File
@@ -0,0 +1,27 @@
---
name: Bug report
about: Create a report to help us improve Maputnik
title: ''
labels: ''
assignees: ''
---
<!-- Thanks for your feedback! Please complete the following information: -->
**Maputnik version**:<!-- e.g v1.7.0, main -->
**Browser**:
**OS**:<!-- (Windows, macOS, Linux) -->
**Description of the bug**:
**Steps to reproduce the behavior**:
1.
2.
3.
**Style file or style URL**:
<!-- If applicable, attach a style file (zip) or provide a style URL. -->
**Screenshots**:
<!-- If applicable, add screenshots to help explain your problem. -->
+11
View File
@@ -0,0 +1,11 @@
---
name: Other issue
about: Feature request or other issue which is no bug report
title: ''
labels: ''
assignees: ''
---
<!-- Thanks for reaching out! If you are having general Maputnik mapping questions, please asking them at https://gis.stackexchange.com/ using the 'maputnik' tag https://gis.stackexchange.com/questions/tagged/maputnik and read https://gis.stackexchange.com/help/how-to-ask before you do so (please keep in mind that you're asking there in a general GIS forum, not a dedicated support channel) -->
+11
View File
@@ -0,0 +1,11 @@
## Launch Checklist
<!-- Thanks for the PR! Feel free to add or remove items from the checklist. -->
- [ ] Briefly describe the changes in this PR.
- [ ] Link to related issues.
- [ ] Include before/after visuals or gifs if this PR includes visual changes.
- [ ] Write tests for all new functionality.
- [ ] Add an entry to `CHANGELOG.md` under the `## main` section.
+17
View File
@@ -0,0 +1,17 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
open-pull-requests-limit: 20
versioning-strategy: increase
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
@@ -0,0 +1,26 @@
name: Automerge Dependabot
on: pull_request
permissions: write-all
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.3.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve Dependabot PRs
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
+113
View File
@@ -0,0 +1,113 @@
name: ci
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build-docker:
name: build docker
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4
- run: docker build -t test-docker-image-build .
# build the editor
build-node:
name: "build on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run build
- run: npm run lint
- run: npm run lint-css
build-artifacts:
name: "build artifacts"
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run build
- name: artifacts/maputnik
uses: actions/upload-artifact@v4
with:
name: maputnik
path: dist
# Build and upload desktop CLI artifacts
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ^1.23.x
cache-dependency-path: desktop/go.sum
id: go
- name: Build desktop artifacts
run: npm run build-desktop
- name: Artifacts/linux
uses: actions/upload-artifact@v4
with:
name: maputnik-linux
path: ./desktop/bin/linux/
- name: Artifacts/darwin
uses: actions/upload-artifact@v4
with:
name: maputnik-darwin
path: ./desktop/bin/darwin/
- name: Artifacts/windows
uses: actions/upload-artifact@v4
with:
name: maputnik-windows
path: ./desktop/bin/windows/
e2e-tests:
name: "E2E tests using ${{ matrix.browser }}"
strategy:
fail-fast: false
matrix:
browser: [chrome]
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- run: npm ci
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: npm run build
start: npm run start
browser: ${{ matrix.browser }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
files: ${{ github.workspace }}/.nyc_output/out.json
verbose: true
+70
View File
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '17 0 * * 6'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
@@ -0,0 +1,39 @@
name: Create bump version PR
on:
workflow_dispatch:
inputs:
version:
description: Version to change to.
required: true
type: string
jobs:
bump-version-pr:
name: Bump version PR
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
- name: Use Node.js from nvmrc
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Bump version
run: |
npm version --commit-hooks false --git-tag-version false ${{ inputs.version }}
./build/bump-version-changelog.js ${{ inputs.version }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: Bump version to ${{ inputs.version }}
branch: bump-version-to-${{ inputs.version }}
title: Bump version to ${{ inputs.version }}
+51
View File
@@ -0,0 +1,51 @@
name: deploy
on:
push:
branches: [ main ]
jobs:
deploy-pages:
name: deploy/pages
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js from nvmrc
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Upload to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist
# publish docker to GitHub registry
deploy-docker:
name: deploy/docker
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
strategy:
fail-fast: false
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- run: docker build -t ghcr.io/maplibre/maputnik:main .
- run: docker push ghcr.io/maplibre/maputnik:main
+102
View File
@@ -0,0 +1,102 @@
name: Release
on:
push:
branches: [main]
workflow_dispatch:
jobs:
release-check:
name: Check if version changed
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
- name: Use Node.js from nvmrc
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Check if version has been updated
id: check
uses: EndBug/version-check@v2
outputs:
publish: ${{ steps.check.outputs.changed }}
release:
name: Release
needs: release-check
if: ${{ needs.release-check.outputs.publish == 'true' }}
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
- name: Use Node.js from nvmrc
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
- name: Set up Go for desktop build
uses: actions/setup-go@v5
with:
go-version: ^1.23.x
cache-dependency-path: desktop/go.sum
id: go
- name: Get version
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.1
- name: Install
run: npm ci
- name: Build
run: |
npm run build-desktop
- name: Tag commit and push
id: tag_version
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ steps.package-version.outputs.current-version }}
- name: Create Archives
run: |
zip -r "desktop-${{ steps.package-version.outputs.current-version }}" desktop/bin/
- name: Build Release Notes
id: release_notes
run: |
RELEASE_NOTES_PATH="${PWD}/release_notes.txt"
./build/release-notes.js > ${RELEASE_NOTES_PATH}
echo "release_notes=${RELEASE_NOTES_PATH}" >> $GITHUB_OUTPUT
- name: Create GitHub Release
id: create_regular_release
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: ${{ steps.tag_version.outputs.new_tag }}
bodyFile: ${{ steps.release_notes.outputs.release_notes }}
artifacts: "desktop-${{ steps.package-version.outputs.current-version }}.zip"
allowUpdates: true
draft: false
prerelease: false
+12 -1
View File
@@ -14,6 +14,7 @@ lib-cov
# Coverage directory used by tools like istanbul # Coverage directory used by tools like istanbul
coverage coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt .grunt
@@ -32,4 +33,14 @@ node_modules
public public
/errorShots /errorShots
/old /old
/build /cypress/screenshots
/dist/
/desktop/version.go
# IDE
.vscode/
.idea/
# Window metadata files
/desktop/winres/winres.json
/desktop/*.syso
+1
View File
@@ -0,0 +1 @@
legacy-peer-deps = true
+1
View File
@@ -0,0 +1 @@
22.13
+18
View File
@@ -0,0 +1,18 @@
{
"all": true,
"extends": "@istanbuljs/nyc-config-typescript",
"check-coverage": false,
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": [
"cypress/**/*.*",
"**/*.d.ts",
"**/*.cy.tsx",
"**/*.cy.ts",
"./coverage/**",
"./cypress/**",
"./dist/**",
"node_modules"
],
"report-dir": "coverage",
"reporter": ["json", "lcov", "json-summary"]
}
+35
View File
@@ -0,0 +1,35 @@
## main
### ✨ Features and improvements
- Add german translation
- Use same version number for web and desktop versions
- Add scheme type options for vector/raster tile
- Add `tileSize` field for raster and raster-dem tile sources
- Update Protomaps Light gallery style to v4
- Add support to edit local files on the file system if supported by the browser
- Upgrade to MapLibre LG JS v5
- Upgrade Vite 6 and Cypress 14 ([#970](https://github.com/maplibre/maputnik/pull/970))
- Upgrade OpenLayers from v6 to v10
- _...Add new stuff here..._
### 🐞 Bug fixes
- Fix incorrect handing of network error response (#944)
- _...Add new stuff here..._
## 2.1.1
### ✨ Features and improvements
- Add GitHub workflows for releasing new versions
- Update desktop build to pull from this repo (#922)
## 2.0.0
- Update MapLibre to version 4 (#872)
- Start continuous deployment of maputnik website
## 1.7.0
- See release notes at https://maputnik.github.io/blog/2020/04/23/release-v1.7.0
+2
View File
@@ -0,0 +1,2 @@
# Contributor Covenant
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](https://github.com/maplibre/maplibre/blob/main/CODE_OF_CONDUCT.md)
+12 -17
View File
@@ -1,21 +1,16 @@
FROM node:10-slim FROM node:18 as builder
WORKDIR /maputnik
RUN apt-get update && apt-get install -y --no-install-recommends \ # Only copy package.json to prevent npm install from running on every build
git \ COPY package.json package-lock.json .npmrc ./
python \ RUN npm ci
&& rm -rf /var/lib/apt/lists/*
EXPOSE 8888 # Build maputnik
COPY . .
RUN npx vite build
ENV HOME /maputnik #---------------------------------------------------------------------------
RUN mkdir ${HOME} # Create a clean nginx-alpine slim image with just the build results
FROM nginx:alpine-slim
COPY . ${HOME}/ COPY --from=builder /maputnik/dist /usr/share/nginx/html/
WORKDIR ${HOME}
RUN npm install -d
RUN npm run build
WORKDIR ${HOME}/build/build
CMD python -m SimpleHTTPServer 8888
+1
View File
@@ -1,6 +1,7 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2015 Lukas Martinelli Copyright (c) 2015 Lukas Martinelli
Copyright (c) 2024 MapLibre contributors
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
+50 -104
View File
@@ -1,69 +1,63 @@
# Maputnik <img width="200" alt="Maputnik logo" src="https://cdn.jsdelivr.net/gh/maputnik/design/logos/logo-color.png" />
[![Build Status](https://circleci.com/gh/maputnik/editor/tree/master.svg?style=shield)][circleci] # Maputnik
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/anelbgv6jdb3qnh9/branch/master?svg=true)][appveyor] [![GitHub CI status](https://github.com/maplibre/maputnik/workflows/ci/badge.svg)][github-action-ci]
[![Dependency Status](https://david-dm.org/maputnik/editor.svg)][dm-prod]
[![Dev Dependency Status](https://david-dm.org/maputnik/editor/dev-status.svg)][dm-dev]
[![License](https://img.shields.io/badge/license-MIT-blue.svg)][license] [![License](https://img.shields.io/badge/license-MIT-blue.svg)][license]
[circleci]: https://circleci.com/gh/maputnik/editor/tree/master [github-action-ci]: https://github.com/maplibre/maputnik/actions?query=workflow%3Aci
[appveyor]: https://ci.appveyor.com/project/lukasmartinelli/editor [license]: https://tldrlegal.com/license/mit-license
[dm-prod]: https://david-dm.org/maputnik/editor
[dm-dev]: https://david-dm.org/maputnik/editor?type=dev
[license]: https://tldrlegal.com/license/mit-license
<img width="200" align="right" alt="Maputnik" src="https://cdn.jsdelivr.net/gh/maputnik/editor@1.5.0/src/img/maputnik.png" /> A free and open visual editor for the [MapLibre GL styles](https://maplibre.org/maplibre-style-spec/)
A free and open visual editor for the [Mapbox GL styles](https://www.mapbox.com/mapbox-gl-style-spec/)
targeted at developers and map designers. targeted at developers and map designers.
- :link: Design your maps online at **<https://maputnik.github.io/editor/>** (all in local storage)
- :link: Try out the v1.7.0-beta release at: https://maputnik.github.io/releases/v1.7.0-beta/
- :link: Use the [Maputnik CLI](https://github.com/maputnik/editor/wiki/Maputnik-CLI) for local style development
Mapbox has built one of the best and most amazing OSS ecosystems. A key component to ensure its longevity and independence is an OSS map designer. ## Usage
- :link: Design your maps online at **<https://www.maplibre.org/maputnik/>** (all in local storage)
- :link: Use the [Maputnik CLI](https://github.com/maplibre/maputnik/wiki/Maputnik-CLI) for local style development
- In a Docker, run this command and browse to http://localhost:8888, Ctrl+C to stop the server.
## Donations ```bash
If you or your organisation has seen value from Maputnik, please consider donating at <https://maputnik.github.io/donate> docker run -it --rm -p 8888:80 ghcr.io/maplibre/maputnik:main
```
## Documentation ## Documentation
The documentation can be found in the [Wiki](https://github.com/maputnik/editor/wiki). You are welcome to collaborate! The documentation can be found in the [Wiki](https://github.com/maplibre/maputnik/wiki). You are welcome to collaborate!
- :link: **Study the [Maputnik Wiki](https://github.com/maputnik/editor/wiki)** - :link: **Study the [Maputnik Wiki](https://github.com/maplibre/maputnik/wiki)**
- :video_camera: Design a map from Scratch https://youtu.be/XoDh0gEnBQo - :video_camera: Design a map from Scratch https://youtu.be/XoDh0gEnBQo
[![Design Map from Scratch](https://j.gifs.com/g5XMgl.gif)](https://youtu.be/XoDh0gEnBQo) [![Design Map from Scratch](https://j.gifs.com/g5XMgl.gif)](https://youtu.be/XoDh0gEnBQo)
## Develop ## Develop
Maputnik is written in ES6 and is using [React](https://github.com/facebook/react) and [Mapbox GL JS](https://www.mapbox.com/mapbox-gl-js/api/). Maputnik is written in typescript and is using [React](https://github.com/facebook/react) and [MapLibre GL JS](https://maplibre.org/projects/maplibre-gl-js/).
We ensure building and developing Maputnik works with the [current active LTS Node.js version and above](https://github.com/nodejs/Release#release-schedule). We ensure building and developing Maputnik works with the [current active LTS Node.js version and above](https://github.com/nodejs/Release#release-schedule).
Check out our [Internationalization guide](./src/locales/README.md) 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 the deps, start the dev server and open the web browser on `http://localhost:8888/`.
```bash ```bash
# install dependencies # install dependencies
npm install npm install
# start dev server # start dev server
npm start npm run start
``` ```
If you want Maputnik to be accessible externally use the [`--host` option](https://webpack.js.org/configuration/dev-server/#devserverhost): If you want Maputnik to be accessible externally use the [`--host` option](https://vitejs.dev/config/server-options.html#server-host):
```bash ```bash
# start externally accessible dev server # start externally accessible dev server
npm start -- --host 0.0.0.0 npm run start -- --host 0.0.0.0
``` ```
The build process will watch for changes to the filesystem, rebuild and autoreload the editor. However note this from the [webpack-dev-server docs](https://webpack.js.org/configuration/dev-server/): The build process will watch for changes to the filesystem, rebuild and autoreload the editor.
> webpack uses the file system to get notified of file changes. In some cases this does not work. For example, when using Network File System (NFS). Vagrant also has a lot of problems with this. ([snippet source](https://webpack.js.org/configuration/dev-server/#devserverwatchoptions-))
To enable polling add `export WEBPACK_DEV_SERVER_POLLING=1` to your environment.
``` ```
npm run build npm run build
@@ -74,98 +68,50 @@ Lint the JavaScript code.
``` ```
# run linter # run linter
npm run lint npm run lint
npm run lint-styles npm run lint-css
npm run sort-styles
``` ```
## Tests ## Tests
For testing we use [webdriverio](http://webdriver.io) and [selenium-standalone](https://github.com/vvo/selenium-standalone) For E2E testing we use [Cypress](https://www.cypress.io/)
[selenium-standalone](https://github.com/vvo/selenium-standalone) starts a server that will launch browsers on your local machine. We use chrome so you **must** have chrome installed on your machine. [Cypress](https://www.cypress.io/) doesn't starts a server so you'll need to start one manually by running `npm run start`.
Now open a terminal and run the following. This will install the drivers on your local machine Now open a terminal and run the following using *chrome*:
``` ```
./node_modules/.bin/selenium-standalone install npm run test
```
or *firefox*:
```
npm run test -- --browser firefox
``` ```
Now start the standalone server 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:
``` ```
./node_modules/.bin/selenium-standalone start npm run cy:open
``` ```
Then open another terminal and run ## Release process
``` 1. Review [`CHANGELOG.md`](/CHANGELOG.md)
npm test - 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](https://github.com/maplibre/maputnik/actions/workflows/create-bump-version-pr.yml) 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.
After some time you should see a browser launch which will be automated by the test runner.
## Related Projects
- [maputnik-dev-server](https://github.com/nycplanning/labs-maputnik-dev-server) - An express.js server that allows for quickly loading the style from any mapboxGL map into mapuntnik.
## Sponsors ## Sponsors
Thanks to the supporters of the **[Kickstarter campaign](https://www.kickstarter.com/projects/174808720/maputnik-visual-map-editor-for-mapbox-gl)**. This project would not be possible without these commercial and individual sponsors. Thanks to the supporters of the **[Kickstarter campaign](https://www.kickstarter.com/projects/174808720/maputnik-visual-map-editor-for-mapbox-gl)**. 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.
### Gold Read more about the MapLibre Sponsorship Program at https://maplibre.org/sponsors/.
- [Wemap](https://getwemap.com/)
- [Orbicon Informatik](https://www.orbiconinformatik.dk/)
- [Terranodo](http://terranodo.io/)
<a href="https://getwemap.com/">
<img width="33%" alt="Wemap" style="display:inline" src="https://cdn.jsdelivr.net/gh/maputnik/editor@1.5.0/media/sponsors/wemap.jpg" />
</a>
<a href="http://terranodo.io/">
<img width="33%" alt="Terranodo" style="display:inline" src="https://cdn.jsdelivr.net/gh/maputnik/editor@1.5.0/media/sponsors/terranodo.png" />
</a>
<a href="https://www.orbiconinformatik.dk/">
<img width="32%" alt="Terranodo" style="display:inline" src="https://cdn.jsdelivr.net/gh/maputnik/editor@1.5.0/media/sponsors/orbicon_informatik.png" />
</a>
<br/>
### Silver
- [Klokan Technologies](https://www.klokantech.com/)
- [Geofabrik](http://www.geofabrik.de/)
- [Dreipol](https://www.dreipol.ch/)
<a href="https://www.klokantech.com/">
<img width="18%" alt="Klokan Technologies" style="display:inline-block" src="https://cdn.jsdelivr.net/gh/maputnik/editor@1.5.0/media/sponsors/klokantech.png" />
</a>
<a href="http://www.geofabrik.de/">
<img width="18%" alt="Geofabrik" style="display:inline-block" src="https://cdn.jsdelivr.net/gh/maputnik/editor@1.5.0/media/sponsors/geofabrik.png" />
</a>
<a href="https://www.dreipol.ch/">
<img width="18%" alt="Dreipol" style="display:inline-block" src="https://cdn.jsdelivr.net/gh/maputnik/editor@1.5.0/media/sponsors/dreipol.png" />
</a>
<br/>
### Individuals
**Influential Stakeholder**
Alan McConchie, Odi, Mats Norén, Uli [geOps](http://geops.ch/), Helge Fahrnberger ([Toursprung](http://www.toursprung.com/)), Kirusanth Poopalasingam
**Stakeholder**
Brian Flood, Vasile Coțovanu, Andreas Kalkbrenner, Christian Mäder, Gregor Wassmann, Lee Armstrong, Rafel, Jon Burgess, Lukas Lehmann, Joachim Ungar, Alois Ackermann, Zsolt Ero, Jordan Meek
**Supporter**
Sina Martinelli, Nicholas Doiron, Neil Cawse, Urs42, Benedikt Groß, Manuel Roth, Janko Mihelić, Moritz Stefaner, Sebastian Ahoi, Juerg Uhlmann, Tom Wider, Nadia Panchaud, Oliver Snowden, Stephan Heuel, Tobin Bradley, Adrian Herzog, Antti Lehto, Pascal Mages, Marc Gehling, Imre Samu, Lauri K., Visahavel Parthasarathy, Christophe Waterlot-Buisine, Max Galka, ubahnverleih, Wouter van Dam, Jakob Lobensteiner, Samuel Kurath, Brian Bancroft
## License ## License
Maputnik is [licensed under MIT](LICENSE) and is Copyright (c) Lukas Martinelli and contributors. Maputnik is [licensed under MIT](LICENSE) 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.
**Disclaimer** This project is not affiliated with Mapbox or Mapbox Studio. It is an independent style editor for the
open source technology in the Mapbox GL ecosystem.
As contributor please take extra care of not violating any Mapbox trademarks. Do not get inspired by Mapbox Studio and make your own decisions for a good style editor.
+2
View File
@@ -0,0 +1,2 @@
For an up-to-date policy refer to
https://github.com/maplibre/maplibre/blob/main/SECURITY_POLICY.txt
-26
View File
@@ -1,26 +0,0 @@
image: Visual Studio 2019
environment:
matrix:
- nodejs_version: "10"
- nodejs_version: "12"
- nodejs_version: "13"
platform:
- x86
- x64
install:
# https://github.com/appveyor/ci/issues/2921#issuecomment-501016533
- ps: |
try {
Install-Product node $env:nodejs_version $env:platform
} catch {
echo "Unable to install node $env:nodejs_version, trying update..."
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
}
- md public
- npm install --global windows-build-tools
- npm install
build_script:
- npm run build
test_script:
- npm run lint-js
- npm run lint-css
+11
View File
@@ -0,0 +1,11 @@
# Build Scripts
This folder holds common build scripts used by some of the Github workflows.
The scripts are borrowed from [maplibre/maplibre-gl-js](https://github.com/maplibre/maplibre-gl-js/tree/bc70bc559cea5c987fa1b79fd44766cef68bbe28/build).
## Generate Release Notes
`bump-version-changelog.js` Used to update the changelog with the current notes, and set up a space for new notes
`release-notes.js` Used to generate release notes when releasing a new version
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/env node
/**
* This script updates the changelog.md file with the version given in the arguments
* It replaces ## main with ## <version>
* Removes _...Add new stuff here..._
* And adds on top a ## main with add stuff here.
*
* Copied from maplibre/maplibre-gl-js
* https://github.com/maplibre/maplibre-gl-js/blob/bc70bc559cea5c987fa1b79fd44766cef68bbe28/build/release-notes.js
*/
import * as fs from 'fs';
const changelogPath = 'CHANGELOG.md';
let changelog = fs.readFileSync(changelogPath, 'utf8');
changelog = changelog.replace('## main', `## ${process.argv[2]}`);
changelog = changelog.replaceAll('- _...Add new stuff here..._\n', '');
changelog = `## main
### ✨ Features and improvements
- _...Add new stuff here..._
### 🐞 Bug fixes
- _...Add new stuff here..._
` + changelog;
fs.writeFileSync(changelogPath, changelog, 'utf8');
+47
View File
@@ -0,0 +1,47 @@
#!/usr/bin/env node
// Copied from maplibre/maplibre-gl-js
// https://github.com/maplibre/maplibre-gl-js/blob/bc70bc559cea5c987fa1b79fd44766cef68bbe28/build/release-notes.js
import * as fs from 'fs';
const changelogPath = 'CHANGELOG.md';
const changelog = fs.readFileSync(changelogPath, 'utf8');
/*
Parse the raw changelog text and split it into individual releases.
This regular expression:
- Matches lines starting with "## x.x.x".
- Groups the version number.
- Skips the (optional) release date.
- Groups the changelog content.
- Ends when another "## x.x.x" is found.
*/
const regex = /^## (\d+\.\d+\.\d+.*?)\n(.+?)(?=\n^## \d+\.\d+\.\d+.*?\n)/gms;
const releaseNotes = [];
let match;
// eslint-disable-next-line no-cond-assign
while (match = regex.exec(changelog)) {
releaseNotes.push({
'version': match[1],
'changelog': match[2].trim(),
});
}
const latest = releaseNotes[0];
const previous = releaseNotes[1];
// Print the release notes template.
let header = 'Changes since previous version'
if (previous) {
header = `https://github.com/maplibre/maputnik
[Changes](https://github.com/maplibre/maputnik/compare/v${previous.version}...v${latest.version}) since [Maputnik v${previous.version}](https://github.com/maplibre/maputnik/releases/tag/v${previous.version})`
}
const templatedReleaseNotes = `${header}
${latest.changelog}`;
process.stdout.write(templatedReleaseNotes.trimEnd());
-291
View File
@@ -1,291 +0,0 @@
var webpack = require("webpack");
var WebpackDevServer = require("webpack-dev-server");
var webpackConfig = require("./webpack.config");
var testConfig = require("../test/config/specs");
var artifacts = require("../test/artifacts");
var isDocker = require("is-docker");
var server;
var SCREENSHOT_PATH = artifacts.pathSync("screenshots");
exports.config = {
//
// ====================
// Runner Configuration
// ====================
//
// WebdriverIO allows it to run your tests in arbitrary locations (e.g. locally or
// on a remote machine).
runner: 'local',
//
// ==================
// Specify Test Files
// ==================
// Define which test specs should run. The pattern is relative to the directory
// from which `wdio` was called. Notice that, if you are calling `wdio` from an
// NPM script (see https://docs.npmjs.com/cli/run-script) then the current working
// directory is where your package.json resides, so `wdio` will be called from there.
//
specs: [
'./test/functional/index.js'
],
// Patterns to exclude.
exclude: [
// 'path/to/excluded/files'
],
//
// ============
// Capabilities
// ============
// Define your capabilities here. WebdriverIO can run multiple capabilities at the same
// time. Depending on the number of capabilities, WebdriverIO launches several test
// sessions. Within your capabilities you can overwrite the spec and exclude options in
// order to group specific specs to a specific capability.
//
// First, you can define how many instances should be started at the same time. Let's
// say you have 3 different capabilities (Chrome, Firefox, and Safari) and you have
// set maxInstances to 1; wdio will spawn 3 processes. Therefore, if you have 10 spec
// files and you set maxInstances to 10, all spec files will get tested at the same time
// and 30 processes will get spawned. The property handles how many capabilities
// from the same test should run tests.
//
maxInstances: 10,
//
// If you have trouble getting all important capabilities together, check out the
// Sauce Labs platform configurator - a great tool to configure your capabilities:
// https://docs.saucelabs.com/reference/platforms-configurator
//
capabilities: [{
// maxInstances can get overwritten per capability. So if you have an in-house Selenium
// grid with only 5 firefox instances available you can make sure that not more than
// 5 instances get started at a time.
maxInstances: 5,
//
browserName: 'chrome',
// If outputDir is provided WebdriverIO can capture driver session logs
// it is possible to configure which logTypes to include/exclude.
// excludeDriverLogs: ['*'], // pass '*' to exclude all driver session logs
// excludeDriverLogs: ['bugreport', 'server'],
}],
//
// ===================
// Test Configurations
// ===================
// Define all options that are relevant for the WebdriverIO instance here
//
// Level of logging verbosity: trace | debug | info | warn | error | silent
logLevel: 'info',
//
// Set specific log levels per logger
// loggers:
// - webdriver, webdriverio
// - @wdio/applitools-service, @wdio/browserstack-service, @wdio/devtools-service, @wdio/sauce-service
// - @wdio/mocha-framework, @wdio/jasmine-framework
// - @wdio/local-runner, @wdio/lambda-runner
// - @wdio/sumologic-reporter
// - @wdio/cli, @wdio/config, @wdio/sync, @wdio/utils
// Level of logging verbosity: trace | debug | info | warn | error | silent
// logLevels: {
// webdriver: 'debug',
// '@wdio/applitools-service': 'info'
// },
//
// If you only want to run your tests until a specific amount of tests have failed use
// bail (default is 0 - don't bail, run all tests).
bail: 0,
//
screenshotPath: SCREENSHOT_PATH,
// Note: This is here because @orangemug currently runs Maputnik inside a docker container.
hostname: process.env.DOCKER_HOST || "0.0.0.0",
// Set a base URL in order to shorten url command calls. If your `url` parameter starts
// with `/`, the base url gets prepended, not including the path portion of your baseUrl.
// If your `url` parameter starts without a scheme or `/` (like `some/path`), the base url
// gets prepended directly.
baseUrl: 'http://localhost',
//
// Default timeout for all waitFor* commands.
waitforTimeout: 10000,
//
// Default timeout in milliseconds for request
// if Selenium Grid doesn't send response
connectionRetryTimeout: 90000,
//
// Default request retries count
connectionRetryCount: 3,
//
// Test runner services
// Services take over a specific job you don't want to take care of. They enhance
// your test setup with almost no effort. Unlike plugins, they don't add new
// commands. Instead, they hook themselves up into the test process.
//
// Framework you want to run your specs with.
// The following are supported: Mocha, Jasmine, and Cucumber
// see also: https://webdriver.io/docs/frameworks.html
//
// Make sure you have the wdio adapter package for the specific framework installed
// before running any tests.
framework: 'mocha',
//
// The number of times to retry the entire specfile when it fails as a whole
// specFileRetries: 1,
//
// Test reporter for stdout.
// The only one supported by default is 'dot'
// see also: https://webdriver.io/docs/dot-reporter.html
reporters: ['spec'],
//
// Options to be passed to Mocha.
// See the full list at http://mochajs.org/
mochaOpts: {
ui: 'bdd',
// Because we don't know how long the initial build will take...
timeout: 4*60*1000
},
onPrepare: function (config, capabilities) {
return new Promise(function(resolve, reject) {
var compiler = webpack(webpackConfig);
const serverHost = isDocker() ? "0.0.0.0" : "localhost";
server = new WebpackDevServer(compiler, {
host: serverHost,
stats: {
colors: true
}
});
server.listen(testConfig.port, serverHost, function(err) {
if(err) {
reject(err);
}
else {
resolve();
}
});
})
},
onComplete: function(exitCode) {
server.close()
}
//
// =====
// Hooks
// =====
// WebdriverIO provides several hooks you can use to interfere with the test process in order to enhance
// it and to build services around it. You can either apply a single function or an array of
// methods to it. If one of them returns with a promise, WebdriverIO will wait until that promise got
// resolved to continue.
/**
* Gets executed once before all workers get launched.
* @param {Object} config wdio configuration object
* @param {Array.<Object>} capabilities list of capabilities details
*/
// onPrepare: function (config, capabilities) {
// },
/**
* Gets executed just before initialising the webdriver session and test framework. It allows you
* to manipulate configurations depending on the capability or spec.
* @param {Object} config wdio configuration object
* @param {Array.<Object>} capabilities list of capabilities details
* @param {Array.<String>} specs List of spec file paths that are to be run
*/
// beforeSession: function (config, capabilities, specs) {
// },
/**
* Gets executed before test execution begins. At this point you can access to all global
* variables like `browser`. It is the perfect place to define custom commands.
* @param {Array.<Object>} capabilities list of capabilities details
* @param {Array.<String>} specs List of spec file paths that are to be run
*/
// before: function (capabilities, specs) {
// },
/**
* Runs before a WebdriverIO command gets executed.
* @param {String} commandName hook command name
* @param {Array} args arguments that command would receive
*/
// beforeCommand: function (commandName, args) {
// },
/**
* Hook that gets executed before the suite starts
* @param {Object} suite suite details
*/
// beforeSuite: function (suite) {
// },
/**
* Function to be executed before a test (in Mocha/Jasmine) or a step (in Cucumber) starts.
* @param {Object} test test details
*/
// beforeTest: function (test) {
// },
/**
* Hook that gets executed _before_ a hook within the suite starts (e.g. runs before calling
* beforeEach in Mocha)
*/
// beforeHook: function () {
// },
/**
* Hook that gets executed _after_ a hook within the suite starts (e.g. runs after calling
* afterEach in Mocha)
*/
// afterHook: function () {
// },
/**
* Function to be executed after a test (in Mocha/Jasmine) or a step (in Cucumber) starts.
* @param {Object} test test details
*/
// afterTest: function (test) {
// },
/**
* Hook that gets executed after the suite has ended
* @param {Object} suite suite details
*/
// afterSuite: function (suite) {
// },
/**
* Runs after a WebdriverIO command gets executed
* @param {String} commandName hook command name
* @param {Array} args arguments that command would receive
* @param {Number} result 0 - command success, 1 - command error
* @param {Object} error error object if any
*/
// afterCommand: function (commandName, args, result, error) {
// },
/**
* Gets executed after all tests are done. You still have access to all global variables from
* the test.
* @param {Number} result 0 - test pass, 1 - test fail
* @param {Array.<Object>} capabilities list of capabilities details
* @param {Array.<String>} specs List of spec file paths that ran
*/
// after: function (result, capabilities, specs) {
// },
/**
* Gets executed right after terminating the webdriver session.
* @param {Object} config wdio configuration object
* @param {Array.<Object>} capabilities list of capabilities details
* @param {Array.<String>} specs List of spec file paths that ran
*/
// afterSession: function (config, capabilities, specs) {
// },
/**
* Gets executed after all workers got shut down and the process is about to exit. An error
* thrown in the onComplete hook will result in the test run failing.
* @param {Object} exitCode 0 - success, 1 - fail
* @param {Object} config wdio configuration object
* @param {Array.<Object>} capabilities list of capabilities details
* @param {<Object>} results object containing test results
*/
// onComplete: function(exitCode, config, capabilities, results) {
// },
/**
* Gets executed when a refresh happens.
* @param {String} oldSessionId session ID of the old session
* @param {String} newSessionId session ID of the new session
*/
//onReload: function(oldSessionId, newSessionId) {
//}
}
-75
View File
@@ -1,75 +0,0 @@
"use strict";
var webpack = require('webpack');
var path = require('path');
var rules = require('./webpack.rules');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var HtmlWebpackInlineSVGPlugin = require('html-webpack-inline-svg-plugin');
var CopyWebpackPlugin = require('copy-webpack-plugin');
const HOST = process.env.HOST || "127.0.0.1";
const PORT = process.env.PORT || "8888";
module.exports = {
target: 'web',
mode: 'development',
entry: [
`webpack-dev-server/client?http://${HOST}:${PORT}`,
`webpack/hot/only-dev-server`,
`./src/index.jsx` // Your appʼs entry point
],
devtool: process.env.WEBPACK_DEVTOOL || 'cheap-module-source-map',
output: {
path: path.join(__dirname, '..', 'public'),
filename: 'bundle.js'
},
resolve: {
extensions: ['.js', '.jsx']
},
module: {
noParse: [
/mapbox-gl\/dist\/mapbox-gl.js/
],
rules: rules
},
node: {
fs: "empty",
net: 'empty',
tls: 'empty'
},
devServer: {
contentBase: "./public",
// do not print bundle build stats
noInfo: true,
// enable HMR
hot: true,
// embed the webpack-dev-server runtime into the bundle
inline: true,
// serve index.html in place of 404 responses to allow HTML5 history
historyApiFallback: true,
port: PORT,
host: HOST,
watchOptions: {
// Disabled polling by default as it causes lots of CPU usage and hence drains laptop batteries. To enable polling add WEBPACK_DEV_SERVER_POLLING to your environment
// See <https://webpack.js.org/configuration/watch/#watchoptions-poll> for details
poll: (!!process.env.WEBPACK_DEV_SERVER_POLLING ? true : false),
watch: false
}
},
plugins: [
new webpack.NoEmitOnErrorsPlugin(),
new webpack.HotModuleReplacementPlugin(),
new HtmlWebpackPlugin({
title: 'Maputnik',
template: './src/template.html'
}),
new HtmlWebpackInlineSVGPlugin({
runPreEmit: true,
}),
new CopyWebpackPlugin([
{
from: './src/manifest.json',
to: 'manifest.json'
}
])
]
};
-66
View File
@@ -1,66 +0,0 @@
var webpack = require('webpack');
var path = require('path');
var rules = require('./webpack.rules');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var HtmlWebpackInlineSVGPlugin = require('html-webpack-inline-svg-plugin');
var WebpackCleanupPlugin = require('webpack-cleanup-plugin');
var BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
var CopyWebpackPlugin = require('copy-webpack-plugin');
var artifacts = require("../test/artifacts");
var OUTPATH = artifacts.pathSync("/build");
module.exports = {
entry: {
app: './src/index.jsx',
},
output: {
path: OUTPATH,
filename: '[name].[contenthash].js',
chunkFilename: '[contenthash].js'
},
resolve: {
extensions: ['.js', '.jsx']
},
module: {
noParse: [
/mapbox-gl\/dist\/mapbox-gl.js/
],
rules: rules
},
node: {
fs: "empty",
net: 'empty',
tls: 'empty'
},
plugins: [
new webpack.NoEmitOnErrorsPlugin(),
new WebpackCleanupPlugin(),
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: '"production"'
}
}),
new HtmlWebpackPlugin({
template: './src/template.html',
title: 'Maputnik'
}),
new HtmlWebpackInlineSVGPlugin({
runPreEmit: true,
}),
new CopyWebpackPlugin([
{
from: './src/manifest.json',
to: 'manifest.json'
}
]),
new BundleAnalyzerPlugin({
analyzerMode: 'static',
defaultSizes: 'gzip',
openAnalyzer: false,
generateStatsFile: true,
reportFilename: 'bundle-stats.html',
statsFilename: 'bundle-stats.json',
})
]
};
-20
View File
@@ -1,20 +0,0 @@
const webpackProdConfig = require('./webpack.production.config');
const artifacts = require("../test/artifacts");
const OUTPATH = artifacts.pathSync("/profiling");
module.exports = {
...webpackProdConfig,
output: {
...webpackProdConfig.output,
path: OUTPATH,
},
resolve: {
...webpackProdConfig.resolve,
alias: {
...webpackProdConfig.resolve.alias,
'react-dom$': 'react-dom/profiling',
'scheduler/tracing': 'scheduler/tracing-profiling',
}
}
};
-44
View File
@@ -1,44 +0,0 @@
const path = require("path");
module.exports = [
{
test: /\.jsx?$/,
exclude: [
path.resolve(__dirname, '../node_modules')
],
use: 'babel-loader'
},
{
test: /\.(eot|ttf|woff|woff2)$/,
use: 'file-loader?name=fonts/[name].[ext]'
},
{
test: /\.ico$/,
use: 'file-loader?name=[name].[ext]'
},
{
test: /\.(gif|jpg|png)$/,
use: 'file-loader?name=img/[name].[ext]'
},
{
test: /\.svg$/,
use: [
'svg-inline-loader'
]
},
{
test: /[\/\\](node_modules|global|src)[\/\\].*\.scss$/,
use: [
'style-loader',
"css-loader",
"sass-loader"
]
},
{
test: /[\/\\](node_modules|global|src)[\/\\].*\.css$/,
use: [
'style-loader',
'css-loader'
]
}
];
+23
View File
@@ -0,0 +1,23 @@
import { defineConfig } from "cypress";
import { createRequire } from "module";
const require = createRequire(import.meta.url);
export default defineConfig({
env: {
codeCoverage: {
exclude: "cypress/**/*.*",
},
},
e2e: {
setupNodeEvents(on, config) {
// implement node event listeners here
require("@cypress/code-coverage/task")(on, config);
return config;
},
baseUrl: "http://localhost:8888",
retries: {
runMode: 2,
openMode: 0,
},
},
});
+40
View File
@@ -0,0 +1,40 @@
import { MaputnikDriver } from "./maputnik-driver";
describe("accessibility", () => {
const { beforeAndAfter, get, when, then } = new MaputnikDriver();
beforeAndAfter();
describe("skip links", () => {
beforeEach(() => {
when.setStyle("layer");
});
it("skip link to layer list", () => {
const selector = "root:skip:layer-list";
then(get.elementByTestId(selector)).shouldExist();
when.tab();
then(get.elementByTestId(selector)).shouldBeFocused();
when.click(selector);
then(get.skipTargetLayerList()).shouldBeFocused();
});
// This fails for some reason only in Chrome, but passes in firefox. Adding a skip here to allow merge and later on we'll decide if we want to fix this or not.
it.skip("skip link to layer editor", () => {
const selector = "root:skip:layer-editor";
then(get.elementByTestId(selector)).shouldExist();
when.tab().tab();
then(get.elementByTestId(selector)).shouldBeFocused();
when.click(selector);
then(get.skipTargetLayerEditor()).shouldBeFocused();
});
it("skip link to map view", () => {
const selector = "root:skip:map-view";
then(get.elementByTestId(selector)).shouldExist();
when.tab().tab().tab();
then(get.elementByTestId(selector)).shouldBeFocused();
when.click(selector);
then(get.canvas()).shouldBeFocused();
});
});
});
+125
View File
@@ -0,0 +1,125 @@
import { MaputnikDriver } from "./maputnik-driver";
describe("history", () => {
const { beforeAndAfter, when, get, then } = new MaputnikDriver();
beforeAndAfter();
let undoKeyCombo: string;
let redoKeyCombo: string;
before(() => {
const isMac = get.isMac();
undoKeyCombo = isMac ? "{meta}z" : "{ctrl}z";
redoKeyCombo = isMac ? "{meta}{shift}z" : "{ctrl}y";
});
it("undo/redo", () => {
when.setStyle("geojson");
when.modal.open();
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({ layers: [] });
when.modal.fillLayers({
id: "step 1",
type: "background",
});
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "step 1",
type: "background",
},
],
});
when.modal.open();
when.modal.fillLayers({
id: "step 2",
type: "background",
});
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "step 1",
type: "background",
},
{
id: "step 2",
type: "background",
},
],
});
when.typeKeys(undoKeyCombo);
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "step 1",
type: "background",
},
],
});
when.typeKeys(undoKeyCombo);
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({ layers: [] });
when.typeKeys(redoKeyCombo);
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "step 1",
type: "background",
},
],
});
when.typeKeys(redoKeyCombo);
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "step 1",
type: "background",
},
{
id: "step 2",
type: "background",
},
],
});
});
it("should not redo after undo and value change", () => {
when.setStyle("geojson");
when.modal.open();
when.modal.fillLayers({
id: "step 1",
type: "background",
});
when.modal.open();
when.modal.fillLayers({
id: "step 2",
type: "background",
});
when.typeKeys(undoKeyCombo);
when.typeKeys(undoKeyCombo);
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({ layers: [] });
when.modal.open();
when.modal.fillLayers({
id: "step 3",
type: "background",
});
when.typeKeys(redoKeyCombo);
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "step 3",
type: "background",
},
],
});
});
});
+35
View File
@@ -0,0 +1,35 @@
import { MaputnikDriver } from "./maputnik-driver";
describe("i18n", () => {
const { beforeAndAfter, get, when, then } = new MaputnikDriver();
beforeAndAfter();
describe("language detector", () => {
it("English", () => {
const url = "?lng=en";
when.visit(url);
then(get.elementByTestId("maputnik-lang-select")).shouldHaveValue("en");
});
it("Japanese", () => {
const url = "?lng=ja";
when.visit(url);
then(get.elementByTestId("maputnik-lang-select")).shouldHaveValue("ja");
});
});
describe("language switcher", () => {
beforeEach(() => {
when.setStyle("layer");
});
it("the language switcher switches to Japanese", () => {
const selector = "maputnik-lang-select";
then(get.elementByTestId(selector)).shouldExist();
when.select(selector, "ja");
then(get.elementByTestId(selector)).shouldHaveValue("ja");
then(get.elementByTestId("nav:settings")).shouldHaveText("スタイル設定");
});
});
});
+60
View File
@@ -0,0 +1,60 @@
import { MaputnikDriver } from "./maputnik-driver";
describe("keyboard", () => {
const { beforeAndAfter, given, when, get, then } = new MaputnikDriver();
beforeAndAfter();
describe("shortcuts", () => {
beforeEach(() => {
given.setupMockBackedResponses();
when.setStyle("");
});
it("ESC should unfocus", () => {
const targetSelector = "maputnik-select";
when.focus(targetSelector);
then(get.elementByTestId(targetSelector)).shouldBeFocused();
when.typeKeys("{esc}");
then(get.elementByTestId(targetSelector)).shouldNotBeFocused();
});
it("'?' should show shortcuts modal", () => {
when.typeKeys("?");
then(get.elementByTestId("modal:shortcuts")).shouldBeVisible();
});
it("'o' should show open modal", () => {
when.typeKeys("o");
then(get.elementByTestId("modal:open")).shouldBeVisible();
});
it("'e' should show export modal", () => {
when.typeKeys("e");
then(get.elementByTestId("modal:export")).shouldBeVisible();
});
it("'d' should show sources modal", () => {
when.typeKeys("d");
then(get.elementByTestId("modal:sources")).shouldBeVisible();
});
it("'s' should show settings modal", () => {
when.typeKeys("s");
then(get.elementByTestId("modal:settings")).shouldBeVisible();
});
it("'i' should change map to inspect mode", () => {
when.typeKeys("i");
then(get.inputValue("maputnik-select")).shouldEqual("inspect");
});
it("'m' should focus map", () => {
when.typeKeys("m");
then(get.canvas()).shouldBeFocused();
});
it("'!' should show debug modal", () => {
when.typeKeys("!");
then(get.elementByTestId("modal:debug")).shouldBeVisible();
});
});
});
+526
View File
@@ -0,0 +1,526 @@
import { v1 as uuid } from "uuid";
import { MaputnikDriver } from "./maputnik-driver";
describe("layers", () => {
const { beforeAndAfter, get, when, then } = new MaputnikDriver();
beforeAndAfter();
beforeEach(() => {
when.setStyle("both");
when.modal.open();
});
describe("ops", () => {
let id: string;
beforeEach(() => {
id = when.modal.fillLayers({
type: "background",
});
});
it("should update layers in local storage", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id,
type: "background",
},
],
});
});
describe("when clicking delete", () => {
beforeEach(() => {
when.click("layer-list-item:" + id + ":delete");
});
it("should empty layers in local storage", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [],
});
});
});
describe("when clicking duplicate", () => {
beforeEach(() => {
when.click("layer-list-item:" + id + ":copy");
});
it("should add copy layer in local storage", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id + "-copy",
type: "background",
},
{
id: id,
type: "background",
},
],
});
});
});
describe("when clicking hide", () => {
beforeEach(() => {
when.click("layer-list-item:" + id + ":toggle-visibility");
});
it("should update visibility to none in local storage", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id,
type: "background",
layout: {
visibility: "none",
},
},
],
});
});
describe("when clicking show", () => {
beforeEach(() => {
when.click("layer-list-item:" + id + ":toggle-visibility");
});
it("should update visibility to visible in local storage", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id,
type: "background",
layout: {
visibility: "visible",
},
},
],
});
});
});
});
});
describe("background", () => {
it("add", () => {
const id = when.modal.fillLayers({
type: "background",
});
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id,
type: "background",
},
],
});
});
describe("modify", () => {
function createBackground() {
// Setup
const id = uuid();
when.selectWithin("add-layer.layer-type", "background");
when.setValue("add-layer.layer-id.input", "background:" + id);
when.click("add-layer");
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "background:" + id,
type: "background",
},
],
});
return id;
}
// ====> THESE SHOULD BE FROM THE SPEC
describe("layer", () => {
it("expand/collapse");
it("id", () => {
const bgId = createBackground();
when.click("layer-list-item:background:" + bgId);
const id = uuid();
when.setValue("layer-editor.layer-id.input", "foobar:" + id);
when.click("min-zoom");
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "foobar:" + id,
type: "background",
},
],
});
});
describe("min-zoom", () => {
let bgId: string;
beforeEach(() => {
bgId = createBackground();
when.click("layer-list-item:background:" + bgId);
when.setValue("min-zoom.input-text", "1");
when.click("layer-editor.layer-id");
});
it("should update min-zoom in local storage", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "background:" + bgId,
type: "background",
minzoom: 1,
},
],
});
});
it("when clicking next layer should update style on local storage", () => {
when.type("min-zoom.input-text", "{backspace}");
when.click("max-zoom.input-text");
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "background:" + bgId,
type: "background",
minzoom: 1,
},
],
});
});
});
describe("max-zoom", () => {
let bgId: string;
beforeEach(() => {
bgId = createBackground();
when.click("layer-list-item:background:" + bgId);
when.setValue("max-zoom.input-text", "1");
when.click("layer-editor.layer-id");
});
it("should update style in local storage", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "background:" + bgId,
type: "background",
maxzoom: 1,
},
],
});
});
});
describe("comments", () => {
let bgId: string;
const comment = "42";
beforeEach(() => {
bgId = createBackground();
when.click("layer-list-item:background:" + bgId);
when.setValue("layer-comment.input", comment);
when.click("layer-editor.layer-id");
});
it("should update style in local storage", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "background:" + bgId,
type: "background",
metadata: {
"maputnik:comment": comment,
},
},
],
});
});
describe("when unsetting", () => {
beforeEach(() => {
when.clear("layer-comment.input");
when.click("min-zoom.input-text");
});
it("should update style in local storage", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "background:" + bgId,
type: "background",
},
],
});
});
});
});
describe("color", () => {
let bgId: string;
beforeEach(() => {
bgId = createBackground();
when.click("layer-list-item:background:" + bgId);
when.click("spec-field:background-color");
});
it("should update style in local storage", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: "background:" + bgId,
type: "background",
},
],
});
});
});
describe("opacity", () => {
let bgId: string;
beforeEach(() => {
bgId = createBackground();
when.click("layer-list-item:background:" + bgId);
when.type("spec-field-input:background-opacity", "0.");
});
it("should keep '.' in the input field", () => {
then(get.elementByTestId("spec-field-input:background-opacity")).shouldHaveValue("0.");
});
it("should revert to a valid value when focus out", () => {
when.click("layer-list-item:background:" + bgId);
then(get.elementByTestId("spec-field-input:background-opacity")).shouldHaveValue('0');
});
});
});
describe("filter", () => {
it("expand/collapse");
it("compound filter");
});
describe("paint", () => {
it("expand/collapse");
it("color");
it("pattern");
it("opacity");
});
// <=====
describe("json-editor", () => {
it("expand/collapse");
it("modify");
// TODO
it.skip("parse error", () => {
const bgId = createBackground();
when.click("layer-list-item:background:" + bgId);
const errorSelector = ".CodeMirror-lint-marker-error";
then(get.elementByTestId(errorSelector)).shouldNotExist();
when.click(".CodeMirror");
when.typeKeys(
"\uE013\uE013\uE013\uE013\uE013\uE013\uE013\uE013\uE013\uE013\uE013\uE013 {"
);
then(get.elementByTestId(errorSelector)).shouldExist();
});
});
});
});
describe("fill", () => {
it("add", () => {
const id = when.modal.fillLayers({
type: "fill",
layer: "example",
});
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id,
type: "fill",
source: "example",
},
],
});
});
// TODO: Change source
it("change source");
});
describe("line", () => {
it("add", () => {
const id = when.modal.fillLayers({
type: "line",
layer: "example",
});
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id,
type: "line",
source: "example",
},
],
});
});
it("groups", () => {
// TODO
// Click each of the layer groups.
});
});
describe("symbol", () => {
it("add", () => {
const id = when.modal.fillLayers({
type: "symbol",
layer: "example",
});
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id,
type: "symbol",
source: "example",
},
],
});
});
});
describe("raster", () => {
it("add", () => {
const id = when.modal.fillLayers({
type: "raster",
layer: "raster",
});
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id,
type: "raster",
source: "raster",
},
],
});
});
});
describe("circle", () => {
it("add", () => {
const id = when.modal.fillLayers({
type: "circle",
layer: "example",
});
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id,
type: "circle",
source: "example",
},
],
});
});
});
describe("fill extrusion", () => {
it("add", () => {
const id = when.modal.fillLayers({
type: "fill-extrusion",
layer: "example",
});
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id,
type: "fill-extrusion",
source: "example",
},
],
});
});
});
describe("groups", () => {
it("simple", () => {
when.setStyle("geojson");
when.modal.open();
when.modal.fillLayers({
id: "foo",
type: "background",
});
when.modal.open();
when.modal.fillLayers({
id: "foo_bar",
type: "background",
});
when.modal.open();
when.modal.fillLayers({
id: "foo_bar_baz",
type: "background",
});
then(get.elementByTestId("layer-list-item:foo")).shouldBeVisible();
then(get.elementByTestId("layer-list-item:foo_bar")).shouldNotBeVisible();
then(
get.elementByTestId("layer-list-item:foo_bar_baz")
).shouldNotBeVisible();
when.click("layer-list-group:foo-0");
then(get.elementByTestId("layer-list-item:foo")).shouldBeVisible();
then(get.elementByTestId("layer-list-item:foo_bar")).shouldBeVisible();
then(
get.elementByTestId("layer-list-item:foo_bar_baz")
).shouldBeVisible();
});
});
describe("layereditor jsonlint should error", ()=>{
it("add", () => {
const id = when.modal.fillLayers({
type: "circle",
layer: "example",
});
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
layers: [
{
id: id,
type: "circle",
source: "example",
},
],
});
const sourceText = get.elementByText('"source"');
sourceText.click();
sourceText.type("\"");
const error = get.element('.CodeMirror-lint-marker-error');
error.should('exist');
});
});
});
+32
View File
@@ -0,0 +1,32 @@
import { MaputnikDriver } from "./maputnik-driver";
describe("map", () => {
const { beforeAndAfter, get, when, then } = new MaputnikDriver();
beforeAndAfter();
describe("zoom level", () => {
it("via url", () => {
const zoomLevel = 12.37;
when.setStyle("geojson", zoomLevel);
then(get.elementByTestId("maplibre:ctrl-zoom")).shouldBeVisible();
then(get.elementByTestId("maplibre:ctrl-zoom")).shouldContainText(
"Zoom: " + zoomLevel
);
});
it("via map controls", () => {
const zoomLevel = 12.37;
when.setStyle("geojson", zoomLevel);
then(get.elementByTestId("maplibre:ctrl-zoom")).shouldBeVisible();
when.clickZoomIn();
then(get.elementByTestId("maplibre:ctrl-zoom")).shouldContainText(
"Zoom: " + (zoomLevel + 1)
);
});
});
describe("search", () => {
it('should exist', () => {
then(get.searchControl()).shouldBeVisible();
});
});
});
+19
View File
@@ -0,0 +1,19 @@
import { CypressHelper } from "@shellygo/cypress-test-utils";
export default class MaputnikCypressHelper {
private helper = new CypressHelper({ defaultDataAttribute: "data-wd-key" });
public given = {
...this.helper.given,
};
public get = {
...this.helper.get,
};
public when = {
...this.helper.when,
};
public beforeAndAfter = this.helper.beforeAndAfter;
}
+186
View File
@@ -0,0 +1,186 @@
/// <reference types="cypress-plugin-tab" />
import { CypressHelper } from "@shellygo/cypress-test-utils";
import { Assertable, then } from "@shellygo/cypress-test-utils/assertable";
import MaputnikCypressHelper from "./maputnik-cypress-helper";
import ModalDriver from "./modal-driver";
const baseUrl = "http://localhost:8888/";
const styleFromWindow = (win: Window) => {
const styleId = win.localStorage.getItem("maputnik:latest_style");
const styleItem = win.localStorage.getItem(`maputnik:style:${styleId}`);
const obj = JSON.parse(styleItem || "");
return obj;
};
export class MaputnikAssertable<T> extends Assertable<T> {
shouldEqualToStoredStyle = () =>
then(
new CypressHelper().get.window().then((win: Window) => {
const style = styleFromWindow(win);
then(this.chainable).shouldDeepNestedInclude(style);
})
);
}
export class MaputnikDriver {
private helper = new MaputnikCypressHelper();
private modalDriver = new ModalDriver();
public beforeAndAfter = () => {
beforeEach(() => {
this.given.setupMockBackedResponses();
this.when.setStyle("both");
});
};
public then = (chainable: Cypress.Chainable<any>) =>
new MaputnikAssertable(chainable);
public given = {
...this.helper.given,
setupMockBackedResponses: () => {
this.helper.given.interceptAndMockResponse({
method: "GET",
url: baseUrl + "example-style.json",
response: {
fixture: "example-style.json",
},
alias: "example-style.json",
});
this.helper.given.interceptAndMockResponse({
method: "GET",
url: baseUrl + "example-layer-style.json",
response: {
fixture: "example-layer-style.json",
},
});
this.helper.given.interceptAndMockResponse({
method: "GET",
url: baseUrl + "geojson-style.json",
response: {
fixture: "geojson-style.json",
},
});
this.helper.given.interceptAndMockResponse({
method: "GET",
url: baseUrl + "raster-style.json",
response: {
fixture: "raster-style.json",
},
});
this.helper.given.interceptAndMockResponse({
method: "GET",
url: baseUrl + "geojson-raster-style.json",
response: {
fixture: "geojson-raster-style.json",
},
});
this.helper.given.interceptAndMockResponse({
method: "GET",
url: "*example.local/*",
response: [],
});
this.helper.given.interceptAndMockResponse({
method: "GET",
url: "*example.com/*",
response: [],
});
},
};
public when = {
...this.helper.when,
modal: this.modalDriver.when,
within: (selector: string, fn: () => void) => {
this.helper.when.within(fn, selector);
},
tab: () => this.helper.get.element("body").tab(),
waitForExampleFileResponse: () => {
this.helper.when.waitForResponse("example-style.json");
},
chooseExampleFile: () => {
this.helper.get
.bySelector("type", "file")
.selectFile("cypress/fixtures/example-style.json", { force: true });
},
setStyle: (
styleProperties: "geojson" | "raster" | "both" | "layer" | "",
zoom?: number
) => {
let url = "?debug";
switch (styleProperties) {
case "geojson":
url += `&style=${baseUrl}geojson-style.json`;
break;
case "raster":
url += `&style=${baseUrl}raster-style.json`;
break;
case "both":
url += `&style=${baseUrl}geojson-raster-style.json`;
break;
case "layer":
url += `&style=${baseUrl}/example-layer-style.json`;
break;
}
if (zoom) {
url += `#${zoom}/41.3805/2.1635`;
}
this.helper.when.visit(baseUrl + url);
if (styleProperties) {
this.helper.when.acceptConfirm();
}
// when methods should not include assertions
const toolbarLink = this.helper.get.elementByTestId("toolbar:link")
toolbarLink.scrollIntoView();
toolbarLink.should("be.visible");
},
typeKeys: (keys: string) => this.helper.get.element("body").type(keys),
clickZoomIn: () => {
this.helper.get.element(".maplibregl-ctrl-zoom-in").click();
},
selectWithin: (selector: string, value: string) => {
this.when.within(selector, () => {
this.helper.get.element("select").select(value);
});
},
select: (selector: string, value: string) => {
this.helper.get.elementByTestId(selector).select(value);
},
focus: (selector: string) => {
this.helper.when.focus(selector);
},
setValue: (selector: string, text: string) => {
this.helper.get
.elementByTestId(selector)
.clear()
.type(text, { parseSpecialCharSequences: false });
},
};
public get = {
...this.helper.get,
isMac: () => {
return Cypress.platform === "darwin";
},
styleFromLocalStorage: () =>
this.helper.get.window().then((win) => styleFromWindow(win)),
exampleFileUrl: () => {
return baseUrl + "example-style.json";
},
skipTargetLayerList: () =>
this.helper.get.elementByTestId("skip-target-layer-list"),
skipTargetLayerEditor: () =>
this.helper.get.elementByTestId("skip-target-layer-editor"),
canvas: () => this.helper.get.element("canvas"),
searchControl: () => this.helper.get.element('.maplibregl-ctrl-geocoder')
};
}
+40
View File
@@ -0,0 +1,40 @@
import { v1 as uuid } from "uuid";
import MaputnikCypressHelper from "./maputnik-cypress-helper";
export default class ModalDriver {
private helper = new MaputnikCypressHelper();
public when = {
fillLayers: (opts: { type: string; layer?: string; id?: string }) => {
// Having logic in test code is an anti pattern.
// This should be splitted to multiple single responsibility functions
const type = opts.type;
const layer = opts.layer;
let id;
if (opts.id) {
id = opts.id;
} else {
id = `${type}:${uuid()}`;
}
this.helper.when.selectOption("add-layer.layer-type.select", type);
this.helper.when.type("add-layer.layer-id.input", id);
if (layer) {
this.helper.when.within(() => {
this.helper.get.element("input").type(layer!);
}, "add-layer.layer-source-block");
}
this.helper.when.click("add-layer");
return id;
},
open: () => {
this.helper.when.click("layer-list:add-layer");
},
close: (key: string) => {
this.helper.when.click(key + ".close-modal");
},
};
}
+278
View File
@@ -0,0 +1,278 @@
import { MaputnikDriver } from "./maputnik-driver";
import tokens from "../../src/config/tokens.json" with {type: "json"};
describe("modals", () => {
const { beforeAndAfter, when, get, given, then } = new MaputnikDriver();
beforeAndAfter();
beforeEach(() => {
when.setStyle("");
});
describe("open", () => {
beforeEach(() => {
when.click("nav:open");
});
it("close", () => {
when.modal.close("modal:open");
then(get.elementByTestId("modal:open")).shouldNotExist();
});
it.skip("upload", () => {
// HM: I was not able to make the following choose file actually to select a file and close the modal...
when.chooseExampleFile();
then(get.responseBody("example-style.json")).shouldEqualToStoredStyle();
});
describe("when click open url", () => {
beforeEach(() => {
const styleFileUrl = get.exampleFileUrl();
when.setValue("modal:open.url.input", styleFileUrl);
when.click("modal:open.url.button");
when.wait(200);
});
it("load from url", () => {
then(get.responseBody("example-style.json")).shouldEqualToStoredStyle();
});
});
});
describe("shortcuts", () => {
it("open/close", () => {
when.setStyle("");
when.typeKeys("?");
when.modal.close("modal:shortcuts");
then(get.elementByTestId("modal:shortcuts")).shouldNotExist();
});
});
describe("export", () => {
beforeEach(() => {
when.click("nav:export");
});
it("close", () => {
when.modal.close("modal:export");
then(get.elementByTestId("modal:export")).shouldNotExist();
});
// TODO: Work out how to download a file and check the contents
it("download");
});
describe("sources", () => {
beforeEach(() => {
when.setStyle("layer");
when.click("nav:sources");
});
it("active sources");
it("public source");
it("add new source", () => {
const sourceId = "n1z2v3r";
when.setValue("modal:sources.add.source_id", sourceId);
when.select("modal:sources.add.source_type", "tile_vector");
when.select("modal:sources.add.scheme_type", "tms");
when.click("modal:sources.add.add_source");
when.wait(200);
then(
get.styleFromLocalStorage().then((style) => style.sources[sourceId])
).shouldInclude({
scheme: "tms",
});
});
it("add new pmtiles source", () => {
const sourceId = "pmtilestest";
when.setValue("modal:sources.add.source_id", sourceId);
when.select("modal:sources.add.source_type", "pmtiles_vector");
when.setValue("modal:sources.add.source_url", "https://data.source.coop/protomaps/openstreetmap/v4.pmtiles");
when.click("modal:sources.add.add_source");
when.click("modal:sources.add.add_source");
when.wait(200);
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
sources: {
pmtilestest: {
type: "vector",
url: "pmtiles://https://data.source.coop/protomaps/openstreetmap/v4.pmtiles",
},
},
});
});
it("add new raster source", () => {
const sourceId = "rastertest";
when.setValue("modal:sources.add.source_id", sourceId);
when.select("modal:sources.add.source_type", "tile_raster");
when.select("modal:sources.add.scheme_type", "xyz");
when.setValue("modal:sources.add.tile_size", "128");
when.click("modal:sources.add.add_source");
when.wait(200);
then(
get.styleFromLocalStorage().then((style) => style.sources[sourceId])
).shouldInclude({
tileSize: 128,
});
});
});
describe("inspect", () => {
it("toggle", () => {
// There is no assertion in this test
when.setStyle("geojson");
when.select("maputnik-select", "inspect");
});
});
describe("style settings", () => {
beforeEach(() => {
when.click("nav:settings");
});
describe("when click name filed spec information", () => {
beforeEach(() => {
when.click("field-doc-button-Name");
});
it("should show the spec information", () => {
then(get.elementsText("spec-field-doc")).shouldInclude(
"name for the style"
);
});
});
describe("when set name and click owner", () => {
beforeEach(() => {
when.setValue("modal:settings.name", "foobar");
when.click("modal:settings.owner");
when.wait(200);
});
it("show name specifications", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
name: "foobar",
});
});
});
describe("when set owner and click name", () => {
beforeEach(() => {
when.setValue("modal:settings.owner", "foobar");
when.click("modal:settings.name");
when.wait(200);
});
it("should update owner in local storage", () => {
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
owner: "foobar",
});
});
});
it("sprite url", () => {
when.setValue("modal:settings.sprite", "http://example.com");
when.click("modal:settings.name");
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
sprite: "http://example.com",
});
});
it("glyphs url", () => {
const glyphsUrl = "http://example.com/{fontstack}/{range}.pbf";
when.setValue("modal:settings.glyphs", glyphsUrl);
when.click("modal:settings.name");
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
glyphs: glyphsUrl,
});
});
it("maptiler access token", () => {
const apiKey = "testing123";
when.setValue(
"modal:settings.maputnik:openmaptiles_access_token",
apiKey
);
when.click("modal:settings.name");
then(
get.styleFromLocalStorage().then((style) => style.metadata)
).shouldInclude({
"maputnik:openmaptiles_access_token": apiKey,
});
});
it("thunderforest access token", () => {
const apiKey = "testing123";
when.setValue(
"modal:settings.maputnik:thunderforest_access_token",
apiKey
);
when.click("modal:settings.name");
then(
get.styleFromLocalStorage().then((style) => style.metadata)
).shouldInclude({ "maputnik:thunderforest_access_token": apiKey });
});
it("stadia access token", () => {
const apiKey = "testing123";
when.setValue(
"modal:settings.maputnik:stadia_access_token",
apiKey
);
when.click("modal:settings.name");
then(
get.styleFromLocalStorage().then((style) => style.metadata)
).shouldInclude({ "maputnik:stadia_access_token": apiKey });
});
it("style renderer", () => {
cy.on("uncaught:exception", () => false); // this is due to the fact that this is an invalid style for openlayers
when.select("modal:settings.maputnik:renderer", "ol");
then(get.inputValue("modal:settings.maputnik:renderer")).shouldEqual(
"ol"
);
when.click("modal:settings.name");
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
metadata: { "maputnik:renderer": "ol" },
});
});
it("inlcude API key when change renderer", () => {
when.click("modal:settings.close-modal")
when.click("nav:open");
get.elementByAttribute('aria-label', "MapTiler Basic").should('exist').click();
when.click("nav:settings");
when.select("modal:settings.maputnik:renderer", "mlgljs");
then(get.inputValue("modal:settings.maputnik:renderer")).shouldEqual(
"mlgljs"
);
when.select("modal:settings.maputnik:renderer", "ol");
then(get.inputValue("modal:settings.maputnik:renderer")).shouldEqual(
"ol"
);
given.intercept("https://api.maptiler.com/tiles/v3-openmaptiles/tiles.json?key=*", "tileRequest", "GET");
when.select("modal:settings.maputnik:renderer", "mlgljs");
then(get.inputValue("modal:settings.maputnik:renderer")).shouldEqual(
"mlgljs"
);
when.waitForResponse("tileRequest").its("request").its("url").should("include", `https://api.maptiler.com/tiles/v3-openmaptiles/tiles.json?key=${tokens.openmaptiles}`);
when.waitForResponse("tileRequest").its("request").its("url").should("include", `https://api.maptiler.com/tiles/v3-openmaptiles/tiles.json?key=${tokens.openmaptiles}`);
when.waitForResponse("tileRequest").its("request").its("url").should("include", `https://api.maptiler.com/tiles/v3-openmaptiles/tiles.json?key=${tokens.openmaptiles}`);
});
});
describe("sources", () => {
it("toggle");
});
});
+18
View File
@@ -0,0 +1,18 @@
{
"id": "test-style",
"version": 8,
"name": "Test Style",
"metadata": {
"maputnik:renderer": "mlgljs"
},
"sources": {},
"glyphs": "https://example.local/fonts/{fontstack}/{range}.pbf",
"sprites": "https://example.local/fonts/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background"
}
]
}
@@ -3,7 +3,7 @@
"version": 8, "version": 8,
"name": "Test Style", "name": "Test Style",
"metadata": { "metadata": {
"maputnik:renderer": "mbgljs" "maputnik:renderer": "mlgljs"
}, },
"sources": {}, "sources": {},
"glyphs": "https://example.local/fonts/{fontstack}/{range}.pbf", "glyphs": "https://example.local/fonts/{fontstack}/{range}.pbf",
@@ -0,0 +1,34 @@
{
"id": "test-style",
"version": 8,
"name": "Test Style",
"metadata": {
"maputnik:renderer": "mlgljs"
},
"sources": {
"example": {
"type": "vector",
"data": {
"type": "FeatureCollection",
"features":[{
"type": "Feature",
"properties": {
"name": "Dinagat Islands"
},
"geometry":{
"type": "Point",
"coordinates": [125.6, 10.1]
}
}]
}
},
"raster": {
"tileSize": 256,
"tiles": ["http://localhost/example/{x}/{y}/{z}"],
"type": "raster"
}
},
"glyphs": "https://example.local/fonts/{fontstack}/{range}.pbf",
"sprites": "https://example.local/fonts/{fontstack}/{range}.pbf",
"layers": []
}
+29
View File
@@ -0,0 +1,29 @@
{
"id": "test-style",
"version": 8,
"name": "Test Style",
"metadata": {
"maputnik:renderer": "mlgljs"
},
"sources": {
"example": {
"type": "vector",
"data": {
"type": "FeatureCollection",
"features":[{
"type": "Feature",
"properties": {
"name": "Dinagat Islands"
},
"geometry":{
"type": "Point",
"coordinates": [125.6, 10.1]
}
}]
}
}
},
"glyphs": "https://example.local/fonts/{fontstack}/{range}.pbf",
"sprites": "https://example.local/fonts/{fontstack}/{range}.pbf",
"layers": []
}
+18
View File
@@ -0,0 +1,18 @@
{
"id": "test-style",
"version": 8,
"name": "Test Style",
"metadata": {
"maputnik:renderer": "mlgljs"
},
"sources": {
"raster": {
"tileSize": 256,
"tiles": ["http://localhost/example/{x}/{y}/{z}"],
"type": "raster"
}
},
"glyphs": "https://example.local/fonts/{fontstack}/{range}.pbf",
"sprites": "https://example.local/fonts/{fontstack}/{range}.pbf",
"layers": []
}
+37
View File
@@ -0,0 +1,37 @@
/// <reference types="cypress" />
// ***********************************************
// This example commands.ts shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
//
//
// -- This is a parent command --
// Cypress.Commands.add('login', (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
//
// declare global {
// namespace Cypress {
// interface Chainable {
// login(email: string, password: string): Chainable<void>
// drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
// dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
// visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
// }
// }
// }
+22
View File
@@ -0,0 +1,22 @@
// ***********************************************************
// This example support/e2e.ts is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************
// Import commands.js using ES2015 syntax:
import "@cypress/code-coverage/support";
import "cypress-plugin-tab";
import "./commands";
// Alternatively you can use CommonJS syntax:
// require('./commands')
+31
View File
@@ -0,0 +1,31 @@
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
# Folders
_obj
_test
editor
# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out
*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*
_testmain.go
*.exe
*.test
*.prof
# Binary version of pubilic/editor
rice-box.go
# Built binary
maputnik
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2016 Maputnik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+44
View File
@@ -0,0 +1,44 @@
SOURCEDIR=.
SOURCES := $(shell find $(SOURCEDIR) -name '*.go')
BINARY=maputnik
VERSION := $(shell node -p "require('../package.json').version")
GOPATH := $(if $(GOPATH),$(GOPATH),$(HOME)/go)
GOBIN := $(if $(GOBIN),$(GOBIN),$(HOME)/go/bin)
all: $(BINARY)
$(BINARY): $(GOBIN)/gox $(GOBIN)/go-winres $(SOURCES) version.go rice-box.go winres/winres.json
$(GOBIN)/go-winres make --product-version=$(VERSION)
$(GOBIN)/gox -osarch "windows/amd64 linux/amd64 darwin/amd64" -output "bin/{{.OS}}/${BINARY}"
winres/winres.json: winres/winres_template.json
sed 's/{{.Version}}/$(VERSION)/g' winres/winres_template.json > $@
$(GOBIN)/go-winres:
go install github.com/tc-hib/go-winres@latest
# Copy the current release into ./editor/maputnik so it can be
# embedded in the binary
editor/pull_release:
mkdir -p editor
cp -r ../dist/* editor
$(GOBIN)/gox:
go install github.com/mitchellh/gox@v1.0.1
$(GOBIN)/rice:
go install github.com/GeertJohan/go.rice/rice@v1.0.3
# Embed the current version number in the executable by writing version.go
.PHONY: version.go
version.go:
@printf "// DO NOT EDIT: Autogenerated by Makefile\n" > version.go
@printf "package main\n" >> version.go
@printf "const Version = \"$(VERSION)\"\n" >> version.go
rice-box.go: $(GOBIN)/rice editor/pull_release
$(GOBIN)/rice embed-go
.PHONY: clean
clean:
rm -rf editor && rm -f rice-box.go && rm -rf bin
+73
View File
@@ -0,0 +1,73 @@
# Maputnik Desktop [![GitHub CI status](https://github.com/maplibre/maputnik/workflows/ci/badge.svg)][github-action-ci]
---
A Golang based cross platform executable for integrating Maputnik locally.
This binary packages up the JavaScript and CSS bundle produced by maputnik
and embeds it in the program for easy distribution. It also allows
exposing a local style file and work on it both in Maputnik and with your favorite
editor.
Report issues on [maplibre/maputnik](https://github.com/maplibre/maputnik).
## Install
You can download a zip file containing desktop binaries for Linux, OSX and Windows from [the latest releases of **maplibre/maputnik**](https://github.com/maplibre/maputnik/releases/latest).
### Usage
Simply start up a web server and access the Maputnik editor GUI at `localhost:8000`.
```bash
maputnik
```
Expose a local style file to Maputnik allowing the web based editor
to save to the local filesystem.
```bash
maputnik --file basic-v9.json
```
Watch the local style for changes and inform the editor via web socket.
This makes it possible to edit the style with a local text editor and still
use Maputnik.
```bash
maputnik --watch --file basic-v9.json
```
Choose a local port to listen on, instead of using the default port 8000.
```bash
maputnik --port 8001
```
Specify a path to a directory which, if it exists, will be served under http://localhost:8000/static/ .
Could be used to serve sprites and glyphs.
```bash
maputnik --static ./localFolder
```
### API
`maputnik` exposes the configured styles via a HTTP API.
| Method | Description |
| ------------------------ | ------------------------------------------------------ |
| `GET /styles` | List the ID of all configured style files |
| `GET /styles/{filename}` | Get contents of a single style file |
| `PUT /styles/{filename}` | Update contents of a style file |
| `WEBSOCKET /ws` | Listen to change events for the configured style files |
### Build
From the root of the [maplibre/maputnik](https://github.com/maplibre/maputnik) project, install the deps and run the desktop-build command.
```
npm install
npm run build-desktop
```
You should now find the `maputnik` binary in your `desktop/bin` directory.
+81
View File
@@ -0,0 +1,81 @@
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
"github.com/gorilla/mux"
)
func StyleFileAccessor(filename string) styleFileAccessor {
return styleFileAccessor{filename, styleId(filename)}
}
func styleId(filename string) string {
raw, err := ioutil.ReadFile(filename)
if err != nil {
log.Panicln(err)
}
var spec styleSpec
err = json.Unmarshal(raw, &spec)
if err != nil {
log.Panicln(err)
}
if spec.Id == "" {
fmt.Println("No id in style")
}
return spec.Id
}
type styleSpec struct {
Id string `json:"id"`
}
// Allows access to a single style file
type styleFileAccessor struct {
filename string
id string
}
func (fa styleFileAccessor) ListFiles(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json")
encoder := json.NewEncoder(w)
encoder.Encode([]string{fa.id})
}
func (fa styleFileAccessor) ReadFile(w http.ResponseWriter, r *http.Request) {
vars := mux.Vars(r)
_ = vars["styleId"]
//TODO: Choose right file
// right now we just return the single file we know of
w.Header().Set("Content-Type", "application/json")
raw, err := ioutil.ReadFile(fa.filename)
if err != nil {
log.Panicln(err)
}
w.Write(raw)
}
func (fa styleFileAccessor) SaveFile(w http.ResponseWriter, r *http.Request) {
vars := mux.Vars(r)
_ = vars["styleId"]
//TODO: Save to right file
w.Header().Set("Content-Type", "application/json")
body, _ := ioutil.ReadAll(r.Body)
var out bytes.Buffer
json.Indent(&out, body, "", " ")
if err := ioutil.WriteFile(fa.filename, out.Bytes(), 0666); err != nil {
log.Fatalf("Can not copy from request to file: %s", err.Error())
}
}
+69
View File
@@ -0,0 +1,69 @@
package filewatch
import (
"io/ioutil"
"log"
"net/http"
"github.com/fsnotify/fsnotify"
"github.com/gorilla/websocket"
)
var upgrader = websocket.Upgrader{
ReadBufferSize: 1024,
WriteBufferSize: 1024,
CheckOrigin: func(r *http.Request) bool { return true },
}
func writer(ws *websocket.Conn, filename string) {
watcher, err := fsnotify.NewWatcher()
if err != nil {
log.Fatal(err)
}
defer watcher.Close()
done := make(chan bool)
go func() {
for {
select {
case event := <-watcher.Events:
if event.Op&fsnotify.Write == fsnotify.Write {
log.Println("Modified file:", event.Name)
var p []byte
var err error
p, err = ioutil.ReadFile(filename)
if err != nil {
log.Fatal(err)
}
if p != nil {
if err := ws.WriteMessage(websocket.TextMessage, p); err != nil {
return
}
}
}
case err := <-watcher.Errors:
log.Println("Watch error:", err)
}
}
}()
if err = watcher.Add(filename); err != nil {
log.Fatal(err)
}
<-done
}
func ServeWebsocketFileWatcher(filename string, w http.ResponseWriter, r *http.Request) {
ws, err := upgrader.Upgrade(w, r, nil)
if err != nil {
if _, ok := err.(websocket.HandshakeError); !ok {
log.Println(err)
}
return
}
writer(ws, filename)
defer ws.Close()
}
+27
View File
@@ -0,0 +1,27 @@
module maputnik/desktop
go 1.19
require (
github.com/GeertJohan/go.rice v1.0.3
github.com/fsnotify/fsnotify v1.6.0
github.com/gorilla/handlers v1.5.1
github.com/gorilla/mux v1.8.0
github.com/gorilla/websocket v1.5.0
github.com/maputnik/desktop v1.0.7
github.com/urfave/cli v1.22.12
)
require (
github.com/GeertJohan/go.incremental v1.0.0 // indirect
github.com/akavel/rsrc v0.8.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/daaku/go.zipexe v1.0.2 // indirect
github.com/felixge/httpsnoop v1.0.1 // indirect
github.com/jessevdk/go-flags v1.4.0 // indirect
github.com/nkovacs/streamquote v1.0.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.0.1 // indirect
golang.org/x/sys v0.0.0-20220908164124-27713097b956 // indirect
)
+54
View File
@@ -0,0 +1,54 @@
github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/GeertJohan/go.incremental v1.0.0 h1:7AH+pY1XUgQE4Y1HcXYaMqAI0m9yrFqo/jt0CW30vsg=
github.com/GeertJohan/go.incremental v1.0.0/go.mod h1:6fAjUhbVuX1KcMD3c8TEgVUqmo4seqhv0i0kdATSkM0=
github.com/GeertJohan/go.rice v1.0.3 h1:k5viR+xGtIhF61125vCE1cmJ5957RQGXG6dmbaWZSmI=
github.com/GeertJohan/go.rice v1.0.3/go.mod h1:XVdrU4pW00M4ikZed5q56tPf1v2KwnIKeIdc9CBYNt4=
github.com/akavel/rsrc v0.8.0 h1:zjWn7ukO9Kc5Q62DOJCcxGpXC18RawVtYAGdz2aLlfw=
github.com/akavel/rsrc v0.8.0/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c=
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/daaku/go.zipexe v1.0.2 h1:Zg55YLYTr7M9wjKn8SY/WcpuuEi+kR2u4E8RhvpyXmk=
github.com/daaku/go.zipexe v1.0.2/go.mod h1:5xWogtqlYnfBXkSB1o9xysukNP9GTvaNkqzUZbt3Bw8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/felixge/httpsnoop v1.0.1 h1:lvB5Jl89CsZtGIWuTcDM1E/vkVs49/Ml7JJe07l8SPQ=
github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4=
github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q=
github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc=
github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA=
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
github.com/maputnik/desktop v1.0.7 h1:rdFg7emIJOT3YsZpwqSChmWtMOvu+T4h6WwVQAZP9n4=
github.com/maputnik/desktop v1.0.7/go.mod h1:wmDjHUztx9jOBz0I22589yWguAGdV/sEM57YANpN8oQ=
github.com/nkovacs/streamquote v1.0.0 h1:PmVIV08Zlx2lZK5fFZlMZ04eHcDTIFJCv/5/0twVUow=
github.com/nkovacs/streamquote v1.0.0/go.mod h1:BN+NaZ2CmdKqUuTUXUEm9j95B2TRbpOWpxbJYzzgUsc=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/urfave/cli v1.22.12 h1:igJgVw1JdKH+trcLWLeLwZjU9fEfPesQ+9/e4MQ44S8=
github.com/urfave/cli v1.22.12/go.mod h1:sSBEIC79qR6OvcmsD4U3KABeOTxDqQtdDnaFuUN30b8=
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/fasttemplate v1.0.1 h1:tY9CJiPnMXf1ERmG2EyK7gNUd+c6RKGD0IfU8WdUSz8=
github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8=
golang.org/x/sys v0.0.0-20220908164124-27713097b956 h1:XeJjHH1KiLpKGb6lvMiksZ9l0fVUh+AmGcm0nOMEBOY=
golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+80
View File
@@ -0,0 +1,80 @@
package main
import (
"fmt"
"net/http"
"os"
"path/filepath"
"github.com/GeertJohan/go.rice"
"github.com/gorilla/handlers"
"github.com/gorilla/mux"
"github.com/maputnik/desktop/filewatch"
"github.com/urfave/cli"
)
func main() {
app := cli.NewApp()
app.Name = "maputnik"
app.Usage = "Server for integrating Maputnik locally"
app.Version = Version
app.Flags = []cli.Flag{
&cli.StringFlag{
Name: "file, f",
Usage: "Allow access to JSON style from web client",
},
&cli.BoolFlag{
Name: "watch",
Usage: "Notify web client about JSON style file changes",
},
&cli.IntFlag{
Name: "port",
Value: 8000,
Usage: "TCP port to listen on",
},
&cli.StringFlag{
Name: "static",
Usage: "Serve directory under /static/",
},
}
app.Action = func(c *cli.Context) error {
gui := http.FileServer(rice.MustFindBox("editor").HTTPBox())
router := mux.NewRouter().StrictSlash(true)
filename := c.String("file")
if filename != "" {
fmt.Printf("%s is accessible via Maputnik\n", filename)
// Allow access to reading and writing file on the local system
path, _ := filepath.Abs(filename)
accessor := StyleFileAccessor(path)
router.Path("/styles").Methods("GET").HandlerFunc(accessor.ListFiles)
router.Path("/styles/{styleId}").Methods("GET").HandlerFunc(accessor.ReadFile)
router.Path("/styles/{styleId}").Methods("PUT").HandlerFunc(accessor.SaveFile)
// Register websocket to notify we clients about file changes
if c.Bool("watch") {
router.Path("/ws").HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
filewatch.ServeWebsocketFileWatcher(filename, w, r)
})
}
}
staticDir := c.String("static")
if staticDir != "" {
h := http.StripPrefix("/static/", http.FileServer(http.Dir(staticDir)))
router.PathPrefix("/static/").Handler(h)
}
router.PathPrefix("/").Handler(http.StripPrefix("/", gui))
loggedRouter := handlers.LoggingHandler(os.Stdout, router)
corsRouter := handlers.CORS(handlers.AllowedHeaders([]string{"Content-Type"}), handlers.AllowedMethods([]string{"GET", "PUT"}), handlers.AllowedOrigins([]string{"*"}), handlers.AllowCredentials())(loggedRouter)
fmt.Printf("Exposing Maputnik on http://localhost:%d\n", c.Int("port"))
return http.ListenAndServe(fmt.Sprintf(":%d", c.Int("port")), corsRouter)
}
app.Run(os.Args)
}
+60
View File
@@ -0,0 +1,60 @@
{
"RT_GROUP_ICON": {
"APP": {
"0000": [
"../../src/img/maputnik.png"
]
}
},
"RT_MANIFEST": {
"#1": {
"0409": {
"identity": {
"name": "Maputnik",
"version": "{{.Version}}"
},
"description": "A MapLibre GL visual style editor",
"minimum-os": "win7",
"execution-level": "as invoker",
"ui-access": false,
"auto-elevate": false,
"dpi-awareness": "system",
"disable-theming": false,
"disable-window-filtering": false,
"high-resolution-scrolling-aware": false,
"ultra-high-resolution-scrolling-aware": false,
"long-path-aware": false,
"printer-driver-isolation": false,
"gdi-scaling": false,
"segment-heap": false,
"use-common-controls-v6": false
}
}
},
"RT_VERSION": {
"#1": {
"0000": {
"fixed": {
"file_version": "{{.Version}}",
"product_version": "{{.Version}}"
},
"info": {
"0409": {
"Comments": "https://github.com/maplibre/maputnik",
"CompanyName": "Maputnik",
"FileDescription": "A MapLibre GL visual style editor",
"FileVersion": "{{.Version}}",
"InternalName": "Maputnik",
"LegalCopyright": "MIT License",
"LegalTrademarks": "",
"OriginalFilename": "Maputnik.exe",
"PrivateBuild": "",
"ProductName": "Maputnik",
"ProductVersion": "{{.Version}}",
"SpecialBuild": ""
}
}
}
}
}
}
+61
View File
@@ -0,0 +1,61 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import reactPlugin from 'eslint-plugin-react';
import reactHooksPlugin from 'eslint-plugin-react-hooks';
import reactRefreshPlugin from 'eslint-plugin-react-refresh';
export default tseslint.config({
extends: [
eslint.configs.recommended,
tseslint.configs.recommended,
],
files: ['**/*.{js,jsx,ts,tsx}'],
ignores: [
"dist/**/*",
],
languageOptions: {
ecmaVersion: 2024,
sourceType: 'module',
globals: {
global: 'readonly'
}
},
settings: {
react: { version: '18.2' }
},
plugins: {
'react': reactPlugin,
'react-hooks': reactHooksPlugin,
'react-refresh': reactRefreshPlugin
},
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true }
],
"@typescript-eslint/no-explicit-any": "off",
'@typescript-eslint/no-unused-vars': [
'warn',
{
varsIgnorePattern: '^_',
caughtErrors: 'all',
caughtErrorsIgnorePattern: '^_',
argsIgnorePattern: '^_'
}
],
'no-unused-vars': 'off',
'react/prop-types': 'off',
'no-undef': 'off',
'indent': ['error', 2],
'no-var': 'error',
'@typescript-eslint/no-non-null-asserted-optional-chain': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
},
linterOptions: {
reportUnusedDisableDirectives: true,
noInlineConfig: false
}
}
)
+17
View File
@@ -0,0 +1,17 @@
export default {
output: 'src/locales/$LOCALE/$NAMESPACE.json',
locales: [ 'de', 'fr', 'he', 'it','ja', 'zh' ],
// Because some keys are dynamically generated, i18next-parser can't detect them.
// We add these keys manually, so we don't want to remove them.
keepRemoved: true,
// We use plain English keys, so we disable key and namespace separators.
keySeparator: false,
namespaceSeparator: false,
defaultValue: (_locale, _ns, _key) => {
// The default value is a string that indicates that the string is not translated.
return '__STRING_NOT_TRANSLATED__';
}
}
+6 -5
View File
@@ -2,9 +2,10 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title><%= htmlWebpackPlugin.options.title %></title> <title>Maputnik</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="src/manifest.json">
<link rel="icon" href="src/favicon.ico" type="image/x-icon" />
<style> <style>
html { html {
background-color: rgb(28, 31, 36); background-color: rgb(28, 31, 36);
@@ -23,7 +24,7 @@
align-items: center; align-items: center;
} }
.loading__logo svg { .loading__logo img {
width: 200px; width: 200px;
height: 200px; height: 200px;
} }
@@ -38,9 +39,9 @@
</style> </style>
</head> </head>
<body> <body>
<!-- TODO: Import dynamically -->
<!-- From <https://github.com/hail2u/color-blindness-emulation> --> <!-- From <https://github.com/hail2u/color-blindness-emulation> -->
<svg <svg
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
version="1.1"> version="1.1">
<defs> <defs>
@@ -122,10 +123,10 @@
<div id="app"></div> <div id="app"></div>
<div class="loading"> <div class="loading">
<div class="loading__logo"> <div class="loading__logo">
<!-- replaced by 'html-webpack-inline-svg-plugin' -->
<img inline src="node_modules/maputnik-design/logos/logo-loading.svg" /> <img inline src="node_modules/maputnik-design/logos/logo-loading.svg" />
</div> </div>
<div class="loading__text">Loading&hellip;</div> <div class="loading__text">Loading&hellip;</div>
</div> </div>
<script type="module" src="/src/index.jsx"></script>
</body> </body>
</html> </html>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

+12241 -16377
View File
File diff suppressed because it is too large Load Diff
+102 -117
View File
@@ -1,69 +1,79 @@
{ {
"name": "maputnik", "name": "maputnik",
"version": "1.7.0", "version": "2.1.1",
"description": "A MapboxGL visual style editor", "description": "A MapLibre GL visual style editor",
"type": "module",
"main": "''", "main": "''",
"scripts": { "scripts": {
"stats": "webpack --config config/webpack.production.config.js --profile --json > stats.json", "start": "vite",
"build": "webpack --config config/webpack.production.config.js --progress --profile --colors", "build": "tsc && vite build --base=/maputnik/",
"profiling-build": "webpack --config config/webpack.profiling.config.js --progress --profile --colors", "build-desktop": "tsc && vite build --base=/ && cd desktop && make",
"test": "cross-env NODE_ENV=test wdio config/wdio.conf.js", "i18n:refresh": "i18next 'src/**/*.{ts,tsx,js,jsx}'",
"test-watch": "cross-env NODE_ENV=test wdio config/wdio.conf.js --watch", "lint": "eslint",
"start": "webpack-dev-server --progress --profile --colors --config config/webpack.config.js", "test": "cypress run",
"lint-js": "eslint --ext js --ext jsx src test", "cy:open": "cypress open",
"lint-css": "stylelint \"src/styles/*.scss\"", "lint-css": "stylelint \"src/styles/*.scss\"",
"lint": "npm run lint-js && npm run lint-css" "sort-styles": "jq 'sort_by(.id)' src/config/styles.json > tmp.json && mv tmp.json src/config/styles.json"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/maputnik/editor" "url": "https://github.com/maplibre/maputnik"
}, },
"author": "Lukas Martinelli", "author": "Lukas Martinelli",
"license": "MIT", "license": "MIT",
"homepage": "https://github.com/maputnik/editor#readme", "homepage": "https://github.com/maplibre/maputnik#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.8.4", "@mapbox/mapbox-gl-rtl-text": "^0.3.0",
"@mapbox/mapbox-gl-rtl-text": "^0.2.3", "@maplibre/maplibre-gl-geocoder": "^1.7.1",
"@mapbox/mapbox-gl-style-spec": "^13.12.0", "@maplibre/maplibre-gl-inspect": "^1.7.1",
"@mdi/react": "^1.4.0", "@maplibre/maplibre-gl-style-spec": "^23.1.0",
"array-move": "^2.2.1", "@mdi/js": "^7.4.47",
"classnames": "^2.2.6", "@mdi/react": "^1.6.1",
"codemirror": "^5.52.0", "@prantlf/jsonlint": "^16.0.0",
"color": "^3.1.2", "array-move": "^4.0.0",
"detect-browser": "^5.0.0", "buffer": "^6.0.3",
"file-saver": "^2.0.2", "classnames": "^2.5.1",
"codemirror": "^5.65.18",
"color": "^5.0.0",
"detect-browser": "^5.3.0",
"events": "^3.3.0",
"file-saver": "^2.0.5",
"i18next": "^24.2.2",
"i18next-browser-languagedetector": "^8.0.4",
"i18next-resources-to-backend": "^1.2.1",
"json-stringify-pretty-compact": "^4.0.0",
"json-to-ast": "^2.1.0", "json-to-ast": "^2.1.0",
"jsonlint": "github:josdejong/jsonlint#85a19d7", "lodash": "^4.17.21",
"lodash": "^4.17.15",
"lodash.capitalize": "^4.2.1", "lodash.capitalize": "^4.2.1",
"lodash.clamp": "^4.0.3", "lodash.clamp": "^4.0.3",
"lodash.clonedeep": "^4.5.0", "lodash.clonedeep": "^4.5.0",
"lodash.get": "^4.4.2", "lodash.get": "^4.4.2",
"lodash.isequal": "^4.5.0", "lodash.isequal": "^4.5.0",
"lodash.throttle": "^4.1.1", "lodash.throttle": "^4.1.1",
"mapbox-gl": "^1.9.1", "maplibre-gl": "^5.1.0",
"mapbox-gl-inspect": "^1.3.1", "maputnik-design": "github:maputnik/design#172b06c",
"maputnik-design": "github:maputnik/design#f7a2b4d", "ol": "^10.4.0",
"ol": "^6.3.1", "ol-mapbox-style": "^12.4.0",
"ol-mapbox-style": "^6.0.1", "pmtiles": "^4.1.0",
"prop-types": "^15.7.2", "prop-types": "^15.8.1",
"react": "^16.12.0", "react": "^18.2.0",
"react-accessible-accordion": "^3.0.1", "react-accessible-accordion": "^5.0.0",
"react-aria-menubutton": "^6.3.0", "react-aria-menubutton": "^7.0.3",
"react-aria-modal": "^4.0.0", "react-aria-modal": "^5.0.2",
"react-autobind": "^1.0.6", "react-autobind": "^1.0.6",
"react-autocomplete": "^1.8.1", "react-autocomplete": "^1.8.1",
"react-collapse": "^5.0.1", "react-collapse": "^5.1.1",
"react-color": "^2.18.0", "react-color": "^2.19.3",
"react-dom": "^16.12.0", "react-dom": "^18.2.0",
"react-file-reader-input": "^2.0.0", "react-file-reader-input": "^2.0.0",
"react-i18next": "^15.4.0",
"react-icon-base": "^2.1.2", "react-icon-base": "^2.1.2",
"react-icons": "^3.9.0", "react-icons": "^5.4.0",
"react-motion": "^0.5.2", "react-sortable-hoc": "^2.0.0",
"react-sortable-hoc": "^1.11.0",
"reconnecting-websocket": "^4.4.0", "reconnecting-websocket": "^4.4.0",
"slugify": "^1.3.6", "slugify": "^1.6.6",
"url": "^0.11.0" "string-hash": "^1.1.3",
"url": "^0.11.4"
}, },
"jshintConfig": { "jshintConfig": {
"esversion": 6 "esversion": 6
@@ -82,83 +92,58 @@
] ]
} }
}, },
"eslintConfig": {
"plugins": [
"react"
],
"extends": [
"plugin:react/recommended"
],
"env": {
"browser": true,
"node": true,
"es6": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"experimentalObjectRestSpread": true,
"jsx": true
}
},
"settings": {
"react": {
"version": "detect"
}
}
},
"devDependencies": { "devDependencies": {
"@babel/core": "^7.8.4", "@cypress/code-coverage": "^3.13.11",
"@babel/plugin-proposal-class-properties": "^7.5.5", "@eslint/js": "^9.19.0",
"@babel/plugin-transform-runtime": "^7.6.2", "@istanbuljs/nyc-config-typescript": "^1.0.2",
"@babel/preset-env": "^7.6.3", "@rollup/plugin-replace": "^6.0.2",
"@babel/preset-flow": "^7.0.0", "@shellygo/cypress-test-utils": "^4.1.13",
"@babel/preset-react": "^7.6.3", "@types/codemirror": "^5.60.15",
"@mdi/js": "^5.0.45", "@types/color": "^4.2.0",
"@wdio/cli": "^6.0.5", "@types/cors": "^2.8.17",
"@wdio/local-runner": "^6.0.5", "@types/file-saver": "^2.0.7",
"@wdio/mocha-framework": "^6.0.4", "@types/geojson": "^7946.0.16",
"@wdio/selenium-standalone-service": "^6.0.4", "@types/json-to-ast": "^2.1.4",
"@wdio/spec-reporter": "^6.0.4", "@types/lodash.capitalize": "^4.2.9",
"@wdio/sync": "^6.0.1", "@types/lodash.clamp": "^4.0.9",
"babel-eslint": "^10.0.3", "@types/lodash.clonedeep": "^4.5.9",
"babel-loader": "^8.1.0", "@types/lodash.get": "^4.4.9",
"babel-plugin-istanbul": "^6.0.0", "@types/lodash.isequal": "^4.5.8",
"babel-plugin-static-fs": "^3.0.0", "@types/lodash.throttle": "^4.1.9",
"copy-webpack-plugin": "^5.1.1", "@types/randomcolor": "^0.5.9",
"@types/react": "^18.2.67",
"@types/react-aria-menubutton": "^6.2.14",
"@types/react-aria-modal": "^5.0.0",
"@types/react-autocomplete": "^1.8.11",
"@types/react-collapse": "^5.0.4",
"@types/react-color": "^3.0.13",
"@types/react-dom": "^18.2.22",
"@types/react-file-reader-input": "^2.0.4",
"@types/react-icon-base": "^2.1.6",
"@types/string-hash": "^1.1.3",
"@types/uuid": "^10.0.0",
"@types/wicg-file-system-access": "^2023.10.5",
"@vitejs/plugin-react": "^4.3.4",
"cors": "^2.8.5", "cors": "^2.8.5",
"cross-env": "^7.0.0", "cypress": "^14.0.2",
"css-loader": "^3.4.2", "cypress-plugin-tab": "^1.0.5",
"eslint": "^6.8.0", "eslint": "^9.19.0",
"eslint-plugin-react": "^7.18.3", "eslint-plugin-react": "^7.37.4",
"express": "^4.17.1", "eslint-plugin-react-hooks": "^5.1.0",
"file-loader": "^6.0.0", "eslint-plugin-react-refresh": "^0.4.18",
"html-webpack-inline-svg-plugin": "^1.3.0", "i18next-parser": "^9.1.0",
"html-webpack-plugin": "^3.2.0",
"is-docker": "^2.0.0",
"istanbul": "^0.4.5", "istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.0.0", "istanbul-lib-coverage": "^3.2.2",
"mkdirp": "^1.0.4", "postcss": "^8.5.1",
"mocha": "^7.0.1", "react-hot-loader": "^4.13.1",
"node-sass": "^4.13.1", "sass": "^1.83.4",
"react-hot-loader": "^4.12.19", "stylelint": "^16.14.1",
"sass-loader": "^8.0.2", "stylelint-config-recommended-scss": "^14.1.0",
"selenium-standalone": "^6.17.0", "stylelint-scss": "^6.11.0",
"style-loader": "^1.1.3", "typescript": "^5.7.3",
"stylelint": "^13.3.0", "typescript-eslint": "^8.22.0",
"stylelint-config-recommended-scss": "^4.2.0", "uuid": "^11.0.5",
"stylelint-scss": "^3.14.2", "vite": "^6.1.0",
"svg-inline-loader": "^0.8.2", "vite-plugin-istanbul": "^6.0.2"
"transform-loader": "^0.2.4",
"uuid": "^7.0.3",
"webdriverio": "^6.0.5",
"webpack": "^4.41.6",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cleanup-plugin": "^0.5.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
} }
} }
+340 -173
View File
@@ -1,30 +1,33 @@
// @ts-ignore - this can be easily replaced with arrow functions
import autoBind from 'react-autobind'; import autoBind from 'react-autobind';
import React from 'react' import React from 'react'
import cloneDeep from 'lodash.clonedeep' import cloneDeep from 'lodash.clonedeep'
import clamp from 'lodash.clamp' import clamp from 'lodash.clamp'
import buffer from 'buffer'
import get from 'lodash.get' import get from 'lodash.get'
import {unset} from 'lodash' import {unset} from 'lodash'
import arrayMove from 'array-move' import {arrayMoveMutable} from 'array-move'
import url from 'url' import hash from "string-hash";
import { PMTiles } from "pmtiles";
import {Map, LayerSpecification, StyleSpecification, ValidationError, SourceSpecification} from 'maplibre-gl'
import {latest, validateStyleMin} from '@maplibre/maplibre-gl-style-spec'
import MapboxGlMap from './map/MapboxGlMap' import MapMaplibreGl from './MapMaplibreGl'
import OpenLayersMap from './map/OpenLayersMap' import MapOpenLayers from './MapOpenLayers'
import LayerList from './layers/LayerList' import LayerList from './LayerList'
import LayerEditor from './layers/LayerEditor' import LayerEditor from './LayerEditor'
import Toolbar from './Toolbar' import AppToolbar, { MapState } from './AppToolbar'
import AppLayout from './AppLayout' import AppLayout from './AppLayout'
import MessagePanel from './MessagePanel' import MessagePanel from './AppMessagePanel'
import SettingsModal from './modals/SettingsModal' import ModalSettings from './ModalSettings'
import ExportModal from './modals/ExportModal' import ModalExport from './ModalExport'
import SourcesModal from './modals/SourcesModal' import ModalSources from './ModalSources'
import OpenModal from './modals/OpenModal' import ModalOpen from './ModalOpen'
import ShortcutsModal from './modals/ShortcutsModal' import ModalShortcuts from './ModalShortcuts'
import SurveyModal from './modals/SurveyModal' import ModalDebug from './ModalDebug'
import DebugModal from './modals/DebugModal'
import { downloadGlyphsMetadata, downloadSpriteMetadata } from '../libs/metadata' import {downloadGlyphsMetadata, downloadSpriteMetadata} from '../libs/metadata'
import {latest, validate} from '@mapbox/mapbox-gl-style-spec'
import style from '../libs/style' import style from '../libs/style'
import { initialStyleUrl, loadStyleUrl, removeStyleQuerystring } from '../libs/urlopen' import { initialStyleUrl, loadStyleUrl, removeStyleQuerystring } from '../libs/urlopen'
import { undoMessages, redoMessages } from '../libs/diffmessage' import { undoMessages, redoMessages } from '../libs/diffmessage'
@@ -35,25 +38,13 @@ import LayerWatcher from '../libs/layerwatcher'
import tokens from '../config/tokens.json' import tokens from '../config/tokens.json'
import isEqual from 'lodash.isequal' import isEqual from 'lodash.isequal'
import Debug from '../libs/debug' import Debug from '../libs/debug'
import queryUtil from '../libs/query-util' import { SortEnd } from 'react-sortable-hoc';
import {formatLayerId} from './util/format'; import { MapOptions } from 'maplibre-gl';
import MapboxGl from 'mapbox-gl' // Buffer must be defined globally for @maplibre/maplibre-gl-style-spec validate() function to succeed.
window.Buffer = buffer.Buffer;
function setFetchAccessToken(url: string, mapStyle: StyleSpecification) {
// Similar functionality as <https://github.com/mapbox/mapbox-gl-js/blob/7e30aadf5177486c2cfa14fe1790c60e217b5e56/src/util/mapbox.js>
function normalizeSourceURL (url, apiToken="") {
const matches = url.match(/^mapbox:\/\/(.*)/);
if (matches) {
// mapbox://mapbox.mapbox-streets-v7
return `https://api.mapbox.com/v4/${matches[1]}.json?secure&access_token=${apiToken}`
}
else {
return url;
}
}
function setFetchAccessToken(url, mapStyle) {
const matchesTilehosting = url.match(/\.tilehosting\.com/); const matchesTilehosting = url.match(/\.tilehosting\.com/);
const matchesMaptiler = url.match(/\.maptiler\.com/); const matchesMaptiler = url.match(/\.maptiler\.com/);
const matchesThunderforest = url.match(/\.thunderforest\.com/); const matchesThunderforest = url.match(/\.thunderforest\.com/);
@@ -74,7 +65,7 @@ function setFetchAccessToken(url, mapStyle) {
} }
} }
function updateRootSpec(spec, fieldName, newValues) { function updateRootSpec(spec: any, fieldName: string, newValues: any) {
return { return {
...spec, ...spec,
$root: { $root: {
@@ -87,15 +78,74 @@ function updateRootSpec(spec, fieldName, newValues) {
} }
} }
export default class App extends React.Component { type OnStyleChangedOpts = {
constructor(props) { save?: boolean
addRevision?: boolean
initialLoad?: boolean
}
type MappedErrors = {
message: string
parsed?: {
type: string
data: {
index: number
key: string
message: string
}
}
}
type AppState = {
errors: MappedErrors[],
infos: string[],
mapStyle: StyleSpecification & {id: string},
dirtyMapStyle?: StyleSpecification,
selectedLayerIndex: number,
selectedLayerOriginalId?: string,
sources: {[key: string]: SourceSpecification},
vectorLayers: {},
spec: any,
mapView: {
zoom: number,
center: {
lng: number,
lat: number,
},
},
maplibreGlDebugOptions: Partial<MapOptions> & {
showTileBoundaries: boolean,
showCollisionBoxes: boolean,
showOverdrawInspector: boolean,
},
openlayersDebugOptions: {
debugToolbox: boolean,
},
mapState: MapState
isOpen: {
settings: boolean
sources: boolean
open: boolean
shortcuts: boolean
export: boolean
debug: boolean
}
fileHandle: FileSystemFileHandle | null
}
export default class App extends React.Component<any, AppState> {
revisionStore: RevisionStore;
styleStore: StyleStore | ApiStyleStore;
layerWatcher: LayerWatcher;
constructor(props: any) {
super(props) super(props)
autoBind(this); autoBind(this);
this.revisionStore = new RevisionStore() this.revisionStore = new RevisionStore()
const params = new URLSearchParams(window.location.search.substring(1)) const params = new URLSearchParams(window.location.search.substring(1))
let port = params.get("localport") let port = params.get("localport")
if (port == null && (window.location.port != 80 && window.location.port != 443)) { if (port == null && (window.location.port !== "80" && window.location.port !== "443")) {
port = window.location.port port = window.location.port
} }
this.styleStore = new ApiStyleStore({ this.styleStore = new ApiStyleStore({
@@ -147,7 +197,7 @@ export default class App extends React.Component {
{ {
key: "m", key: "m",
handler: () => { handler: () => {
document.querySelector(".mapboxgl-canvas").focus(); (document.querySelector(".maplibregl-canvas") as HTMLCanvasElement).focus();
} }
}, },
{ {
@@ -160,7 +210,7 @@ export default class App extends React.Component {
document.body.addEventListener("keyup", (e) => { document.body.addEventListener("keyup", (e) => {
if(e.key === "Escape") { if(e.key === "Escape") {
e.target.blur(); (e.target as HTMLElement).blur();
document.body.focus(); document.body.focus();
} }
else if(this.state.isOpen.shortcuts || document.activeElement === document.body) { else if(this.state.isOpen.shortcuts || document.activeElement === document.body) {
@@ -170,7 +220,7 @@ export default class App extends React.Component {
if(shortcut) { if(shortcut) {
this.setModal("shortcuts", false); this.setModal("shortcuts", false);
shortcut.handler(e); shortcut.handler();
} }
} }
}) })
@@ -189,7 +239,7 @@ export default class App extends React.Component {
console.log('Falling back to local storage for storing styles') console.log('Falling back to local storage for storing styles')
this.styleStore = new StyleStore() this.styleStore = new StyleStore()
} }
this.styleStore.latestStyle(mapStyle => this.onStyleChanged(mapStyle)) this.styleStore.latestStyle(mapStyle => this.onStyleChanged(mapStyle, {initialLoad: true}))
if(Debug.enabled()) { if(Debug.enabled()) {
Debug.set("maputnik", "styleStore", this.styleStore); Debug.set("maputnik", "styleStore", this.styleStore);
@@ -203,8 +253,6 @@ export default class App extends React.Component {
Debug.set("maputnik", "styleStore", this.styleStore); Debug.set("maputnik", "styleStore", this.styleStore);
} }
const queryObj = url.parse(window.location.href, true).query;
this.state = { this.state = {
errors: [], errors: [],
infos: [], infos: [],
@@ -228,10 +276,9 @@ export default class App extends React.Component {
shortcuts: false, shortcuts: false,
export: false, export: false,
// TODO: Disabled for now, this should be opened on the Nth visit to the editor // TODO: Disabled for now, this should be opened on the Nth visit to the editor
survey: false,
debug: false, debug: false,
}, },
mapboxGlDebugOptions: { maplibreGlDebugOptions: {
showTileBoundaries: false, showTileBoundaries: false,
showCollisionBoxes: false, showCollisionBoxes: false,
showOverdrawInspector: false, showOverdrawInspector: false,
@@ -239,6 +286,7 @@ export default class App extends React.Component {
openlayersDebugOptions: { openlayersDebugOptions: {
debugToolbox: false, debugToolbox: false,
}, },
fileHandle: null,
} }
this.layerWatcher = new LayerWatcher({ this.layerWatcher = new LayerWatcher({
@@ -246,25 +294,25 @@ export default class App extends React.Component {
}) })
} }
handleKeyPress = (e) => { handleKeyPress = (e: KeyboardEvent) => {
if(navigator.platform.toUpperCase().indexOf('MAC') >= 0) { if(navigator.platform.toUpperCase().indexOf('MAC') >= 0) {
if(e.metaKey && e.shiftKey && e.keyCode === 90) { if(e.metaKey && e.shiftKey && e.keyCode === 90) {
e.preventDefault(); e.preventDefault();
this.onRedo(e); this.onRedo();
} }
else if(e.metaKey && e.keyCode === 90) { else if(e.metaKey && e.keyCode === 90) {
e.preventDefault(); e.preventDefault();
this.onUndo(e); this.onUndo();
} }
} }
else { else {
if(e.ctrlKey && e.keyCode === 90) { if(e.ctrlKey && e.keyCode === 90) {
e.preventDefault(); e.preventDefault();
this.onUndo(e); this.onUndo();
} }
else if(e.ctrlKey && e.keyCode === 89) { else if(e.ctrlKey && e.keyCode === 89) {
e.preventDefault(); e.preventDefault();
this.onRedo(e); this.onRedo();
} }
} }
} }
@@ -277,31 +325,31 @@ export default class App extends React.Component {
window.removeEventListener("keydown", this.handleKeyPress); window.removeEventListener("keydown", this.handleKeyPress);
} }
saveStyle(snapshotStyle) { saveStyle(snapshotStyle: StyleSpecification & {id: string}) {
this.styleStore.save(snapshotStyle) this.styleStore.save(snapshotStyle)
} }
updateFonts(urlTemplate) { updateFonts(urlTemplate: string) {
const metadata = this.state.mapStyle.metadata || {} const metadata: {[key: string]: string} = this.state.mapStyle.metadata || {} as any
const accessToken = metadata['maputnik:openmaptiles_access_token'] || tokens.openmaptiles const accessToken = metadata['maputnik:openmaptiles_access_token'] || tokens.openmaptiles
let glyphUrl = (typeof urlTemplate === 'string')? urlTemplate.replace('{key}', accessToken): urlTemplate; const glyphUrl = (typeof urlTemplate === 'string')? urlTemplate.replace('{key}', accessToken): urlTemplate;
downloadGlyphsMetadata(glyphUrl, fonts => { downloadGlyphsMetadata(glyphUrl, fonts => {
this.setState({ spec: updateRootSpec(this.state.spec, 'glyphs', fonts)}) this.setState({ spec: updateRootSpec(this.state.spec, 'glyphs', fonts)})
}) })
} }
updateIcons(baseUrl) { updateIcons(baseUrl: string) {
downloadSpriteMetadata(baseUrl, icons => { downloadSpriteMetadata(baseUrl, icons => {
this.setState({ spec: updateRootSpec(this.state.spec, 'sprite', icons)}) this.setState({ spec: updateRootSpec(this.state.spec, 'sprite', icons)})
}) })
} }
onChangeMetadataProperty = (property, value) => { onChangeMetadataProperty = (property: string, value: any) => {
// If we're changing renderer reset the map state. // If we're changing renderer reset the map state.
if ( if (
property === 'maputnik:renderer' && property === 'maputnik:renderer' &&
value !== get(this.state.mapStyle, ['metadata', 'maputnik:renderer'], 'mbgljs') value !== get(this.state.mapStyle, ['metadata', 'maputnik:renderer'], 'mlgljs')
) { ) {
this.setState({ this.setState({
mapState: 'map' mapState: 'map'
@@ -311,30 +359,53 @@ export default class App extends React.Component {
const changedStyle = { const changedStyle = {
...this.state.mapStyle, ...this.state.mapStyle,
metadata: { metadata: {
...this.state.mapStyle.metadata, ...(this.state.mapStyle as any).metadata,
[property]: value [property]: value
} }
} }
this.onStyleChanged(changedStyle) this.onStyleChanged(changedStyle)
} }
onStyleChanged = (newStyle, opts={}) => { onStyleChanged = (newStyle: StyleSpecification & {id: string}, opts: OnStyleChangedOpts={}) => {
opts = { opts = {
save: true, save: true,
addRevision: true, addRevision: true,
initialLoad: false,
...opts, ...opts,
}; };
const errors = validate(newStyle, latest) || []; // For the style object, find the urls that has "{key}" and insert the correct API keys
// Without this, going from e.g. MapTiler to OpenLayers and back will lose the maptlier key.
if (newStyle.glyphs && typeof newStyle.glyphs === 'string') {
newStyle.glyphs = setFetchAccessToken(newStyle.glyphs, newStyle);
}
if (newStyle.sprite && typeof newStyle.sprite === 'string') {
newStyle.sprite = setFetchAccessToken(newStyle.sprite, newStyle);
}
for (const [_sourceId, source] of Object.entries(newStyle.sources)) {
if (source && 'url' in source && typeof source.url === 'string') {
source.url = setFetchAccessToken(source.url, newStyle);
}
}
if (opts.initialLoad) {
this.getInitialStateFromUrl(newStyle);
}
const errors: ValidationError[] = validateStyleMin(newStyle) || [];
// The validate function doesn't give us errors for duplicate error with // The validate function doesn't give us errors for duplicate error with
// empty string for layer.id, manually deal with that here. // empty string for layer.id, manually deal with that here.
const layerErrors = []; const layerErrors: (Error | ValidationError)[] = [];
if (newStyle && newStyle.layers) { if (newStyle && newStyle.layers) {
const foundLayers = new Map(); const foundLayers = new global.Map();
newStyle.layers.forEach((layer, index) => { newStyle.layers.forEach((layer, index) => {
if (layer.id === "" && foundLayers.has(layer.id)) { if (layer.id === "" && foundLayers.has(layer.id)) {
const message = `Duplicate layer: ${formatLayerId(layer.id)}`;
const error = new Error( const error = new Error(
`layers[${index}]: duplicate layer id [empty_string], previously used` `layers[${index}]: duplicate layer id [empty_string], previously used`
); );
@@ -348,7 +419,7 @@ export default class App extends React.Component {
// Special case: Duplicate layer id // Special case: Duplicate layer id
const dupMatch = error.message.match(/layers\[(\d+)\]: (duplicate layer id "?(.*)"?, previously used)/); const dupMatch = error.message.match(/layers\[(\d+)\]: (duplicate layer id "?(.*)"?, previously used)/);
if (dupMatch) { if (dupMatch) {
const [matchStr, index, message] = dupMatch; const [, index, message] = dupMatch;
return { return {
message: error.message, message: error.message,
parsed: { parsed: {
@@ -365,7 +436,7 @@ export default class App extends React.Component {
// Special case: Invalid source // Special case: Invalid source
const invalidSourceMatch = error.message.match(/layers\[(\d+)\]: (source "(?:.*)" not found)/); const invalidSourceMatch = error.message.match(/layers\[(\d+)\]: (source "(?:.*)" not found)/);
if (invalidSourceMatch) { if (invalidSourceMatch) {
const [matchStr, index, message] = invalidSourceMatch; const [, index, message] = invalidSourceMatch;
return { return {
message: error.message, message: error.message,
parsed: { parsed: {
@@ -381,7 +452,7 @@ export default class App extends React.Component {
const layerMatch = error.message.match(/layers\[(\d+)\]\.(?:(\S+)\.)?(\S+): (.*)/); const layerMatch = error.message.match(/layers\[(\d+)\]\.(?:(\S+)\.)?(\S+): (.*)/);
if (layerMatch) { if (layerMatch) {
const [matchStr, index, group, property, message] = layerMatch; const [, index, group, property, message] = layerMatch;
const key = (group && property) ? [group, property].join(".") : property; const key = (group && property) ? [group, property].join(".") : property;
return { return {
message: error.message, message: error.message,
@@ -402,7 +473,7 @@ export default class App extends React.Component {
} }
}); });
let dirtyMapStyle = undefined; let dirtyMapStyle: StyleSpecification | undefined = undefined;
if (errors.length > 0) { if (errors.length > 0) {
dirtyMapStyle = cloneDeep(newStyle); dirtyMapStyle = cloneDeep(newStyle);
@@ -412,7 +483,7 @@ export default class App extends React.Component {
try { try {
const objPath = message.split(":")[0]; const objPath = message.split(":")[0];
// Errors can be deply nested for example 'layers[0].filter[1][1][0]' we only care upto the property 'layers[0].filter' // Errors can be deply nested for example 'layers[0].filter[1][1][0]' we only care upto the property 'layers[0].filter'
const unsetPath = objPath.match(/^\S+?\[\d+\]\.[^\[]+/)[0]; const unsetPath = objPath.match(/^\S+?\[\d+\]\.[^[]+/)![0];
unset(dirtyMapStyle, unsetPath); unset(dirtyMapStyle, unsetPath);
} }
catch (err) { catch (err) {
@@ -423,26 +494,28 @@ export default class App extends React.Component {
} }
if(newStyle.glyphs !== this.state.mapStyle.glyphs) { if(newStyle.glyphs !== this.state.mapStyle.glyphs) {
this.updateFonts(newStyle.glyphs) this.updateFonts(newStyle.glyphs as string)
} }
if(newStyle.sprite !== this.state.mapStyle.sprite) { if(newStyle.sprite !== this.state.mapStyle.sprite) {
this.updateIcons(newStyle.sprite) this.updateIcons(newStyle.sprite as string)
} }
if (opts.addRevision) { if (opts.addRevision) {
this.revisionStore.addRevision(newStyle); this.revisionStore.addRevision(newStyle);
} }
if (opts.save) { if (opts.save) {
this.saveStyle(newStyle); this.saveStyle(newStyle as StyleSpecification & {id: string});
} }
this.setState({ this.setState({
mapStyle: newStyle, mapStyle: newStyle,
dirtyMapStyle: dirtyMapStyle, dirtyMapStyle: dirtyMapStyle,
errors: mappedErrors, errors: mappedErrors,
}, () => {
this.fetchSources();
this.setStateInUrl();
}) })
this.fetchSources();
} }
onUndo = () => { onUndo = () => {
@@ -464,7 +537,7 @@ export default class App extends React.Component {
}) })
} }
onMoveLayer = (move) => { onMoveLayer = (move: SortEnd) => {
let { oldIndex, newIndex } = move; let { oldIndex, newIndex } = move;
let layers = this.state.mapStyle.layers; let layers = this.state.mapStyle.layers;
oldIndex = clamp(oldIndex, 0, layers.length-1); oldIndex = clamp(oldIndex, 0, layers.length-1);
@@ -478,11 +551,11 @@ export default class App extends React.Component {
} }
layers = layers.slice(0); layers = layers.slice(0);
layers = arrayMove(layers, oldIndex, newIndex); arrayMoveMutable(layers, oldIndex, newIndex);
this.onLayersChange(layers); this.onLayersChange(layers);
} }
onLayersChange = (changedLayers) => { onLayersChange = (changedLayers: LayerSpecification[]) => {
const changedStyle = { const changedStyle = {
...this.state.mapStyle, ...this.state.mapStyle,
layers: changedLayers layers: changedLayers
@@ -490,15 +563,15 @@ export default class App extends React.Component {
this.onStyleChanged(changedStyle) this.onStyleChanged(changedStyle)
} }
onLayerDestroy = (index) => { onLayerDestroy = (index: number) => {
let layers = this.state.mapStyle.layers; const layers = this.state.mapStyle.layers;
const remainingLayers = layers.slice(0); const remainingLayers = layers.slice(0);
remainingLayers.splice(index, 1); remainingLayers.splice(index, 1);
this.onLayersChange(remainingLayers); this.onLayersChange(remainingLayers);
} }
onLayerCopy = (index) => { onLayerCopy = (index: number) => {
let layers = this.state.mapStyle.layers; const layers = this.state.mapStyle.layers;
const changedLayers = layers.slice(0) const changedLayers = layers.slice(0)
const clonedLayer = cloneDeep(changedLayers[index]) const clonedLayer = cloneDeep(changedLayers[index])
@@ -507,8 +580,8 @@ export default class App extends React.Component {
this.onLayersChange(changedLayers) this.onLayersChange(changedLayers)
} }
onLayerVisibilityToggle = (index) => { onLayerVisibilityToggle = (index: number) => {
let layers = this.state.mapStyle.layers; const layers = this.state.mapStyle.layers;
const changedLayers = layers.slice(0) const changedLayers = layers.slice(0)
const layer = { ...changedLayers[index] } const layer = { ...changedLayers[index] }
@@ -521,7 +594,7 @@ export default class App extends React.Component {
} }
onLayerIdChange = (index, oldId, newId) => { onLayerIdChange = (index: number, _oldId: string, newId: string) => {
const changedLayers = this.state.mapStyle.layers.slice(0) const changedLayers = this.state.mapStyle.layers.slice(0)
changedLayers[index] = { changedLayers[index] = {
...changedLayers[index], ...changedLayers[index],
@@ -531,27 +604,27 @@ export default class App extends React.Component {
this.onLayersChange(changedLayers) this.onLayersChange(changedLayers)
} }
onLayerChanged = (index, layer) => { onLayerChanged = (index: number, layer: LayerSpecification) => {
const changedLayers = this.state.mapStyle.layers.slice(0) const changedLayers = this.state.mapStyle.layers.slice(0)
changedLayers[index] = layer changedLayers[index] = layer
this.onLayersChange(changedLayers) this.onLayersChange(changedLayers)
} }
setMapState = (newState) => { setMapState = (newState: MapState) => {
this.setState({ this.setState({
mapState: newState mapState: newState
}) }, this.setStateInUrl);
} }
setDefaultValues = (styleObj) => { setDefaultValues = (styleObj: StyleSpecification & {id: string}) => {
const metadata = styleObj.metadata || {} const metadata: {[key: string]: string} = styleObj.metadata || {} as any
if(metadata['maputnik:renderer'] === undefined) { if(metadata['maputnik:renderer'] === undefined) {
const changedStyle = { const changedStyle = {
...styleObj, ...styleObj,
metadata: { metadata: {
...styleObj.metadata, ...styleObj.metadata as any,
'maputnik:renderer': 'mbgljs' 'maputnik:renderer': 'mlgljs'
} }
} }
return changedStyle return changedStyle
@@ -560,64 +633,72 @@ export default class App extends React.Component {
} }
} }
openStyle = (styleObj) => { openStyle = (styleObj: StyleSpecification & {id: string}, fileHandle: FileSystemFileHandle | null) => {
this.setState({fileHandle: fileHandle});
styleObj = this.setDefaultValues(styleObj) styleObj = this.setDefaultValues(styleObj)
this.onStyleChanged(styleObj) this.onStyleChanged(styleObj)
} }
fetchSources() { fetchSources() {
const sourceList = {...this.state.sources}; const sourceList: {[key: string]: any} = {};
for(let [key, val] of Object.entries(this.state.mapStyle.sources)) { for(const [key, val] of Object.entries(this.state.mapStyle.sources)) {
if(sourceList.hasOwnProperty(key)) { if(
continue; !Object.prototype.hasOwnProperty.call(this.state.sources, key) &&
} val.type === "vector" &&
Object.prototype.hasOwnProperty.call(val, "url")
) {
sourceList[key] = {
type: val.type,
layers: []
};
sourceList[key] = {
type: val.type,
layers: []
};
if(!this.state.sources.hasOwnProperty(key) && val.type === "vector" && val.hasOwnProperty("url")) {
let url = val.url; let url = val.url;
try {
url = normalizeSourceURL(url, MapboxGl.accessToken);
} catch(err) {
console.warn("Failed to normalizeSourceURL: ", err);
}
try { try {
url = setFetchAccessToken(url, this.state.mapStyle) url = setFetchAccessToken(url!, this.state.mapStyle)
} catch(err) { } catch(err) {
console.warn("Failed to setFetchAccessToken: ", err); console.warn("Failed to setFetchAccessToken: ", err);
} }
fetch(url, { const setVectorLayers = (json:any) => {
mode: 'cors', if(!Object.prototype.hasOwnProperty.call(json, "vector_layers")) {
}) return;
.then((response) => { }
return response.json();
})
.then((json) => {
if(!json.hasOwnProperty("vector_layers")) {
return;
}
// Create new objects before setState // Create new objects before setState
const sources = Object.assign({}, this.state.sources); const sources = Object.assign({}, {
[key]: this.state.sources[key],
});
for(let layer of json.vector_layers) { for(const layer of json.vector_layers) {
sources[key].layers.push(layer.id) (sources[key] as any).layers.push(layer.id)
} }
console.debug("Updating source: "+key); this.setState({
this.setState({ sources: sources
sources: sources });
};
if (url!.startsWith("pmtiles://")) {
(new PMTiles(url!.substr(10))).getTileJson("")
.then(json => setVectorLayers(json))
.catch(err => {
console.error("Failed to process sources for '%s'", url, err);
}); });
} else {
fetch(url!, {
mode: 'cors',
}) })
.catch((err) => { .then(response => response.json())
console.error("Failed to process sources for '%s'", url, err); .then(json => setVectorLayers(json))
}) .catch(err => {
console.error("Failed to process sources for '%s'", url, err);
});
}
}
else {
sourceList[key] = this.state.sources[key] || this.state.mapStyle.sources[key];
} }
} }
@@ -630,11 +711,17 @@ export default class App extends React.Component {
} }
_getRenderer () { _getRenderer () {
const metadata = this.state.mapStyle.metadata || {}; const metadata: {[key:string]: string} = this.state.mapStyle.metadata || {} as any;
return metadata['maputnik:renderer'] || 'mbgljs'; return metadata['maputnik:renderer'] || 'mlgljs';
} }
onMapChange = (mapView) => { onMapChange = (mapView: {
zoom: number,
center: {
lng: number,
lat: number,
},
}) => {
this.setState({ this.setState({
mapView, mapView,
}); });
@@ -642,16 +729,15 @@ export default class App extends React.Component {
mapRenderer() { mapRenderer() {
const {mapStyle, dirtyMapStyle} = this.state; const {mapStyle, dirtyMapStyle} = this.state;
const metadata = this.state.mapStyle.metadata || {};
const mapProps = { const mapProps = {
mapStyle: (dirtyMapStyle || mapStyle), mapStyle: (dirtyMapStyle || mapStyle),
replaceAccessTokens: (mapStyle) => { replaceAccessTokens: (mapStyle: StyleSpecification) => {
return style.replaceAccessTokens(mapStyle, { return style.replaceAccessTokens(mapStyle, {
allowFallback: true allowFallback: true
}); });
}, },
onDataChange: (e) => { onDataChange: (e: {map: Map}) => {
this.layerWatcher.analyzeMap(e.map) this.layerWatcher.analyzeMap(e.map)
this.fetchSources(); this.fetchSources();
}, },
@@ -663,16 +749,17 @@ export default class App extends React.Component {
// Check if OL code has been loaded? // Check if OL code has been loaded?
if(renderer === 'ol') { if(renderer === 'ol') {
mapElement = <OpenLayersMap mapElement = <MapOpenLayers
{...mapProps} {...mapProps}
onChange={this.onMapChange} onChange={this.onMapChange}
debugToolbox={this.state.openlayersDebugOptions.debugToolbox} debugToolbox={this.state.openlayersDebugOptions.debugToolbox}
onLayerSelect={this.onLayerSelect} onLayerSelect={this.onLayerSelect}
/> />
} else { } else {
mapElement = <MapboxGlMap {...mapProps}
mapElement = <MapMaplibreGl {...mapProps}
onChange={this.onMapChange} onChange={this.onMapChange}
options={this.state.mapboxGlDebugOptions} options={this.state.maplibreGlDebugOptions}
inspectModeEnabled={this.state.mapState === "inspect"} inspectModeEnabled={this.state.mapState === "inspect"}
highlightedLayer={this.state.mapStyle.layers[this.state.selectedLayerIndex]} highlightedLayer={this.state.mapStyle.layers[this.state.selectedLayerIndex]}
onLayerSelect={this.onLayerSelect} /> onLayerSelect={this.onLayerSelect} />
@@ -682,38 +769,122 @@ export default class App extends React.Component {
if(this.state.mapState.match(/^filter-/)) { if(this.state.mapState.match(/^filter-/)) {
filterName = this.state.mapState.replace(/^filter-/, ""); filterName = this.state.mapState.replace(/^filter-/, "");
} }
const elementStyle = {}; const elementStyle: {filter?: string} = {};
if (filterName) { if (filterName) {
elementStyle.filter = `url('#${filterName}')`; elementStyle.filter = `url('#${filterName}')`;
}; }
return <div style={elementStyle} className="maputnik-map__container"> return <div style={elementStyle} className="maputnik-map__container" data-wd-key="maplibre:container">
{mapElement} {mapElement}
</div> </div>
} }
onLayerSelect = (index) => { setStateInUrl = () => {
this.setState({ selectedLayerIndex: index }) const {mapState, mapStyle, isOpen} = this.state;
} const {selectedLayerIndex} = this.state;
const url = new URL(location.href);
const hashVal = hash(JSON.stringify(mapStyle));
url.searchParams.set("layer", `${hashVal}~${selectedLayerIndex}`);
setModal(modalName, value) { const openModals = Object.entries(isOpen)
if(modalName === 'survey' && value === false) { .map(([key, val]) => (val === true ? key : null))
localStorage.setItem('survey', ''); .filter(val => val !== null);
if (openModals.length > 0) {
url.searchParams.set("modal", openModals.join(","));
}
else {
url.searchParams.delete("modal");
} }
if (mapState === "map") {
url.searchParams.delete("view");
}
else if (mapState === "inspect") {
url.searchParams.set("view", "inspect");
}
history.replaceState({selectedLayerIndex}, "Maputnik", url.href);
}
getInitialStateFromUrl = (mapStyle: StyleSpecification) => {
const url = new URL(location.href);
const modalParam = url.searchParams.get("modal");
if (modalParam && modalParam !== "") {
const modals = modalParam.split(",");
const modalObj: {[key: string]: boolean} = {};
modals.forEach(modalName => {
modalObj[modalName] = true;
});
this.setState({
isOpen: {
...this.state.isOpen,
...modalObj,
}
});
}
const view = url.searchParams.get("view");
if (view && view !== "") {
this.setMapState(view as MapState);
}
const path = url.searchParams.get("layer");
if (path) {
try {
const parts = path.split("~");
const [hashVal, selectedLayerIndex] = [
parts[0],
parseInt(parts[1], 10),
];
let valid = true;
if (hashVal !== "-") {
const currentHashVal = hash(JSON.stringify(mapStyle));
if (currentHashVal !== parseInt(hashVal, 10)) {
valid = false;
}
}
if (valid) {
this.setState({
selectedLayerIndex,
selectedLayerOriginalId: mapStyle.layers[selectedLayerIndex].id,
});
}
}
catch (err) {
console.warn(err);
}
}
}
onLayerSelect = (index: number) => {
this.setState({
selectedLayerIndex: index,
selectedLayerOriginalId: this.state.mapStyle.layers[index].id,
}, this.setStateInUrl);
}
setModal(modalName: keyof AppState["isOpen"], value: boolean) {
this.setState({ this.setState({
isOpen: { isOpen: {
...this.state.isOpen, ...this.state.isOpen,
[modalName]: value [modalName]: value
} }
}) }, this.setStateInUrl)
} }
toggleModal(modalName) { toggleModal(modalName: keyof AppState["isOpen"]) {
this.setModal(modalName, !this.state.isOpen[modalName]); this.setModal(modalName, !this.state.isOpen[modalName]);
} }
onChangeOpenlayersDebug = (key, value) => { onSetFileHandle(fileHandle: FileSystemFileHandle | null) {
this.setState({fileHandle: fileHandle});
}
onChangeOpenlayersDebug = (key: keyof AppState["openlayersDebugOptions"], value: boolean) => {
this.setState({ this.setState({
openlayersDebugOptions: { openlayersDebugOptions: {
...this.state.openlayersDebugOptions, ...this.state.openlayersDebugOptions,
@@ -722,10 +893,10 @@ export default class App extends React.Component {
}); });
} }
onChangeMaboxGlDebug = (key, value) => { onChangeMaplibreGlDebug = (key: keyof AppState["maplibreGlDebugOptions"], value: any) => {
this.setState({ this.setState({
mapboxGlDebugOptions: { maplibreGlDebugOptions: {
...this.state.mapboxGlDebugOptions, ...this.state.maplibreGlDebugOptions,
[key]: value, [key]: value,
} }
}); });
@@ -733,10 +904,9 @@ export default class App extends React.Component {
render() { render() {
const layers = this.state.mapStyle.layers || [] const layers = this.state.mapStyle.layers || []
const selectedLayer = layers.length > 0 ? layers[this.state.selectedLayerIndex] : null const selectedLayer = layers.length > 0 ? layers[this.state.selectedLayerIndex] : undefined
const metadata = this.state.mapStyle.metadata || {}
const toolbar = <Toolbar const toolbar = <AppToolbar
renderer={this._getRenderer()} renderer={this._getRenderer()}
mapState={this.state.mapState} mapState={this.state.mapState}
mapStyle={this.state.mapStyle} mapStyle={this.state.mapStyle}
@@ -762,7 +932,7 @@ export default class App extends React.Component {
/> />
const layerEditor = selectedLayer ? <LayerEditor const layerEditor = selectedLayer ? <LayerEditor
key={selectedLayer.id} key={this.state.selectedLayerOriginalId}
layer={selectedLayer} layer={selectedLayer}
layerIndex={this.state.selectedLayerIndex} layerIndex={this.state.selectedLayerIndex}
isFirstLayer={this.state.selectedLayerIndex < 1} isFirstLayer={this.state.selectedLayerIndex < 1}
@@ -777,7 +947,7 @@ export default class App extends React.Component {
onLayerVisibilityToggle={this.onLayerVisibilityToggle} onLayerVisibilityToggle={this.onLayerVisibilityToggle}
onLayerIdChange={this.onLayerIdChange} onLayerIdChange={this.onLayerIdChange}
errors={this.state.errors} errors={this.state.errors}
/> : null /> : undefined
const bottomPanel = (this.state.errors.length + this.state.infos.length) > 0 ? <MessagePanel const bottomPanel = (this.state.errors.length + this.state.infos.length) > 0 ? <MessagePanel
currentLayer={selectedLayer} currentLayer={selectedLayer}
@@ -786,54 +956,51 @@ export default class App extends React.Component {
mapStyle={this.state.mapStyle} mapStyle={this.state.mapStyle}
errors={this.state.errors} errors={this.state.errors}
infos={this.state.infos} infos={this.state.infos}
/> : null /> : undefined
const modals = <div> const modals = <div>
<DebugModal <ModalDebug
renderer={this._getRenderer()} renderer={this._getRenderer()}
mapboxGlDebugOptions={this.state.mapboxGlDebugOptions} maplibreGlDebugOptions={this.state.maplibreGlDebugOptions}
openlayersDebugOptions={this.state.openlayersDebugOptions} openlayersDebugOptions={this.state.openlayersDebugOptions}
onChangeMaboxGlDebug={this.onChangeMaboxGlDebug} onChangeMaplibreGlDebug={this.onChangeMaplibreGlDebug}
onChangeOpenlayersDebug={this.onChangeOpenlayersDebug} onChangeOpenlayersDebug={this.onChangeOpenlayersDebug}
isOpen={this.state.isOpen.debug} isOpen={this.state.isOpen.debug}
onOpenToggle={this.toggleModal.bind(this, 'debug')} onOpenToggle={this.toggleModal.bind(this, 'debug')}
mapView={this.state.mapView} mapView={this.state.mapView}
/> />
<ShortcutsModal <ModalShortcuts
ref={(el) => this.shortcutEl = el}
isOpen={this.state.isOpen.shortcuts} isOpen={this.state.isOpen.shortcuts}
onOpenToggle={this.toggleModal.bind(this, 'shortcuts')} onOpenToggle={this.toggleModal.bind(this, 'shortcuts')}
/> />
<SettingsModal <ModalSettings
mapStyle={this.state.mapStyle} mapStyle={this.state.mapStyle}
onStyleChanged={this.onStyleChanged} onStyleChanged={this.onStyleChanged}
onChangeMetadataProperty={this.onChangeMetadataProperty} onChangeMetadataProperty={this.onChangeMetadataProperty}
isOpen={this.state.isOpen.settings} isOpen={this.state.isOpen.settings}
onOpenToggle={this.toggleModal.bind(this, 'settings')} onOpenToggle={this.toggleModal.bind(this, 'settings')}
openlayersDebugOptions={this.state.openlayersDebugOptions}
/> />
<ExportModal <ModalExport
mapStyle={this.state.mapStyle} mapStyle={this.state.mapStyle}
onStyleChanged={this.onStyleChanged} onStyleChanged={this.onStyleChanged}
isOpen={this.state.isOpen.export} isOpen={this.state.isOpen.export}
onOpenToggle={this.toggleModal.bind(this, 'export')} onOpenToggle={this.toggleModal.bind(this, 'export')}
fileHandle={this.state.fileHandle}
onSetFileHandle={this.onSetFileHandle}
/> />
<OpenModal <ModalOpen
isOpen={this.state.isOpen.open} isOpen={this.state.isOpen.open}
onStyleOpen={this.openStyle} onStyleOpen={this.openStyle}
onOpenToggle={this.toggleModal.bind(this, 'open')} onOpenToggle={this.toggleModal.bind(this, 'open')}
fileHandle={this.state.fileHandle}
/> />
<SourcesModal <ModalSources
mapStyle={this.state.mapStyle} mapStyle={this.state.mapStyle}
onStyleChanged={this.onStyleChanged} onStyleChanged={this.onStyleChanged}
isOpen={this.state.isOpen.sources} isOpen={this.state.isOpen.sources}
onOpenToggle={this.toggleModal.bind(this, 'sources')} onOpenToggle={this.toggleModal.bind(this, 'sources')}
/> />
<SurveyModal
isOpen={this.state.isOpen.survey}
onOpenToggle={this.toggleModal.bind(this, 'survey')}
/>
</div> </div>
return <AppLayout return <AppLayout
-46
View File
@@ -1,46 +0,0 @@
import React from 'react'
import PropTypes from 'prop-types'
import ScrollContainer from './ScrollContainer'
class AppLayout extends React.Component {
static propTypes = {
toolbar: PropTypes.element.isRequired,
layerList: PropTypes.element.isRequired,
layerEditor: PropTypes.element,
map: PropTypes.element.isRequired,
bottom: PropTypes.element,
modals: PropTypes.node,
}
static childContextTypes = {
reactIconBase: PropTypes.object
}
getChildContext() {
return {
reactIconBase: { size: 14 }
}
}
render() {
return <div className="maputnik-layout">
{this.props.toolbar}
<div className="maputnik-layout-list">
{this.props.layerList}
</div>
<div className="maputnik-layout-drawer">
<ScrollContainer>
{this.props.layerEditor}
</ScrollContainer>
</div>
{this.props.map}
{this.props.bottom && <div className="maputnik-layout-bottom">
{this.props.bottom}
</div>
}
{this.props.modals}
</div>
}
}
export default AppLayout
+52
View File
@@ -0,0 +1,52 @@
import React from 'react'
import PropTypes from 'prop-types'
import ScrollContainer from './ScrollContainer'
import { WithTranslation, withTranslation } from 'react-i18next';
type AppLayoutInternalProps = {
toolbar: React.ReactElement
layerList: React.ReactElement
layerEditor?: React.ReactElement
map: React.ReactElement
bottom?: React.ReactElement
modals?: React.ReactNode
} & WithTranslation;
class AppLayoutInternal extends React.Component<AppLayoutInternalProps> {
static childContextTypes = {
reactIconBase: PropTypes.object
}
getChildContext() {
return {
reactIconBase: { size: 14 }
}
}
render() {
document.body.dir = this.props.i18n.dir();
return <div className="maputnik-layout">
{this.props.toolbar}
<div className="maputnik-layout-main">
<div className="maputnik-layout-list">
{this.props.layerList}
</div>
<div className="maputnik-layout-drawer">
<ScrollContainer>
{this.props.layerEditor}
</ScrollContainer>
</div>
{this.props.map}
</div>
{this.props.bottom && <div className="maputnik-layout-bottom">
{this.props.bottom}
</div>
}
{this.props.modals}
</div>
}
}
const AppLayout = withTranslation()(AppLayoutInternal);
export default AppLayout;
+66
View File
@@ -0,0 +1,66 @@
import React from 'react'
import {formatLayerId} from '../libs/format';
import {LayerSpecification, StyleSpecification} from 'maplibre-gl';
import { Trans, WithTranslation, withTranslation } from 'react-i18next';
type AppMessagePanelInternalProps = {
errors?: unknown[]
infos?: string[]
mapStyle?: StyleSpecification
onLayerSelect?(...args: unknown[]): unknown
currentLayer?: LayerSpecification
selectedLayerIndex?: number
} & WithTranslation;
class AppMessagePanelInternal extends React.Component<AppMessagePanelInternalProps> {
static defaultProps = {
onLayerSelect: () => {},
}
render() {
const {t, selectedLayerIndex} = this.props;
const errors = this.props.errors?.map((error: any, idx) => {
let content;
if (error.parsed && error.parsed.type === "layer") {
const {parsed} = error;
const layerId = this.props.mapStyle?.layers[parsed.data.index].id;
content = (
<>
<Trans t={t}>
Layer <span>{formatLayerId(layerId)}</span>: {parsed.data.message}
</Trans>
{selectedLayerIndex !== parsed.data.index &&
<>
&nbsp;&mdash;&nbsp;
<button
className="maputnik-message-panel__switch-button"
onClick={() => this.props.onLayerSelect!(parsed.data.index)}
>
{t("switch to layer")}
</button>
</>
}
</>
);
}
else {
content = error.message;
}
return <p key={"error-"+idx} className="maputnik-message-panel-error">
{content}
</p>
})
const infos = this.props.infos?.map((m, i) => {
return <p key={"info-"+i}>{m}</p>
})
return <div className="maputnik-message-panel">
{errors}
{infos}
</div>
}
}
const AppMessagePanel = withTranslation()(AppMessagePanelInternal);
export default AppMessagePanel;
+299
View File
@@ -0,0 +1,299 @@
import React from 'react'
import classnames from 'classnames'
import {detect} from 'detect-browser';
import {
MdOpenInBrowser,
MdSettings,
MdLayers,
MdHelpOutline,
MdFindInPage,
MdLanguage,
MdSave
} from 'react-icons/md'
import pkgJson from '../../package.json'
//@ts-ignore
import maputnikLogo from 'maputnik-design/logos/logo-color.svg?inline'
import { withTranslation, WithTranslation } from 'react-i18next';
import { supportedLanguages } from '../i18n';
// This is required because of <https://stackoverflow.com/a/49846426>, there isn't another way to detect support that I'm aware of.
const browser = detect();
const colorAccessibilityFiltersEnabled = ['chrome', 'firefox'].indexOf(browser!.name) > -1;
type IconTextProps = {
children?: React.ReactNode
};
class IconText extends React.Component<IconTextProps> {
render() {
return <span className="maputnik-icon-text">{this.props.children}</span>
}
}
type ToolbarLinkProps = {
className?: string
children?: React.ReactNode
href?: string
onToggleModal?(...args: unknown[]): unknown
};
class ToolbarLink extends React.Component<ToolbarLinkProps> {
render() {
return <a
className={classnames('maputnik-toolbar-link', this.props.className)}
href={this.props.href}
rel="noopener noreferrer"
target="_blank"
data-wd-key="toolbar:link"
>
{this.props.children}
</a>
}
}
type ToolbarSelectProps = {
children?: React.ReactNode
wdKey?: string
};
class ToolbarSelect extends React.Component<ToolbarSelectProps> {
render() {
return <div
className='maputnik-toolbar-select'
data-wd-key={this.props.wdKey}
>
{this.props.children}
</div>
}
}
type ToolbarActionProps = {
children?: React.ReactNode
onClick?(...args: unknown[]): unknown
wdKey?: string
};
class ToolbarAction extends React.Component<ToolbarActionProps> {
render() {
return <button
className='maputnik-toolbar-action'
data-wd-key={this.props.wdKey}
onClick={this.props.onClick}
>
{this.props.children}
</button>
}
}
export type MapState = "map" | "inspect" | "filter-achromatopsia" | "filter-deuteranopia" | "filter-protanopia" | "filter-tritanopia";
type AppToolbarInternalProps = {
mapStyle: object
inspectModeEnabled: boolean
onStyleChanged(...args: unknown[]): unknown
// A new style has been uploaded
onStyleOpen(...args: unknown[]): unknown
// A dict of source id's and the available source layers
sources: object
children?: React.ReactNode
onToggleModal(...args: unknown[]): unknown
onSetMapState(mapState: MapState): unknown
mapState?: MapState
renderer?: string
} & WithTranslation;
class AppToolbarInternal extends React.Component<AppToolbarInternalProps> {
state = {
isOpen: {
settings: false,
sources: false,
open: false,
add: false,
export: false,
}
}
handleSelection(val: MapState) {
this.props.onSetMapState(val);
}
handleLanguageChange(val: string) {
this.props.i18n.changeLanguage(val);
}
onSkip = (target: string) => {
if (target === "map") {
(document.querySelector(".maplibregl-canvas") as HTMLCanvasElement).focus();
}
else {
const el = document.querySelector("#skip-target-"+target) as HTMLButtonElement;
el.focus();
}
}
render() {
const t = this.props.t;
const views = [
{
id: "map",
group: "general",
title: t("Map"),
},
{
id: "inspect",
group: "general",
title: t("Inspect"),
disabled: this.props.renderer === 'ol',
},
{
id: "filter-deuteranopia",
group: "color-accessibility",
title: t("Deuteranopia filter"),
disabled: !colorAccessibilityFiltersEnabled,
},
{
id: "filter-protanopia",
group: "color-accessibility",
title: t("Protanopia filter"),
disabled: !colorAccessibilityFiltersEnabled,
},
{
id: "filter-tritanopia",
group: "color-accessibility",
title: t("Tritanopia filter"),
disabled: !colorAccessibilityFiltersEnabled,
},
{
id: "filter-achromatopsia",
group: "color-accessibility",
title: t("Achromatopsia filter"),
disabled: !colorAccessibilityFiltersEnabled,
},
];
const currentView = views.find((view) => {
return view.id === this.props.mapState;
});
return <nav className='maputnik-toolbar'>
<div className="maputnik-toolbar__inner">
<div
className="maputnik-toolbar-logo-container"
>
{/* Keyboard accessible quick links */}
<button
data-wd-key="root:skip:layer-list"
className="maputnik-toolbar-skip"
onClick={_e => this.onSkip("layer-list")}
>
{t("Layers list")}
</button>
<button
data-wd-key="root:skip:layer-editor"
className="maputnik-toolbar-skip"
onClick={_e => this.onSkip("layer-editor")}
>
{t("Layer editor")}
</button>
<button
data-wd-key="root:skip:map-view"
className="maputnik-toolbar-skip"
onClick={_e => this.onSkip("map")}
>
{t("Map view")}
</button>
<a
className="maputnik-toolbar-logo"
target="blank"
rel="noreferrer noopener"
href="https://github.com/maplibre/maputnik"
>
<img src={maputnikLogo} alt={t("Maputnik on GitHub")} />
<h1>
<span className="maputnik-toolbar-name">{pkgJson.name}</span>
<span className="maputnik-toolbar-version">v{pkgJson.version}</span>
</h1>
</a>
</div>
<div className="maputnik-toolbar__actions" role="navigation" aria-label="Toolbar">
<ToolbarAction wdKey="nav:open" onClick={this.props.onToggleModal.bind(this, 'open')}>
<MdOpenInBrowser />
<IconText>{t("Open")}</IconText>
</ToolbarAction>
<ToolbarAction wdKey="nav:export" onClick={this.props.onToggleModal.bind(this, 'export')}>
<MdSave />
<IconText>{t("Save")}</IconText>
</ToolbarAction>
<ToolbarAction wdKey="nav:sources" onClick={this.props.onToggleModal.bind(this, 'sources')}>
<MdLayers />
<IconText>{t("Data Sources")}</IconText>
</ToolbarAction>
<ToolbarAction wdKey="nav:settings" onClick={this.props.onToggleModal.bind(this, 'settings')}>
<MdSettings />
<IconText>{t("Style Settings")}</IconText>
</ToolbarAction>
<ToolbarSelect wdKey="nav:inspect">
<MdFindInPage />
<IconText>{t("View")}
<select
className="maputnik-select"
data-wd-key="maputnik-select"
onChange={(e) => this.handleSelection(e.target.value as MapState)}
value={currentView?.id}
>
{views.filter(v => v.group === "general").map((item) => {
return (
<option key={item.id} value={item.id} disabled={item.disabled} data-wd-key={item.id}>
{item.title}
</option>
);
})}
<optgroup label={t("Color accessibility")}>
{views.filter(v => v.group === "color-accessibility").map((item) => {
return (
<option key={item.id} value={item.id} disabled={item.disabled}>
{item.title}
</option>
);
})}
</optgroup>
</select>
</IconText>
</ToolbarSelect>
<ToolbarSelect wdKey="nav:language">
<MdLanguage />
<IconText>Language
<select
className="maputnik-select"
data-wd-key="maputnik-lang-select"
onChange={(e) => this.handleLanguageChange(e.target.value)}
value={this.props.i18n.language}
>
{Object.entries(supportedLanguages).map(([code, name]) => {
return (
<option key={code} value={code}>
{name}
</option>
);
})}
</select>
</IconText>
</ToolbarSelect>
<ToolbarLink href={"https://github.com/maplibre/maputnik/wiki"}>
<MdHelpOutline />
<IconText>{t("Help")}</IconText>
</ToolbarLink>
</div>
</div>
</nav>
}
}
const AppToolbar = withTranslation()(AppToolbarInternal);
export default AppToolbar;
+105
View File
@@ -0,0 +1,105 @@
import React, {PropsWithChildren, SyntheticEvent} from 'react'
import classnames from 'classnames'
import FieldDocLabel from './FieldDocLabel'
import Doc from './Doc'
type BlockProps = PropsWithChildren & {
"data-wd-key"?: string
label?: string
action?: React.ReactElement
style?: object
onChange?(...args: unknown[]): unknown
fieldSpec?: object
wideMode?: boolean
error?: {message: string}
};
type BlockState = {
showDoc: boolean
};
/** Wrap a component with a label */
export default class Block extends React.Component<BlockProps, BlockState> {
_blockEl: HTMLDivElement | null = null;
constructor (props: BlockProps) {
super(props);
this.state = {
showDoc: false,
}
}
onChange(e: React.BaseSyntheticEvent<Event, HTMLInputElement, HTMLInputElement>) {
const value = e.target.value
if (this.props.onChange) {
return this.props.onChange(value === "" ? undefined : value)
}
}
onToggleDoc = (val: boolean) => {
this.setState({
showDoc: val
});
}
/**
* Some fields for example <InputColor/> bind click events inside the element
* to close the picker. This in turn propagates to the <label/> element
* causing the picker to reopen. This causes a scenario where the picker can
* never be closed once open.
*/
onLabelClick = (event: SyntheticEvent<any, any>) => {
const el = event.nativeEvent.target;
const contains = this._blockEl?.contains(el);
if (event.nativeEvent.target.nodeName !== "INPUT" && !contains) {
event.stopPropagation();
}
if (event.nativeEvent.target.nodeName !== "A") {
event.preventDefault();
}
}
render() {
return <label style={this.props.style}
data-wd-key={this.props["data-wd-key"]}
className={classnames({
"maputnik-input-block": true,
"maputnik-input-block--wide": this.props.wideMode,
"maputnik-action-block": this.props.action
})}
onClick={this.onLabelClick}
>
{this.props.fieldSpec &&
<div className="maputnik-input-block-label">
<FieldDocLabel
label={this.props.label}
onToggleDoc={this.onToggleDoc}
fieldSpec={this.props.fieldSpec}
/>
</div>
}
{!this.props.fieldSpec &&
<div className="maputnik-input-block-label">
{this.props.label}
</div>
}
<div className="maputnik-input-block-action">
{this.props.action}
</div>
<div className="maputnik-input-block-content" ref={el => this._blockEl = el}>
{this.props.children}
</div>
{this.props.fieldSpec &&
<div
className="maputnik-doc-inline"
style={{display: this.state.showDoc ? '' : 'none'}}
>
<Doc fieldSpec={this.props.fieldSpec} />
</div>
}
</label>
}
}
-30
View File
@@ -1,30 +0,0 @@
import React from 'react'
import PropTypes from 'prop-types'
import classnames from 'classnames'
class Button extends React.Component {
static propTypes = {
"data-wd-key": PropTypes.string,
"aria-label": PropTypes.string,
onClick: PropTypes.func,
style: PropTypes.object,
className: PropTypes.string,
children: PropTypes.node,
disabled: PropTypes.bool,
}
render() {
return <button
onClick={this.props.onClick}
disabled={this.props.disabled}
aria-label={this.props["aria-label"]}
className={classnames("maputnik-button", this.props.className)}
data-wd-key={this.props["data-wd-key"]}
style={this.props.style}
>
{this.props.children}
</button>
}
}
export default Button
+34
View File
@@ -0,0 +1,34 @@
import React from 'react'
import { Collapse as ReactCollapse } from 'react-collapse'
import {reducedMotionEnabled} from '../libs/accessibility'
type CollapseProps = {
isActive: boolean
children: React.ReactElement
};
export default class Collapse extends React.Component<CollapseProps> {
static defaultProps = {
isActive: true
}
render() {
if (reducedMotionEnabled()) {
return (
<div style={{display: this.props.isActive ? "block" : "none"}}>
{this.props.children}
</div>
)
}
else {
return (
<ReactCollapse isOpened={this.props.isActive}>
{this.props.children}
</ReactCollapse>
)
}
}
}
@@ -1,13 +1,12 @@
import React from 'react' import React from 'react'
import PropTypes from 'prop-types'
import {MdArrowDropDown, MdArrowDropUp} from 'react-icons/md' import {MdArrowDropDown, MdArrowDropUp} from 'react-icons/md'
export default class Collapser extends React.Component { type CollapserProps = {
static propTypes = { isCollapsed: boolean
isCollapsed: PropTypes.bool.isRequired, style?: object
style: PropTypes.object, };
}
export default class Collapser extends React.Component<CollapserProps> {
render() { render() {
const iconStyle = { const iconStyle = {
width: 20, width: 20,
@@ -1,28 +1,39 @@
import React from 'react' import React from 'react'
import PropTypes from 'prop-types'
export default class SpecDoc extends React.Component { const headers = {
static propTypes = { js: "JS",
fieldSpec: PropTypes.object.isRequired, android: "Android",
ios: "iOS",
macos: "macOS",
};
type DocProps = {
fieldSpec: {
doc?: string
values?: {
[key: string]: {
doc?: string
}
}
'sdk-support'?: {
[key: string]: typeof headers
}
docUrl?: string,
docUrlLinkText?: string
} }
};
export default class Doc extends React.Component<DocProps> {
render () { render () {
const {fieldSpec} = this.props; const {fieldSpec} = this.props;
const {doc, values} = fieldSpec; const {doc, values, docUrl, docUrlLinkText} = fieldSpec;
const sdkSupport = fieldSpec['sdk-support']; const sdkSupport = fieldSpec['sdk-support'];
const headers = {
js: "JS",
android: "Android",
ios: "iOS",
macos: "macOS",
};
const renderValues = ( const renderValues = (
!!values && !!values &&
// HACK: Currently we merge additional values into the stylespec, so this is required // HACK: Currently we merge additional values into the style spec, so this is required
// See <https://github.com/maputnik/editor/blob/master/src/components/fields/PropertyGroup.jsx#L16> // See <https://github.com/maplibre/maputnik/blob/main/src/components/PropertyGroup.jsx#L16>
!Array.isArray(values) !Array.isArray(values)
); );
@@ -30,7 +41,7 @@ export default class SpecDoc extends React.Component {
<> <>
{doc && {doc &&
<div className="SpecDoc"> <div className="SpecDoc">
<div className="SpecDoc__doc">{doc}</div> <div className="SpecDoc__doc" data-wd-key='spec-field-doc'>{doc}</div>
{renderValues && {renderValues &&
<ul className="SpecDoc__values"> <ul className="SpecDoc__values">
{Object.entries(values).map(([key, value]) => { {Object.entries(values).map(([key, value]) => {
@@ -61,10 +72,9 @@ export default class SpecDoc extends React.Component {
return ( return (
<tr key={key}> <tr key={key}>
<td>{key}</td> <td>{key}</td>
{Object.keys(headers).map(k => { {Object.keys(headers).map((k) => {
const value = supportObj[k]; if (Object.prototype.hasOwnProperty.call(supportObj, k)) {
if (supportObj.hasOwnProperty(k)) { return <td key={k}>{supportObj[k as keyof typeof headers]}</td>;
return <td key={k}>{supportObj[k]}</td>;
} }
else { else {
return <td key={k}>no</td>; return <td key={k}>no</td>;
@@ -77,6 +87,11 @@ export default class SpecDoc extends React.Component {
</table> </table>
</div> </div>
} }
{docUrl && docUrlLinkText &&
<div className="SpecDoc__learn-more">
<a href={docUrl} target="_blank" rel="noreferrer">{docUrlLinkText}</a>
</div>
}
</> </>
); );
} }
+19
View File
@@ -0,0 +1,19 @@
import React from 'react'
import InputArray, { FieldArrayProps as InputArrayProps } from './InputArray'
import Fieldset from './Fieldset'
type FieldArrayProps = InputArrayProps & {
name?: string
fieldSpec?: {
doc: string
}
};
export default class FieldArray extends React.Component<FieldArrayProps> {
render() {
return <Fieldset label={this.props.label} fieldSpec={this.props.fieldSpec}>
<InputArray {...this.props} />
</Fieldset>
}
}
+18
View File
@@ -0,0 +1,18 @@
import React from 'react'
import Block from './Block'
import InputAutocomplete, { InputAutocompleteProps } from './InputAutocomplete'
type FieldAutocompleteProps = InputAutocompleteProps & {
label?: string;
};
export default class FieldAutocomplete extends React.Component<FieldAutocompleteProps> {
render() {
return <Block label={this.props.label}>
<InputAutocomplete {...this.props} />
</Block>
}
}
+18
View File
@@ -0,0 +1,18 @@
import React from 'react'
import Block from './Block'
import InputCheckbox, {InputCheckboxProps} from './InputCheckbox'
type FieldCheckboxProps = InputCheckboxProps & {
label?: string;
};
export default class FieldCheckbox extends React.Component<FieldCheckboxProps> {
render() {
return <Block label={this.props.label}>
<InputCheckbox {...this.props} />
</Block>
}
}
+21
View File
@@ -0,0 +1,21 @@
import React from 'react'
import Block from './Block'
import InputColor, {InputColorProps} from './InputColor'
type FieldColorProps = InputColorProps & {
label?: string
fieldSpec?: {
doc: string
}
};
export default class FieldColor extends React.Component<FieldColorProps> {
render() {
return <Block label={this.props.label} fieldSpec={this.props.fieldSpec}>
<InputColor {...this.props} />
</Block>
}
}
+38
View File
@@ -0,0 +1,38 @@
import React from 'react'
import Block from './Block'
import InputString from './InputString'
import { WithTranslation, withTranslation } from 'react-i18next';
type FieldCommentInternalProps = {
value?: string
onChange(value: string | undefined): unknown
error: {message: string}
} & WithTranslation;
class FieldCommentInternal extends React.Component<FieldCommentInternalProps> {
render() {
const t = this.props.t;
const fieldSpec = {
doc: t("Comments for the current layer. This is non-standard and not in the spec."),
};
return <Block
label={t("Comments")}
fieldSpec={fieldSpec}
data-wd-key="layer-comment"
error={this.props.error}
>
<InputString
multi={true}
value={this.props.value}
onChange={this.props.onChange}
default={t("Comment...")}
data-wd-key="layer-comment.input"
/>
</Block>
}
}
const FieldComment = withTranslation()(FieldCommentInternal);
export default FieldComment;
@@ -1,26 +1,27 @@
import React from 'react' import React from 'react'
import PropTypes from 'prop-types'
import {MdInfoOutline, MdHighlightOff} from 'react-icons/md' import {MdInfoOutline, MdHighlightOff} from 'react-icons/md'
export default class DocLabel extends React.Component { type FieldDocLabelProps = {
static propTypes = { label: JSX.Element | string | undefined
label: PropTypes.oneOfType([ fieldSpec?: {
PropTypes.object, doc?: string
PropTypes.string
]).isRequired,
fieldSpec: PropTypes.object,
onToggleDoc: PropTypes.func,
} }
onToggleDoc?(...args: unknown[]): unknown
};
constructor (props) { type FieldDocLabelState = {
open: boolean
};
export default class FieldDocLabel extends React.Component<FieldDocLabelProps, FieldDocLabelState> {
constructor (props: FieldDocLabelProps) {
super(props); super(props);
this.state = { this.state = {
open: false, open: false,
} }
} }
onToggleDoc = (open) => { onToggleDoc = (open: boolean) => {
this.setState({ this.setState({
open, open,
}, () => { }, () => {
@@ -43,6 +44,7 @@ export default class DocLabel extends React.Component {
aria-label={this.state.open ? "close property documentation" : "open property documentation"} aria-label={this.state.open ? "close property documentation" : "open property documentation"}
className={`maputnik-doc-button maputnik-doc-button--${this.state.open ? 'open' : 'closed'}`} className={`maputnik-doc-button maputnik-doc-button--${this.state.open ? 'open' : 'closed'}`}
onClick={() => this.onToggleDoc(!this.state.open)} onClick={() => this.onToggleDoc(!this.state.open)}
data-wd-key={'field-doc-button-'+label}
> >
{this.state.open ? <MdHighlightOff /> : <MdInfoOutline />} {this.state.open ? <MdHighlightOff /> : <MdInfoOutline />}
</button> </button>
+16
View File
@@ -0,0 +1,16 @@
import React from 'react'
import InputDynamicArray, {FieldDynamicArrayProps as InputDynamicArrayProps} from './InputDynamicArray'
import Fieldset from './Fieldset'
type FieldDynamicArrayProps = InputDynamicArrayProps & {
name?: string
};
export default class FieldDynamicArray extends React.Component<FieldDynamicArrayProps> {
render() {
return <Fieldset label={this.props.label}>
<InputDynamicArray {...this.props} />
</Fieldset>
}
}
+20
View File
@@ -0,0 +1,20 @@
import React from 'react'
import InputEnum, {InputEnumProps} from './InputEnum'
import Fieldset from './Fieldset';
type FieldEnumProps = InputEnumProps & {
label?: string;
fieldSpec?: {
doc: string
}
};
export default class FieldEnum extends React.Component<FieldEnumProps> {
render() {
return <Fieldset label={this.props.label} fieldSpec={this.props.fieldSpec}>
<InputEnum {...this.props} />
</Fieldset>
}
}
@@ -1,19 +1,18 @@
import React from 'react' import React from 'react'
import PropTypes from 'prop-types'
import SpecProperty from './_SpecProperty' import SpecProperty from './_SpecProperty'
import DataProperty from './_DataProperty' import DataProperty, { Stop } from './_DataProperty'
import ZoomProperty from './_ZoomProperty' import ZoomProperty from './_ZoomProperty'
import ExpressionProperty from './_ExpressionProperty' import ExpressionProperty from './_ExpressionProperty'
import {function as styleFunction} from '@mapbox/mapbox-gl-style-spec'; import {function as styleFunction} from '@maplibre/maplibre-gl-style-spec';
import {findDefaultFromSpec} from '../util/spec-helper'; import {findDefaultFromSpec} from '../libs/spec-helper';
function isLiteralExpression (value) { function isLiteralExpression(value: any) {
return (Array.isArray(value) && value.length === 2 && value[0] === "literal"); return (Array.isArray(value) && value.length === 2 && value[0] === "literal");
} }
function isGetExpression (value) { function isGetExpression(value: any) {
return ( return (
Array.isArray(value) && Array.isArray(value) &&
value.length === 2 && value.length === 2 &&
@@ -21,14 +20,14 @@ function isGetExpression (value) {
); );
} }
function isZoomField(value) { function isZoomField(value: any) {
return ( return (
typeof(value) === 'object' && typeof(value) === 'object' &&
value.stops && value.stops &&
typeof(value.property) === 'undefined' && typeof(value.property) === 'undefined' &&
Array.isArray(value.stops) && Array.isArray(value.stops) &&
value.stops.length > 1 && value.stops.length > 1 &&
value.stops.every(stop => { value.stops.every((stop: Stop) => {
return ( return (
Array.isArray(stop) && Array.isArray(stop) &&
stop.length === 2 stop.length === 2
@@ -37,22 +36,22 @@ function isZoomField(value) {
); );
} }
function isIdentityProperty (value) { function isIdentityProperty(value: any) {
return ( return (
typeof(value) === 'object' && typeof(value) === 'object' &&
value.type === "identity" && value.type === "identity" &&
value.hasOwnProperty("property") Object.prototype.hasOwnProperty.call(value, "property")
); );
} }
function isDataStopProperty (value) { function isDataStopProperty(value: any) {
return ( return (
typeof(value) === 'object' && typeof(value) === 'object' &&
value.stops && value.stops &&
typeof(value.property) !== 'undefined' && typeof(value.property) !== 'undefined' &&
value.stops.length > 1 && value.stops.length > 1 &&
Array.isArray(value.stops) && Array.isArray(value.stops) &&
value.stops.every(stop => { value.stops.every((stop: Stop) => {
return ( return (
Array.isArray(stop) && Array.isArray(stop) &&
stop.length === 2 && stop.length === 2 &&
@@ -62,26 +61,26 @@ function isDataStopProperty (value) {
); );
} }
function isDataField(value) { function isDataField(value: any) {
return ( return (
isIdentityProperty(value) || isIdentityProperty(value) ||
isDataStopProperty(value) isDataStopProperty(value)
); );
} }
function isPrimative (value) { function isPrimative(value: any): value is string | boolean | number {
const valid = ["string", "boolean", "number"]; const valid = ["string", "boolean", "number"];
return valid.includes(typeof(value)); return valid.includes(typeof(value));
} }
function isArrayOfPrimatives (values) { function isArrayOfPrimatives(values: any): values is Array<string | boolean | number> {
if (Array.isArray(values)) { if (Array.isArray(values)) {
return values.every(isPrimative); return values.every(isPrimative);
} }
return false; return false;
} }
function getDataType (value, fieldSpec={}) { function getDataType(value: any, fieldSpec={} as any) {
if (value === undefined) { if (value === undefined) {
return "value"; return "value";
} }
@@ -103,35 +102,33 @@ function getDataType (value, fieldSpec={}) {
} }
type FieldFunctionProps = {
onChange(fieldName: string, value: any): unknown
fieldName: string
fieldType: string
fieldSpec: any
errors?: {[key: string]: {message: string}}
value?: any
};
type FieldFunctionState = {
dataType: string
isEditing: boolean
}
/** Supports displaying spec field for zoom function objects /** Supports displaying spec field for zoom function objects
* https://www.mapbox.com/mapbox-gl-style-spec/#types-function-zoom-property * https://www.mapbox.com/mapbox-gl-style-spec/#types-function-zoom-property
*/ */
export default class FunctionSpecProperty extends React.Component { export default class FieldFunction extends React.Component<FieldFunctionProps, FieldFunctionState> {
static propTypes = { constructor (props: FieldFunctionProps) {
onChange: PropTypes.func.isRequired, super(props);
fieldName: PropTypes.string.isRequired,
fieldType: PropTypes.string.isRequired,
fieldSpec: PropTypes.object.isRequired,
errors: PropTypes.object,
value: PropTypes.oneOfType([
PropTypes.object,
PropTypes.string,
PropTypes.number,
PropTypes.bool,
PropTypes.array
]),
}
constructor (props) {
super();
this.state = { this.state = {
dataType: getDataType(props.value, props.fieldSpec), dataType: getDataType(props.value, props.fieldSpec),
isEditing: false, isEditing: false,
} }
} }
static getDerivedStateFromProps(props, state) { static getDerivedStateFromProps(props: Readonly<FieldFunctionProps>, state: FieldFunctionState) {
// Because otherwise when editing values we end up accidentally changing field type. // Because otherwise when editing values we end up accidentally changing field type.
if (state.isEditing) { if (state.isEditing) {
return {}; return {};
@@ -144,7 +141,7 @@ export default class FunctionSpecProperty extends React.Component {
} }
} }
getFieldFunctionType(fieldSpec) { getFieldFunctionType(fieldSpec: any) {
if (fieldSpec.expression.interpolated) { if (fieldSpec.expression.interpolated) {
return "exponential" return "exponential"
} }
@@ -183,7 +180,7 @@ export default class FunctionSpecProperty extends React.Component {
}); });
} }
deleteStop = (stopIdx) => { deleteStop = (stopIdx: number) => {
const stops = this.props.value.stops.slice(0) const stops = this.props.value.stops.slice(0)
stops.splice(stopIdx, 1) stops.splice(stopIdx, 1)
@@ -200,12 +197,37 @@ export default class FunctionSpecProperty extends React.Component {
} }
makeZoomFunction = () => { makeZoomFunction = () => {
const zoomFunc = { const {value} = this.props;
stops: [
[6, this.props.value || findDefaultFromSpec(this.props.fieldSpec)], let zoomFunc;
[10, this.props.value || findDefaultFromSpec(this.props.fieldSpec)] if (typeof(value) === "object") {
] if (value.stops) {
zoomFunc = {
base: value.base,
stops: value.stops.map((stop: Stop) => {
return [stop[0].zoom, stop[1] || findDefaultFromSpec(this.props.fieldSpec)];
})
}
}
else {
zoomFunc = {
base: value.base,
stops: [
[6, findDefaultFromSpec(this.props.fieldSpec)],
[10, findDefaultFromSpec(this.props.fieldSpec)]
]
}
}
} }
else {
zoomFunc = {
stops: [
[6, value || findDefaultFromSpec(this.props.fieldSpec)],
[10, value || findDefaultFromSpec(this.props.fieldSpec)]
]
}
}
this.props.onChange(this.props.fieldName, zoomFunc) this.props.onChange(this.props.fieldName, zoomFunc)
} }
@@ -258,14 +280,44 @@ export default class FunctionSpecProperty extends React.Component {
makeDataFunction = () => { makeDataFunction = () => {
const functionType = this.getFieldFunctionType(this.props.fieldSpec); const functionType = this.getFieldFunctionType(this.props.fieldSpec);
const stopValue = functionType === 'categorical' ? '' : 0; const stopValue = functionType === 'categorical' ? '' : 0;
const dataFunc = { const {value} = this.props;
property: "", let dataFunc;
type: functionType,
stops: [ if (typeof(value) === "object") {
[{zoom: 6, value: stopValue}, this.props.value || findDefaultFromSpec(this.props.fieldSpec)], if (value.stops) {
[{zoom: 10, value: stopValue}, this.props.value || findDefaultFromSpec(this.props.fieldSpec)] dataFunc = {
] property: "",
type: functionType,
base: value.base,
stops: value.stops.map((stop: Stop) => {
return [{zoom: stop[0], value: stopValue}, stop[1] || findDefaultFromSpec(this.props.fieldSpec)];
})
}
}
else {
dataFunc = {
property: "",
type: functionType,
base: value.base,
stops: [
[{zoom: 6, value: stopValue}, findDefaultFromSpec(this.props.fieldSpec)],
[{zoom: 10, value: stopValue}, findDefaultFromSpec(this.props.fieldSpec)]
]
}
}
} }
else {
dataFunc = {
property: "",
type: functionType,
base: value.base,
stops: [
[{zoom: 6, value: stopValue}, this.props.value || findDefaultFromSpec(this.props.fieldSpec)],
[{zoom: 10, value: stopValue}, this.props.value || findDefaultFromSpec(this.props.fieldSpec)]
]
}
}
this.props.onChange(this.props.fieldName, dataFunc) this.props.onChange(this.props.fieldName, dataFunc)
} }
@@ -310,11 +362,13 @@ export default class FunctionSpecProperty extends React.Component {
value={this.props.value} value={this.props.value}
onDeleteStop={this.deleteStop} onDeleteStop={this.deleteStop}
onAddStop={this.addStop} onAddStop={this.addStop}
onChangeToDataFunction={this.makeDataFunction}
onExpressionClick={this.makeExpression} onExpressionClick={this.makeExpression}
/> />
) )
} }
else if (dataType === "data_function") { else if (dataType === "data_function") {
// TODO: Rename to FieldFunction **this file** shouldn't be called that
specField = ( specField = (
<DataProperty <DataProperty
errors={this.props.errors} errors={this.props.errors}
@@ -325,6 +379,7 @@ export default class FunctionSpecProperty extends React.Component {
value={this.props.value} value={this.props.value}
onDeleteStop={this.deleteStop} onDeleteStop={this.deleteStop}
onAddStop={this.addStop} onAddStop={this.addStop}
onChangeToZoomFunction={this.makeZoomFunction}
onExpressionClick={this.makeExpression} onExpressionClick={this.makeExpression}
/> />
) )
@@ -344,7 +399,7 @@ export default class FunctionSpecProperty extends React.Component {
/> />
) )
} }
return <div className={propClass} data-wd-key={"spec-field:"+this.props.fieldName}> return <div className={propClass} data-wd-key={"spec-field-container:"+this.props.fieldName}>
{specField} {specField}
</div> </div>
} }
+28
View File
@@ -0,0 +1,28 @@
import React from 'react'
import latest from '@maplibre/maplibre-gl-style-spec/dist/latest.json'
import Block from './Block'
import InputString from './InputString'
type FieldIdProps = {
value: string
wdKey: string
onChange(value: string | undefined): unknown
error?: {message: string}
};
export default class FieldId extends React.Component<FieldIdProps> {
render() {
return <Block label="ID" fieldSpec={latest.layer.id}
data-wd-key={this.props.wdKey}
error={this.props.error}
>
<InputString
value={this.props.value}
onInput={this.props.onChange}
data-wd-key={this.props.wdKey + ".input"}
/>
</Block>
}
}
+13
View File
@@ -0,0 +1,13 @@
import React from 'react'
import InputJson, {InputJsonProps} from './InputJson'
type FieldJsonProps = InputJsonProps & {};
export default class FieldJson extends React.Component<FieldJsonProps> {
render() {
return <InputJson {...this.props} />
}
}
+35
View File
@@ -0,0 +1,35 @@
import React from 'react'
import latest from '@maplibre/maplibre-gl-style-spec/dist/latest.json'
import Block from './Block'
import InputNumber from './InputNumber'
import { WithTranslation, withTranslation } from 'react-i18next';
type FieldMaxZoomInternalProps = {
value?: number
onChange(value: number | undefined): unknown
error?: {message: string}
} & WithTranslation;
class FieldMaxZoomInternal extends React.Component<FieldMaxZoomInternalProps> {
render() {
const t = this.props.t;
return <Block label={t("Max Zoom")} fieldSpec={latest.layer.maxzoom}
error={this.props.error}
data-wd-key="max-zoom"
>
<InputNumber
allowRange={true}
value={this.props.value}
onChange={this.props.onChange}
min={latest.layer.maxzoom.minimum}
max={latest.layer.maxzoom.maximum}
default={latest.layer.maxzoom.maximum}
data-wd-key="max-zoom.input"
/>
</Block>
}
}
const FieldMaxZoom = withTranslation()(FieldMaxZoomInternal);
export default FieldMaxZoom;
+35
View File
@@ -0,0 +1,35 @@
import React from 'react'
import latest from '@maplibre/maplibre-gl-style-spec/dist/latest.json'
import Block from './Block'
import InputNumber from './InputNumber'
import { WithTranslation, withTranslation } from 'react-i18next';
type FieldMinZoomInternalProps = {
value?: number
onChange(...args: unknown[]): unknown
error?: {message: string}
} & WithTranslation;
class FieldMinZoomInternal extends React.Component<FieldMinZoomInternalProps> {
render() {
const t = this.props.t;
return <Block label={t("Min Zoom")} fieldSpec={latest.layer.minzoom}
error={this.props.error}
data-wd-key="min-zoom"
>
<InputNumber
allowRange={true}
value={this.props.value}
onChange={this.props.onChange}
min={latest.layer.minzoom.minimum}
max={latest.layer.minzoom.maximum}
default={latest.layer.minzoom.minimum}
data-wd-key='min-zoom.input'
/>
</Block>
}
}
const FieldMinZoom = withTranslation()(FieldMinZoomInternal);
export default FieldMinZoom;
+18
View File
@@ -0,0 +1,18 @@
import React from 'react'
import InputMultiInput, {InputMultiInputProps} from './InputMultiInput'
import Fieldset from './Fieldset'
type FieldMultiInputProps = InputMultiInputProps & {
label?: string
};
export default class FieldMultiInput extends React.Component<FieldMultiInputProps> {
render() {
return <Fieldset label={this.props.label}>
<InputMultiInput {...this.props} />
</Fieldset>
}
}
+20
View File
@@ -0,0 +1,20 @@
import React from 'react'
import InputNumber, {InputNumberProps} from './InputNumber'
import Block from './Block'
type FieldNumberProps = InputNumberProps & {
label?: string
fieldSpec?: {
doc: string
}
};
export default class FieldNumber extends React.Component<FieldNumberProps> {
render() {
return <Block label={this.props.label} fieldSpec={this.props.fieldSpec}>
<InputNumber {...this.props} />
</Block>
}
}
+22
View File
@@ -0,0 +1,22 @@
import React from 'react'
import Block from './Block'
import InputSelect, {InputSelectProps} from './InputSelect'
type FieldSelectProps = InputSelectProps & {
label?: string
fieldSpec?: {
doc: string
}
};
export default class FieldSelect extends React.Component<FieldSelectProps> {
render() {
return <Block label={this.props.label} fieldSpec={this.props.fieldSpec}>
<InputSelect {...this.props}/>
</Block>
}
}
+40
View File
@@ -0,0 +1,40 @@
import React from 'react'
import latest from '@maplibre/maplibre-gl-style-spec/dist/latest.json'
import Block from './Block'
import InputAutocomplete from './InputAutocomplete'
import { WithTranslation, withTranslation } from 'react-i18next';
type FieldSourceInternalProps = {
value?: string
wdKey?: string
onChange?(value: string| undefined): unknown
sourceIds?: unknown[]
error?: {message: string}
} & WithTranslation;
class FieldSourceInternal extends React.Component<FieldSourceInternalProps> {
static defaultProps = {
onChange: () => {},
sourceIds: [],
}
render() {
const t = this.props.t;
return <Block
label={t("Source")}
fieldSpec={latest.layer.source}
error={this.props.error}
data-wd-key={this.props.wdKey}
>
<InputAutocomplete
value={this.props.value}
onChange={this.props.onChange}
options={this.props.sourceIds?.map(src => [src, src])}
/>
</Block>
}
}
const FieldSource = withTranslation()(FieldSourceInternal);
export default FieldSource;
+42
View File
@@ -0,0 +1,42 @@
import React from 'react'
import {latest} from '@maplibre/maplibre-gl-style-spec'
import Block from './Block'
import InputAutocomplete from './InputAutocomplete'
import { WithTranslation, withTranslation } from 'react-i18next';
type FieldSourceLayerInternalProps = {
value?: string
onChange?(...args: unknown[]): unknown
sourceLayerIds?: unknown[]
isFixed?: boolean
error?: {message: string}
} & WithTranslation;
class FieldSourceLayerInternal extends React.Component<FieldSourceLayerInternalProps> {
static defaultProps = {
onChange: () => {},
sourceLayerIds: [],
isFixed: false
}
render() {
const t = this.props.t;
return <Block
label={t("Source Layer")}
fieldSpec={latest.layer['source-layer']}
data-wd-key="layer-source-layer"
error={this.props.error}
>
<InputAutocomplete
keepMenuWithinWindowBounds={!!this.props.isFixed}
value={this.props.value}
onChange={this.props.onChange}
options={this.props.sourceLayerIds?.map(l => [l, l])}
/>
</Block>
}
}
const FieldSourceLayer = withTranslation()(FieldSourceLayerInternal);
export default FieldSourceLayer;

Some files were not shown because too many files have changed in this diff Show More