diff --git a/CHANGELOG.md b/CHANGELOG.md index 2be539f7c..ba52f3018 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Moved the indicator for active filters from experimental to general availability - Improved the error handling in the biometric authentication registration - Set up SSL for local development +- Upgraded the _Stripe_ dependencies ## 2.89.0 - 2024-06-14 diff --git a/apps/api/src/app/subscription/subscription.service.ts b/apps/api/src/app/subscription/subscription.service.ts index d53944787..545450669 100644 --- a/apps/api/src/app/subscription/subscription.service.ts +++ b/apps/api/src/app/subscription/subscription.service.ts @@ -22,7 +22,7 @@ export class SubscriptionService { this.stripe = new Stripe( this.configurationService.get('STRIPE_SECRET_KEY'), { - apiVersion: '2022-11-15' + apiVersion: '2024-04-10' } ); } diff --git a/package.json b/package.json index 9e3fa7b73..ffebe9b4c 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "@prisma/client": "5.15.0", "@simplewebauthn/browser": "9.0.1", "@simplewebauthn/server": "9.0.3", - "@stripe/stripe-js": "1.47.0", + "@stripe/stripe-js": "3.5.0", "alphavantage": "2.2.0", "big.js": "6.2.1", "body-parser": "1.20.2", @@ -121,7 +121,7 @@ "ngx-device-detector": "5.0.1", "ngx-markdown": "17.1.1", "ngx-skeleton-loader": "7.0.0", - "ngx-stripe": "15.5.0", + "ngx-stripe": "18.0.0", "papaparse": "5.3.1", "passport": "0.7.0", "passport-google-oauth20": "2.0.0", @@ -129,7 +129,7 @@ "prisma": "5.15.0", "reflect-metadata": "0.1.13", "rxjs": "7.5.6", - "stripe": "11.12.0", + "stripe": "15.11.0", "svgmap": "2.6.0", "twitter-api-v2": "1.14.2", "uuid": "9.0.1", diff --git a/yarn.lock b/yarn.lock index 610519b22..227bde2bf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7420,10 +7420,10 @@ "@types/express" "^4.7.0" file-system-cache "2.3.0" -"@stripe/stripe-js@1.47.0": - version "1.47.0" - resolved "https://registry.yarnpkg.com/@stripe/stripe-js/-/stripe-js-1.47.0.tgz#48626a2e43302330aa826ce498a2d9761db4053d" - integrity sha512-jKSClqEIKS2MbPCXlSsseDSZyJ3dVrfUrYMz5LBY1o9iS2tfKbpTZACt8r2g+xyQozI+uHr76pVTyFsmBKA4Mg== +"@stripe/stripe-js@3.5.0": + version "3.5.0" + resolved "https://registry.yarnpkg.com/@stripe/stripe-js/-/stripe-js-3.5.0.tgz#7fff3d9d931e972c24dcc8ee25f7481a58879b2b" + integrity sha512-pKS3wZnJoL1iTyGBXAvCwduNNeghJHY6QSRSNNvpYnrrQrLZ6Owsazjyynu0e0ObRgks0i7Rv+pe2M7/MBTZpQ== "@swc/core-darwin-arm64@1.3.95": version "1.3.95" @@ -16308,10 +16308,10 @@ ngx-skeleton-loader@7.0.0: perf-marks "^1.13.4" tslib "^2.0.0" -ngx-stripe@15.5.0: - version "15.5.0" - resolved "https://registry.yarnpkg.com/ngx-stripe/-/ngx-stripe-15.5.0.tgz#b05fc1cf9f55bb5e7f307ac5cfdf29807a2f48a9" - integrity sha512-Ut3JANfxSzl/4qy+pokHOXGVITgNSlSMv7XGN2Y4tPDk6BVUD9SSl/3VuXW9UdbKAmX0XS68nRACiKCOSet5zw== +ngx-stripe@18.0.0: + version "18.0.0" + resolved "https://registry.yarnpkg.com/ngx-stripe/-/ngx-stripe-18.0.0.tgz#bcd0932426688c89084a22670a87c868a1ae65a7" + integrity sha512-AT67vLeqEUDMnK5TfEaorumYJyOWqecbrh/1UWNtN8vF6Yzb0L/Dty3ANAa/QQi0OvBg6gXrudrhEnT8pT5lng== dependencies: tslib "^2.3.0" @@ -19170,10 +19170,10 @@ strip-json-comments@^3.0.1, strip-json-comments@^3.1.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== -stripe@11.12.0: - version "11.12.0" - resolved "https://registry.yarnpkg.com/stripe/-/stripe-11.12.0.tgz#2d7d4c37a6447a972128b1266e027693241704e3" - integrity sha512-7yzFyVV/eYpYalfjnw1f9sh/N3r5QVdx5MFtmpOg2QikKVAW4AptXC8P0wj1KNCd/LIo23nTDo0+m9788jHswg== +stripe@15.11.0: + version "15.11.0" + resolved "https://registry.yarnpkg.com/stripe/-/stripe-15.11.0.tgz#c50a682a1df34719c03674f5d0ccc37a661049fd" + integrity sha512-qmZF0PN1jRVpiQrXL8eTb9Jy/6S+aUlcDquKBFT2h3PkaD7RZ444FIojVXUg67FK2zFIUNXgMv02c7csdL5qHg== dependencies: "@types/node" ">=8.1.0" qs "^6.11.0"