[Snyk] Upgrade stripe from 6.28.0 to 16.4.0 #11
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.4.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 492 versions ahead of your current version.
The recommended version was released on 21 days 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
customer
onConfirmationToken.payment_method_preview
issuing_dispute.funds_rescinded
on enumEvent.type
multibanco
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[]
stripe_s700
on enumsTerminal.Reader.device_type
andTerminal.ReaderListParams.device_type
issuing_dispute.funds_rescinded
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
See the changelog for more details.
ConfirmationToken.payment_method_options
andCustomerSession.components.payment_element
to be requirednot_qualified
on enumDispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3.status
See the changelog for more details.
payment_method_update
onCustomerSession.components.payment_element.features
andCustomerSessionCreateParams.components.payment_element.features
. Users are expected to completely migrate from usingpayment_method_update
.FinancialConnections.Institution
list
andretrieve
methods on resourceInstitution
institution
onCheckout.Session.payment_method_options.us_bank_account.financial_connections.filters
,FinancialConnections.Session.filters
,FinancialConnections.SessionCreateParams.filters
,Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
,InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
,PaymentIntent.payment_method_options.us_bank_account.financial_connections.filters
,PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters
,PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters
,PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters
,SetupIntent.payment_method_options.us_bank_account.financial_connections.filters
,SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters
,SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters
,SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters
,Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
, andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
payment_method_allow_redisplay_filters
,payment_method_redisplay_limit
,payment_method_redisplay
, andpayment_method_save_usage
onCustomerSession.components.payment_element.features
andCustomerSessionCreateParams.components.payment_element.features
balance
on enumsFinancialConnections.Account.subscriptions[]
,FinancialConnections.AccountSubscribeParams.features[]
, andFinancialConnections.AccountUnsubscribeParams.features[]
See the changelog for more details.
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.
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: