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

Bump react-select from 5.8.1 to 5.9.0 in /frontend #195

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 17, 2024

Bumps react-select from 5.8.1 to 5.9.0.

Release notes

Sourced from react-select's releases.

[email protected]

Minor Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

Build:

  • Update react-select dependency from version 5.8.1 to 5.9.0 in package.json.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 17, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 17, 2024

Dependabot tried to add @drosetti as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/khulnasoft/ThreatMatrix/pulls/195/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the khulnasoft/ThreatMatrix repository. // See: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request

Copy link

sourcery-ai bot commented Dec 17, 2024

Reviewer's Guide by Sourcery

This PR updates the react-select dependency from version 5.8.1 to 5.9.0 in the frontend package. The update includes React 19 support through peer dependency updates and type fixes, along with a bug fix for non-cancellable scroll events.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update react-select dependency version
  • Add React 19 to peer dependency range
  • Fix TypeScript type compatibility with React 19
  • Fix issue with non-cancellable scroll events
frontend/package.json
frontend/package-lock.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

coderabbitai bot commented Dec 17, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 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

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

@gitworkflows
Copy link
Contributor

gitworkflows commented Dec 17, 2024

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

Copy link

deepsource-io bot commented Dec 17, 2024

Here's the code health analysis summary for commits 4d62705..5b579ff. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Python LogoPython✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link
Contributor

codiumai-pr-agent-free bot commented Dec 17, 2024

CI Failure Feedback 🧐

(Checks updated until commit c8bf904)

Action: backend-tests

Failed stage: Startup script launch (Fast) [❌]

Failure summary:

The action failed due to multiple issues:

  • NPM build process failed with a babel-eslint dependency conflict
  • Several Perl module dependencies were missing or had installation issues, including:
    * Email::MIME
    and related modules
    * IO::All and IO::String
    * Multiple Moo-related packages
  • The final error occurred during the npm build process with exit code 1, suggesting the build could
    not complete successfully
  • The error suggests adding SKIP_PREFLIGHT_CHECK=true to the .env file as a potential fix for the
    babel-eslint issue

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    2233:  #15 8.229 Checking optional features...
    2234:  #15 8.229 inc_bundling_support....disabled
    2235:  #15 8.229   requires:
    2236:  #15 8.229     ! inc::latest is not installed
    2237:  #15 8.229 license_creation........disabled
    2238:  #15 8.229   requires:
    2239:  #15 8.229     ! Software::License is not installed
    2240:  #15 8.229 
    2241:  #15 8.229 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    2311:  #15 9.150     !  Email::MIME is not installed
    2312:  #15 9.150     !  Email::MIME::ContentType is not installed
    2313:  #15 9.150     !  Email::Sender is not installed
    2314:  #15 9.150     !  Email::Simple is not installed
    2315:  #15 9.150     !  IO::All is not installed
    2316:  #15 9.150     !  IO::String is not installed
    2317:  #15 9.150     !  OLE::Storage_Lite is not installed
    2318:  #15 9.150 
    2319:  #15 9.150 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    3639:  #15 21.40 Warning: prerequisite Capture::Tiny 0.08 not found.
    3640:  #15 21.41 Warning: prerequisite Email::Abstract 3.006 not found.
    3641:  #15 21.41 Warning: prerequisite Moo 2.000000 not found.
    3642:  #15 21.41 Warning: prerequisite Moo::Role 0 not found.
    3643:  #15 21.41 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
    3644:  #15 21.41 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
    3645:  #15 21.41 Warning: prerequisite Sub::Exporter 0 not found.
    3646:  #15 21.41 Warning: prerequisite Sub::Exporter::Util 0 not found.
    3647:  #15 21.41 Warning: prerequisite Throwable::Error 0.200003 not found.
    ...
    
    3659:  #15 21.53     Capture::Tiny [build_requires]
    3660:  #15 21.53     Email::Abstract [requires]
    3661:  #15 21.53     Moo [requires]
    3662:  #15 21.53     Moo::Role [requires]
    3663:  #15 21.53     MooX::Types::MooseLike [requires]
    3664:  #15 21.53     MooX::Types::MooseLike::Base [requires]
    3665:  #15 21.53     Sub::Exporter [requires]
    3666:  #15 21.53     Sub::Exporter::Util [requires]
    3667:  #15 21.53     Throwable::Error [requires]
    ...
    
    5414:  #15 44.77 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
    5415:  #15 44.77 Installing /usr/local/man/man3/Sub::Exporter.3pm
    5416:  #15 44.77 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
    5417:  #15 44.77 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
    5418:  #15 44.78 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5419:  #15 44.81   RJBS/Sub-Exporter-0.991.tar.gz
    5420:  #15 44.81   /usr/bin/make install  -- OK
    5421:  #15 44.81 Sub::Exporter::Util is up to date (0.991).
    5422:  #15 44.81 Running install for module 'Throwable::Error'
    ...
    
    5529:  #15 46.03 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5530:  #15 46.05   DROLSKY/Devel-StackTrace-2.05.tar.gz
    5531:  #15 46.05   /usr/bin/make install  -- OK
    5532:  #15 46.05   RJBS/Throwable-1.001.tar.gz
    5533:  #15 46.05   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
    5534:  #15 46.05   RJBS/Throwable-1.001.tar.gz
    5535:  #15 46.05   Has already been prepared
    5536:  #15 46.05 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
    5537:  #15 46.24 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
    ...
    
    5540:  #15 46.30 Manifying 3 pod documents
    5541:  #15 46.30   RJBS/Throwable-1.001.tar.gz
    5542:  #15 46.30   /usr/bin/make -- OK
    5543:  #15 46.30   RJBS/Throwable-1.001.tar.gz
    5544:  #15 46.30   Skipping test because of notest pragma
    5545:  #15 46.30 Running make install for RJBS/Throwable-1.001.tar.gz
    5546:  #15 46.37 Manifying 3 pod documents
    5547:  #15 46.41 Installing /usr/local/share/perl/5.36.0/Throwable.pm
    5548:  #15 46.41 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
    5549:  #15 46.41 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
    5550:  #15 46.41 Installing /usr/local/man/man3/Throwable::Error.3pm
    ...
    
    5783:  #13 59.02   7. Try running npm ls babel-eslint in your project folder.
    5784:  #13 59.02      This will tell you which other package (apart from the expected react-scripts) installed babel-eslint.
    5785:  #13 59.02 
    5786:  #13 59.02 If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
    5787:  #13 59.02 That would permanently disable this preflight check in case you want to proceed anyway.
    5788:  #13 59.02 
    5789:  #13 59.02 P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!
    5790:  #13 59.02 
    5791:  #13 ERROR: process "/bin/sh -c npm install npm@latest --location=global     && npm install     && PUBLIC_URL=/static/reactapp/ npm run build" did not complete successfully: exit code: 1
    5792:  #15 [uwsgi backend-build  4/10] RUN cpan -T Email::Outlook::Message
    5793:  #15 CANCELED
    5794:  failed to solve: process "/bin/sh -c npm install npm@latest --location=global     && npm install     && PUBLIC_URL=/static/reactapp/ npm run build" did not complete successfully: exit code: 1
    ...
    
    5800:  59.02      This will tell you which other package (apart from the expected react-scripts) installed babel-eslint.
    5801:  59.02 
    5802:  59.02 If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
    5803:  59.02 That would permanently disable this preflight check in case you want to proceed anyway.
    5804:  59.02 
    5805:  59.02 P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!
    5806:  59.02 
    5807:  ------
    5808:  ##[error]Process completed with exit code 17.
    5809:  ##[group]Run docker ps -a
    5810:  �[36;1mdocker ps -a�[0m
    5811:  �[36;1mdocker logs threatmatrix_uwsgi�[0m
    5812:  �[36;1mdocker logs threatmatrix_daphne�[0m
    5813:  shell: /usr/bin/bash -e {0}
    5814:  ##[endgroup]
    5815:  CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
    5816:  Error response from daemon: No such container: threatmatrix_uwsgi
    5817:  ##[error]Process completed with exit code 1.
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    @dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/frontend/develop/react-select-5.9.0 branch 3 times, most recently from ad4a35b to 95da6a8 Compare December 26, 2024 23:43
    Bumps [react-select](https://github.com/JedWatson/react-select) from 5.8.1 to 5.9.0.
    - [Release notes](https://github.com/JedWatson/react-select/releases)
    - [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md)
    - [Commits](https://github.com/JedWatson/react-select/compare/[email protected]@5.9.0)
    
    ---
    updated-dependencies:
    - dependency-name: react-select
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    @dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/frontend/develop/react-select-5.9.0 branch from 95da6a8 to 5b579ff Compare December 27, 2024 00:05
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant