[Snyk] Upgrade stripe from 6.28.0 to 16.2.0 #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade stripe from 6.28.0 to 16.2.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 489 versions ahead of your current version.
The recommended version was released on a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-JSONSCHEMA-1920922
SNYK-JS-QS-3153490
SNYK-JS-QS-3153490
SNYK-JS-QS-3153490
SNYK-JS-AJV-584908
SNYK-JS-EXPRESS-6474509
Release notes
Package name: stripe
add_lines
,remove_lines
, andupdate_lines
methods on resourceInvoice
payment_intent_fx_quote_invalid
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
posted_at
onTax.TransactionCreateFromCalculationParams
andTax.Transaction
See the changelog for more details.
payment_method_set_as_default
onCustomerSession.components.payment_element.features
andCustomerSessionCreateParams.components.payment_element.features
ch_uid
on enumsOrderCreateParams.tax_details.tax_ids[].type
andOrderUpdateParams.tax_details.tax_ids[].type
ch_uid
on enumOrder.tax_details.tax_ids[].type
See the changelog for more details.
filters
onCheckout.Session.payment_method_options.us_bank_account.financial_connections
,Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections
,InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,PaymentIntent.payment_method_options.us_bank_account.financial_connections
,PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections
,PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections
,PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections
,SetupIntent.payment_method_options.us_bank_account.financial_connections
,SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections
,SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections
,SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections
,Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
, andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
email_type
onCreditNoteCreateParams
,CreditNotePreviewLinesParams
, andCreditNotePreviewParams
account_subcategories
onFinancialConnections.Session.filters
andFinancialConnections.SessionCreateParams.filters
multibanco
,twint
, andzip
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
reboot_window
onTerminal.ConfigurationCreateParams
,Terminal.ConfigurationUpdateParams
, andTerminal.Configuration
See the changelog for more details.
#2113
This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
PlatformTaxFee
volume_decimal
toquantity_decimal
onIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel
,Issuing.Transaction.purchase_details.fuel
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
Capabilities.Requirements.disabled_reason
andCapabilities.Requirements.disabled_reason
are now enums with the below valuesother
paused.inactivity
pending.onboarding
pending.review
platform_disabled
platform_paused
rejected.inactivity
rejected.other
rejected.unsupported_business
requirements.fields_needed
Additions
charging_minute
,imperial_gallon
,kilogram
,kilowatt_hour
, andpound
on enumsIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit
card_canceled
,card_expired
,cardholder_blocked
,insecure_authorization_method
, andpin_blocked
on enumIssuing.Authorization.request_history[].reason
finalize_amount
test helper method on resourceIssuing.Authorization
ch_uid
on enumsCheckout.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
, andTaxId.type
ch_uid
on enumsCustomerCreateParams.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
, andTaxIdCreateParams.type
fleet
onIssuing.AuthorizationCaptureParams.testHelpers.purchase_details
,Issuing.AuthorizationCreateParams.testHelpers
,Issuing.Authorization
,Issuing.Transaction.purchase_details
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details
fuel
onIssuing.AuthorizationCreateParams.testHelpers
andIssuing.Authorization
industry_product_code
andquantity_decimal
onIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel
,Issuing.Transaction.purchase_details.fuel
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
2024-06-20
on enumWebhookEndpointCreateParams.api_version
#2118 Use worker module in Bun
See the changelog for more details.
mobilepay
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
tax_id_collection
onPaymentLinkUpdateParams
PaymentIntentConfirmParams.mandate_data
fromStripe.Emptyable<PaymentIntentConfirmParams.MandateData1 | PaymentIntentConfirmParams.MandateData2>
toStripe.Emptyable<PaymentIntentConfirmParams.MandateData>
where the new MandateData is a union of all the properties of MandateData1 and MandateData2PaymentMethodCreateParams.card
fromPaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2
toPaymentMethodCreateParams.Card
where the new Card is a union of all the properties of Card1 and Card2SetupIntentConfirmParams.mandate_data
fromStripe.Emptyable<SetupIntentConfirmParams.MandateData1 | SetupIntentConfirmParams.MandateData2>
toStripe.Emptyable<SetupIntentConfirmParams.MandateData>
where the new MandateData is a union of all the properties of MandateData1 and MandateData2See the changelog for more details.
de_stn
on enumsOrderCreateParams.tax_details.tax_ids[].type
andOrderUpdateParams.tax_details.tax_ids[].type
de_stn
on enumOrder.tax_details.tax_ids[].type
See the changelog for more details.
multibanco_payments
andtwint_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
twint
onCharge.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
, andSetupIntentUpdateParams.payment_method_data
multibanco
onCheckout.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
, andSetupIntentUpdateParams.payment_method_data
multibanco
andtwint
on enumsCheckout.SessionCreateParams.payment_method_types[]
,CustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
de_stn
on enumsCheckout.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
, andTaxId.type
multibanco
andtwint
on enumsConfirmationTokenCreateParams.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
, andSetupIntentUpdateParams.payment_method_data.type
multibanco
andtwint
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
de_stn
on enumsCustomerCreateParams.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
, andTaxIdCreateParams.type
multibanco_display_details
onPaymentIntent.next_action
invoice_settings
onSubscription
See the changelog for more details.
twint
onPaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_options
, andPaymentIntentUpdateParams.payment_method_options
See the changelog for more details.
gb_bank_transfer_payments
,jp_bank_transfer_payments
,mx_bank_transfer_payments
,sepa_bank_transfer_payments
, andus_bank_transfer_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
swish
on enumsInvoice.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[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
See the changelog for more details.
en-RO
andro-RO
on enumsOrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale
andOrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale
See the changelog for more details.
Important
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: