Files
editor/package.json
T
dependabot[bot] 94c701ee16 chore(deps-dev): Bump i18next-cli from 1.95.7 to 1.96.1 (#2400)
Bumps [i18next-cli](https://github.com/i18next/i18next-cli) from 1.95.7
to 1.96.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/i18next/i18next-cli/blob/main/CHANGELOG.md">i18next-cli's
changelog</a>.</em></p>
<blockquote>
<h2>1.96.1</h2>
<ul>
<li>fix(lint): <code>checkInterpolationParams</code> no longer reports a
formatter option passed at the root of the t() options
(<code>{ defaultValue: 'Betrag: {{amount, currency}}', amount, currency
}</code>) as unused: with a formatted interpolation in
the string, i18next hands every option to the formatter. A regression in
1.96.0 for calls with a <code>defaultValue</code>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/375">#375</a>)</li>
</ul>
<h2>1.96.0</h2>
<ul>
<li>fix(sync): empty plural forms a language needs beyond the primary's
(<code>_many</code> in French, <code>_few</code>/<code>_many</code> in
Russian)
are kept instead of removed, so <code>extract</code> and
<code>sync</code> no longer undo each other and <code>extract
--ci</code> passes after
<code>sync</code>. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/356">#356</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/359">#359</a>)</li>
<li>fix(types): a newly generated <code>i18next.d.ts</code> sets
<code>keySeparator</code>, <code>nsSeparator</code>,
<code>pluralSeparator</code>,
<code>contextSeparator</code>, <code>interpolationPrefix</code> and
<code>interpolationSuffix</code> in <code>CustomTypeOptions</code> when
<code>extract</code> sets them to
something other than i18next's defaults (<code>false</code> for a
disabled separator). Before, <code>t('common::title')</code> with
<code>nsSeparator: '::'</code> did not compile, and a flat key with a
<code>.</code> (<code>keySeparator: false</code>) or a
<code>{name}</code> placeholder lost
its value type and variable checks. An existing
<code>i18next.d.ts</code> is not rewritten. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/357">#357</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/358">#358</a>)</li>
<li>fix(lint): <code>checkInterpolationParams</code> reads params like
i18next: the keys of a literal <code>replace</code> are the variables
(keys next to it are unused), and a spread, a computed key or a
non-literal <code>replace</code> no longer reports a variable as
not provided. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/360">#360</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/362">#362</a>)</li>
<li>fix(lint): interpolation issues are reported on the line of their
own <code>t()</code> call, so an earlier call, string or
comment with the same key no longer takes the line, and
<code>i18next-instrument-ignore-next-line</code> applies to the right
call. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/361">#361</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/362">#362</a>)</li>
<li>fix(skill): the <code>i18next-localization</code> skill has the
agent add locize-agents' <code>CONVENTIONS.md</code> to the project's
<code>AGENTS.md</code> or <code>CLAUDE.md</code>; that repository no
longer has a <code>CLAUDE.md</code> or <code>AGENTS.md</code> to
copy.</li>
<li>fix(extract): a literal <code>format</code> in a
<code>&lt;Trans&gt;</code> interpolation object is written as
react-i18next builds it
(<code>{{ total, format: 'number' }}</code> gives <code>{{total,
number}}</code>, <code>{total, number}</code> with ICU, not
<code>{{total, format}}</code>), and a
child wrapped in <code>satisfies</code> is read like one wrapped in
<code>as</code>. The default value is now formatted, and a key without
<code>i18nKey</code> matches the one react-i18next looks up. Such keys
change on the next <code>extract</code>, and their old entries,
which never rendered, are removed. Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/363">#363</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/365">#365</a>)</li>
<li>fix(status): <code>--namespace</code> scopes the exit code and the
summary to that namespace, like the locale argument since
1.64.2. A locale that is not configured, a namespace the code does not
use and a translation file that cannot be
parsed now exit 1 instead of 0, and the &quot;Incomplete translations
detected&quot; line prints again (lost since 1.80.6).
Thanks <a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/364">#364</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/366">#366</a>)</li>
<li>fix(migrate-config): an i18next-parser config's
<code>keepRemoved</code> (as <code>removeUnusedKeys: false</code>),
<code>pluralSeparator</code>
(<code>false</code> as <code>disablePlurals: true</code>),
<code>indentation</code>, key order (<code>sort: false</code> unless it
sorted) and the lexers'
functions, components and hooks (next to <code>t</code>,
<code>Trans</code> and <code>useTranslation</code>) are carried over,
and the options without
an equivalent get a warning, so the first <code>extract</code> after the
migration no longer deletes translations. Thanks
<a
href="https://github.com/mokshupadhyay"><code>@​mokshupadhyay</code></a>
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/367">#367</a>,
<a
href="https://redirect.github.com/i18next/i18next-cli/pull/368">#368</a>)</li>
<li>fix: <code>extract</code> with <code>removeUnusedKeys</code> no
longer slows down quadratically with the number of keys in the
plural-form
and <code>_zero</code> preserve passes: the extracted base keys are
looked up in a Set built once per namespace instead of being
scanned per existing key, and the written files are byte-identical
(10,000 <code>t()</code> calls: 24 s before, 0.6 s now).
Thanks <a href="https://github.com/ca057"><code>@​ca057</code></a> (<a
href="https://redirect.github.com/i18next/i18next-cli/issues/355">#355</a>,</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/i18next/i18next-cli/commit/3d762e02db7c78ec39a1d8fbe827943fb645fac1"><code>3d762e0</code></a>
1.96.1</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/673d25ea68cc2eb69bcad86a265446a8699e9a8f"><code>673d25e</code></a>
changelog for 1.96.1</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/6d4e43c0e18a9dc29e1825db1bccc7006e01d618"><code>6d4e43c</code></a>
fix(lint): don't report a root-level formatter option as unused (<a
href="https://redirect.github.com/i18next/i18next-cli/issues/375">#375</a>)</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/124ac45b9f4de887925708444f4543d55a472c52"><code>124ac45</code></a>
1.96.0</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/d6ddf86ecfb1f168186df73c6e1a3913255e8227"><code>d6ddf86</code></a>
changelog for 1.96.0</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/3ed58e93763fdba157e27232edd9839c0d77acc2"><code>3ed58e9</code></a>
changelog: <a
href="https://redirect.github.com/i18next/i18next-cli/issues/373">#373</a>
and <a
href="https://redirect.github.com/i18next/i18next-cli/issues/374">#374</a>
under Unreleased</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/29a53f9af1ae03d83cb61566f6294a11918321cb"><code>29a53f9</code></a>
fix(lint): check the default value, else the key, for an empty primary
value ...</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/8f9dfd310c1742da531ed0368c23d462c9f06916"><code>8f9dfd3</code></a>
fix(lint): don't require a nested $t() key's variables of the outer call
(<a
href="https://redirect.github.com/i18next/i18next-cli/issues/373">#373</a>)</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/86960e915fdbce11d750603d5c089c0caa631872"><code>86960e9</code></a>
changelog: <a
href="https://redirect.github.com/i18next/i18next-cli/issues/371">#371</a>
under Unreleased</li>
<li><a
href="https://github.com/i18next/i18next-cli/commit/0fb6381599f5864b1863dc48fd87066b015091ff"><code>0fb6381</code></a>
feat(lint): accept glob patterns in lint.acceptedAttributes and
lint.ignoredA...</li>
<li>Additional commits viewable in <a
href="https://github.com/i18next/i18next-cli/compare/v1.95.7...v1.96.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=i18next-cli&package-manager=npm_and_yarn&previous-version=1.95.7&new-version=1.96.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-12-04 13:55:01 +00:00

151 lines
4.7 KiB
JSON

{
"name": "maputnik",
"version": "3.1.0",
"description": "A MapLibre GL visual style editor",
"type": "module",
"main": "''",
"scripts": {
"start": "vite",
"build": "tsc && vite build --mode=production",
"build-desktop": "tsc && vite build --mode=desktop && cd desktop && make",
"build-linux": "tsc && vite build --mode=desktop && cd desktop && make bin/linux/maputnik",
"i18n:extract": "npx i18next-cli extract",
"lint": "eslint",
"test": "playwright test",
"test-e2e": "playwright test",
"test-unit": "vitest",
"test-unit-ci": "vitest run --coverage --reporter=json",
"lint-css": "stylelint \"src/styles/*.scss\"",
"sort-styles": "jq 'sort_by(.id)' src/config/styles.json > tmp.json && mv tmp.json src/config/styles.json"
},
"repository": {
"type": "git",
"url": "https://github.com/maplibre/maputnik"
},
"author": "Lukas Martinelli",
"license": "MIT",
"homepage": "https://github.com/maplibre/maputnik#readme",
"dependencies": {
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lint": "^6.9.8",
"@codemirror/state": "^6.7.6",
"@codemirror/theme-one-dark": "^6.1.3",
"@codemirror/view": "^6.44.2",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@maplibre/maplibre-gl-geocoder": "^1.10.0",
"@maplibre/maplibre-gl-inspect": "^1.9.0",
"@maplibre/maplibre-gl-style-spec": "^27.1.0",
"array-move": "^4.0.0",
"buffer": "^6.0.3",
"classnames": "^2.5.1",
"codemirror": "^6.0.2",
"color": "^5.0.3",
"detect-browser": "^5.3.0",
"downshift": "^9.5.0",
"events": "^3.3.0",
"file-saver": "^2.0.5",
"i18next": "^27.2.10",
"i18next-browser-languagedetector": "^8.3.1",
"i18next-resources-to-backend": "^1.3.0",
"json-stringify-pretty-compact": "^4.0.0",
"json-to-ast": "^2.1.0",
"lodash": "^4.18.1",
"lodash.capitalize": "^4.2.1",
"lodash.clamp": "^4.0.3",
"lodash.clonedeep": "^4.5.0",
"lodash.get": "^4.4.2",
"lodash.isequal": "^4.5.0",
"lodash.throttle": "^4.1.1",
"maplibre-gl": "^6.20.0",
"maputnik-design": "github:maputnik/design#172b06c",
"ol": "^10.11.0",
"ol-mapbox-style": "^13.10.0",
"pmtiles": "^4.5.0",
"prop-types": "^15.8.1",
"react": "^19.3.1",
"react-accessible-accordion": "^5.0.1",
"react-aria-menubutton": "^8.0.0",
"react-aria-modal": "^5.0.2",
"react-collapse": "^5.1.1",
"react-color": "^2.19.3",
"react-dom": "^19.3.1",
"react-i18next": "^18.0.3",
"react-icons": "^5.7.0",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^4.27.0",
"reconnecting-websocket": "^4.4.0",
"slugify": "^1.6.9",
"string-hash": "^1.1.3",
"url": "^0.11.4"
},
"jshintConfig": {
"esversion": 6
},
"stylelint": {
"extends": "stylelint-config-recommended-scss",
"rules": {
"no-descending-specificity": null,
"media-feature-name-no-unknown": [
true,
{
"ignoreMediaFeatureNames": [
"prefers-reduced-motion"
]
}
]
}
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@playwright/test": "^1.65.1",
"@stylistic/eslint-plugin": "^6.0.1",
"@types/codemirror": "^5.60.18",
"@types/color": "^4.2.1",
"@types/cors": "^2.8.19",
"@types/file-saver": "^2.0.7",
"@types/geojson": "^7946.0.16",
"@types/json-to-ast": "^2.1.4",
"@types/lodash.capitalize": "^4.2.9",
"@types/lodash.clamp": "^4.0.9",
"@types/lodash.clonedeep": "^4.5.9",
"@types/lodash.get": "^4.4.9",
"@types/lodash.isequal": "^4.5.8",
"@types/lodash.throttle": "^4.1.9",
"@types/randomcolor": "^0.5.9",
"@types/react": "^19.3.3",
"@types/react-aria-menubutton": "^6.2.14",
"@types/react-aria-modal": "^5.0.0",
"@types/react-collapse": "^5.0.4",
"@types/react-color": "^3.0.13",
"@types/react-dom": "^19.3.0",
"@types/string-hash": "^1.1.3",
"@types/wicg-file-system-access": "^2023.10.7",
"@vitejs/plugin-react": "^6.3.0",
"@vitest/coverage-v8": "^5.1.2",
"cors": "^2.8.6",
"eslint": "^10.16.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.8",
"i18next-cli": "^1.96.1",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
"nyc": "^18.0.0",
"postcss": "^8.5.34",
"react-hot-loader": "^4.13.1",
"sass": "^1.108.2",
"stylelint": "^18.1.0",
"stylelint-config-recommended-scss": "^18.0.0",
"stylelint-scss": "^7.5.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.74.0",
"uuid": "^14.0.3",
"vite": "^8.4.0",
"vite-plugin-istanbul": "^9.0.1",
"vitest": "^5.1.2"
}
}