mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
Bump css-tree from 2.3.1 to 3.0.0 in the prod-dependencies group (#379)
[//]: # (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 the prod-dependencies group with 1 update: [css-tree](https://github.com/csstree/csstree). Updates `css-tree` from 2.3.1 to 3.0.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/csstree/csstree/releases">css-tree's releases</a>.</em></p> <blockquote> <h2>3.0.0</h2> <ul> <li>Added support for the <a href="https://drafts.csswg.org/css-contain-3/#container-rule"><code>@container</code></a> at-rule</li> <li>Added support for the <a href="https://drafts.csswg.org/css-transitions-2/#defining-before-change-style"><code>@starting-style</code></a> at-rule</li> <li>Added support for the <a href="https://drafts.csswg.org/css-cascade-6/#scoped-styles"><code>@scope</code></a> at-rule</li> <li>Added support for the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@position-try"><code>@position-try</code></a> at-rule</li> <li>Added support for the <a href="https://drafts.csswg.org/css-cascade-5/#at-layer"><code>@layer</code></a> at-rule</li> <li>Added support for <code>layer</code>, <code>layer()</code> and <code>supports()</code> in the <code>@media</code> at-rule (according to <a href="https://drafts.csswg.org/css-cascade-5/#at-import"><code>the @import rule</code></a> in Cascading and Inheritance 5)</li> <li>Added <code>Layer</code> and <code>LayerList</code> node types</li> <li>Added <code>TokenStream#lookupTypeNonSC()</code> method</li> <li>Added <code><dashed-ident></code> to generic types</li> <li>Bumped <code>mdn/data</code> to <code>2.10.0</code></li> <li>Aligned <code><'font'></code> to <a href="https://drafts.csswg.org/css-fonts-4/">CSS Fonts 4</a></li> <li>Aligned <code><color></code> to <a href="https://drafts.csswg.org/css-color-5/">CSS Color 5</a></li> <li>Fixed initialization when <code>Object.prototype</code> is extended or polluted (<a href="https://redirect.github.com/csstree/csstree/issues/262">#262</a>)</li> <li>Fixed <code>fork()</code> method to consider the <code>generic</code> option when creating a Lexer instance (<a href="https://redirect.github.com/csstree/csstree/issues/266">#266</a>)</li> <li>Fixed crash on parse error when custom <code>line</code> or <code>offset</code> is specified via options (<a href="https://redirect.github.com/csstree/csstree/issues/251">#251</a>)</li> <li>Fixed <code>speak</code> syntax patch (<a href="https://redirect.github.com/csstree/csstree/issues/241">#241</a>)</li> <li>Fixed <code>:lang()</code> to accept a list of <code><ident></code> or <code><string></code> per <a href="https://drafts.csswg.org/selectors/#the-lang-pseudo">spec</a> (<a href="https://redirect.github.com/csstree/csstree/issues/265">#265</a>)</li> <li>Fixed lexer matching for syntaxes referred to as <code><'property'></code>, when the syntax has a top-level <code>#</code>-multiplier (<a href="https://redirect.github.com/csstree/csstree/issues/102">#102</a>)</li> <li>Relaxed parsing of syntax definition to allow whitespaces in range multiplier (<a href="https://redirect.github.com/csstree/csstree/issues/270">#270</a>)</li> <li>Changed <code>parseWithFallback()</code> to rollback <code>tokenIndex</code> before calling a fallback</li> <li>Changed <code>Block</code> to not include <code>{</code> and <code>}</code></li> <li>Changed <code>Atrule</code> and <code>Rule</code> to include <code>{</code> and <code>}</code> for a block</li> <li>Changed <code>Ratio</code> parsing: <ul> <li>Left and right parts contain nodes instead of strings</li> <li>Both left and right parts of a ratio can now be any number; validation of number range is no longer within the parser's scope.</li> <li>Both parts can now be functions. Although not explicitly mentioned in the specification, mathematical functions can replace numbers, addressing potential use cases (<a href="https://redirect.github.com/csstree/csstree/issues/162">#162</a>).</li> <li>As per the <a href="https://drafts.csswg.org/css-values-4/#ratios">CSS Values and Units Level 4</a> specification, the right part of <code>Ratio</code> can be omitted. While this can't be a parser output (which would produce a <code>Number</code> node), it's feasible during <code>Ratio</code> node construction or transformation.</li> </ul> </li> <li>Changes to query-related at-rules: <ul> <li>Added new node types: <ul> <li><a href="https://github.com/csstree/csstree/blob/HEAD/docs/ast.md#feature"><code>Feature</code></a>: represents features like <code>(feature)</code> and <code>(feature: value)</code>, fundamental for both <code>@media</code> and <code>@container</code> at-rules</li> <li><a href="https://github.com/csstree/csstree/blob/HEAD/docs/ast.md#featurerange"><code>FeatureRange</code></a>: represents <a href="https://www.w3.org/TR/mediaqueries-4/#mq-range-context">features in a range context</a></li> <li><a href="https://github.com/csstree/csstree/blob/HEAD/docs/ast.md#featurefunction"><code>FeatureFunction</code></a>: represents functional features such as <code>@supports</code>'s <code>selector()</code> or <code>@container</code>'s <code>style()</code></li> <li><a href="https://github.com/csstree/csstree/blob/HEAD/docs/ast.md#condition"><code>Condition</code></a>: used across all query-like at-rules, encapsulating queries with features and the <code>not</code>, <code>and</code>, and <code>or</code> operators</li> <li><a href="https://github.com/csstree/csstree/blob/HEAD/docs/ast.md#condition"><code>GeneralEnclosure</code></a>: represents the <a href="https://www.w3.org/TR/mediaqueries-4/#typedef-general-enclosed"><code><general-enclosed></code></a> production, which caters to unparsed parentheses or functional expressions</li> </ul> <blockquote> <p>Note: All new nodes include a <code>kind</code> property to define the at-rule type. Supported kinds are <code>media</code>, <code>supports</code>, and <code>container</code></p> </blockquote> </li> <li>Added support for functions for features and features in a range context, e.g. <code>(width: calc(100cm / 6))</code></li> <li>Added a <code>condition</code> value for the parser's context option to parse queries. Use the <code>kind</code> option to specify the condition type, e.g., <code>parse('...', { context: 'condition', kind: 'media' })</code></li> <li>Introduced a <code>features</code> section in the syntax configuration for defining functional features of at-rules. Expand definitions using the <code>fork()</code> method. The current definition is as follows: <pre lang="js"><code>features: { supports: { selector() { /* ... */ } }, container: { style() { /* ... */ } } } </code></pre> </li> <li>Changes for <code>@media</code> at-rule: <ul> <li>Enhanced prelude parsing for complex queries. Parentheses with errors will be parsed as <code>GeneralEnclosed</code></li> <li>Added support for features in a range context, e.g. <code>(width > 100px)</code> or <code>(100px < height < 400px)</code></li> <li>Transitioned from <code>MediaFeature</code> node type to the <code>Feature</code> node type with <code>kind: "media"</code></li> <li>Changed <code>MediaQuery</code> node structure into the following form:</li> </ul> </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/csstree/csstree/blob/master/CHANGELOG.md">css-tree's changelog</a>.</em></p> <blockquote> <h2>3.0.0 (September 11, 2024)</h2> <ul> <li>Added support for the <a href="https://drafts.csswg.org/css-contain-3/#container-rule"><code>@container</code></a> at-rule</li> <li>Added support for the <a href="https://drafts.csswg.org/css-transitions-2/#defining-before-change-style"><code>@starting-style</code></a> at-rule</li> <li>Added support for the <a href="https://drafts.csswg.org/css-cascade-6/#scoped-styles"><code>@scope</code></a> at-rule</li> <li>Added support for the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@position-try"><code>@position-try</code></a> at-rule</li> <li>Added support for the <a href="https://drafts.csswg.org/css-cascade-5/#at-layer"><code>@layer</code></a> at-rule</li> <li>Added support for <code>layer</code>, <code>layer()</code> and <code>supports()</code> in the <code>@media</code> at-rule (according to <a href="https://drafts.csswg.org/css-cascade-5/#at-import"><code>the @import rule</code></a> in Cascading and Inheritance 5)</li> <li>Added <code>Layer</code> and <code>LayerList</code> node types</li> <li>Added <code>TokenStream#lookupTypeNonSC()</code> method</li> <li>Added <code><dashed-ident></code> to generic types</li> <li>Bumped <code>mdn/data</code> to <code>2.10.0</code></li> <li>Aligned <code><'font'></code> to <a href="https://drafts.csswg.org/css-fonts-4/">CSS Fonts 4</a></li> <li>Aligned <code><color></code> to <a href="https://drafts.csswg.org/css-color-5/">CSS Color 5</a></li> <li>Fixed initialization when <code>Object.prototype</code> is extended or polluted (<a href="https://redirect.github.com/csstree/csstree/issues/262">#262</a>)</li> <li>Fixed <code>fork()</code> method to consider the <code>generic</code> option when creating a Lexer instance (<a href="https://redirect.github.com/csstree/csstree/issues/266">#266</a>)</li> <li>Fixed crash on parse error when custom <code>line</code> or <code>offset</code> is specified via options (<a href="https://redirect.github.com/csstree/csstree/issues/251">#251</a>)</li> <li>Fixed <code>speak</code> syntax patch (<a href="https://redirect.github.com/csstree/csstree/issues/241">#241</a>)</li> <li>Fixed <code>:lang()</code> to accept a list of <code><ident></code> or <code><string></code> per <a href="https://drafts.csswg.org/selectors/#the-lang-pseudo">spec</a> (<a href="https://redirect.github.com/csstree/csstree/issues/265">#265</a>)</li> <li>Fixed lexer matching for syntaxes referred to as <code><'property'></code>, when the syntax has a top-level <code>#</code>-multiplier (<a href="https://redirect.github.com/csstree/csstree/issues/102">#102</a>)</li> <li>Relaxed parsing of syntax definition to allow whitespaces in range multiplier (<a href="https://redirect.github.com/csstree/csstree/issues/270">#270</a>)</li> <li>Changed <code>parseWithFallback()</code> to rollback <code>tokenIndex</code> before calling a fallback</li> <li>Changed <code>Block</code> to not include <code>{</code> and <code>}</code></li> <li>Changed <code>Atrule</code> and <code>Rule</code> to include <code>{</code> and <code>}</code> for a block</li> <li>Changed <code>Ratio</code> parsing: <ul> <li>Left and right parts contain nodes instead of strings</li> <li>Both left and right parts of a ratio can now be any number; validation of number range is no longer within the parser's scope.</li> <li>Both parts can now be functions. Although not explicitly mentioned in the specification, mathematical functions can replace numbers, addressing potential use cases (<a href="https://redirect.github.com/csstree/csstree/issues/162">#162</a>).</li> <li>As per the <a href="https://drafts.csswg.org/css-values-4/#ratios">CSS Values and Units Level 4</a> specification, the right part of <code>Ratio</code> can be omitted. While this can't be a parser output (which would produce a <code>Number</code> node), it's feasible during <code>Ratio</code> node construction or transformation.</li> </ul> </li> <li>Changes to query-related at-rules: <ul> <li> <p>Added new node types:</p> <ul> <li><a href="https://github.com/csstree/csstree/blob/master/docs/ast.md#feature"><code>Feature</code></a>: represents features like <code>(feature)</code> and <code>(feature: value)</code>, fundamental for both <code>@media</code> and <code>@container</code> at-rules</li> <li><a href="https://github.com/csstree/csstree/blob/master/docs/ast.md#featurerange"><code>FeatureRange</code></a>: represents <a href="https://www.w3.org/TR/mediaqueries-4/#mq-range-context">features in a range context</a></li> <li><a href="https://github.com/csstree/csstree/blob/master/docs/ast.md#featurefunction"><code>FeatureFunction</code></a>: represents functional features such as <code>@supports</code>'s <code>selector()</code> or <code>@container</code>'s <code>style()</code></li> <li><a href="https://github.com/csstree/csstree/blob/master/docs/ast.md#condition"><code>Condition</code></a>: used across all query-like at-rules, encapsulating queries with features and the <code>not</code>, <code>and</code>, and <code>or</code> operators</li> <li><a href="https://github.com/csstree/csstree/blob/master/docs/ast.md#condition"><code>GeneralEnclosure</code></a>: represents the <a href="https://www.w3.org/TR/mediaqueries-4/#typedef-general-enclosed"><code><general-enclosed></code></a> production, which caters to unparsed parentheses or functional expressions</li> </ul> <blockquote> <p>Note: All new nodes include a <code>kind</code> property to define the at-rule type. Supported kinds are <code>media</code>, <code>supports</code>, and <code>container</code>.</p> </blockquote> </li> <li> <p>Added support for functions for features and features in a range context, e.g. <code>(width: calc(100cm / 6))</code></p> </li> <li> <p>Added a <code>condition</code> value for the parser's context option to parse queries. Use the <code>kind</code> option to specify the condition type, e.g., <code>parse('...', { context: 'condition', kind: 'media' })</code>.</p> </li> <li> <p>Introduced a <code>features</code> section in the syntax configuration for defining functional features of at-rules. Expand definitions using the <code>fork()</code> method. The current definition is as follows:</p> <pre lang="js"><code>features: { supports: { selector() { /* ... */ } }, container: { style() { /* ... */ } } } </code></pre> </li> <li> <p>Changes for <code>@media</code> at-rule:</p> <ul> <li>Enhanced prelude parsing for complex queries. Parentheses with errors will be parsed as <code>GeneralEnclosed</code>.</li> <li>Added support for features in a range context, e.g. <code>(width > 100px)</code> or <code>(100px < height < 400px)</code></li> </ul> </li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="9de5189fad
"><code>9de5189</code></a> 3.0.0</li> <li><a href="336c67ecd9
"><code>336c67e</code></a> Remove wrongly added files</li> <li><a href="56f3788434
"><code>56f3788</code></a> Fix lint error</li> <li><a href="a9a63cbaaa
"><code>a9a63cb</code></a> Improve support for <a href="https://github.com/position-try"><code>@position-try</code></a> by adding allowed descriptors</li> <li><a href="66b312d6eb
"><code>66b312d</code></a> Update the year</li> <li><a href="049dc34abc
"><code>049dc34</code></a> Run unit tests on windows</li> <li><a href="41e70a638f
"><code>41e70a6</code></a> Fix bundling on windows</li> <li><a href="b8a97dd01c
"><code>b8a97dd</code></a> Try bundle on windows</li> <li><a href="cf8e828015
"><code>cf8e828</code></a> Align color to css-color-5 (fixes <a href="https://redirect.github.com/csstree/csstree/issues/244">#244</a>)</li> <li><a href="94a5d77c56
"><code>94a5d77</code></a> Remove draft entry</li> <li>Additional commits viewable in <a href="https://github.com/csstree/csstree/compare/v2.3.1...v3.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=css-tree&package-manager=npm_and_yarn&previous-version=2.3.1&new-version=3.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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
f6362a3a15
commit
f0e7babec4
@ -92,7 +92,7 @@
|
|||||||
"base64-js": "^1.5.1",
|
"base64-js": "^1.5.1",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"color": "^4.2.3",
|
"color": "^4.2.3",
|
||||||
"css-tree": "^2.3.1",
|
"css-tree": "^3.0.0",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"debug": "^4.3.7",
|
"debug": "^4.3.7",
|
||||||
"electron-updater": "6.3.4",
|
"electron-updater": "6.3.4",
|
||||||
|
20
yarn.lock
20
yarn.lock
@ -4073,13 +4073,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"css-tree@npm:^2.3.1":
|
"css-tree@npm:^3.0.0":
|
||||||
version: 2.3.1
|
version: 3.0.0
|
||||||
resolution: "css-tree@npm:2.3.1"
|
resolution: "css-tree@npm:3.0.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
mdn-data: "npm:2.0.30"
|
mdn-data: "npm:2.10.0"
|
||||||
source-map-js: "npm:^1.0.1"
|
source-map-js: "npm:^1.0.1"
|
||||||
checksum: 10c0/6f8c1a11d5e9b14bf02d10717fc0351b66ba12594166f65abfbd8eb8b5b490dd367f5c7721db241a3c792d935fc6751fbc09f7e1598d421477ad9fadc30f4f24
|
checksum: 10c0/43d44fdf7004ae91d73d486f17894fef77efa33747a6752b9241cf0f5fb47fabc16ec34a96a993651d9014dfdeee803d7c5fcd3548214252ee19f4e5c98999b2
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -7555,10 +7555,10 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"mdn-data@npm:2.0.30":
|
"mdn-data@npm:2.10.0":
|
||||||
version: 2.0.30
|
version: 2.10.0
|
||||||
resolution: "mdn-data@npm:2.0.30"
|
resolution: "mdn-data@npm:2.10.0"
|
||||||
checksum: 10c0/a2c472ea16cee3911ae742593715aa4c634eb3d4b9f1e6ada0902aa90df13dcbb7285d19435f3ff213ebaa3b2e0c0265c1eb0e3fb278fda7f8919f046a410cd9
|
checksum: 10c0/f6f1a6a6eb092bab250d06f6f6c7cb1733a77a17e7119aac829ad67d4322bbf6a30df3c6d88686e71942e66bd49274b2ddfede22a1d3df0d6c49a56fbd09eb7c
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -10244,7 +10244,7 @@ __metadata:
|
|||||||
base64-js: "npm:^1.5.1"
|
base64-js: "npm:^1.5.1"
|
||||||
clsx: "npm:^2.1.1"
|
clsx: "npm:^2.1.1"
|
||||||
color: "npm:^4.2.3"
|
color: "npm:^4.2.3"
|
||||||
css-tree: "npm:^2.3.1"
|
css-tree: "npm:^3.0.0"
|
||||||
dayjs: "npm:^1.11.13"
|
dayjs: "npm:^1.11.13"
|
||||||
debug: "npm:^4.3.7"
|
debug: "npm:^4.3.7"
|
||||||
electron: "npm:^32.1.0"
|
electron: "npm:^32.1.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user