Browse Source

Feature/upgrade stripe dependencies 20241102 (#4009)

* Upgrade stripe dependencies

* Update changelog
pull/4011/head
Thomas Kaul 3 months ago
committed by GitHub
parent
commit
5652d19a88
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      apps/api/src/app/subscription/subscription.service.ts
  3. 30
      package-lock.json
  4. 6
      package.json

1
CHANGELOG.md

@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Reverted the permissions (`chmod 0700`) on `entrypoint.sh` in the `Dockerfile` - Reverted the permissions (`chmod 0700`) on `entrypoint.sh` in the `Dockerfile`
- Upgraded the _Stripe_ dependencies
## 2.120.0 - 2024-10-30 ## 2.120.0 - 2024-10-30

2
apps/api/src/app/subscription/subscription.service.ts

@ -31,7 +31,7 @@ export class SubscriptionService {
this.stripe = new Stripe( this.stripe = new Stripe(
this.configurationService.get('STRIPE_SECRET_KEY'), this.configurationService.get('STRIPE_SECRET_KEY'),
{ {
apiVersion: '2024-04-10' apiVersion: '2024-09-30.acacia'
} }
); );
} }

30
package-lock.json

@ -1,12 +1,12 @@
{ {
"name": "ghostfolio", "name": "ghostfolio",
"version": "2.119.0", "version": "2.120.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ghostfolio", "name": "ghostfolio",
"version": "2.119.0", "version": "2.120.0",
"hasInstallScript": true, "hasInstallScript": true,
"license": "AGPL-3.0", "license": "AGPL-3.0",
"dependencies": { "dependencies": {
@ -43,7 +43,7 @@
"@prisma/client": "5.21.1", "@prisma/client": "5.21.1",
"@simplewebauthn/browser": "9.0.1", "@simplewebauthn/browser": "9.0.1",
"@simplewebauthn/server": "9.0.3", "@simplewebauthn/server": "9.0.3",
"@stripe/stripe-js": "3.5.0", "@stripe/stripe-js": "4.9.0",
"alphavantage": "2.2.0", "alphavantage": "2.2.0",
"big.js": "6.2.1", "big.js": "6.2.1",
"body-parser": "1.20.2", "body-parser": "1.20.2",
@ -78,7 +78,7 @@
"ngx-device-detector": "8.0.0", "ngx-device-detector": "8.0.0",
"ngx-markdown": "18.0.0", "ngx-markdown": "18.0.0",
"ngx-skeleton-loader": "7.0.0", "ngx-skeleton-loader": "7.0.0",
"ngx-stripe": "18.0.0", "ngx-stripe": "18.1.0",
"open-color": "1.9.1", "open-color": "1.9.1",
"papaparse": "5.3.1", "papaparse": "5.3.1",
"passport": "0.7.0", "passport": "0.7.0",
@ -86,7 +86,7 @@
"passport-jwt": "4.0.1", "passport-jwt": "4.0.1",
"reflect-metadata": "0.1.13", "reflect-metadata": "0.1.13",
"rxjs": "7.5.6", "rxjs": "7.5.6",
"stripe": "15.11.0", "stripe": "17.3.0",
"svgmap": "2.6.0", "svgmap": "2.6.0",
"twitter-api-v2": "1.14.2", "twitter-api-v2": "1.14.2",
"uuid": "9.0.1", "uuid": "9.0.1",
@ -10334,9 +10334,9 @@
} }
}, },
"node_modules/@stripe/stripe-js": { "node_modules/@stripe/stripe-js": {
"version": "3.5.0", "version": "4.9.0",
"resolved": "https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-3.5.0.tgz", "resolved": "https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-4.9.0.tgz",
"integrity": "sha512-pKS3wZnJoL1iTyGBXAvCwduNNeghJHY6QSRSNNvpYnrrQrLZ6Owsazjyynu0e0ObRgks0i7Rv+pe2M7/MBTZpQ==", "integrity": "sha512-tMPZQZZXGWyNX7hbgenq+1xEj2oigJ54XddbtSX36VedoKsPBq7dxwRXu4Xd5FdpT3JDyyDtnmvYkaSnH1yHTQ==",
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=12.16" "node": ">=12.16"
@ -26872,9 +26872,9 @@
} }
}, },
"node_modules/ngx-stripe": { "node_modules/ngx-stripe": {
"version": "18.0.0", "version": "18.1.0",
"resolved": "https://registry.npmjs.org/ngx-stripe/-/ngx-stripe-18.0.0.tgz", "resolved": "https://registry.npmjs.org/ngx-stripe/-/ngx-stripe-18.1.0.tgz",
"integrity": "sha512-AT67vLeqEUDMnK5TfEaorumYJyOWqecbrh/1UWNtN8vF6Yzb0L/Dty3ANAa/QQi0OvBg6gXrudrhEnT8pT5lng==", "integrity": "sha512-fNWmFaCWWzfsr8GU9Bmi6fwgHZHMI9UwpV5M0HMvkANnz9n7JWjP2Uck6zk0lXdu9q989aIbqj4awbLCZk/TUw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"tslib": "^2.3.0" "tslib": "^2.3.0"
@ -26882,7 +26882,7 @@
"peerDependencies": { "peerDependencies": {
"@angular/common": ">=18.0.0 <19.0.0", "@angular/common": ">=18.0.0 <19.0.0",
"@angular/core": ">=18.0.0 <19.0.0", "@angular/core": ">=18.0.0 <19.0.0",
"@stripe/stripe-js": ">=3.0.0 <4.0.0" "@stripe/stripe-js": ">=4.0.0 <5.0.0"
} }
}, },
"node_modules/nice-napi": { "node_modules/nice-napi": {
@ -31883,9 +31883,9 @@
} }
}, },
"node_modules/stripe": { "node_modules/stripe": {
"version": "15.11.0", "version": "17.3.0",
"resolved": "https://registry.npmjs.org/stripe/-/stripe-15.11.0.tgz", "resolved": "https://registry.npmjs.org/stripe/-/stripe-17.3.0.tgz",
"integrity": "sha512-qmZF0PN1jRVpiQrXL8eTb9Jy/6S+aUlcDquKBFT2h3PkaD7RZ444FIojVXUg67FK2zFIUNXgMv02c7csdL5qHg==", "integrity": "sha512-WACmytj1MssbIwGwPfAomo61jgldb2B/cB6A3W/Bqs9zId1olVcAa8X7HERkqpw4190GSsbvrD7KnkZogatyvw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@types/node": ">=8.1.0", "@types/node": ">=8.1.0",

6
package.json

@ -89,7 +89,7 @@
"@prisma/client": "5.21.1", "@prisma/client": "5.21.1",
"@simplewebauthn/browser": "9.0.1", "@simplewebauthn/browser": "9.0.1",
"@simplewebauthn/server": "9.0.3", "@simplewebauthn/server": "9.0.3",
"@stripe/stripe-js": "3.5.0", "@stripe/stripe-js": "4.9.0",
"alphavantage": "2.2.0", "alphavantage": "2.2.0",
"big.js": "6.2.1", "big.js": "6.2.1",
"body-parser": "1.20.2", "body-parser": "1.20.2",
@ -124,7 +124,7 @@
"ngx-device-detector": "8.0.0", "ngx-device-detector": "8.0.0",
"ngx-markdown": "18.0.0", "ngx-markdown": "18.0.0",
"ngx-skeleton-loader": "7.0.0", "ngx-skeleton-loader": "7.0.0",
"ngx-stripe": "18.0.0", "ngx-stripe": "18.1.0",
"open-color": "1.9.1", "open-color": "1.9.1",
"papaparse": "5.3.1", "papaparse": "5.3.1",
"passport": "0.7.0", "passport": "0.7.0",
@ -132,7 +132,7 @@
"passport-jwt": "4.0.1", "passport-jwt": "4.0.1",
"reflect-metadata": "0.1.13", "reflect-metadata": "0.1.13",
"rxjs": "7.5.6", "rxjs": "7.5.6",
"stripe": "15.11.0", "stripe": "17.3.0",
"svgmap": "2.6.0", "svgmap": "2.6.0",
"twitter-api-v2": "1.14.2", "twitter-api-v2": "1.14.2",
"uuid": "9.0.1", "uuid": "9.0.1",

Loading…
Cancel
Save