[Snyk] Upgrade stripe from 14.19.0 to 14.25.0 #3
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 14.19.0 to 14.25.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 12 versions ahead of your current version.
The recommended version was released on 4 months ago.
Release notes
Package name: stripe
Entitlements.ActiveEntitlement
andEntitlements.Feature
list
andretrieve
methods on resourceActiveEntitlement
create
,list
,retrieve
, andupdate
methods on resourceFeature
controller
onAccountCreateParams
fees
,losses
,requirement_collection
, andstripe_dashboard
onAccount.controller
none
on enumAccount.type
event_name
onBilling.MeterEventAdjustmentCreateParams
andBilling.MeterEventAdjustment
cancel
andtype
onBilling.MeterEventAdjustment
See the changelog for more details.
update
method on resourceEntitlements.Feature
risk_controls
onAccountCreateParams
,AccountUpdateParams
, andAccount
Discount.subscription_item
,QuoteLine.actions[].add_discount
,QuoteLine.actions[].add_item.discounts
,QuoteLine.actions[].remove_discount
,QuoteLine.actions[].set_discounts
,QuoteLine.actions[].set_items[].discounts
,Subscription.discounts
,SubscriptionItem.discounts
,SubscriptionSchedule.phases[].add_invoice_items[].discounts
,SubscriptionSchedule.phases[].discounts
, andSubscriptionSchedule.phases[].items[].discounts
to be requiredpromotion_code
onInvoiceAddLinesParams.lines[].discounts[]
,InvoiceUpdateLinesParams.lines[].discounts[]
,QuoteCreateParams.line_items[].discounts[]
,QuoteCreateParams.lines[].actions[].add_discount
,QuoteCreateParams.phases[].line_items[].discounts[]
,QuoteUpdateParams.line_items[].discounts[]
,QuoteUpdateParams.lines[].actions[].add_discount
, andQuoteUpdateParams.phases[].line_items[].discounts[]
QuoteLine.actions[].add_item.discounts
,QuoteLine.actions[].set_items[].discounts
,SubscriptionSchedule.phases[].add_invoice_items[].discounts
,SubscriptionSchedule.phases[].discounts
, andSubscriptionSchedule.phases[].items[].discounts
fromarray(DiscountsResourceStackableDiscount) | null
toarray(DiscountsResourceStackableDiscount)
Subscription.discounts
andSubscriptionItem.discounts
fromarray(expandable(Discount)) | null
toarray(expandable(Discount))
See the changelog for more details.
Charge.payment_method_details.us_bank_account.payment_reference
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.hosted_instructions_url
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.mobile_auth_url
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.data
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.image_url_png
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.image_url_svg
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code
, andPaymentIntent.payment_method_options.swish.reference
to be requiredCheckout.SessionCreateParams.payment_method_options.swish.reference
fromemptyable(string)
tostring
subscription_item
onDiscount
email
andphone
onIdentity.VerificationReport
,Identity.VerificationSession.options
,Identity.VerificationSession.verified_outputs
,Identity.VerificationSessionCreateParams.options
, andIdentity.VerificationSessionUpdateParams.options
verification_flow
onIdentity.VerificationReport
,Identity.VerificationSessionCreateParams
, andIdentity.VerificationSession
verification_flow
on enumsIdentity.VerificationReport.type
andIdentity.VerificationSession.type
provided_details
onIdentity.VerificationSessionCreateParams
,Identity.VerificationSessionUpdateParams
, andIdentity.VerificationSession
Identity.VerificationSessionCreateParams.type
to be optionalemail_unverified_other
,email_verification_declined
,phone_unverified_other
, andphone_verification_declined
on enumIdentity.VerificationSession.last_error.code
promotion_code
onInvoiceCreateParams.discounts[]
,InvoiceItemCreateParams.discounts[]
,InvoiceItemUpdateParams.discounts[]
,InvoiceUpdateParams.discounts[]
,QuoteCreateParams.discounts[]
, andQuoteUpdateParams.discounts[]
discounts
onInvoiceUpcomingLinesParams.subscription_items[]
,InvoiceUpcomingParams.subscription_items[]
,QuoteCreateParams.line_items[]
,QuoteUpdateParams.line_items[]
,SubscriptionCreateParams.add_invoice_items[]
,SubscriptionCreateParams.items[]
,SubscriptionCreateParams
,SubscriptionItemCreateParams
,SubscriptionItemUpdateParams
,SubscriptionItem
,SubscriptionSchedule.phases[].add_invoice_items[]
,SubscriptionSchedule.phases[].items[]
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.phases[].add_invoice_items[]
,SubscriptionScheduleCreateParams.phases[].items[]
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.phases[].add_invoice_items[]
,SubscriptionScheduleUpdateParams.phases[].items[]
,SubscriptionScheduleUpdateParams.phases[]
,SubscriptionUpdateParams.add_invoice_items[]
,SubscriptionUpdateParams.items[]
,SubscriptionUpdateParams
, andSubscription
Invoice.discounts
fromarray(expandable(deletable($Discount))) | null
toarray(expandable(deletable($Discount)))
allowed_merchant_countries
andblocked_merchant_countries
onIssuing.Card.spending_controls
,Issuing.CardCreateParams.spending_controls
,Issuing.CardUpdateParams.spending_controls
,Issuing.Cardholder.spending_controls
,Issuing.CardholderCreateParams.spending_controls
, andIssuing.CardholderUpdateParams.spending_controls
zip
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
offline
onSetupAttempt.payment_method_details.card_present
card_present
onSetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_options
, andSetupIntentUpdateParams.payment_method_options
mobile_phone_reader
on enumsTerminal.Reader.device_type
andTerminal.ReaderListParams.device_type
See the changelog for more details.
financial_account_transactions
,financial_account
,issuing_card
, andissuing_cards_list
onAccountSessionCreateParams.components
subscription_billing_cycle_anchor
,subscription_cancel_at_period_end
,subscription_cancel_at
,subscription_cancel_now
,subscription_default_tax_rates
,subscription_items
,subscription_prebilling
,subscription_proration_behavior
,subscription_proration_date
,subscription_resume_at
,subscription_start_date
, andsubscription_trial_end
onInvoiceCreatePreviewParams
See the changelog for more details.
Billing.MeterEventAdjustment
,Billing.MeterEvent
, andBilling.Meter
create
,deactivate
,list
,reactivate
,retrieve
, andupdate
methods on resourceMeter
create
method on resourcesMeterEventAdjustment
andMeterEvent
amazon_pay_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
verification_failed_representative_authority
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,BankAccount.future_requirements.errors[].code
, andBankAccount.requirements.errors[].code
destination_on_behalf_of_charge_management
onAccountSession.components.payment_details.features
,AccountSession.components.payments.features
,AccountSessionCreateParams.components.payment_details.features
, andAccountSessionCreateParams.components.payments.features
mandate
onCharge.payment_method_details.us_bank_account
,Treasury.InboundTransfer.origin_payment_method_details.us_bank_account
,Treasury.OutboundPayment.destination_payment_method_details.us_bank_account
, andTreasury.OutboundTransfer.destination_payment_method_details.us_bank_account
second_line
onIssuing.CardCreateParams
meter
onPlanCreateParams
,Plan
,Price.recurring
,PriceCreateParams.recurring
, andPriceListParams.recurring
See the changelog for more details.
Entitlements.ActiveEntitlementSummary
andEntitlements.ActiveEntitlement
list
method on resourceActiveEntitlement
mobilepay
onConfirmationToken.payment_method_preview
andConfirmationTokenCreateParams.testHelpers.payment_method_data
mobilepay
on enumConfirmationTokenCreateParams.testHelpers.payment_method_data.type
use_stripe_sdk
onConfirmationToken
payment_method
onConfirmationToken
ConfirmationToken.mandate_data
fromConfirmationTokensResourceMandateData
toConfirmationTokensResourceMandateData | null
mobilepay
on enumConfirmationToken.payment_method_preview.type
metadata
onEntitlements.FeatureCreateParams
andEntitlements.Feature
active
onEntitlements.Feature
entitlements.active_entitlement_summary.updated
on enumEvent.type
customer.entitlement_summary.updated
from enumEvent.type
entitlements.active_entitlement_summary.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
customer.entitlement_summary.updated
from enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
See the changelog for more details.
ConfirmationToken
andForwarding.Request
retrieve
method on resourceConfirmationToken
create
,list
, andretrieve
methods on resourceRequest
mobilepay_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
forwarding_api_inactive
,forwarding_api_invalid_parameter
,forwarding_api_upstream_connection_error
, andforwarding_api_upstream_connection_timeout
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
mobilepay
onCharge.payment_method_details
,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
payment_reference
onCharge.payment_method_details.us_bank_account
mobilepay
on enumsCustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
confirmation_token
onPaymentIntentConfirmParams
,PaymentIntentCreateParams
,SetupIntentConfirmParams
, andSetupIntentCreateParams
mobilepay
on enumsPaymentIntentConfirmParams.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
mobilepay
on enumPaymentMethod.type
name
onTerminal.ConfigurationCreateParams
,Terminal.ConfigurationUpdateParams
, andTerminal.Configuration
payout
onTreasury.ReceivedDebit.linked_flows
See the changelog for more details.
Billing.MeterEventAdjustment
,Billing.MeterEvent
, andBilling.Meter
create
,deactivate
,list
,reactivate
,retrieve
, andupdate
methods on resourceMeter
create
method on resourcesMeterEventAdjustment
andMeterEvent
create
test helper method on resourceConfirmationToken
add_lines
,remove_lines
, andupdate_lines
methods on resourceInvoice
multibanco
payment method throughout the API.second_line
onIssuing.PhysicalBundle.features
multibanco_display_details
onPaymentIntent.next_action
meter
onPlanCreateParams
,Plan
,Price.recurring
,PriceCreateParams.recurring
, andPriceListParams.recurring
See the changelog for more details.
Issuing.PersonalizationDesign
andIssuing.PhysicalBundle
create
,list
,retrieve
, andupdate
methods on resourcePersonalizationDesign
list
andretrieve
methods on resourcePhysicalBundle
personalization_design
onIssuing.CardCreateParams
,Issuing.CardListParams
,Issuing.CardUpdateParams
, andIssuing.Card
SubscriptionCreateParams.application_fee_percent
andSubscriptionUpdateParams.application_fee_percent
fromnumber
toemptyStringable(number)
sepa_debit
onSubscription.payment_settings.payment_method_options
,SubscriptionCreateParams.payment_settings.payment_method_options
, andSubscriptionUpdateParams.payment_settings.payment_method_options
See the changelog for more details.
billing_period_end
on enumsQuoteCreateParams.lines[].ends_at.type
,QuoteLine.ends_at.type
, andQuoteUpdateParams.lines[].ends_at.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: