-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update dependency stripe to v14.25.0 #38
base: main
Are you sure you want to change the base?
Conversation
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 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? TipsChatThere are 3 ways to chat with CodeRabbit:
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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Here's the code health analysis summary for commits Analysis Summary
|
1e67fe8
to
30b2dcd
Compare
"integrity": "sha512-iwV5SKoXuRIQFne4twGwiiczOkVW73eE2CKn6ltUKCacDy4SGHBX6kj1/xCV2bzzzQjcVtsh5F1aAbJTmf3tLw==", | ||
"version": "14.21.0", | ||
"resolved": "https://registry.npmjs.org/stripe/-/stripe-14.21.0.tgz", | ||
"integrity": "sha512-PFmpl35Myn6UDdVLTHcuppdbkPVvlQfkMHOmgGZh5QOdSUxVmvz090Z4obLg8ta1MNs1PNpzr9i7E39iAIv07A==", | ||
"dependencies": { | ||
"@types/node": ">=8.1.0", | ||
"qs": "^6.11.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Version Bump:
- The version for
stripe
has been updated from "14.17.0" to "14.21.0". Ensure compatibility with other dependencies considering this change.
- The version for
-
Dependency Update:
qs
dependency remains at "^6.11.0". Consider updating this dependency to the latest compatible version if necessary.
-
Security:
- Confirm that the new version of
stripe
does not introduce security vulnerabilities or issues that might impact your application.
- Confirm that the new version of
-
URL Changes:
- Check if the new resolved URL for
stripe
points to a valid and trusted source.
- Check if the new resolved URL for
-
Checksum Integrity:
- The integrity hash has been updated based on the new version. Ensure that the new hash matches the integrity of the downloaded package.
-
Testing:
- After the update, test relevant functionalities thoroughly to ensure that components using
stripe
continue to work as expected.
- After the update, test relevant functionalities thoroughly to ensure that components using
-
Documentation:
- Update any relevant documentation or README files to reflect the changes made to the
stripe
dependency.
- Update any relevant documentation or README files to reflect the changes made to the
30b2dcd
to
c3184e2
Compare
"integrity": "sha512-iwV5SKoXuRIQFne4twGwiiczOkVW73eE2CKn6ltUKCacDy4SGHBX6kj1/xCV2bzzzQjcVtsh5F1aAbJTmf3tLw==", | ||
"version": "14.22.0", | ||
"resolved": "https://registry.npmjs.org/stripe/-/stripe-14.22.0.tgz", | ||
"integrity": "sha512-Pj8SAdTNjMq42UnWzBTTy8KMQ8qbQoVemPHbw3x+rHvwq1Psg9UFPT58j54F5os/SCgUAOZSEMcUedvzIDuqvw==", | ||
"dependencies": { | ||
"@types/node": ">=8.1.0", | ||
"qs": "^6.11.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review:
-
Version Update:
- The version of
"stripe"
has been changed from"14.17.0"
to"14.22.0"
. - Corresponding integrity checksum (
integrity
) has been updated.
- The version of
-
Dependency Updates / Changes:
- No explicit dependency changes are present in the provided snippet.
- The dependencies
"@types/node"
and"qs"
remain with their specified versions.
-
Risk Assessment:
- The code patch appears to mainly involve a version update of the
"stripe"
package and its associated integrity checksum. - Given that it's a straightforward version bump without evident code modifications, there shouldn't be significant new risks introduced.
- The code patch appears to mainly involve a version update of the
-
Improvement Suggestions:
- Consider providing more context around why the version update was necessary (e.g., bug fixes, new features, security patches).
- Ensure the compatibility of the new versions with existing components and any downstream dependencies.
Overall, the provided code patch seems minimal and specific to updating the "stripe"
package version. It looks safe on its own, but always test thoroughly in your development environment before deploying changes to production.
c3184e2
to
78025d8
Compare
"integrity": "sha512-iwV5SKoXuRIQFne4twGwiiczOkVW73eE2CKn6ltUKCacDy4SGHBX6kj1/xCV2bzzzQjcVtsh5F1aAbJTmf3tLw==", | ||
"version": "14.22.0", | ||
"resolved": "https://registry.npmjs.org/stripe/-/stripe-14.22.0.tgz", | ||
"integrity": "sha512-Pj8SAdTNjMq42UnWzBTTy8KMQ8qbQoVemPHbw3x+rHvwq1Psg9UFPT58j54F5os/SCgUAOZSEMcUedvzIDuqvw==", | ||
"dependencies": { | ||
"@types/node": ">=8.1.0", | ||
"qs": "^6.11.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review:
-
Version Update:
- The version of the
"stripe"
module has been updated from14.17.0
to14.22.0
, and the corresponding resolved URL and integrity hash have been updated. This seems like a routine package update.
- The version of the
-
Dependency Updates:
- Dependencies are specified for the
"stripe"
module ("@types/node": ">=8.1.0", "qs": "^6.11.0"
). Ensure that these dependencies are up-to-date and compatible with the current project setup.
- Dependencies are specified for the
-
Risk and Improvement Suggestions:
- Risk: Verify if the updated version
14.22.0
of"stripe"
or its dependencies introduce any breaking changes in functionality or security vulnerabilities. - Improvement:
- Regularly review and update dependencies to ensure you benefit from bug fixes, performance improvements, and security patches.
- Consider using a lock file (e.g.,
package-lock.json
oryarn.lock
) to maintain consistent dependency versions across environments.
- Risk: Verify if the updated version
-
Code Quality:
- Based on the provided snippet, no apparent code quality issues are visible. The changes seem straightforward and limited to updating the version information for the Stripe module.
-
Testing:
- After this change, it would be advisable to run tests to verify that the functionality of your application hasn't been impacted by the updates.
-
Documentation:
- Ensure that relevant documentation is updated to reflect the changes made to the Stripe module version.
Overall:
The code patch appears to be a standard version upgrade for the Stripe module. Ensure that the updated version works as expected with existing code and dependencies. Continue monitoring for potential issues post-upgrade, and consider automating dependency checks to stay informed about newer releases and potential vulnerabilities in dependencies.
78025d8
to
b18a7df
Compare
"integrity": "sha512-iwV5SKoXuRIQFne4twGwiiczOkVW73eE2CKn6ltUKCacDy4SGHBX6kj1/xCV2bzzzQjcVtsh5F1aAbJTmf3tLw==", | ||
"version": "14.23.0", | ||
"resolved": "https://registry.npmjs.org/stripe/-/stripe-14.23.0.tgz", | ||
"integrity": "sha512-OPD7LqBmni6uDdqA05GGgMZyyRWxJOehONBNC9tYgY4Uh089EtXd6QLIgRGrqTDlQH3cA2BXo848nxwa/zsQzw==", | ||
"dependencies": { | ||
"@types/node": ">=8.1.0", | ||
"qs": "^6.11.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code patch shows an update to the version of the "stripe"
package from "14.17.0"
to "14.23.0"
. Here are some points for your code review:
Bug Risk:
- The update involves changing the version number and integrity hash, which must align with what is published on the npm registry. Ensure that the new version works correctly in your project and doesn't introduce any unexpected bugs.
Improvement Suggestions:
-
Consistency in Version Updates: If you're updating the
"stripe"
package due to a fix or feature enhancement, consider updating related packages to maintain compatibility and potentially optimize performance. -
Security Considerations: Always keep dependencies up-to-date to leverage security patches and improvements.
-
Automated Testing: After updating dependencies, run tests to validate that your application still functions correctly with the new version.
-
Review Changes: Verify if there are any specific changes in the
"stripe"
package between the two versions that might affect your application. Check the release notes or changelog for any breaking changes or deprecations. -
Dependency Locking: If not done already, consider using a lock file (like
package-lock.json
oryarn.lock
) to ensure consistent installations across different environments.
Remember, these suggestions aim to enhance code stability, security, and performance. Always tailor them according to your project's specific needs and requirements.
b18a7df
to
ff610c8
Compare
ff610c8
to
4ca88d5
Compare
4ca88d5
to
b4604ea
Compare
Quality Gate passedIssues Measures |
b4604ea
to
2aafef5
Compare
Quality Gate passedIssues Measures |
This PR contains the following updates:
14.17.0
->14.25.0
Release Notes
stripe/stripe-node (stripe)
v14.25.0
Compare Source
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
v14.24.0
Compare Source
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
v14.23.0
Compare Source
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
v14.22.0
Compare Source
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
v14.21.0
Compare Source
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
v14.20.0
Compare Source
documents
onAccountSession.components
andAccountSessionCreateParams.components
request_three_d_secure
onCheckout.Session.payment_method_options.card
andCheckout.SessionCreateParams.payment_method_options.card
created
onCreditNoteListParams
sepa_debit
onInvoice.payment_settings.payment_method_options
,InvoiceCreateParams.payment_settings.payment_method_options
, andInvoiceUpdateParams.payment_settings.payment_method_options
v14.19.0
Compare Source
Identity.VerificationReport.type
,SubscriptionSchedule.default_settings.invoice_settings.account_tax_ids
,SubscriptionSchedule.phases[].invoice_settings.account_tax_ids
, andTaxId.owner
to be requiredIdentity.VerificationSession.type
fromenum('document'|'id_number') | null
toenum('document'|'id_number')
number
onInvoiceCreateParams
andInvoiceUpdateParams
enable_customer_cancellation
onTerminal.Reader.action.process_payment_intent.process_config
,Terminal.Reader.action.process_setup_intent.process_config
,Terminal.ReaderProcessPaymentIntentParams.process_config
, andTerminal.ReaderProcessSetupIntentParams.process_config
refund_payment_config
onTerminal.Reader.action.refund_payment
andTerminal.ReaderRefundPaymentParams
payment_method
onTokenCreateParams.bank_account
v14.18.0
Compare Source
client_reference_id
onIdentity.VerificationReportListParams
,Identity.VerificationReport
,Identity.VerificationSessionCreateParams
,Identity.VerificationSessionListParams
, andIdentity.VerificationSession
include_and_require
from enumInvoiceCreateParams.pending_invoice_items_behavior
service_tax
from enumsTaxRate.tax_type
,TaxRateCreateParams.tax_type
, andTaxRateUpdateParams.tax_type
created
onTreasury.OutboundPaymentListParams
CapabilityListParams
renamed toAccountListCapabilitiesParams
CapabilityRetrieveParams
renamed toAccountRetrieveCapabilityParams
CapabilityUpdateParams
renamed toAccountUpdateCapabilityParams
CashBalanceRetrieveParams
renamed toCustomerRetrieveCashBalanceParams
CashBalanceUpdateParams
renamed toCustomerUpdateCashBalanceParams
CreditNoteLineItemListParams
renamed toCreditNoteListLineItemsParams
CustomerBalanceTransactionCreateParams
renamed toCustomerCreateBalanceTransactionParams
CustomerBalanceTransactionListParams
renamed toCustomerListBalanceTransactionsParams
CustomerBalanceTransactionRetrieveParams
renamed toCustomerRetrieveBalanceTransactionParams
CustomerBalanceTransactionUpdateParams
renamed toCustomerUpdateBalanceTransactionParams
CustomerCashBalanceTransactionListParams
renamed toCustomerListCashBalanceTransactionsParams
CustomerCashBalanceTransactionRetrieveParams
renamed toCustomerRetrieveCashBalanceTransactionParams
CustomerSourceCreateParams
renamed toCustomerCreateSourceParams
CustomerSourceDeleteParams
renamed toCustomerDeleteSourceParams
CustomerSourceListParams
renamed toCustomerListSourcesParams
CustomerSourceRetrieveParams
renamed toCustomerRetrieveSourceParams
CustomerSourceUpdateParams
renamed toCustomerUpdateSourceParams
CustomerSourceVerifyParams
renamed toCustomerVerifySourceParams
ExternalAccountCreateParams
renamed toAccountCreateExternalAccountParams
ExternalAccountDeleteParams
renamed toAccountDeleteExternalAccountParams
ExternalAccountListParams
renamed toAccountListExternalAccountsParams
ExternalAccountRetrieveParams
renamed toAccountRetrieveExternalAccountParams
ExternalAccountUpdateParams
renamed toAccountUpdateExternalAccountParams
FeeRefundCreateParams
renamed toApplicationFeeCreateRefundParams
FeeRefundListParams
renamed toApplicationFeeListRefundsParams
FeeRefundRetrieveParams
renamed toApplicationFeeRetrieveRefundParams
FeeRefundUpdateParams
renamed toApplicationFeeUpdateRefundParams
InvoiceLineItemListParams
renamed toInvoiceListLineItemsParams
InvoiceLineItemUpdateParams
renamed toInvoiceUpdateLineItemParams
LoginLinkCreateParams
renamed toAccountCreateLoginLinkParams
PersonCreateParams
renamed toAccountCreatePersonParams
PersonDeleteParams
renamed toAccountDeletePersonParams
PersonListParams
renamed toAccountListPersonsParams
PersonRetrieveParams
renamed toAccountRetrievePersonParams
PersonUpdateParams
renamed toAccountUpdatePersonParams
TaxIdCreateParams
renamed toCustomerCreateTaxIdParams
TaxIdDeleteParams
renamed toCustomerDeleteTaxIdParams
TaxIdListParams
renamed toCustomerListTaxIdsParams
TaxIdRetrieveParams
renamed toCustomerRetrieveTaxIdParams
TransferReversalCreateParams
renamed toTransferCreateReversalParams
TransferReversalListParams
renamed toTransferListReversalsParams
TransferReversalRetrieveParams
renamed toTransferRetrieveReversalParams
TransferReversalUpdateParams
renamed toTransferUpdateReversalParams
UsageRecordCreateParams
renamed toSubscriptionItemCreateUsageRecordParams
UsageRecordSummaryListParams
renamed toSubscriptionItemListUsageRecordSummariesParams
Old names will still work but are deprecated and will be removed in future versions.
create
,del
,list
, andretrieve
methods on resourceTaxId
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.