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 @babel/preset-react from 7.25.7 to 7.26.3 in /frontend #194

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 @babel/preset-react from 7.25.7 to 7.26.3.

Release notes

Sourced from @​babel/preset-react's releases.

v7.26.3 (2024-12-04)

🐛 Bug Fix

🏠 Internal

  • babel-helper-builder-binary-assignment-operator-visitor, babel-plugin-transform-exponentiation-operator

🏃‍♀️ Performance

Committers: 4

v7.26.2 (2024-10-30)

🐛 Bug Fix

Committers: 6

v7.26.1 (2024-10-25)

🐛 Bug Fix

Committers: 3

... (truncated)

Changelog

Sourced from @​babel/preset-react's changelog.

v7.26.3 (2024-12-04)

🐛 Bug Fix

🏠 Internal

  • babel-helper-builder-binary-assignment-operator-visitor, babel-plugin-transform-exponentiation-operator

🏃‍♀️ Performance

v7.26.2 (2024-10-30)

🐛 Bug Fix

v7.26.1 (2024-10-25)

🐛 Bug Fix

v7.26.0 (2024-10-25)

🚀 New Feature

  • babel-core, babel-generator, babel-parser, babel-plugin-syntax-import-assertions, babel-plugin-syntax-import-attributes, babel-preset-env, babel-standalone, babel-types
  • babel-core
  • babel-compat-data, babel-plugin-proposal-regexp-modifiers, babel-plugin-transform-regexp-modifiers, babel-preset-env, babel-standalone
  • babel-parser
  • babel-generator, babel-parser, babel-plugin-syntax-flow
  • babel-helpers, babel-preset-typescript, babel-runtime-corejs3
  • babel-generator, babel-parser

🐛 Bug Fix

... (truncated)

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 @babel/preset-react from version 7.25.7 to 7.26.3 in the frontend package.json and package-lock.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/194/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 @babel/preset-react dependency from version 7.25.7 to 7.26.3 in the frontend package. The update includes several bug fixes, performance improvements, and internal changes to the Babel ecosystem.

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

File-Level Changes

Change Details Files
Update @babel/preset-react dependency version
  • Bump version from 7.25.7 to 7.26.3 in package.json
  • Update corresponding entry in package-lock.json
frontend/package.json
frontend/package-lock.json
Notable changes in the new version
  • Fix development mode configuration behavior
  • Improve performance in babel-generator and babel-traverse
  • Fix parser issues with TypeScript namespaces
  • Add support for format preservation in code generation
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..a306284. 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 e59fddb)

Action: backend-tests

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

Failure summary:

The action failed during the npm build process due to dependency conflicts:

  • There was a version conflict with babel-eslint package
  • The build process failed with exit code 1 during the command npm install npm@latest
    --location=global && npm install && PUBLIC_URL=/static/reactapp/ npm run build
  • The error suggests adding SKIP_PREFLIGHT_CHECK=true to the .env file as a potential fix

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    2229:  #15 9.266 Checking optional features...
    2230:  #15 9.266 inc_bundling_support....disabled
    2231:  #15 9.266   requires:
    2232:  #15 9.266     ! inc::latest is not installed
    2233:  #15 9.266 license_creation........disabled
    2234:  #15 9.266   requires:
    2235:  #15 9.266     ! Software::License is not installed
    2236:  #15 9.266 
    2237:  #15 9.266 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    2307:  #15 10.26     !  Email::MIME is not installed
    2308:  #15 10.26     !  Email::MIME::ContentType is not installed
    2309:  #15 10.26     !  Email::Sender is not installed
    2310:  #15 10.26     !  Email::Simple is not installed
    2311:  #15 10.26     !  IO::All is not installed
    2312:  #15 10.26     !  IO::String is not installed
    2313:  #15 10.26     !  OLE::Storage_Lite is not installed
    2314:  #15 10.26 
    2315:  #15 10.26 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    3635:  #15 21.84 Warning: prerequisite Capture::Tiny 0.08 not found.
    3636:  #15 21.84 Warning: prerequisite Email::Abstract 3.006 not found.
    3637:  #15 21.84 Warning: prerequisite Moo 2.000000 not found.
    3638:  #15 21.84 Warning: prerequisite Moo::Role 0 not found.
    3639:  #15 21.84 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
    3640:  #15 21.84 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
    3641:  #15 21.84 Warning: prerequisite Sub::Exporter 0 not found.
    3642:  #15 21.84 Warning: prerequisite Sub::Exporter::Util 0 not found.
    3643:  #15 21.84 Warning: prerequisite Throwable::Error 0.200003 not found.
    ...
    
    3655:  #15 21.96     Capture::Tiny [build_requires]
    3656:  #15 21.96     Email::Abstract [requires]
    3657:  #15 21.96     Moo [requires]
    3658:  #15 21.96     Moo::Role [requires]
    3659:  #15 21.96     MooX::Types::MooseLike [requires]
    3660:  #15 21.96     MooX::Types::MooseLike::Base [requires]
    3661:  #15 21.96     Sub::Exporter [requires]
    3662:  #15 21.96     Sub::Exporter::Util [requires]
    3663:  #15 21.96     Throwable::Error [requires]
    ...
    
    5410:  #15 44.06 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
    5411:  #15 44.06 Installing /usr/local/man/man3/Sub::Exporter.3pm
    5412:  #15 44.06 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
    5413:  #15 44.06 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
    5414:  #15 44.07 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5415:  #15 44.09   RJBS/Sub-Exporter-0.991.tar.gz
    5416:  #15 44.09   /usr/bin/make install  -- OK
    5417:  #15 44.09 Sub::Exporter::Util is up to date (0.991).
    5418:  #15 44.09 Running install for module 'Throwable::Error'
    ...
    
    5525:  #15 45.24 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5526:  #15 45.26   DROLSKY/Devel-StackTrace-2.05.tar.gz
    5527:  #15 45.26   /usr/bin/make install  -- OK
    5528:  #15 45.27   RJBS/Throwable-1.001.tar.gz
    5529:  #15 45.27   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
    5530:  #15 45.27   RJBS/Throwable-1.001.tar.gz
    5531:  #15 45.27   Has already been prepared
    5532:  #15 45.27 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
    5533:  #15 45.46 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
    ...
    
    5536:  #15 45.53 Manifying 3 pod documents
    5537:  #15 45.53   RJBS/Throwable-1.001.tar.gz
    5538:  #15 45.53   /usr/bin/make -- OK
    5539:  #15 45.53   RJBS/Throwable-1.001.tar.gz
    5540:  #15 45.53   Skipping test because of notest pragma
    5541:  #15 45.53 Running make install for RJBS/Throwable-1.001.tar.gz
    5542:  #15 45.59 Manifying 3 pod documents
    5543:  #15 45.63 Installing /usr/local/share/perl/5.36.0/Throwable.pm
    5544:  #15 45.63 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
    5545:  #15 45.63 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
    5546:  #15 45.63 Installing /usr/local/man/man3/Throwable::Error.3pm
    ...
    
    5987:  #13 61.79   7. Try running npm ls babel-eslint in your project folder.
    5988:  #13 61.79      This will tell you which other package (apart from the expected react-scripts) installed babel-eslint.
    5989:  #13 61.79 
    5990:  #13 61.79 If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
    5991:  #13 61.79 That would permanently disable this preflight check in case you want to proceed anyway.
    5992:  #13 61.79 
    5993:  #13 61.79 P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!
    5994:  #13 61.79 
    5995:  #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
    ...
    
    6009:  61.79      This will tell you which other package (apart from the expected react-scripts) installed babel-eslint.
    6010:  61.79 
    6011:  61.79 If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
    6012:  61.79 That would permanently disable this preflight check in case you want to proceed anyway.
    6013:  61.79 
    6014:  61.79 P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!
    6015:  61.79 
    6016:  ------
    6017:  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
    6018:  ##[error]Process completed with exit code 17.
    6019:  ##[group]Run docker ps -a
    6020:  �[36;1mdocker ps -a�[0m
    6021:  �[36;1mdocker logs threatmatrix_uwsgi�[0m
    6022:  �[36;1mdocker logs threatmatrix_daphne�[0m
    6023:  shell: /usr/bin/bash -e {0}
    6024:  ##[endgroup]
    6025:  CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
    6026:  Error response from daemon: No such container: threatmatrix_uwsgi
    6027:  ##[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/babel/preset-react-7.26.3 branch 2 times, most recently from e59fddb to 356fe18 Compare December 26, 2024 23:43
    Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.25.7 to 7.26.3.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.26.3/packages/babel-preset-react)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/preset-react"
      dependency-type: direct:development
      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/babel/preset-react-7.26.3 branch from 356fe18 to a306284 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