Skip to content

Conversation

donghongfei
Copy link

@donghongfei donghongfei commented Sep 4, 2025

want to resole:
 WARN  1 deprecated subdependencies found: [email protected]

Summary by CodeRabbit

  • Chores
    • Updated audio denoising extension to v1.1.0, offering improved noise suppression and audio quality during calls.
    • Upgraded real-time communications SDK to 4.24.0, providing better stability, compatibility with recent environments, and incremental feature support.

want to resole:
 WARN  1 deprecated subdependencies found: [email protected]
@CLAassistant
Copy link

CLAassistant commented Sep 4, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

coderabbitai bot commented Sep 4, 2025

Walkthrough

Updated dependency versions in packages/coze-js/package.json: agora-extension-ai-denoiser to ^1.1.0 and agora-rtc-sdk-ng to 4.24.0. No other changes.

Changes

Cohort / File(s) Summary of changes
Dependency updates
packages/coze-js/package.json
Bumped agora-extension-ai-denoiser ^1.0.0 → ^1.1.0 and agora-rtc-sdk-ng 4.23.2-1 → 4.24.0; no other edits.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I nudge the versions, hop by hop,
Two carrots taller at the top.
No code paths changed, no logic maze—
Just fresher leaves for brighter days.
Thump-thump! I sign the changelog line,
Dependencies now crisp and fine. 🥕✨

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ 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.
    • 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.
  • 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 the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit 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

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • 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

@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: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between ec619e9 and 5076a66.

📒 Files selected for processing (1)
  • packages/coze-js/package.json (1 hunks)

Comment on lines +63 to +64
"agora-extension-ai-denoiser": "^1.1.0",
"agora-rtc-sdk-ng": "4.24.0",
Copy link

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Bump looks good; verify the deprecation is actually gone and consider loosening the pin.

  • The upgrades to agora-extension-ai-denoiser@^1.1.0 and [email protected] look fine.
  • Please confirm the original warning about [email protected] is eliminated across the workspace lockfile. If it persists, add an override for node-domexception to ^2.0.1.
  • Optional: for a library, consider ^4.24.0 instead of an exact 4.24.0 to avoid over-constraining consumers (unless you intentionally want a hard pin for reproducibility). Your existing overrides keeps the extension aligned anyway.

Apply if the warning persists:

   "overrides": {
     "agora-extension-ai-denoiser": {
       "agora-rtc-sdk-ng": "$agora-rtc-sdk-ng"
-    }
+    },
+    "node-domexception": "^2.0.1"
   }

Run to verify:


🏁 Script executed:

#!/bin/bash
# 1) Check if deprecated version still exists
rg -n "node-domexception@1\.0\.0" pnpm-lock.yaml || true

# 2) Find why it's pulled in
pnpm why node-domexception || true

# 3) Ensure only one Agora SDK version is resolved
rg -n "^ {2}agora-rtc-sdk-ng@" pnpm-lock.yaml -n -C0 || true

Length of output: 258


🏁 Script executed:

#!/bin/bash
# List top-level files to locate lockfiles
find . -maxdepth 1 -type f -printf '%f\n'

# Search for common lockfiles across the repo
find . -type f \( -iname "yarn.lock" -o -iname "package-lock.json" -o -iname "pnpm-lock.yaml" \) -maxdepth 3

Length of output: 375


🏁 Script executed:

#!/bin/bash
# Display the beginning of rush.json to locate lockfile configuration
sed -n '1,200p' rush.json

Length of output: 11146


🏁 Script executed:

#!/usr/bin/env bash
# Search for deprecated node-domexception across all workspace lockfiles
find . -type f \( -iname "pnpm-lock.yaml" -o -iname "yarn.lock" -o -iname "package-lock.json" \) \
  -exec echo "Scanning {}" \; \
  -exec rg -n "node-domexception@" {} \; || true

Length of output: 596


🏁 Script executed:

#!/usr/bin/env bash
# Find any pnpm override configuration or pnpmfile
find . -type f \( -iname "pnpmfile.js" -o -iname "package.json" \) -maxdepth 4 \
  -exec grep -Hn '"overrides"' {} \; || true

Length of output: 169


Add override for node-domexception

  • Lockfiles still resolve [email protected]; under overrides in packages/coze-js/package.json append:
       "overrides": {
         "agora-extension-ai-denoiser": {
           "agora-rtc-sdk-ng": "$agora-rtc-sdk-ng"
  •  }
    
  •  },
    
  •  "node-domexception": "^2.0.1"
    
    }
    then run `rush update` or `pnpm install` to confirm `node-domexception@^2.0.1` is now resolved. 
    
  • Optional: loosen the pin on "agora-rtc-sdk-ng": "4.24.0" to "^4.24.0" to avoid over-constraining consumers.
📝 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
"agora-extension-ai-denoiser": "^1.1.0",
"agora-rtc-sdk-ng": "4.24.0",
// In packages/coze-js/package.json, update (or create) the "overrides" section as follows:
{
// … other top-level fields …
"overrides": {
"agora-extension-ai-denoiser": {
"agora-rtc-sdk-ng": "$agora-rtc-sdk-ng"
},
"node-domexception": "^2.0.1"
}
// … the rest of the file …
}
🤖 Prompt for AI Agents
In packages/coze-js/package.json around lines 63 to 64, the dependency graph
still resolves [email protected]; add an overrides section to force
node-domexception@^2.0.1 (e.g. append an "overrides": {"node-domexception":
"^2.0.1"} entry at the root of the package.json) and then run rush update or
pnpm install to verify the lockfile now resolves node-domexception@^2.0.1;
optionally loosen the agora-rtc-sdk-ng pin from "4.24.0" to "^4.24.0" to avoid
over-constraining consumers.

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.

2 participants