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 stripe from 15.7.0 to 15.12.0 #1114

Closed
wants to merge 1 commit into from

Conversation

k2xl
Copy link
Collaborator

@k2xl k2xl commented Jul 18, 2024

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade stripe from 15.7.0 to 15.12.0.

ℹ️ 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 8 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: stripe
  • 15.12.0 - 2024-06-17
    • #2109 Update generated code
      • Add support for new value mobilepay on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
      • Add support for tax_id_collection on PaymentLinkUpdateParams
    • #2111 Where params are union of types, merge the types instead of having numbered suffixes in type names
      • Change type of PaymentIntentConfirmParams.mandate_data from Stripe.Emptyable<PaymentIntentConfirmParams.MandateData1 | PaymentIntentConfirmParams.MandateData2> to Stripe.Emptyable<PaymentIntentConfirmParams.MandateData> where the new MandateData is a union of all the properties of MandateData1 and MandateData2
      • Change type of PaymentMethodCreateParams.card from PaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2 to PaymentMethodCreateParams.Card where the new Card is a union of all the properties of Card1 and Card2
      • Change type of SetupIntentConfirmParams.mandate_data from Stripe.Emptyable<SetupIntentConfirmParams.MandateData1 | SetupIntentConfirmParams.MandateData2> to Stripe.Emptyable<SetupIntentConfirmParams.MandateData> where the new MandateData is a union of all the properties of MandateData1 and MandateData2

    See the changelog for more details.

  • 15.12.0-beta.1 - 2024-06-13
    • #2103 Update generated code for beta
      • Add support for new value de_stn on enums OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].type
      • Add support for new value de_stn on enum Order.tax_details.tax_ids[].type

    See the changelog for more details.

  • 15.11.0 - 2024-06-13
    • #2102 Update generated code
      • Add support for multibanco_payments and twint_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
      • Add support for twint on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
      • Add support for multibanco on Checkout.Session.payment_method_options, Checkout.SessionCreateParams.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
      • Add support for new values multibanco and twint on enums Checkout.SessionCreateParams.payment_method_types[], CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
      • Add support for new value de_stn on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
      • Add support for new values multibanco and twint on enums ConfirmationTokenCreateParams.testHelpers.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
      • Add support for new values multibanco and twint on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
      • Add support for new value de_stn on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
      • Add support for multibanco_display_details on PaymentIntent.next_action
      • Add support for invoice_settings on Subscription

    See the changelog for more details.

  • 15.11.0-beta.1 - 2024-06-06
    • #2098 Update generated code for beta
      • Add support for twint on PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_options, and PaymentIntentUpdateParams.payment_method_options

    See the changelog for more details.

  • 15.10.0 - 2024-06-06
    • #2101 Update generated code
      • Add support for gb_bank_transfer_payments, jp_bank_transfer_payments, mx_bank_transfer_payments, sepa_bank_transfer_payments, and us_bank_transfer_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
      • Add support for new value swish on enums Invoice.payment_settings.payment_method_types[], InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], Subscription.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]

    See the changelog for more details.

  • 15.10.0-beta.1 - 2024-05-30
    • #2094 Update generated code for beta
      • Add support for new values en-RO and ro-RO on enums OrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale and OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale

    See the changelog for more details.

  • 15.9.0 - 2024-06-03
    • #2095 Update generated code
      • Add support for new value verification_requires_additional_proof_of_registration on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, and BankAccount.requirements.errors[].code
      • Add support for default_value on Checkout.Session.custom_fields[].dropdown, Checkout.Session.custom_fields[].numeric, Checkout.Session.custom_fields[].text, Checkout.SessionCreateParams.custom_fields[].dropdown, Checkout.SessionCreateParams.custom_fields[].numeric, and Checkout.SessionCreateParams.custom_fields[].text
      • Add support for generated_from on ConfirmationToken.payment_method_preview.card and PaymentMethod.card
      • Add support for new values issuing_personalization_design.activated, issuing_personalization_design.deactivated, issuing_personalization_design.rejected, and issuing_personalization_design.updated on enum Event.type
      • Change Issuing.Card.personalization_design and Issuing.PhysicalBundle.features to be required
      • Add support for new values en-RO and ro-RO on enums PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale, PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale, and PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
      • Add support for new values issuing_personalization_design.activated, issuing_personalization_design.deactivated, issuing_personalization_design.rejected, and issuing_personalization_design.updated on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

    See the changelog for more details.

  • 15.8.0 - 2024-05-23
    • #2092 Update generated code
      • Add support for external_account_collection on AccountSession.components.balances.features, AccountSession.components.payouts.features, AccountSessionCreateParams.components.balances.features, and AccountSessionCreateParams.components.payouts.features
      • Add support for new value terminal_reader_invalid_location_for_payment on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
      • Add support for payment_method_remove on Checkout.Session.saved_payment_method_options

    See the changelog for more details.

  • 15.7.0 - 2024-05-16
from stripe 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:

Snyk has created this PR to upgrade stripe from 15.7.0 to 15.12.0.

See this package in npm:
stripe

See this project in Snyk:
https://app.snyk.io/org/k2xl/project/cf09253a-8e4c-4f7f-b75f-a1763e5c78eb?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.06%. Comparing base (2af98c5) to head (a637438).

❗ There is a different number of reports uploaded between BASE (2af98c5) and HEAD (a637438). Click for more details.

HEAD has 28 uploads less than BASE
Flag BASE (2af98c5) HEAD (a637438)
32 4
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1114      +/-   ##
==========================================
- Coverage   81.25%   75.06%   -6.20%     
==========================================
  Files         238      238              
  Lines        6766     6698      -68     
  Branches     1432     1432              
==========================================
- Hits         5498     5028     -470     
- Misses       1216     1575     +359     
- Partials       52       95      +43     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sspenst sspenst closed this Aug 18, 2024
@sspenst sspenst deleted the snyk-upgrade-7c08ef4694275856ef08da165e871785 branch August 18, 2024 06:12
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.

3 participants