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

[Snyk] Upgrade bancos-brasileiros from 6.1.2 to 6.1.4 #611

Merged
merged 2 commits into from
Dec 21, 2024

Conversation

guibranco
Copy link
Owner

@guibranco guibranco commented Dec 21, 2024

User description

snyk-top-banner

Snyk has created this PR to upgrade bancos-brasileiros from 6.1.2 to 6.1.4.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 2 versions ahead of your current version.

  • The recommended version was released 22 days ago.

Release notes
Package name: bancos-brasileiros
  • 6.1.4 - 2024-11-29

    Release of Bancos Brasileiros - v6.1.4

    • Updated 1 bank
      • 410 - PLANNER SOCIEDADE DE CR?DITO DIRETO - 05.684.234/0001-19
        • Pcr (PCR): Null -> True
        • Pcrp (PCR): Null -> True
  • 6.1.3 - 2024-11-28

    Release of Bancos Brasileiros - v6.1.3

    • Updated 1 bank
      • 589 - G5 SCD SA - 51.212.088/0001-46
        • PixType (SPI): Null -> DRCT
        • DatePixStarted (SPI): Null -> 2024-12-09 09:00:00
  • 6.1.2 - 2024-11-22

    Release of Bancos Brasileiros - v6.1.2

    • Added 3 banks
      • 665 - STARK BANK S.A. - IP - 20.018.183/0001-80
      • 671 - ZERO - 26.264.220/0001-16
      • 662 - WE PAY OUT IP LTDA. - 32.708.748/0001-30
    • Updated 14 banks
      • 15 - UBS BB CCTVM S.A. - 02.819.125/0001-73
        • LongName (STR): UBS Brasil Corretora de CYmbio, T-tulos e Valores Mobili~rios S.A. -> UBS BB CORRETORA DE CAMBIO, TITULOS E VALORES MOBILIARIOS S.A.
        • ShortName (STR): UBS BRASIL CCTVM S.A. -> UBS BB CCTVM S.A.
      • 129 - UBS BB BI S.A. - 18.520.834/0001-93
        • LongName (STR): UBS Brasil Banco de Investimento S.A. -> UBS BB BANCO DE INVESTIMENTO S.A.
        • ShortName (STR): UBS BRASIL BI S.A. -> UBS BB BI S.A.
      • 136 - UNICRED DO BRASIL - 00.315.557/0001-11
        • LongName (STR): CONFEDERA?AO NACIONAL DAS COOPERATIVAS CENTRAIS UNICRED LTDA. - UNICRED DO BRASIL. -> COOPERATIVA CENTRAL DE CR?DITO UNICRED DO BRASIL - UNICRED DO BRASIL
        • ShortName (STR): CONF NAC COOP CENTRAIS UNICRED -> UNICRED DO BRASIL
      • 271 - IB CCTVM S.A. - 27.842.177/0001-91
        • PixType (SPI): Null -> DRCT
        • DatePixStarted (SPI): Null -> 2024-11-18 10:00:00
      • 273 - COOP SULCREDI AMPLEA - 08.253.539/0001-64
        • LongName (STR): Cooperativa de Cr,dito Rural de Sao Miguel do Oeste - Sulcredi/Sao Miguel -> COOPERATIVA DE CREDITO SULCREDI AMPLEA
        • ShortName (STR): CCR DE SAO MIGUEL DO OESTE -> COOP SULCREDI AMPLEA
      • 320 - BOC BRASIL - 07.450.604/0001-89
        • Products (CTC): Null -> Consignado, Imobili~rio, Pessoal, Ve-culos
      • 336 - BCO C6 S.A. - 31.872.495/0001-72
        • SalaryPortability (PCPS): Destinatrio -> Banco Folha e Destinatrio
      • 379 - CECM COOPERFORTE - 01.658.426/0001-08
        • PixType (SPI): Null -> DRCT
        • DatePixStarted (SPI): Null -> 2024-11-25 09:00:00
      • 448 - HEMERA DTVM LTDA. - 39.669.186/0001-01
        • PixType (SPI): Null -> DRCT
        • DatePixStarted (SPI): Null -> 2024-11-11 09:00:00
      • 530 - SER FINANCE SCD S.A. - 47.873.449/0001-28
        • PixType (SPI): Null -> DRCT
        • DatePixStarted (SPI): Null -> 2024-11-13 09:00:00
      • 568 - BRCONDOS SCD S.A. - 49.933.388/0001-72
        • PixType (SPI): Null -> DRCT
        • DatePixStarted (SPI): Null -> 2024-11-13 11:00:00
      • 593 - TRANSFEERA IP S.A. - 27.084.098/0001-69
        • PixType (SPI): IDRT -> DRCT
        • DatePixStarted (SPI): 2021-05-04 10:27:26 -> 2024-11-04 09:10:00
      • 614 - NITRO SCD S.A. - 52.440.987/0001-69
        • PixType (SPI): Null -> DRCT
        • DatePixStarted (SPI): Null -> 2024-11-05 09:00:00
      • 623 - BANCO PAN - 59.285.411/0001-13
        • SalaryPortability (PCPS): Destinatrio -> Banco Folha e Destinatrio
from bancos-brasileiros GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Note

I'm currently writing a description for your pull request. I should be done shortly (<1 minute). Please don't edit the description field until I'm finished, or we may overwrite each other. If I find nothing to write about, I'll delete this message.


Description

  • Upgraded bancos-brasileiros from version 6.1.2 to 6.1.4 in both package.json and package-lock.json.
  • This upgrade includes important updates and fixes from the library.
  • Keeping dependencies up-to-date helps in maintaining security and stability.

Changes walkthrough 📝

Relevant files
Dependencies
package-lock.json
Update bancos-brasileiros version in package-lock.json     

examples/emberjs/package-lock.json

  • Updated bancos-brasileiros dependency version from 6.1.2 to 6.1.4.
  • Adjusted integrity hash for the new version.
  • +7/-7     
    package.json
    Update bancos-brasileiros version in package.json               

    examples/emberjs/package.json

  • Changed bancos-brasileiros dependency version from 6.1.2 to 6.1.4.
  • +1/-1     

    💡 Penify usage:
    Comment /help on the PR to get a list of all available Penify tools and their descriptions

    Snyk has created this PR to upgrade bancos-brasileiros from 6.1.2 to 6.1.4.
    
    See this package in npm:
    bancos-brasileiros
    
    See this project in Snyk:
    https://app.snyk.io/org/guibranco/project/337dc2ee-ac4c-4ec7-8f33-7fddb26040de?utm_source=github&utm_medium=referral&page=upgrade-pr
    Copy link

    sourcery-ai bot commented Dec 21, 2024

    Reviewer's Guide by Sourcery

    Upgrade bancos-brasileiros from 6.1.2 to 6.1.4

    Class diagram showing updated bank entity structure

    classDiagram
        class Bank {
          +String longName
          +String shortName
          +String pixType
          +DateTime datePixStarted
          +String salaryPortability
          +String[] products
          +Boolean pcr
          +Boolean pcrp
        }
        note for Bank "Changes in v6.1.2-6.1.4 include:
    - Updated bank names
    - Added PIX support
    - Modified salary portability
    - Added PCR flags"
    
    Loading

    File-Level Changes

    Change Details Files
    Updated the bancos-brasileiros dependency
    • Upgraded bancos-brasileiros from version 6.1.2 to 6.1.4
    examples/emberjs/package.json
    examples/emberjs/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 21, 2024

    Important

    Review skipped

    Ignore keyword(s) in the title.

    Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. 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.


    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.

    @gstraccini gstraccini bot added the ☑️ auto-merge Automatic merging of pull requests (gstraccini-bot) label Dec 21, 2024
    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 ('[Snyk]' found in title). We assume it knows what it's doing!

    @github-actions github-actions bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 21, 2024
    @penify-dev penify-dev bot added the enhancement A enhancement to the project label Dec 21, 2024
    Copy link

    @korbit-ai korbit-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.

    I've completed my review and didn't find any issues.

    Need a new review? Comment /korbit-review on this PR and I'll review your latest changes.

    Korbit Guide: Usage and Customization

    Interacting with Korbit

    • You can manually ask Korbit to review your PR using the /korbit-review command in a comment at the root of your PR.
    • You can ask Korbit to generate a new PR description using the /korbit-generate-pr-description command in any comment on your PR.
    • Too many Korbit comments? I can resolve all my comment threads if you use the /korbit-resolve command in any comment on your PR.
    • Chat with Korbit on issues we post by tagging @korbit-ai in your reply.
    • Help train Korbit to improve your reviews by giving a 👍 or 👎 on the comments Korbit posts.

    Customizing Korbit

    • Check out our docs on how you can make Korbit work best for you and your team.
    • Customize Korbit for your organization through the Korbit Console.

    Current Korbit Configuration

    General Settings
    Setting Value
    Review Schedule Automatic excluding drafts
    Max Issue Count 10
    Automatic PR Descriptions
    Issue Categories
    Category Enabled
    Naming
    Database Operations
    Documentation
    Logging
    Error Handling
    Systems and Environment
    Objects and Data Structures
    Readability and Maintainability
    Asynchronous Processing
    Design Patterns
    Third-Party Libraries
    Performance
    Security
    Functionality

    Feedback and Support

    Note

    Korbit Pro is free for open source projects 🎉

    Looking to add Korbit to your team? Get started with a free 2 week trial here

    Copy link
    Contributor

    penify-dev bot commented Dec 21, 2024

    PR Review 🔍

    ⏱️ Estimated effort to review [1-5]

    1, because the changes are straightforward dependency updates with no complex logic involved.

    🧪 Relevant tests

    No

    ⚡ Possible issues

    No

    🔒 Security concerns

    No

    Copy link
    Contributor

    penify-dev bot commented Dec 21, 2024

    PR Code Suggestions ✨

    CategorySuggestion                                                                                                                                    Score
    Security
    Verify the integrity hash for the updated package version

    Ensure that the integrity hash for the new version of bancos-brasileiros is correct and
    matches the published package to avoid potential security issues.

    examples/emberjs/package-lock.json [4885]

    -"integrity": "sha512-6UVr37lr32OQshtPta2CZfSbphNDY+2ekYZ/7B+r6nsOczbNz5NlVtSUwCq7em+8FBLNw6BaWFeNMBUg9CLgEA=="
    +"integrity": "<correct integrity hash>"
     
    Suggestion importance[1-10]: 8

    Why: Verifying the integrity hash is crucial for security, as it ensures that the package has not been tampered with. However, the suggestion does not provide the correct hash, which is necessary for full implementation.

    8
    Possible issue
    Confirm that the resolved URL for the package is correct and accessible

    Check if the resolved URL for bancos-brasileiros points to the correct version and is
    accessible to ensure that the package can be fetched without issues.

    examples/emberjs/package-lock.json [4884]

    -"resolved": "https://registry.npmjs.org/bancos-brasileiros/-/bancos-brasileiros-6.1.4.tgz"
    +"resolved": "<valid resolved URL>"
     
    Suggestion importance[1-10]: 7

    Why: Confirming the resolved URL is important for ensuring that the package can be fetched correctly. The suggestion is valid but lacks specific details about how to verify the URL's accessibility.

    7
    Best practice
    Execute tests to confirm that the upgrade does not break existing functionality

    Consider running tests after upgrading bancos-brasileiros to ensure that the new version
    does not introduce any breaking changes.

    examples/emberjs/package-lock.json [12]

    -"bancos-brasileiros": "^6.1.4"
    +"bancos-brasileiros": "^6.1.4" // Run tests after upgrade
     
    Suggestion importance[1-10]: 6

    Why: Running tests after an upgrade is a good practice to catch potential issues. However, the suggestion could be improved by specifying which tests to run or how to approach testing after the upgrade.

    6
    Maintainability
    Verify compatibility of the new version with existing dependencies

    Ensure that the version constraint for bancos-brasileiros is compatible with other
    dependencies in your project to avoid potential conflicts.

    examples/emberjs/package.json [70]

    -"bancos-brasileiros": "^6.1.4"
    +"bancos-brasileiros": "^6.1.4" // Ensure compatibility with other dependencies
     
    Suggestion importance[1-10]: 5

    Why: While ensuring compatibility is important, the suggestion does not provide actionable steps or details on how to check for compatibility, making it less impactful.

    5

    Copy link

    New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

    Package New capabilities Transitives Size Publisher
    npm/bancos-brasileiros@6.1.4 None 0 321 kB guibranco

    🚮 Removed packages: npm/bancos-brasileiros@6.1.2

    View full report↗︎

    Copy link
    Contributor

    Infisical secrets check: ✅ No secrets leaked!

    💻 Scan logs
    7:56PM INF scanning for exposed secrets...
    7:56PM INF 1070 commits scanned.
    7:56PM INF scan completed in 2.62s
    7:56PM INF no leaks found
    

    Copy link
    Contributor

    Summary

    Status Count
    🔍 Total 455
    ✅ Successful 180
    ⏳ Timeouts 1
    🔀 Redirected 0
    👻 Excluded 220
    ❓ Unknown 0
    🚫 Errors 54

    Errors per input

    Errors in ./README.md

    Errors in ./README.pt-br.md

    Errors in ./data/bancos.md

    @guibranco guibranco merged commit 3fdd774 into main Dec 21, 2024
    34 of 35 checks passed
    @guibranco guibranco deleted the snyk-upgrade-4676e4af2df315bbe653ffd29fc76838 branch December 21, 2024 20:00
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    ☑️ auto-merge Automatic merging of pull requests (gstraccini-bot) enhancement A enhancement to the project Review effort [1-5]: 1 size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    2 participants