An open-source, cross-platform terminal for seamless workflows
Go to file
dependabot[bot] f0e7babec4
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>&lt;dashed-ident&gt;</code> to generic types</li>
<li>Bumped <code>mdn/data</code> to <code>2.10.0</code></li>
<li>Aligned <code>&lt;'font'&gt;</code> to <a
href="https://drafts.csswg.org/css-fonts-4/">CSS Fonts 4</a></li>
<li>Aligned <code>&lt;color&gt;</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>&lt;ident&gt;</code> or <code>&lt;string&gt;</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>&lt;'property'&gt;</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>&lt;general-enclosed&gt;</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
&gt; 100px)</code> or <code>(100px &lt; height &lt; 400px)</code></li>
<li>Transitioned from <code>MediaFeature</code> node type to the
<code>Feature</code> node type with <code>kind:
&quot;media&quot;</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>&lt;dashed-ident&gt;</code> to generic types</li>
<li>Bumped <code>mdn/data</code> to <code>2.10.0</code></li>
<li>Aligned <code>&lt;'font'&gt;</code> to <a
href="https://drafts.csswg.org/css-fonts-4/">CSS Fonts 4</a></li>
<li>Aligned <code>&lt;color&gt;</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>&lt;ident&gt;</code> or <code>&lt;string&gt;</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>&lt;'property'&gt;</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>&lt;general-enclosed&gt;</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
&gt; 100px)</code> or <code>(100px &lt; height &lt; 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>
2024-09-16 13:18:34 -07:00
.github Set up Windows build pipeline (#292) 2024-08-30 10:13:40 -07:00
.storybook Make magnify icon always visible, transition from magnify to minimize (#197) 2024-08-05 16:13:26 -07:00
.vscode enforce go fmt usage in vscode 2024-08-28 10:59:08 -07:00
build update app icons 2024-08-23 10:34:34 -07:00
cmd fe wsh router + wsh client impl (#381) 2024-09-16 11:59:39 -07:00
db new directory structure and oldmigrate (#327) 2024-09-05 14:05:42 -07:00
emain fix type error in emain 2024-09-11 11:28:26 -07:00
frontend Upgrade Storybook and disable TileLayout story for now 2024-09-16 13:16:04 -07:00
pkg fe wsh router + wsh client impl (#381) 2024-09-16 11:59:39 -07:00
public Move xterm.css to resolve Vite warning (#309) 2024-09-03 18:11:28 -07:00
scripts/artifacts fix publish output 2024-09-13 18:12:49 -07:00
.editorconfig Set up Windows build pipeline (#292) 2024-08-30 10:13:40 -07:00
.gitattributes Windows Bug Fixes (#281) 2024-08-27 15:12:26 -07:00
.gitignore Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
.prettierignore Add filewatcher for config files (#63) 2024-06-19 23:59:41 -07:00
.yarnrc.yml Fix prettier formatting 2024-05-28 12:12:28 -07:00
electron-builder.config.cjs use resolve for packageBinDir for posterity 2024-09-05 16:50:38 -07:00
electron.vite.config.ts Fix sharp import issue (#251) 2024-08-20 13:18:47 -07:00
eslint.config.js Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
go.mod Bump github.com/sashabaranov/go-openai from 1.29.1 to 1.29.2 (#375) 2024-09-13 11:42:58 -07:00
go.sum Bump github.com/sashabaranov/go-openai from 1.29.1 to 1.29.2 (#375) 2024-09-13 11:42:58 -07:00
index.html Simplify frontend/wave path in index.html (#48) 2024-06-13 17:00:07 -07:00
LICENSE Setup the Build Helper pipeline (#116) 2024-07-17 22:39:22 -07:00
package.json Bump css-tree from 2.3.1 to 3.0.0 in the prod-dependencies group (#379) 2024-09-16 13:18:34 -07:00
prettier.config.cjs Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
README.md Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
Taskfile.yml SSH Agent Integration (#334) 2024-09-06 13:19:38 -07:00
tsconfig.json Fix formatting in tsconfig (#311) 2024-09-03 18:15:23 -07:00
version.cjs Get version for Taskfile from version.js (#49) 2024-06-13 18:11:21 -07:00
vitest.config.ts Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
yarn.lock Bump css-tree from 2.3.1 to 3.0.0 in the prod-dependencies group (#379) 2024-09-16 13:18:34 -07:00

The Next Wave

Prereqs:

You'll need to install "task" (which we're using as a build/run system):

brew install go-task

On first checkout:

yarn
go mod tidy

Then, run the following command to start the app using the Vite dev server (this will enable Hot Module Reloading):

task electron:dev

To run the app without the dev server, run the following instead:

task electron:start