Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

build(deps): bump minimist and karma #3848

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 17, 2022

Bumps minimist to 1.2.6 and updates ancestor dependency karma. These dependencies need to be updated together.

Updates minimist from 0.0.10 to 1.2.6

Changelog

Sourced from minimist's changelog.

v1.2.6 - 2022-03-21

Commits

  • test from prototype pollution PR bc8ecee
  • isConstructorOrProto adapted from PR c2b9819
  • security notice for additional prototype pollution issue ef88b93

v1.2.5 - 2020-03-12

v1.2.4 - 2020-03-11

Commits

  • security notice 4cf1354
  • additional test for constructor prototype pollution 1043d21

v1.2.3 - 2020-03-10

Commits

  • more failing proto pollution tests 13c01a5
  • even more aggressive checks for protocol pollution 38a4d1c

v1.2.2 - 2020-03-10

Commits

v1.2.1 - 2020-03-10

Merged

Commits

v1.2.0 - 2015-08-24

Commits

... (truncated)

Commits

Updates karma from 1.5.0 to 6.4.1

Release notes

Sourced from karma's releases.

v6.4.1

6.4.1 (2022-09-19)

Bug Fixes

v6.4.0

6.4.0 (2022-06-14)

Features

  • support SRI verification of link tags (dc51a2e)
  • support SRI verification of script tags (6a54b1c)

v6.3.20

6.3.20 (2022-05-13)

Bug Fixes

  • prefer IPv4 addresses when resolving domains (e17698f), closes #3730

v6.3.19

6.3.19 (2022-04-19)

Bug Fixes

  • client: error out when opening a new tab fails (099b85e)

v6.3.18

6.3.18 (2022-04-13)

Bug Fixes

  • deps: upgrade socket.io to v4.4.1 (52a30bb)

v6.3.17

6.3.17 (2022-02-28)

Bug Fixes

  • deps: update colors to maintained version (#3763) (fca1884)

v6.3.16

... (truncated)

Changelog

Sourced from karma's changelog.

6.4.1 (2022-09-19)

Bug Fixes

6.4.0 (2022-06-14)

Features

  • support SRI verification of link tags (dc51a2e)
  • support SRI verification of script tags (6a54b1c)

6.3.20 (2022-05-13)

Bug Fixes

  • prefer IPv4 addresses when resolving domains (e17698f), closes #3730

6.3.19 (2022-04-19)

Bug Fixes

  • client: error out when opening a new tab fails (099b85e)

6.3.18 (2022-04-13)

Bug Fixes

  • deps: upgrade socket.io to v4.4.1 (52a30bb)

6.3.17 (2022-02-28)

Bug Fixes

  • deps: update colors to maintained version (#3763) (fca1884)

6.3.16 (2022-02-10)

Bug Fixes

  • security: mitigate the "Open Redirect Vulnerability" (ff7edbb)

... (truncated)

Commits
  • 0013121 chore(release): 6.4.1 [skip ci]
  • 63d86be fix: pass integrity value
  • 84f7cc3 chore(release): 6.4.0 [skip ci]
  • f2d0663 docs: add integrity parameter
  • dc51a2e feat: support SRI verification of link tags
  • 6a54b1c feat: support SRI verification of script tags
  • 5e71cf5 chore(release): 6.3.20 [skip ci]
  • e17698f fix: prefer IPv4 addresses when resolving domains
  • 60f4f79 build: add Node 16 and 18 to the CI matrix
  • 6ff5aaf chore(release): 6.3.19 [skip ci]
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 17, 2022
pshiu and others added 2 commits November 1, 2022 10:06
* temp: add project-zebra to branches that should run ci (#3824)

* fix: initial implementation of stripe fixes (#3817)


Co-authored-by: John Nagro <[email protected]>

* feat: Add waffle flag to enable Stripe payments (#3816)

REV-3004

* feat: initial implementation of Stripe processor (#3826)

Co-authored-by: wdrussell2015 <[email protected]>
Co-authored-by: John Nagro <[email protected]>

* fix: billing address creation

* fix: retreive calls cannot take idempotency keys

* temp: add logging

* temp: add more logging

* temp: add  logging

* fix: parsing address from payment intent

* chore: cleanup logs

* fix: Get billing address line2 default empty (#3833)

* fix: Stripe billing address line2 default to empty if null (#3835)

REV-3069

* feat: add SDN check (#3834)

* feat: add SDN check
* feat: use confirm call to complete transaction with stripe in ecommerce checkout endpoint

* fix: make capture-context more resilient to idempotency errors (#3836)

* fix: make capture-context more resilient to idempotency errors

* fix: add new card types for stripe

* feat: /management fulfill actions for Stripe

FulfillFrozenBaskets is a helper class for a management page in
Ecommerce (hosted at URL /management) that fulfills baskets that are
paid but stuck in queue for fulfillment, to be used if, for example,
ecommerce-worker is down.

Add Stripe support for FulfillFrozenBaskets.

Change FulfillFrozenBaskets so it does not continue fulfillment if the
billing details are not retrievable.

For Stripe, this handles when:
* The PaymentMethod was not expanded in the PaymentIntent stored in the
  PaymentProcessorResponse (generating a TypeError)
* The PaymentMethod was not a card (generating a KeyError).

Also switched Cybersource to not fulfill if it cannot find the card
brand.

* fix: update PaymentIntent before confirmation

* fix: stripe refunds should be of payment_intents, not charges

* fix: change PaymentIntents to update_or_create

Apparently, idempotency keys can expire after 24 hours.

https://stripe.com/docs/api/idempotent_requests

"Keys are eligible to be removed from the system automatically after
they're at least 24 hours old, and a new request is generated if a key
is reused after the original has been pruned."

* refactor: reduce number of statements in management/utils.py for quality

* fix: enable Stripe custom actions beta in settings

* fix: finish passing api_version and enable_telemetry to stripe client

* fix: add 'unknown' stripe card brand

* fix: stripe api calls should be to payment_method and payment_intent_id

* test: patch for stripePaymentIntent.modify

* fix: StripeCheckoutView as a View instead of a FormView-like class

StripeCheckoutView was previously like a FormView. However, our
implementation of Stripe is much simpler and we opted to remove the
overhead of Forms in lieu of trying to ensure all existing interfaces
related to StripeSubmitForm.

* fix: handle when Stripe charge is already refunded

* test: correct refund_mock to use new payment_intent API

* test: update Stripe mock responses for new API using actual calls

* fix: log when payment_intent_id is missing from basket

* refactor: move logging before retrieving any baskets

* fix: clear out edx.org-specific Stripe publishable_key and secret_key

* fix: throw a 500 on capture_context exceptions

The Payment MFE will hang silently if capture_context fails.

Throwing the exception will show an error message in Payment MFE, cluing
the user in to the fact that there might be a problem.

* fix: convert StripeCheckoutView to DRF for JWT auth

Looks like JWT auth only works with DRF.

* fix: return 200s or 400s instead of 302s in StripeCheckoutView

We tried using 302s to redirect the Payment MFE to the receipt page.
This didn't work because the library that we use for requests, Axios,
doesn't appear to support not following redirects.

Return a 200 or 400 instead, and separately instruct the frontend on
what to do when receiving these.

* fix: deprecate ECOMMERCE_PAYMENT_PROCESSOR_CONFIG.stripe.error_url

error_path is already autoset by _oscar.py and grabbed by property
processors.stripe.Stripe.error_url.

* Revert "fix: throw a 500 on capture_context exceptions"

This reverts commit 1008272.

It looks like there is a chance that we might depend on this behavior
(no errors on exceptions in _add_capture_context) given how this error
occurs with non-negligible frequency in production.

Will attempt to warn user on frontend side.

* add self.record_processor_response to more stripe code paths (#3852)

* feat: REV-3076 | record payment processor for various stripe logical flows

* chore: update tests for sanity checks

* fix: address comments

* fix: use ISO 3166-1 alpha-2 country code for SDN check (#3854)

* fix: add waffle flag ENABLE_STRIPE_PAYMENT_PROCESSOR to get_client_side_payment_processor_class()

The client-side payment processor decides which payment processor
Ecommerce will use when generating the capture context for a payment.

Force the client-side payment processor to be 'stripe' when the waffle
flag is on.

* fix: make postcode & state optional for stripe

Cybersource has an optional line2, postcode, and state:

https://github.com/openedx/ecommerce/blob/05404ebac527da1f6a0fac7df262ca79f3acec56/ecommerce/extensions/payment/views/cybersource.py#L544-L547

Do the same for Stripe.

Co-authored-by: Chris Pappas <[email protected]>
Co-authored-by: John Nagro <[email protected]>
Co-authored-by: Juliana Kang <[email protected]>
Co-authored-by: wdrussell2015 <[email protected]>
Co-authored-by: Chris Pappas <[email protected]>
Bumps [minimist](https://github.com/minimistjs/minimist) to 1.2.6 and updates ancestor dependency [karma](https://github.com/karma-runner/karma). These dependencies need to be updated together.


Updates `minimist` from 0.0.10 to 1.2.6
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](minimistjs/minimist@v0.0.10...v1.2.6)

Updates `karma` from 1.5.0 to 6.4.1
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](karma-runner/karma@v1.5.0...v6.4.1)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/minimist-and-karma-1.2.6 branch from 4e980a8 to c2c3e16 Compare November 1, 2022 14:07
@feanil feanil closed this Nov 4, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 4, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/minimist-and-karma-1.2.6 branch November 4, 2024 16:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants