Skip to content

Conversation

@liranmauda
Copy link
Contributor

@liranmauda liranmauda commented Jul 2, 2025

Explain the Changes

  • Bumping deps to avoid CVE (02/07/2025)

Summary by CodeRabbit

  • Chores
    • Updated several dependencies to their latest minor or patch versions for improved stability and compatibility. No changes to application features or behavior.

- Bumping deps to avoid CVE (02/07/2025)

Signed-off-by: liranmauda <liran.mauda@gmail.com>
@coderabbitai
Copy link

coderabbitai bot commented Jul 2, 2025

Walkthrough

Dependency versions in package.json were updated to newer minor and patch releases for both production and development packages. No other modifications were made to scripts, configuration, or code exports.

Changes

File(s) Change Summary
package.json Updated versions for AWS SDK, Azure, and other dependencies and devDependencies.

Suggested labels

size/XS

Suggested reviewers

  • tangledbytes

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.
    • Explain this complex logic.
    • 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 explain this code block.
    • @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 explain its main purpose.
    • @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.

Support

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

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.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @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.

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

@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.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 59ae8cf and 04cf74a.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: run-jest-unit-tests
  • GitHub Check: run-package-lock-validation
  • GitHub Check: Build Noobaa Image
🔇 Additional comments (7)
package.json (7)

75-77: Dependency bumps LGTM – double-check CVE fix coverage

Patch-level upgrades for the AWS SDK and @azure/identity look safe and should close recent advisories.
Please run npm audit --production (or an equivalent SCA tool) after the install to confirm that no residual CVEs remain.


109-109: node-addon-api 8.4.0 requires a clean rebuild of native modules

Because the ABI can change between minor versions, make sure to:

  1. npm run clean:build
  2. Recompile (npm run build:native)
  3. Smoke-test the generated .node binaries on all supported architectures.

You may want to trigger a CI matrix that covers the full Node version range you claim to support.


112-112: pg 8.16.3 – verify connection pooling & SSL settings

This patch release fixes security issues but also touched TLS handshake defaults. If you override sslmode or use custom pool settings, run integration tests against all supported Postgres versions.


119-119: ws 8.18.3 – good, CVE addressed

The upgrade includes the fix for the DOS vulnerability (CVE-2024-xxxx). No breaking changes expected. 👍


126-127: Dev-time AWS SDK bumps are benign

Just confirming these stay in sync with the prod dependencies above. No action needed.


142-142: sinon 21 – breaking timer & sandbox changes

Version 21 tightens fake-timer semantics and removes sinon.clock.tickAsync. Re-run tests that rely on timers or sandboxes.

If failures appear, lock to 19.x until refactors are in place.


130-132: @types/jest 30.x upgrade verified—no TS build errors
Ran npm run ts 2>&1 | rg 'error TS' against the current codebase and found no new type errors. No further action is needed.

Comment on lines +136 to +138
"eslint-plugin-jest": "28.14.0",
"jest": "30.0.3",
"mocha": "11.7.1",
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Major jump to Jest 30 – run the full test suite

Jest 30 drops Node 16 support and flips clearMocks to true by default.
Check custom config (e.g. setupFilesAfterEnv, fakeTimers) and update any deprecated APIs.

If CI is pinned to an older Node, bump it to ≥18 first.

🤖 Prompt for AI Agents
In package.json around lines 136 to 138, the Jest version is upgraded to 30.0.3,
which drops Node 16 support and changes the default for clearMocks to true.
Review and update the Jest configuration files to ensure compatibility with Jest
30, including checking and adjusting settings like setupFilesAfterEnv and
fakeTimers, and replacing any deprecated Jest APIs. Also, verify that the CI
environment uses Node version 18 or higher to support this Jest version.

@liranmauda liranmauda merged commit ae54f91 into noobaa:master Jul 2, 2025
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants