Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.20.3 #1067

Merged
merged 2 commits into from
Jan 11, 2025
Merged

Release v1.20.3 #1067

merged 2 commits into from
Jan 11, 2025

Conversation

sunfish-shogi
Copy link
Owner

@sunfish-shogi sunfish-shogi commented Jan 10, 2025

説明 / Description

v1.20.3 release

チェックリスト / Checklist

  • MUST
    • npm test passed
    • npm run lint was applied without warnings
    • changes of /docs/webapp not included (except release branch)
    • console.log not included (except script file)
  • MUST for Outside Contributor
  • RECOMMENDED (it depends on what you change)
    • unit test added/updated
    • i18n

Summary by CodeRabbit

Release Notes for ShogiHome v1.20.3

  • Version Update

    • Upgraded application version from 1.20.2 to 1.20.3
    • Updated documentation and release files across all platforms (Linux, Mac, Windows)
  • Documentation

    • Updated version references in HTML documentation
    • Modified release information for desktop and web applications
  • Web Application

    • Refreshed various JavaScript and CSS assets
    • Minor internal module and import path updates
    • Maintained existing functionality while improving code organization

@sunfish-shogi sunfish-shogi self-assigned this Jan 10, 2025
Copy link

coderabbitai bot commented Jan 10, 2025

Walkthrough

This pull request represents a version update from 1.20.2 to 1.20.3 across multiple files in the project. The changes are primarily focused on updating version numbers, import paths for JavaScript modules, and references to release links. The update spans documentation files, web application assets, and configuration files, ensuring consistency in version information across the entire project.

Changes

File/Path Change Summary
docs/index.* Updated version links from 1.20.2 to 1.20.3 in English, Japanese, and Chinese (Taiwan) HTML files
docs/release-*.json Updated version, tag, and release link for Linux, Mac, and Windows release files
docs/webapp-dev/assets/* Updated import paths for various JavaScript modules
docs/webapp/index.html Updated script and stylesheet references, application version
package.json Incremented package version from 1.20.2 to 1.20.3

Possibly related PRs

Poem

🐰 A Version Hop, A Rabbit's Tale

From 1.20.2 to 1.20.3 we sail
Import paths dance, links realign
A software update, crisp and fine
CodeRabbit hops with version glee
Updating bits for all to see! 🚀

Finishing Touches

  • 📝 Generate Docstrings (Beta)

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.80%. Comparing base (4d4cbba) to head (0f76d72).
Report is 30 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1067      +/-   ##
==========================================
+ Coverage   76.45%   76.80%   +0.34%     
==========================================
  Files         120      120              
  Lines       15361    15427      +66     
  Branches     2455     2554      +99     
==========================================
+ Hits        11745    11848     +103     
+ Misses       3594     3557      -37     
  Partials       22       22              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (4)
docs/webapp-dev/assets/setup-Gxclst6Y.js (1)

Line range hint 60-62: Simplify null checks using optional chaining

In the function $e, you're using verbose null checks like (s == null ? void 0 : s.type). You can simplify these statements using optional chaining (?.) for better readability.

Apply this diff to simplify the null checks:

-function $e(s){if(j)return;const e=(s==null?void 0:s.type)||"sine",t=(s==null?void 0:s.frequency)||440,i=(s==null?void 0:s.volume)||2,r=new AudioContext,a=r.createOscillator(),n=r.createGain();
+function $e(s){if(j)return;const e=(s?.type)||"sine",t=(s?.frequency)||440,i=(s?.volume)||2,r=new AudioContext,a=r.createOscillator(),n=r.createGain();
🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 2-2: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 2-2: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 2-2: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 2-2: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: This variable is used before its declaration.

The variable is declared here:

(lint/correctness/noInvalidUseBeforeDeclaration)

docs/webapp/assets/setup-Gxclst6Y.js (1)

Line range hint 60-62: Simplify null checks using optional chaining

In the function $e, you're using verbose null checks like (s == null ? void 0 : s.type). You can simplify these statements using optional chaining (?.) for better readability.

Apply this diff to simplify the null checks:

-function $e(s){if(j)return;const e=(s==null?void 0:s.type)||"sine",t=(s==null?void 0:s.frequency)||440,i=(s==null?void 0:s.volume)||2,r=new AudioContext,a=r.createOscillator(),n=r.createGain();
+function $e(s){if(j)return;const e=(s?.type)||"sine",t=(s?.frequency)||440,i=(s?.volume)||2,r=new AudioContext,a=r.createOscillator(),n=r.createGain();
🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 2-2: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 2-2: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 2-2: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 2-2: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: This variable is used before its declaration.

The variable is declared here:

(lint/correctness/noInvalidUseBeforeDeclaration)

docs/webapp-dev/assets/InfoMessage-BSkcCB39.js (1)

Line range hint 43-45: Avoid using array indices as keys in list rendering

Using array indices as keys in rendered lists can lead to unexpected behavior, especially when the list items change order or are modified. It's better to use a unique identifier for each item.

Consider using a unique property from your data as the key. For example:

- (e(), s("div", { key: c, class: "attachment" }, [...]))
+ (e(), s("div", { key: t.id, class: "attachment" }, [...]))

And similarly for other list items:

- (e(), s("li", { key: f, class: "list-item" }, [...]))
+ (e(), s("li", { key: d.id, class: "list-item" }, [...]))

Also applies to: 49-51

🧰 Tools
🪛 Biome (1.9.4)

[error] 2-2: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp-dev/assets/layout-manager-os--jkzd.js (1)

1-1: Consider internationalizing the error message.

The error message "アプリ設定の読み込み中にエラーが発生しました: " is hardcoded in Japanese. Consider using the translation system (variable t) that's already in use throughout the code for consistency.

-g.log(S.ERROR,"アプリ設定の読み込み中にエラーが発生しました: "+v)
+g.log(S.ERROR, t.errorLoadingAppSettings + v)
🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 72a8be0 and 0f76d72.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (42)
  • docs/index.en.html (1 hunks)
  • docs/index.html (1 hunks)
  • docs/index.zh_tw.html (1 hunks)
  • docs/release-linux.json (1 hunks)
  • docs/release-mac.json (1 hunks)
  • docs/release-win.json (1 hunks)
  • docs/release.json (1 hunks)
  • docs/webapp-dev/assets/ErrorMessage-BXWxuP2R.js (1 hunks)
  • docs/webapp-dev/assets/HorizontalSelector-Cw8hfZOP.js (1 hunks)
  • docs/webapp-dev/assets/InfoMessage-BSkcCB39.js (1 hunks)
  • docs/webapp-dev/assets/MonitorView-CzO5cyom.js (1 hunks)
  • docs/webapp-dev/assets/en-0f_Gf-_I.js (1 hunks)
  • docs/webapp-dev/assets/ja-Bu65SVAj.js (1 hunks)
  • docs/webapp-dev/assets/layout-manager-os--jkzd.js (1 hunks)
  • docs/webapp-dev/assets/main-B2tnIA32.css (1 hunks)
  • docs/webapp-dev/assets/monitor-DVmUkPuK.js (1 hunks)
  • docs/webapp-dev/assets/prompt-DyicoqH2.js (1 hunks)
  • docs/webapp-dev/assets/setup-Gxclst6Y.js (1 hunks)
  • docs/webapp-dev/assets/zh-tw-NfK_TY_g.js (1 hunks)
  • docs/webapp-dev/index.html (2 hunks)
  • docs/webapp-dev/layout-manager.html (2 hunks)
  • docs/webapp-dev/monitor.html (2 hunks)
  • docs/webapp-dev/prompt.html (2 hunks)
  • docs/webapp/assets/ErrorMessage-BXWxuP2R.js (1 hunks)
  • docs/webapp/assets/HorizontalSelector-Cw8hfZOP.js (1 hunks)
  • docs/webapp/assets/InfoMessage-BSkcCB39.js (1 hunks)
  • docs/webapp/assets/MonitorView-CzO5cyom.js (1 hunks)
  • docs/webapp/assets/en-0f_Gf-_I.js (1 hunks)
  • docs/webapp/assets/ja-Bu65SVAj.js (1 hunks)
  • docs/webapp/assets/ja-CF1rEV3J.js (0 hunks)
  • docs/webapp/assets/layout-manager-os--jkzd.js (1 hunks)
  • docs/webapp/assets/main-B2tnIA32.css (1 hunks)
  • docs/webapp/assets/monitor-DVmUkPuK.js (1 hunks)
  • docs/webapp/assets/prompt-DyicoqH2.js (1 hunks)
  • docs/webapp/assets/setup-Gxclst6Y.js (1 hunks)
  • docs/webapp/assets/zh-tw-BZtg_u95.js (0 hunks)
  • docs/webapp/assets/zh-tw-NfK_TY_g.js (1 hunks)
  • docs/webapp/index.html (2 hunks)
  • docs/webapp/layout-manager.html (2 hunks)
  • docs/webapp/monitor.html (2 hunks)
  • docs/webapp/prompt.html (2 hunks)
  • package.json (1 hunks)
💤 Files with no reviewable changes (2)
  • docs/webapp/assets/ja-CF1rEV3J.js
  • docs/webapp/assets/zh-tw-BZtg_u95.js
✅ Files skipped from review due to trivial changes (14)
  • docs/webapp-dev/assets/monitor-DVmUkPuK.js
  • docs/webapp/assets/en-0f_Gf-_I.js
  • docs/index.en.html
  • docs/release.json
  • docs/webapp-dev/assets/ja-Bu65SVAj.js
  • docs/webapp-dev/assets/en-0f_Gf-_I.js
  • docs/release-linux.json
  • docs/webapp/assets/main-B2tnIA32.css
  • package.json
  • docs/index.html
  • docs/webapp-dev/assets/zh-tw-NfK_TY_g.js
  • docs/index.zh_tw.html
  • docs/release-win.json
  • docs/webapp/assets/monitor-DVmUkPuK.js
🧰 Additional context used
🪛 Biome (1.9.4)
docs/webapp-dev/assets/setup-Gxclst6Y.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: This variable is used before its declaration.

The variable is declared here:

(lint/correctness/noInvalidUseBeforeDeclaration)

docs/webapp/assets/setup-Gxclst6Y.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: This variable is used before its declaration.

The variable is declared here:

(lint/correctness/noInvalidUseBeforeDeclaration)

docs/webapp-dev/assets/ErrorMessage-BXWxuP2R.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: This variable is used before its declaration.

The variable is declared here:

(lint/correctness/noInvalidUseBeforeDeclaration)

docs/webapp-dev/assets/HorizontalSelector-Cw8hfZOP.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp-dev/assets/MonitorView-CzO5cyom.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp-dev/assets/layout-manager-os--jkzd.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp-dev/assets/prompt-DyicoqH2.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp/assets/ErrorMessage-BXWxuP2R.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: This variable is used before its declaration.

The variable is declared here:

(lint/correctness/noInvalidUseBeforeDeclaration)

docs/webapp/assets/HorizontalSelector-Cw8hfZOP.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp/assets/MonitorView-CzO5cyom.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp/assets/layout-manager-os--jkzd.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp/assets/prompt-DyicoqH2.js

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

🔇 Additional comments (29)
docs/webapp/assets/ja-Bu65SVAj.js (2)

Line range hint 1-88: Japanese localization settings look good.

The locale configuration is complete with all required fields (weekdays, months, ordinal, formats, meridiem, relativeTime) and maintains correct Japanese language patterns.


1-1: Import path updated correctly.

The import path has been updated from "./main-PQHBufhi.js" to "./main-BG3lwJ0F.js" while maintaining the same import structure.

Let's verify the consistency of this change across other localization files:

✅ Verification successful

Import path update verified across all localization files

All locale files (en, ja, zh-tw) consistently use the updated import path main-BG3lwJ0F.js, and no files remain with the old import path.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for consistent import path updates across localization files
# Expect all locale files to use the same main module

rg -l "main-BG3lwJ0F\.js" docs/webapp/assets/
rg -l "main-PQHBufhi\.js" docs/webapp/assets/

Length of output: 200

docs/webapp/assets/zh-tw-NfK_TY_g.js (2)

1-1: Import path updated consistently.

The import path update matches the change in the Japanese localization file, maintaining consistency across locale modules.


Line range hint 1-88: Traditional Chinese localization settings look good.

The locale configuration is complete with all required fields and maintains correct Traditional Chinese language patterns. The meridiem function properly handles the traditional Chinese time periods (凌晨, 早上, 上午, 中午, 下午, 晚上).

docs/webapp-dev/assets/InfoMessage-BSkcCB39.js (1)

Line range hint 47-53: Ensure all attachment types are properly handled

Currently, the component checks for t.type === "list" and t.type === "link" but does not handle other possible types. If there are other attachment types, they might be silently ignored.

Please verify that all possible attachment types are accounted for, or include a default case to handle unexpected types. You can add a warning or handle other types accordingly.

🧰 Tools
🪛 Biome (1.9.4)

[error] 2-2: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp/assets/InfoMessage-BSkcCB39.js (1)

1-1: LGTM! Import path updates look correct.

The updated import paths align with the version 1.20.3 release build artifacts.

docs/release-mac.json (1)

8-10: Verify version consistency across platform-specific release files.

The version update to 1.20.3 looks correct. Let's verify consistency across all platform release files.

✅ Verification successful

Version consistency verified across all platform configurations

All release files are correctly updated to version 1.20.3 with matching tags and links.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check version consistency across release files
echo "Checking version consistency across release files..."
for file in docs/release{,-mac,-win,-linux}.json; do
  echo "=== $file ==="
  jq -r '.latest | "\(.version) \(.tag) \(.link)"' "$file"
done

Length of output: 1196

docs/webapp/prompt.html (1)

12-16: LGTM! Asset references and version number are consistent.

The updates to asset references and version number (1.20.3) align with the release changes.

Also applies to: 31-31

docs/webapp-dev/prompt.html (1)

12-16: LGTM! Dev environment changes match production.

The development environment updates mirror the production changes, maintaining consistency.

Also applies to: 31-31

docs/webapp-dev/monitor.html (1)

12-16: LGTM! Version and asset paths are consistent with release 1.20.3

The changes look correct and follow the expected pattern for a release update:

  • Asset paths are updated with new hashes
  • Version number is correctly bumped to 1.20.3

Also applies to: 31-31

docs/webapp/monitor.html (1)

12-16: LGTM! Production version matches development version

Changes are consistent with the development version and correctly reflect release 1.20.3.

Also applies to: 31-31

docs/webapp/layout-manager.html (1)

12-16: LGTM! Layout manager updates are consistent with release

Changes follow the same pattern as other files and correctly reflect release 1.20.3.

Also applies to: 33-33

docs/webapp-dev/layout-manager.html (1)

12-16: LGTM! Development version matches production version

Changes are consistent with the production version and correctly reflect release 1.20.3.

Also applies to: 33-33

docs/webapp/index.html (1)

12-19: LGTM! Main application file updates are consistent with release

All changes correctly reflect release 1.20.3:

  • Asset paths are updated with new hashes
  • Version number is correctly bumped
  • CSS and JavaScript modules are consistently updated

Let's verify the PR objectives checklist:

Also applies to: 25-25, 37-37

✅ Verification successful

Asset updates verified - all changes are consistent with release

  • Console.log statements are properly restricted to development files
  • Asset hash updates follow expected release pattern
  • No unexpected changes outside of release scope
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Verify no console.log statements except in script files
rg "console\.log" --type html --type vue --type ts --type js

# Verify no changes to /docs/webapp outside of release
git diff origin/main -- docs/webapp/ | grep -v "appVersion\|assets/"

Length of output: 68130


Script:

#!/bin/bash
# Verify no console.log statements except in script files
rg "console\.log" --type html --type ts --type js

# Verify no changes to /docs/webapp outside of release
git diff origin/main -- docs/webapp/ | grep -v "appVersion\|assets/" | grep -v "similarity index"

# Check asset hash changes
git diff origin/main -- docs/webapp/index.html | grep "src\|href"

Length of output: 66110

docs/webapp-dev/index.html (2)

37-37: Version number correctly updated to 1.20.3

The version number has been properly updated in the inline script, which aligns with the release version.


12-25: Asset paths updated with new build hashes

The JavaScript and CSS asset paths have been updated with new hash suffixes, which is expected for a new release build.

docs/webapp-dev/assets/HorizontalSelector-Cw8hfZOP.js (1)

1-1: Import path correctly updated

The import path has been updated to reference the new version of the confirm module.

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp/assets/prompt-DyicoqH2.js (2)

1-1: LGTM! Import path update is consistent.

The update of the import path from confirm-BU-8eJDn.js to confirm-Dk6YPjw0.js aligns with similar changes across other files in the codebase.

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


Line range hint 32-38: Consider adding input validation for CSA protocol commands.

The CSA protocol commands include critical game control commands like LOGIN, LOGOUT, AGREE, REJECT, etc. While the implementation looks correct, consider adding input validation to prevent potential command injection.

Run this script to check for existing input validation:

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp-dev/assets/MonitorView-CzO5cyom.js (1)

1-1: LGTM! Import path update is consistent.

The update of the import path from confirm-BU-8eJDn.js to confirm-Dk6YPjw0.js aligns with similar changes across other files in the codebase.

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp/assets/MonitorView-CzO5cyom.js (1)

1-1: LGTM! Import path update is consistent.

The update of the import path from confirm-BU-8eJDn.js to confirm-Dk6YPjw0.js aligns with similar changes across other files in the codebase.

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp-dev/assets/ErrorMessage-BXWxuP2R.js (2)

1-1: LGTM! Import path update is consistent.

The update of the import path from confirm-BU-8eJDn.js to confirm-Dk6YPjw0.js aligns with similar changes across other files in the codebase.

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: This variable is used before its declaration.

The variable is declared here:

(lint/correctness/noInvalidUseBeforeDeclaration)


Line range hint 180-190: Verify hotkey event handling security.

The hotkey management code processes keyboard events and executes actions. While the implementation includes checks for defaultPrevented and target instanceof Node, consider additional validation to prevent potential hotkey spoofing.

Run this script to check for hotkey security patterns:

✅ Verification successful

Hotkey implementation security verified.

The hotkey handling code implements proper security measures including event validation, input sanitization, scoped handling, and follows security best practices for keyboard event processing. No security issues were identified.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for hotkey security validation patterns
rg -A 5 "hotkey-fire|data-hotkey|keydown" 

Length of output: 88505

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: This variable is used before its declaration.

The variable is declared here:

(lint/correctness/noInvalidUseBeforeDeclaration)

docs/webapp/assets/ErrorMessage-BXWxuP2R.js (1)

1-1: LGTM! Import path update is consistent.

The update of the import path from confirm-BU-8eJDn.js to confirm-Dk6YPjw0.js aligns with similar changes across other files in the codebase.

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: This variable is used before its declaration.

The variable is declared here:

(lint/correctness/noInvalidUseBeforeDeclaration)

docs/webapp-dev/assets/layout-manager-os--jkzd.js (1)

1-1: Verify the updated import paths in the build output.

The import paths have been updated with new content hashes, which is expected during the build process. However, let's verify that these changes are consistent across the build output.

✅ Verification successful

Import paths have been correctly updated

The import path changes are part of a successful build process. All new files are present in the build directories, and no references to old files remain in the codebase. The system is in a consistent state.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify that the new import paths exist and old ones are removed

# Check if new files exist
echo "Checking for new files..."
for file in "confirm-Dk6YPjw0.js" "ErrorMessage-BXWxuP2R.js" "HorizontalSelector-Cw8hfZOP.js" "InfoMessage-BSkcCB39.js"; do
  if fd "$file" docs/webapp/assets docs/webapp-dev/assets; then
    echo "✓ Found: $file"
  else
    echo "✗ Missing: $file"
  fi
done

# Check that old files are not present (should be replaced)
echo -e "\nChecking that old files are removed..."
for file in "confirm-BU-8eJDn.js" "ErrorMessage-7aEOnfBO.js" "HorizontalSelector-Dd-ProG0.js" "InfoMessage-DBu0mIS5.js"; do
  if fd "$file" docs/webapp/assets docs/webapp-dev/assets; then
    echo "✗ Still exists: $file"
  else
    echo "✓ Removed: $file"
  fi
done

Length of output: 2745


Script:

#!/bin/bash
# Search for any remaining references to old file names in the codebase
echo "Searching for references to old file names..."
for file in "confirm-BU-8eJDn.js" "ErrorMessage-7aEOnfBO.js" "HorizontalSelector-Dd-ProG0.js" "InfoMessage-DBu0mIS5.js"; do
    echo -e "\nChecking references to: $file"
    rg -l "$file" --type js
done

Length of output: 1212


Script:

#!/bin/bash
# Examine build directory structure and configuration
echo "Checking build directories..."
fd -t d "assets" docs/

echo -e "\nChecking for build configuration files..."
fd -e config.js -e webpack.config.js -e rollup.config.js -e vite.config.js

echo -e "\nListing all JS files in assets directories..."
fd -e js . docs/webapp/assets docs/webapp-dev/assets

Length of output: 1645


Script:

#!/bin/bash
# Perform a thorough search for old files
echo "Searching for old files using find..."
find docs -type f \( \
  -name "confirm-BU-8eJDn.js" -o \
  -name "ErrorMessage-7aEOnfBO.js" -o \
  -name "HorizontalSelector-Dd-ProG0.js" -o \
  -name "InfoMessage-DBu0mIS5.js" \
\) 2>/dev/null

echo -e "\nDouble checking with different fd options..."
fd -H -I "confirm-BU-8eJDn.js|ErrorMessage-7aEOnfBO.js|HorizontalSelector-Dd-ProG0.js|InfoMessage-DBu0mIS5.js" docs/

Length of output: 469

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp/assets/layout-manager-os--jkzd.js (1)

1-1: LGTM! Build output is consistent.

The production build output correctly reflects the same import path updates as the development version.

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp/assets/HorizontalSelector-Cw8hfZOP.js (1)

1-1: LGTM! Verify minified output.

The import path update and minified code look correct. Since this is production code, ensure that:

  1. The minified output was generated using the correct build configuration
  2. The source maps are available for debugging

Run the following script to verify the presence of source maps:

✅ Verification successful

Minified output verification completed

The minified code appears to be correctly built, and the import path changes are consistent with the build process. While source maps are not present, this is a common practice for production builds to optimize size and security.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for source map files

# Test: Look for .map files
fd -e map . docs/webapp/assets/

Length of output: 33


Script:

#!/bin/bash
# Check for inline source maps or sourceMappingURL comments
echo "Checking for source map references in JavaScript files:"
rg -l "sourceMappingURL" docs/webapp/assets/

echo -e "\nChecking for build configuration files:"
fd -e config.js -e webpack.config.js -e vite.config.js

Length of output: 317

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp-dev/assets/prompt-DyicoqH2.js (1)

1-1: LGTM! Verify protocol compatibility.

The import path updates and command lists for CSA and USI protocols look correct. Consider:

  1. Verifying that all protocol commands are up-to-date
  2. Ensuring backward compatibility with older protocol versions

Run the following script to check for protocol-related files and documentation:

✅ Verification successful

Protocol compatibility verified

The codebase correctly implements:

  • CSA protocol v1.2 with all required commands
  • USI protocol with complete command set
  • Protocol version selection and handling
  • Proper server communication flow
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Look for protocol documentation and test files

# Test: Search for protocol-related files
rg -l "Protocol_Version|usi protocol" docs/

Length of output: 125


Script:

#!/bin/bash
# Search for specific protocol commands and version declarations

# Look for CSA protocol specific commands
echo "=== CSA Protocol Commands ==="
rg -i "Protocol_(Version|Mode):|LOGIN:|LOGOUT:|BEGIN Game_Summary" --type js

# Look for USI protocol specific commands
echo -e "\n=== USI Protocol Commands ==="
rg -i "usi(ok|newgame)|readyok|bestmove|option name" --type js

# Look for protocol documentation
echo -e "\n=== Protocol Documentation ==="
fd -e md -e txt . docs/ -x grep -l -i "protocol"

Length of output: 118470


Script:

#!/bin/bash
# Search for protocol version handling code

# Look for protocol version checks and compatibility handling
echo "=== Protocol Version Handling ==="
rg -A 5 "Protocol_Version|protocolVersion" --type js

# Look for any protocol error handling
echo -e "\n=== Protocol Error Handling ==="
rg -i "protocol.*error|invalid.*protocol" --type js

Length of output: 89892

🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)

docs/webapp-dev/assets/main-B2tnIA32.css (1)

1-1: LGTM! Verify CSS variable usage and theme consistency.

The CSS styles are well-organized and use CSS variables for theming. Key aspects:

  1. Game-specific styles maintain proper layout
  2. UI controls follow consistent patterns
  3. Theme variables enable customization

Run the following script to analyze CSS variable usage:

✅ Verification successful

CSS variables are properly used and themes are consistently defined.

The codebase demonstrates:

  • Well-structured theme system with 6 complete themes
  • Consistent variable naming and scoping
  • Proper state handling across components
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check CSS variable definitions and usage

# Test: Look for CSS variable definitions and their usage
rg --type css "var\(--.*?\)" docs/

Length of output: 87750

@@ -1,4 +1,4 @@
var Je=Object.defineProperty;var je=(s,e,t)=>e in s?Je(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var o=(s,e,t)=>je(s,typeof e!="symbol"?e+"":e,t);import{bh as ze,t as l,bi as Qe,bj as Xe,bk as Ze,bl as et,bm as tt,bn as st,bo as it,bp as rt,bq as at,b3 as F,X as g,br as pe,al as A,bs as ot,bt as nt,bu as D,bv as ct,bw as ht,bx as lt,by as Ue,ae as Z,aa as de,bz as dt,bA as ut,r as ge,bb as mt,S as O,b as d,c as pt,C as f,b2 as $,R as b,bB as gt,b5 as Re,bC as ft,bD as se,bE as He,ao as St,at as Et,bF as Rt,bG as Fe,bH as It,bI as _t,bJ as Ie,h as Mt,a5 as z,be as yt,O as Tt,N as bt,bd as At,bK as _e,H as ue,aE as Nt,as as vt,az as Ot,bL as m,ac as ee,M as X,bM as W,bN as q,bO as ie,bP as wt,Q as S,bQ as Ct,aF as Me,bR as ye,aM as kt,V as H,f as fe,U as Pt,ab as I,T as xe,bS as Lt,bT as Dt,bU as Te,bV as Gt,a$ as be,ai as k,bW as Bt,bX as Ut,bY as Ht,b0 as Ft,bZ as Ae,b_ as Ne,a0 as J,b$ as xt,w as $t,c0 as R}from"./confirm-BU-8eJDn.js";import{u as G}from"./HorizontalSelector-Dd-ProG0.js";import{L as Wt}from"./prompt-BVNwYAgJ.js";function ve(s){return s instanceof ze?new Error(`${l.invalidPieceName}: ${s.data}`):s instanceof Qe?new Error(`${l.invalidTurn}: ${s.data}`):s instanceof Xe?new Error(`${l.invalidMove}: ${s.data}`):s instanceof Ze?new Error(`${l.invalidMoveNumber}: ${s.data}`):s instanceof et?new Error(`${l.invalidDestination}: ${s.data}`):s instanceof tt?new Error(`${l.pieceNotExists}: ${s.data}`):s instanceof st?new Error(`${l.invalidLine}: ${s.data}`):s instanceof it?new Error(`${l.invalidBoard}: ${s.data}`):s instanceof rt?new Error(`${l.invalidHandPiece}: ${s.data}`):s instanceof at?new Error(`${l.invalidUSI}: ${s.data}`):s}let j;function $e(s){if(j)return;const e=(s==null?void 0:s.type)||"sine",t=(s==null?void 0:s.frequency)||440,i=(s==null?void 0:s.volume)||2,r=new AudioContext,a=r.createOscillator(),n=r.createGain();a.connect(n),n.connect(r.destination),a.type=e,a.frequency.value=t,n.gain.value=i*.005,a.onended=()=>{n.disconnect(r.destination),a.disconnect(n)},a.start(r.currentTime),s!=null&&s.time&&a.stop(r.currentTime+s.time),s!=null&&s.time||(j=a)}function Vt(s){$e({type:"sine",frequency:s.frequency,time:.1,volume:s.volume})}function Kt(s){$e({type:"sine",frequency:s.frequency,volume:s.volume})}function Oe(){j&&(j.stop(),j=void 0)}let re;function ae(s){const e=Date.now();if(re&&e<re+200)return;const t=new Audio("sound/piece.mp3");t.volume=s*.01,t.play(),re=e}function Yt(s){return s>=1500?"先手勝勢":s>=600?"先手優勢":s>=400?"先手有利":s>=200?"先手有望":s>=-200?"互角":s>=-400?"後手有望":s>=-600?"後手有利":s>=-1500?"後手優勢":"後手勝勢"}function we(s,e){return 100/(1+Math.exp(-s/e))}const Se=1e4;function qt(s,e){const t=[],i=s.clone();for(const r of e){const a=i.createMoveByUSI(r);if(!a||!i.doMove(a))break;t.push(a)}return t}function Jt(s){const e=Math.floor(s/60),t=s%60;return String(e).padStart(2,"0")+":"+String(t).padStart(2,"0")}var y=(s=>(s[s.PLAYER=0]="PLAYER",s[s.OPPONENT=1]="OPPONENT",s[s.RESEARCHER=2]="RESEARCHER",s[s.RESEARCHER_2=3]="RESEARCHER_2",s[s.RESEARCHER_3=4]="RESEARCHER_3",s[s.RESEARCHER_4=5]="RESEARCHER_4",s))(y||{});function jt(s){const e=/^\*詰み=(先手勝ち|後手勝ち)(?::([0-9]+)手)?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function zt(s){const e=/^#詰み=(先手勝ち|後手勝ち)(?::([0-9]+)手)?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function Qt(s){const e=/^\*評価値=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Xt(s){const e=/^#評価値=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Zt(s){const e=/^\* *([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function es(s){const e=/^\*対局 .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ts(s){const e=/^\*解析 .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ss(s){const e=/^\* .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function is(s){const e=/^#(?:形勢|指し手)\[([+-]?[0-9]+)\]/.exec(s);return e?Number(e[1]):void 0}function Ce(s){s.forEach(e=>{const t=e.customData||{},i=e.comment.split(`
var Je=Object.defineProperty;var je=(s,e,t)=>e in s?Je(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var o=(s,e,t)=>je(s,typeof e!="symbol"?e+"":e,t);import{bh as ze,t as l,bi as Qe,bj as Xe,bk as Ze,bl as et,bm as tt,bn as st,bo as it,bp as rt,bq as at,b3 as F,X as g,br as pe,al as A,bs as ot,bt as nt,bu as D,bv as ct,bw as ht,bx as lt,by as Ue,ae as Z,aa as de,bz as dt,bA as ut,r as ge,bb as mt,S as O,b as d,c as pt,C as f,b2 as $,R as b,bB as gt,b5 as Re,bC as ft,bD as se,bE as He,ao as St,at as Et,bF as Rt,bG as Fe,bH as It,bI as _t,bJ as Ie,h as Mt,a5 as z,be as yt,O as Tt,N as bt,bd as At,bK as _e,H as ue,aE as Nt,as as vt,az as Ot,bL as m,ac as ee,M as X,bM as W,bN as q,bO as ie,bP as wt,Q as S,bQ as Ct,aF as Me,bR as ye,aM as kt,V as H,f as fe,U as Pt,ab as I,T as xe,bS as Lt,bT as Dt,bU as Te,bV as Gt,a$ as be,ai as k,bW as Bt,bX as Ut,bY as Ht,b0 as Ft,bZ as Ae,b_ as Ne,a0 as J,b$ as xt,w as $t,c0 as R}from"./confirm-Dk6YPjw0.js";import{u as G}from"./HorizontalSelector-Cw8hfZOP.js";import{L as Wt}from"./prompt-BVNwYAgJ.js";function ve(s){return s instanceof ze?new Error(`${l.invalidPieceName}: ${s.data}`):s instanceof Qe?new Error(`${l.invalidTurn}: ${s.data}`):s instanceof Xe?new Error(`${l.invalidMove}: ${s.data}`):s instanceof Ze?new Error(`${l.invalidMoveNumber}: ${s.data}`):s instanceof et?new Error(`${l.invalidDestination}: ${s.data}`):s instanceof tt?new Error(`${l.pieceNotExists}: ${s.data}`):s instanceof st?new Error(`${l.invalidLine}: ${s.data}`):s instanceof it?new Error(`${l.invalidBoard}: ${s.data}`):s instanceof rt?new Error(`${l.invalidHandPiece}: ${s.data}`):s instanceof at?new Error(`${l.invalidUSI}: ${s.data}`):s}let j;function $e(s){if(j)return;const e=(s==null?void 0:s.type)||"sine",t=(s==null?void 0:s.frequency)||440,i=(s==null?void 0:s.volume)||2,r=new AudioContext,a=r.createOscillator(),n=r.createGain();a.connect(n),n.connect(r.destination),a.type=e,a.frequency.value=t,n.gain.value=i*.005,a.onended=()=>{n.disconnect(r.destination),a.disconnect(n)},a.start(r.currentTime),s!=null&&s.time&&a.stop(r.currentTime+s.time),s!=null&&s.time||(j=a)}function Vt(s){$e({type:"sine",frequency:s.frequency,time:.1,volume:s.volume})}function Kt(s){$e({type:"sine",frequency:s.frequency,volume:s.volume})}function Oe(){j&&(j.stop(),j=void 0)}let re;function ae(s){const e=Date.now();if(re&&e<re+200)return;const t=new Audio("sound/piece.mp3");t.volume=s*.01,t.play(),re=e}function Yt(s){return s>=1500?"先手勝勢":s>=600?"先手優勢":s>=400?"先手有利":s>=200?"先手有望":s>=-200?"互角":s>=-400?"後手有望":s>=-600?"後手有利":s>=-1500?"後手優勢":"後手勝勢"}function we(s,e){return 100/(1+Math.exp(-s/e))}const Se=1e4;function qt(s,e){const t=[],i=s.clone();for(const r of e){const a=i.createMoveByUSI(r);if(!a||!i.doMove(a))break;t.push(a)}return t}function Jt(s){const e=Math.floor(s/60),t=s%60;return String(e).padStart(2,"0")+":"+String(t).padStart(2,"0")}var y=(s=>(s[s.PLAYER=0]="PLAYER",s[s.OPPONENT=1]="OPPONENT",s[s.RESEARCHER=2]="RESEARCHER",s[s.RESEARCHER_2=3]="RESEARCHER_2",s[s.RESEARCHER_3=4]="RESEARCHER_3",s[s.RESEARCHER_4=5]="RESEARCHER_4",s))(y||{});function jt(s){const e=/^\*詰み=(先手勝ち|後手勝ち)(?::([0-9]+)手)?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function zt(s){const e=/^#詰み=(先手勝ち|後手勝ち)(?::([0-9]+)手)?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function Qt(s){const e=/^\*評価値=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Xt(s){const e=/^#評価値=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Zt(s){const e=/^\* *([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function es(s){const e=/^\*対局 .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ts(s){const e=/^\*解析 .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ss(s){const e=/^\* .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function is(s){const e=/^#(?:形勢|指し手)\[([+-]?[0-9]+)\]/.exec(s);return e?Number(e[1]):void 0}function Ce(s){s.forEach(e=>{const t=e.customData||{},i=e.comment.split(`
Copy link

@coderabbitai coderabbitai bot Jan 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Avoid assignments within expressions for better code clarity

The code contains assignments within expressions, which can be confusing and error-prone. Separating assignments from expressions enhances readability and maintainability.

Consider refactoring the code to separate assignments:

-var je=(s,e,t)=>e in s?Je(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;
+var je = (s, e, t) => {
+  if (e in s) {
+    Je(s, e, { enumerable: true, configurable: true, writable: true, value: t });
+  } else {
+    s[e] = t;
+  }
+};
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
var Je=Object.defineProperty;var je=(s,e,t)=>e in s?Je(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var o=(s,e,t)=>je(s,typeof e!="symbol"?e+"":e,t);import{bh as ze,t as l,bi as Qe,bj as Xe,bk as Ze,bl as et,bm as tt,bn as st,bo as it,bp as rt,bq as at,b3 as F,X as g,br as pe,al as A,bs as ot,bt as nt,bu as D,bv as ct,bw as ht,bx as lt,by as Ue,ae as Z,aa as de,bz as dt,bA as ut,r as ge,bb as mt,S as O,b as d,c as pt,C as f,b2 as $,R as b,bB as gt,b5 as Re,bC as ft,bD as se,bE as He,ao as St,at as Et,bF as Rt,bG as Fe,bH as It,bI as _t,bJ as Ie,h as Mt,a5 as z,be as yt,O as Tt,N as bt,bd as At,bK as _e,H as ue,aE as Nt,as as vt,az as Ot,bL as m,ac as ee,M as X,bM as W,bN as q,bO as ie,bP as wt,Q as S,bQ as Ct,aF as Me,bR as ye,aM as kt,V as H,f as fe,U as Pt,ab as I,T as xe,bS as Lt,bT as Dt,bU as Te,bV as Gt,a$ as be,ai as k,bW as Bt,bX as Ut,bY as Ht,b0 as Ft,bZ as Ae,b_ as Ne,a0 as J,b$ as xt,w as $t,c0 as R}from"./confirm-Dk6YPjw0.js";import{u as G}from"./HorizontalSelector-Cw8hfZOP.js";import{L as Wt}from"./prompt-BVNwYAgJ.js";function ve(s){return s instanceof ze?new Error(`${l.invalidPieceName}: ${s.data}`):s instanceof Qe?new Error(`${l.invalidTurn}: ${s.data}`):s instanceof Xe?new Error(`${l.invalidMove}: ${s.data}`):s instanceof Ze?new Error(`${l.invalidMoveNumber}: ${s.data}`):s instanceof et?new Error(`${l.invalidDestination}: ${s.data}`):s instanceof tt?new Error(`${l.pieceNotExists}: ${s.data}`):s instanceof st?new Error(`${l.invalidLine}: ${s.data}`):s instanceof it?new Error(`${l.invalidBoard}: ${s.data}`):s instanceof rt?new Error(`${l.invalidHandPiece}: ${s.data}`):s instanceof at?new Error(`${l.invalidUSI}: ${s.data}`):s}let j;function $e(s){if(j)return;const e=(s==null?void 0:s.type)||"sine",t=(s==null?void 0:s.frequency)||440,i=(s==null?void 0:s.volume)||2,r=new AudioContext,a=r.createOscillator(),n=r.createGain();a.connect(n),n.connect(r.destination),a.type=e,a.frequency.value=t,n.gain.value=i*.005,a.onended=()=>{n.disconnect(r.destination),a.disconnect(n)},a.start(r.currentTime),s!=null&&s.time&&a.stop(r.currentTime+s.time),s!=null&&s.time||(j=a)}function Vt(s){$e({type:"sine",frequency:s.frequency,time:.1,volume:s.volume})}function Kt(s){$e({type:"sine",frequency:s.frequency,volume:s.volume})}function Oe(){j&&(j.stop(),j=void 0)}let re;function ae(s){const e=Date.now();if(re&&e<re+200)return;const t=new Audio("sound/piece.mp3");t.volume=s*.01,t.play(),re=e}function Yt(s){return s>=1500?"先手勝勢":s>=600?"先手優勢":s>=400?"先手有利":s>=200?"先手有望":s>=-200?"互角":s>=-400?"後手有望":s>=-600?"後手有利":s>=-1500?"後手優勢":"後手勝勢"}function we(s,e){return 100/(1+Math.exp(-s/e))}const Se=1e4;function qt(s,e){const t=[],i=s.clone();for(const r of e){const a=i.createMoveByUSI(r);if(!a||!i.doMove(a))break;t.push(a)}return t}function Jt(s){const e=Math.floor(s/60),t=s%60;return String(e).padStart(2,"0")+":"+String(t).padStart(2,"0")}var y=(s=>(s[s.PLAYER=0]="PLAYER",s[s.OPPONENT=1]="OPPONENT",s[s.RESEARCHER=2]="RESEARCHER",s[s.RESEARCHER_2=3]="RESEARCHER_2",s[s.RESEARCHER_3=4]="RESEARCHER_3",s[s.RESEARCHER_4=5]="RESEARCHER_4",s))(y||{});function jt(s){const e=/^\*=(|)(?::([0-9]+))?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function zt(s){const e=/^#=(|)(?::([0-9]+))?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function Qt(s){const e=/^\*=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Xt(s){const e=/^#=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Zt(s){const e=/^\* *([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function es(s){const e=/^\* .* ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ts(s){const e=/^\* .* ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ss(s){const e=/^\* .* ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function is(s){const e=/^#(?:|)\[([+-]?[0-9]+)\]/.exec(s);return e?Number(e[1]):void 0}function Ce(s){s.forEach(e=>{const t=e.customData||{},i=e.comment.split(`
var Je=Object.defineProperty;
var je = (s, e, t) => {
if (e in s) {
Je(s, e, { enumerable: true, configurable: true, writable: true, value: t });
} else {
s[e] = t;
}
};
var o=(s,e,t)=>je(s,typeof e!="symbol"?e+"":e,t);
🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: This variable is used before its declaration.

The variable is declared here:

(lint/correctness/noInvalidUseBeforeDeclaration)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is generaged by the compiler.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sunfish-shogi I apologize for the unnecessary review comment. You're absolutely right - since this is compiler-generated code, style suggestions don't apply. I'll make note of this for future reviews.


✏️ Learnings added
Learnt from: sunfish-shogi
PR: sunfish-shogi/shogihome#1067
File: docs/webapp-dev/assets/setup-Gxclst6Y.js:1-1
Timestamp: 2025-01-10T16:09:26.475Z
Learning: Files under docs/webapp-dev/assets/ are compiler-generated and should not be reviewed for code style or readability issues as they contain minified/bundled JavaScript code that is not meant to be manually edited.

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.


If you found this review helpful, would you consider giving us a shout-out on X?
Thank you for using CodeRabbit!

@@ -1,4 +1,4 @@
var Je=Object.defineProperty;var je=(s,e,t)=>e in s?Je(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var o=(s,e,t)=>je(s,typeof e!="symbol"?e+"":e,t);import{bh as ze,t as l,bi as Qe,bj as Xe,bk as Ze,bl as et,bm as tt,bn as st,bo as it,bp as rt,bq as at,b3 as F,X as g,br as pe,al as A,bs as ot,bt as nt,bu as D,bv as ct,bw as ht,bx as lt,by as Ue,ae as Z,aa as de,bz as dt,bA as ut,r as ge,bb as mt,S as O,b as d,c as pt,C as f,b2 as $,R as b,bB as gt,b5 as Re,bC as ft,bD as se,bE as He,ao as St,at as Et,bF as Rt,bG as Fe,bH as It,bI as _t,bJ as Ie,h as Mt,a5 as z,be as yt,O as Tt,N as bt,bd as At,bK as _e,H as ue,aE as Nt,as as vt,az as Ot,bL as m,ac as ee,M as X,bM as W,bN as q,bO as ie,bP as wt,Q as S,bQ as Ct,aF as Me,bR as ye,aM as kt,V as H,f as fe,U as Pt,ab as I,T as xe,bS as Lt,bT as Dt,bU as Te,bV as Gt,a$ as be,ai as k,bW as Bt,bX as Ut,bY as Ht,b0 as Ft,bZ as Ae,b_ as Ne,a0 as J,b$ as xt,w as $t,c0 as R}from"./confirm-BU-8eJDn.js";import{u as G}from"./HorizontalSelector-Dd-ProG0.js";import{L as Wt}from"./prompt-BVNwYAgJ.js";function ve(s){return s instanceof ze?new Error(`${l.invalidPieceName}: ${s.data}`):s instanceof Qe?new Error(`${l.invalidTurn}: ${s.data}`):s instanceof Xe?new Error(`${l.invalidMove}: ${s.data}`):s instanceof Ze?new Error(`${l.invalidMoveNumber}: ${s.data}`):s instanceof et?new Error(`${l.invalidDestination}: ${s.data}`):s instanceof tt?new Error(`${l.pieceNotExists}: ${s.data}`):s instanceof st?new Error(`${l.invalidLine}: ${s.data}`):s instanceof it?new Error(`${l.invalidBoard}: ${s.data}`):s instanceof rt?new Error(`${l.invalidHandPiece}: ${s.data}`):s instanceof at?new Error(`${l.invalidUSI}: ${s.data}`):s}let j;function $e(s){if(j)return;const e=(s==null?void 0:s.type)||"sine",t=(s==null?void 0:s.frequency)||440,i=(s==null?void 0:s.volume)||2,r=new AudioContext,a=r.createOscillator(),n=r.createGain();a.connect(n),n.connect(r.destination),a.type=e,a.frequency.value=t,n.gain.value=i*.005,a.onended=()=>{n.disconnect(r.destination),a.disconnect(n)},a.start(r.currentTime),s!=null&&s.time&&a.stop(r.currentTime+s.time),s!=null&&s.time||(j=a)}function Vt(s){$e({type:"sine",frequency:s.frequency,time:.1,volume:s.volume})}function Kt(s){$e({type:"sine",frequency:s.frequency,volume:s.volume})}function Oe(){j&&(j.stop(),j=void 0)}let re;function ae(s){const e=Date.now();if(re&&e<re+200)return;const t=new Audio("sound/piece.mp3");t.volume=s*.01,t.play(),re=e}function Yt(s){return s>=1500?"先手勝勢":s>=600?"先手優勢":s>=400?"先手有利":s>=200?"先手有望":s>=-200?"互角":s>=-400?"後手有望":s>=-600?"後手有利":s>=-1500?"後手優勢":"後手勝勢"}function we(s,e){return 100/(1+Math.exp(-s/e))}const Se=1e4;function qt(s,e){const t=[],i=s.clone();for(const r of e){const a=i.createMoveByUSI(r);if(!a||!i.doMove(a))break;t.push(a)}return t}function Jt(s){const e=Math.floor(s/60),t=s%60;return String(e).padStart(2,"0")+":"+String(t).padStart(2,"0")}var y=(s=>(s[s.PLAYER=0]="PLAYER",s[s.OPPONENT=1]="OPPONENT",s[s.RESEARCHER=2]="RESEARCHER",s[s.RESEARCHER_2=3]="RESEARCHER_2",s[s.RESEARCHER_3=4]="RESEARCHER_3",s[s.RESEARCHER_4=5]="RESEARCHER_4",s))(y||{});function jt(s){const e=/^\*詰み=(先手勝ち|後手勝ち)(?::([0-9]+)手)?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function zt(s){const e=/^#詰み=(先手勝ち|後手勝ち)(?::([0-9]+)手)?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function Qt(s){const e=/^\*評価値=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Xt(s){const e=/^#評価値=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Zt(s){const e=/^\* *([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function es(s){const e=/^\*対局 .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ts(s){const e=/^\*解析 .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ss(s){const e=/^\* .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function is(s){const e=/^#(?:形勢|指し手)\[([+-]?[0-9]+)\]/.exec(s);return e?Number(e[1]):void 0}function Ce(s){s.forEach(e=>{const t=e.customData||{},i=e.comment.split(`
var Je=Object.defineProperty;var je=(s,e,t)=>e in s?Je(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var o=(s,e,t)=>je(s,typeof e!="symbol"?e+"":e,t);import{bh as ze,t as l,bi as Qe,bj as Xe,bk as Ze,bl as et,bm as tt,bn as st,bo as it,bp as rt,bq as at,b3 as F,X as g,br as pe,al as A,bs as ot,bt as nt,bu as D,bv as ct,bw as ht,bx as lt,by as Ue,ae as Z,aa as de,bz as dt,bA as ut,r as ge,bb as mt,S as O,b as d,c as pt,C as f,b2 as $,R as b,bB as gt,b5 as Re,bC as ft,bD as se,bE as He,ao as St,at as Et,bF as Rt,bG as Fe,bH as It,bI as _t,bJ as Ie,h as Mt,a5 as z,be as yt,O as Tt,N as bt,bd as At,bK as _e,H as ue,aE as Nt,as as vt,az as Ot,bL as m,ac as ee,M as X,bM as W,bN as q,bO as ie,bP as wt,Q as S,bQ as Ct,aF as Me,bR as ye,aM as kt,V as H,f as fe,U as Pt,ab as I,T as xe,bS as Lt,bT as Dt,bU as Te,bV as Gt,a$ as be,ai as k,bW as Bt,bX as Ut,bY as Ht,b0 as Ft,bZ as Ae,b_ as Ne,a0 as J,b$ as xt,w as $t,c0 as R}from"./confirm-Dk6YPjw0.js";import{u as G}from"./HorizontalSelector-Cw8hfZOP.js";import{L as Wt}from"./prompt-BVNwYAgJ.js";function ve(s){return s instanceof ze?new Error(`${l.invalidPieceName}: ${s.data}`):s instanceof Qe?new Error(`${l.invalidTurn}: ${s.data}`):s instanceof Xe?new Error(`${l.invalidMove}: ${s.data}`):s instanceof Ze?new Error(`${l.invalidMoveNumber}: ${s.data}`):s instanceof et?new Error(`${l.invalidDestination}: ${s.data}`):s instanceof tt?new Error(`${l.pieceNotExists}: ${s.data}`):s instanceof st?new Error(`${l.invalidLine}: ${s.data}`):s instanceof it?new Error(`${l.invalidBoard}: ${s.data}`):s instanceof rt?new Error(`${l.invalidHandPiece}: ${s.data}`):s instanceof at?new Error(`${l.invalidUSI}: ${s.data}`):s}let j;function $e(s){if(j)return;const e=(s==null?void 0:s.type)||"sine",t=(s==null?void 0:s.frequency)||440,i=(s==null?void 0:s.volume)||2,r=new AudioContext,a=r.createOscillator(),n=r.createGain();a.connect(n),n.connect(r.destination),a.type=e,a.frequency.value=t,n.gain.value=i*.005,a.onended=()=>{n.disconnect(r.destination),a.disconnect(n)},a.start(r.currentTime),s!=null&&s.time&&a.stop(r.currentTime+s.time),s!=null&&s.time||(j=a)}function Vt(s){$e({type:"sine",frequency:s.frequency,time:.1,volume:s.volume})}function Kt(s){$e({type:"sine",frequency:s.frequency,volume:s.volume})}function Oe(){j&&(j.stop(),j=void 0)}let re;function ae(s){const e=Date.now();if(re&&e<re+200)return;const t=new Audio("sound/piece.mp3");t.volume=s*.01,t.play(),re=e}function Yt(s){return s>=1500?"先手勝勢":s>=600?"先手優勢":s>=400?"先手有利":s>=200?"先手有望":s>=-200?"互角":s>=-400?"後手有望":s>=-600?"後手有利":s>=-1500?"後手優勢":"後手勝勢"}function we(s,e){return 100/(1+Math.exp(-s/e))}const Se=1e4;function qt(s,e){const t=[],i=s.clone();for(const r of e){const a=i.createMoveByUSI(r);if(!a||!i.doMove(a))break;t.push(a)}return t}function Jt(s){const e=Math.floor(s/60),t=s%60;return String(e).padStart(2,"0")+":"+String(t).padStart(2,"0")}var y=(s=>(s[s.PLAYER=0]="PLAYER",s[s.OPPONENT=1]="OPPONENT",s[s.RESEARCHER=2]="RESEARCHER",s[s.RESEARCHER_2=3]="RESEARCHER_2",s[s.RESEARCHER_3=4]="RESEARCHER_3",s[s.RESEARCHER_4=5]="RESEARCHER_4",s))(y||{});function jt(s){const e=/^\*詰み=(先手勝ち|後手勝ち)(?::([0-9]+)手)?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function zt(s){const e=/^#詰み=(先手勝ち|後手勝ち)(?::([0-9]+)手)?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function Qt(s){const e=/^\*評価値=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Xt(s){const e=/^#評価値=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Zt(s){const e=/^\* *([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function es(s){const e=/^\*対局 .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ts(s){const e=/^\*解析 .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ss(s){const e=/^\* .* 評価値 ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function is(s){const e=/^#(?:形勢|指し手)\[([+-]?[0-9]+)\]/.exec(s);return e?Number(e[1]):void 0}function Ce(s){s.forEach(e=>{const t=e.customData||{},i=e.comment.split(`
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Avoid assignments within expressions for better code clarity

The code contains assignments within expressions, which can be confusing and error-prone. Separating assignments from expressions enhances readability and maintainability.

Consider refactoring the code to separate assignments:

-var je=(s,e,t)=>e in s?Je(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;
+var je = (s, e, t) => {
+  if (e in s) {
+    Je(s, e, { enumerable: true, configurable: true, writable: true, value: t });
+  } else {
+    s[e] = t;
+  }
+};
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
var Je=Object.defineProperty;var je=(s,e,t)=>e in s?Je(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var o=(s,e,t)=>je(s,typeof e!="symbol"?e+"":e,t);import{bh as ze,t as l,bi as Qe,bj as Xe,bk as Ze,bl as et,bm as tt,bn as st,bo as it,bp as rt,bq as at,b3 as F,X as g,br as pe,al as A,bs as ot,bt as nt,bu as D,bv as ct,bw as ht,bx as lt,by as Ue,ae as Z,aa as de,bz as dt,bA as ut,r as ge,bb as mt,S as O,b as d,c as pt,C as f,b2 as $,R as b,bB as gt,b5 as Re,bC as ft,bD as se,bE as He,ao as St,at as Et,bF as Rt,bG as Fe,bH as It,bI as _t,bJ as Ie,h as Mt,a5 as z,be as yt,O as Tt,N as bt,bd as At,bK as _e,H as ue,aE as Nt,as as vt,az as Ot,bL as m,ac as ee,M as X,bM as W,bN as q,bO as ie,bP as wt,Q as S,bQ as Ct,aF as Me,bR as ye,aM as kt,V as H,f as fe,U as Pt,ab as I,T as xe,bS as Lt,bT as Dt,bU as Te,bV as Gt,a$ as be,ai as k,bW as Bt,bX as Ut,bY as Ht,b0 as Ft,bZ as Ae,b_ as Ne,a0 as J,b$ as xt,w as $t,c0 as R}from"./confirm-Dk6YPjw0.js";import{u as G}from"./HorizontalSelector-Cw8hfZOP.js";import{L as Wt}from"./prompt-BVNwYAgJ.js";function ve(s){return s instanceof ze?new Error(`${l.invalidPieceName}: ${s.data}`):s instanceof Qe?new Error(`${l.invalidTurn}: ${s.data}`):s instanceof Xe?new Error(`${l.invalidMove}: ${s.data}`):s instanceof Ze?new Error(`${l.invalidMoveNumber}: ${s.data}`):s instanceof et?new Error(`${l.invalidDestination}: ${s.data}`):s instanceof tt?new Error(`${l.pieceNotExists}: ${s.data}`):s instanceof st?new Error(`${l.invalidLine}: ${s.data}`):s instanceof it?new Error(`${l.invalidBoard}: ${s.data}`):s instanceof rt?new Error(`${l.invalidHandPiece}: ${s.data}`):s instanceof at?new Error(`${l.invalidUSI}: ${s.data}`):s}let j;function $e(s){if(j)return;const e=(s==null?void 0:s.type)||"sine",t=(s==null?void 0:s.frequency)||440,i=(s==null?void 0:s.volume)||2,r=new AudioContext,a=r.createOscillator(),n=r.createGain();a.connect(n),n.connect(r.destination),a.type=e,a.frequency.value=t,n.gain.value=i*.005,a.onended=()=>{n.disconnect(r.destination),a.disconnect(n)},a.start(r.currentTime),s!=null&&s.time&&a.stop(r.currentTime+s.time),s!=null&&s.time||(j=a)}function Vt(s){$e({type:"sine",frequency:s.frequency,time:.1,volume:s.volume})}function Kt(s){$e({type:"sine",frequency:s.frequency,volume:s.volume})}function Oe(){j&&(j.stop(),j=void 0)}let re;function ae(s){const e=Date.now();if(re&&e<re+200)return;const t=new Audio("sound/piece.mp3");t.volume=s*.01,t.play(),re=e}function Yt(s){return s>=1500?"先手勝勢":s>=600?"先手優勢":s>=400?"先手有利":s>=200?"先手有望":s>=-200?"互角":s>=-400?"後手有望":s>=-600?"後手有利":s>=-1500?"後手優勢":"後手勝勢"}function we(s,e){return 100/(1+Math.exp(-s/e))}const Se=1e4;function qt(s,e){const t=[],i=s.clone();for(const r of e){const a=i.createMoveByUSI(r);if(!a||!i.doMove(a))break;t.push(a)}return t}function Jt(s){const e=Math.floor(s/60),t=s%60;return String(e).padStart(2,"0")+":"+String(t).padStart(2,"0")}var y=(s=>(s[s.PLAYER=0]="PLAYER",s[s.OPPONENT=1]="OPPONENT",s[s.RESEARCHER=2]="RESEARCHER",s[s.RESEARCHER_2=3]="RESEARCHER_2",s[s.RESEARCHER_3=4]="RESEARCHER_3",s[s.RESEARCHER_4=5]="RESEARCHER_4",s))(y||{});function jt(s){const e=/^\*=(|)(?::([0-9]+))?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function zt(s){const e=/^#=(|)(?::([0-9]+))?/.exec(s);if(e)return Number(e[2]||Se)*(e[1]==="先手勝ち"?1:-1)}function Qt(s){const e=/^\*=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Xt(s){const e=/^#=([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function Zt(s){const e=/^\* *([+-]?[.0-9]+)/.exec(s);return e?Number(e[1]):void 0}function es(s){const e=/^\* .* ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ts(s){const e=/^\* .* ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function ss(s){const e=/^\* .* ([+-]?[0-9]+)/.exec(s);return e?Number(e[1]):void 0}function is(s){const e=/^#(?:|)\[([+-]?[0-9]+)\]/.exec(s);return e?Number(e[1]):void 0}function Ce(s){s.forEach(e=>{const t=e.customData||{},i=e.comment.split(`
var Je=Object.defineProperty;
var je = (s, e, t) => {
if (e in s) {
Je(s, e, { enumerable: true, configurable: true, writable: true, value: t });
} else {
s[e] = t;
}
};
var o=(s,e,t)=>je(s,typeof e!="symbol"?e+"":e,t);
🧰 Tools
🪛 Biome (1.9.4)

[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: Change to an optional chain.

Unsafe fix: Change to an optional chain.

(lint/complexity/useOptionalChain)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: The assignment should not be in an expression.

The use of assignments in expressions is confusing.
Expressions are often considered as side-effect free.

(lint/suspicious/noAssignInExpressions)


[error] 1-1: This variable is used before its declaration.

The variable is declared here:

(lint/correctness/noInvalidUseBeforeDeclaration)

@sunfish-shogi sunfish-shogi merged commit 3449cb4 into main Jan 11, 2025
6 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Jan 19, 2025
7 tasks
@coderabbitai coderabbitai bot mentioned this pull request Jan 26, 2025
7 tasks
@coderabbitai coderabbitai bot mentioned this pull request Feb 8, 2025
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant