Files
editor/package.json
dependabot[bot] 1d557bc935 chore(deps-dev): Bump sass from 1.94.2 to 1.95.0 (#1580)
Bumps [sass](https://github.com/sass/dart-sass) from 1.94.2 to 1.95.0.
<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.95.0</h2>
<p>To install Sass 1.95.0, 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>Add support for the <a
href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/if">CSS-style
<code>if()</code> function</a>. In addition to supporting the plain CSS
syntax, this also supports a <code>sass()</code> query that takes a Sass
expression that evaluates to <code>true</code> or <code>false</code> at
preprocessing time depending on whether the Sass value is truthy. If
there are no plain-CSS queries, the function will return the first value
whose query returns true during preprocessing. For example,
<code>if(sass(false): 1; sass(true): 2; else: 3)</code> returns
<code>2</code>.</p>
</li>
<li>
<p>The old Sass <code>if()</code> syntax is now deprecated. Users are
encouraged to migrate to the new CSS syntax. <code>if($condition,
$if-true, $if-false)</code> can be changed to <code>if(sass($condition):
$if-true; else: $if-false)</code>.</p>
<p>See <a href="https://sass-lang.com/d/if-function">the Sass
website</a> for details.</p>
</li>
<li>
<p>Plain-CSS <code>if()</code> functions are now considered
&quot;special numbers&quot;, meaning that they can be used in place of
arguments to CSS color functions.</p>
</li>
<li>
<p>Plain-CSS <code>if()</code> functions and <code>attr()</code>
functions are now considered &quot;special variable strings&quot; (like
<code>var()</code>), meaning they can now be used in place of multiple
arguments or syntax fragments in various CSS functions.</p>
</li>
</ul>
<p>See the <a
href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1950">full
changelog</a> for changes in earlier releases.</p>
<h2>Dart Sass 1.94.3</h2>
<p>To install Sass 1.94.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>Fix the span reported for standalone <code>%</code> expressions
followed by whitespace.</li>
</ul>
<p>See the <a
href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1943">full
changelog</a> for changes in earlier releases.</p>
</blockquote>
</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.95.0</h2>
<ul>
<li>
<p>Add support for the <a
href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/if">CSS-style
<code>if()</code> function</a>. In addition to supporting the
plain CSS syntax, this also supports a <code>sass()</code> query that
takes a Sass
expression that evaluates to <code>true</code> or <code>false</code> at
preprocessing time depending
on whether the Sass value is truthy. If there are no plain-CSS queries,
the
function will return the first value whose query returns true during
preprocessing. For example, <code>if(sass(false): 1; sass(true): 2;
else: 3)</code>
returns <code>2</code>.</p>
</li>
<li>
<p>The old Sass <code>if()</code> syntax is now deprecated. Users are
encouraged to migrate
to the new CSS syntax. <code>if($condition, $if-true, $if-false)</code>
can be changed to
<code>if(sass($condition): $if-true; else: $if-false)</code>.</p>
<p>See <a href="https://sass-lang.com/d/if-function">the Sass
website</a> for details.</p>
</li>
<li>
<p>Plain-CSS <code>if()</code> functions are now considered
&quot;special numbers&quot;, meaning that
they can be used in place of arguments to CSS color functions.</p>
</li>
<li>
<p>Plain-CSS <code>if()</code> functions and <code>attr()</code>
functions are now considered &quot;special
variable strings&quot; (like <code>var()</code>), meaning they can now
be used in place of
multiple arguments or syntax fragments in various CSS functions.</p>
</li>
</ul>
<h2>1.94.3</h2>
<ul>
<li>Fix the span reported for standalone <code>%</code> expressions
followed by whitespace.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2abc89e9e5"><code>2abc89e</code></a>
Merge pull request <a
href="https://redirect.github.com/sass/dart-sass/issues/2693">#2693</a>
from sass/css-if</li>
<li><a
href="2f7a16c9cf"><code>2f7a16c</code></a>
Revert &quot;Bump chokidar from 4.0.3 to 5.0.0 in /package (<a
href="https://redirect.github.com/sass/dart-sass/issues/2690">#2690</a>)&quot;
(<a
href="https://redirect.github.com/sass/dart-sass/issues/2691">#2691</a>)</li>
<li><a
href="38d4ac8665"><code>38d4ac8</code></a>
Add ArgumentList.namedSpans</li>
<li><a
href="6f9a5933db"><code>6f9a593</code></a>
Add support for plain-CSS if()</li>
<li><a
href="3b95eb7751"><code>3b95eb7</code></a>
Rename IfExpression to LegacyIfExpression</li>
<li><a
href="e2bf8434e5"><code>e2bf843</code></a>
Make the recursive AST visitor comprehensive (<a
href="https://redirect.github.com/sass/dart-sass/issues/2694">#2694</a>)</li>
<li><a
href="9380924b8b"><code>9380924</code></a>
Fix the operator span when parsing a standalone <code>%</code> (<a
href="https://redirect.github.com/sass/dart-sass/issues/2667">#2667</a>)</li>
<li><a
href="f8a8a51c0f"><code>f8a8a51</code></a>
Bump chokidar from 4.0.3 to 5.0.0 in /package (<a
href="https://redirect.github.com/sass/dart-sass/issues/2690">#2690</a>)</li>
<li><a
href="e4837d1ae3"><code>e4837d1</code></a>
Bump archive from 3.6.1 to 4.0.7 (<a
href="https://redirect.github.com/sass/dart-sass/issues/2688">#2688</a>)</li>
<li><a
href="293200b1b1"><code>293200b</code></a>
Bump protoc_plugin from 23.0.0 to 24.0.0 (<a
href="https://redirect.github.com/sass/dart-sass/issues/2677">#2677</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/sass/dart-sass/compare/1.94.2...1.95.0">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.94.2&new-version=1.95.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-12-12 13:18:41 +00:00

154 lines
4.9 KiB
JSON

{
"name": "maputnik",
"version": "3.0.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:refresh": "i18next 'src/**/*.{ts,tsx,js,jsx}'",
"lint": "eslint",
"test": "cypress run",
"test-unit": "vitest",
"test-unit-ci": "vitest run --coverage --reporter=json",
"cy:open": "cypress open",
"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.2",
"@codemirror/state": "^6.5.2",
"@codemirror/theme-one-dark": "^6.1.3",
"@codemirror/view": "^6.38.8",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@mapbox/mapbox-gl-rtl-text": "^0.3.0",
"@maplibre/maplibre-gl-geocoder": "^1.9.1",
"@maplibre/maplibre-gl-inspect": "^1.8.1",
"@maplibre/maplibre-gl-style-spec": "^24.3.1",
"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.0.12",
"events": "^3.3.0",
"file-saver": "^2.0.5",
"i18next": "^25.7.2",
"i18next-browser-languagedetector": "^8.2.0",
"i18next-resources-to-backend": "^1.2.1",
"json-stringify-pretty-compact": "^4.0.0",
"json-to-ast": "^2.1.0",
"lodash": "^4.17.21",
"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": "^5.14.0",
"maputnik-design": "github:maputnik/design#172b06c",
"ol": "^10.7.0",
"ol-mapbox-style": "^13.1.1",
"pmtiles": "^4.3.0",
"prop-types": "^15.8.1",
"react": "^19.2.0",
"react-accessible-accordion": "^5.0.1",
"react-aria-menubutton": "^7.0.3",
"react-aria-modal": "^5.0.2",
"react-collapse": "^5.1.1",
"react-color": "^2.19.3",
"react-dom": "^19.2.0",
"react-i18next": "^16.3.5",
"react-icons": "^5.5.0",
"react-markdown": "^10.1.0",
"reconnecting-websocket": "^4.4.0",
"slugify": "^1.6.6",
"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": {
"@cypress/code-coverage": "^3.14.7",
"@eslint/js": "^9.39.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@rollup/plugin-replace": "^6.0.2",
"@shellygo/cypress-test-utils": "^6.0.5",
"@stylistic/eslint-plugin": "^5.6.1",
"@types/codemirror": "^5.60.17",
"@types/color": "^4.2.0",
"@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.2.7",
"@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.2.3",
"@types/string-hash": "^1.1.3",
"@types/wicg-file-system-access": "^2023.10.7",
"@vitejs/plugin-react": "^5.1.1",
"@vitest/coverage-v8": "^4.0.15",
"cors": "^2.8.5",
"cypress": "^15.7.1",
"cypress-plugin-tab": "^1.0.5",
"eslint": "^9.39.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.23",
"i18next-parser": "^9.3.0",
"istanbul": "^0.4.5",
"istanbul-lib-coverage": "^3.2.2",
"postcss": "^8.5.6",
"react-hot-loader": "^4.13.1",
"sass": "^1.95.0",
"stylelint": "^16.26.1",
"stylelint-config-recommended-scss": "^16.0.2",
"stylelint-scss": "^6.13.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.49.0",
"uuid": "^13.0.0",
"vite": "^7.2.7",
"vite-plugin-istanbul": "^7.2.1",
"vitest": "^4.0.15"
}
}