waveterm/package.json
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

132 lines
4.0 KiB
JSON

{
"name": "thenextwave",
"author": {
"name": "Command Line Inc",
"email": "info@commandline.dev"
},
"productName": "TheNextWave",
"description": "An Open-Source, AI-Native, Terminal Built for Seamless Workflows",
"license": "Apache-2.0",
"version": "0.1.12",
"homepage": "https://waveterm.dev",
"build": {
"appId": "dev.commandline.thenextwave"
},
"private": true,
"main": "./dist/main/index.js",
"type": "module",
"scripts": {
"dev": "electron-vite dev",
"start": "electron-vite preview",
"build:dev": "electron-vite build --mode development",
"build:prod": "electron-vite build --mode production",
"storybook": "storybook dev -p 6006 --no-open",
"build-storybook": "storybook build",
"coverage": "vitest run --coverage",
"test": "vitest",
"postinstall": "electron-builder install-app-deps"
},
"devDependencies": {
"@chromatic-com/storybook": "^2.0.2",
"@eslint/js": "^9.10.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@storybook/addon-essentials": "^8.3.0",
"@storybook/addon-interactions": "^8.3.0",
"@storybook/addon-links": "^8.3.0",
"@storybook/blocks": "^8.3.0",
"@storybook/react": "^8.3.0",
"@storybook/react-vite": "^8.3.0",
"@storybook/test": "^8.3.0",
"@types/css-tree": "^2",
"@types/debug": "^4",
"@types/electron": "^1.6.10",
"@types/node": "^22.5.4",
"@types/papaparse": "^5",
"@types/pngjs": "^6.0.5",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@types/shell-quote": "^1",
"@types/sprintf-js": "^1",
"@types/throttle-debounce": "^5",
"@types/tinycolor2": "^1",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"@vitest/coverage-istanbul": "^2.1.1",
"electron": "^32.1.0",
"electron-builder": "^25.0.5",
"electron-vite": "^2.3.0",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"less": "^4.2.0",
"prettier": "^3.3.3",
"prettier-plugin-jsdoc": "^1.3.0",
"prettier-plugin-organize-imports": "^4.0.0",
"rollup-plugin-flow": "^1.1.1",
"storybook": "^8.3.0",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.5.0",
"vite": "^5.4.5",
"vite-plugin-image-optimizer": "^1.1.8",
"vite-plugin-static-copy": "^1.0.6",
"vite-plugin-svgr": "^4.2.0",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.1.1"
},
"dependencies": {
"@monaco-editor/loader": "^1.4.0",
"@monaco-editor/react": "^4.6.0",
"@observablehq/plot": "^0.6.16",
"@react-hook/resize-observer": "^2.0.2",
"@table-nav/core": "^0.0.7",
"@table-nav/react": "^0.0.7",
"@tanstack/react-table": "^8.20.5",
"@types/color": "^3.0.6",
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-serialize": "^0.13.0",
"@xterm/addon-web-links": "^0.11.0",
"@xterm/addon-webgl": "^0.18.0",
"@xterm/xterm": "^5.5.0",
"base64-js": "^1.5.1",
"clsx": "^2.1.1",
"color": "^4.2.3",
"css-tree": "^3.0.0",
"dayjs": "^1.11.13",
"debug": "^4.3.7",
"electron-updater": "6.3.4",
"fast-average-color": "^9.4.0",
"htl": "^0.3.1",
"html-to-image": "^1.11.11",
"immer": "^10.1.1",
"jotai": "^2.9.3",
"monaco-editor": "^0.51.0",
"overlayscrollbars": "^2.10.0",
"overlayscrollbars-react": "^0.5.6",
"papaparse": "^5.4.1",
"pngjs": "^7.0.0",
"react": "^18.3.1",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.3.1",
"react-frame-component": "^5.2.7",
"react-gauge-chart": "^0.5.1",
"react-markdown": "^9.0.1",
"rehype-highlight": "^7.0.0",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"rehype-slug": "^6.0.0",
"remark-flexible-toc": "^1.1.1",
"remark-gfm": "^4.0.0",
"rxjs": "^7.8.1",
"shell-quote": "^1.8.1",
"sprintf-js": "^1.1.3",
"throttle-debounce": "^5.0.2",
"tinycolor2": "^1.6.0",
"use-device-pixel-ratio": "^1.1.2",
"winston": "^3.14.2"
},
"packageManager": "yarn@4.4.1"
}