Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Task/upgrade yahoo-finance2 to version 4.0.0 (#7371)
Thomas Kaul960d1bb5ea4f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 49923248a7..94252a0e1f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Changed- Refactored the language redirect of the root path from the static file serving configuration to a dedicated middleware+- Upgraded `yahoo-finance2` from version `3.15.4` to `4.0.0`### Fixeddiff --git a/package-lock.json b/package-lock.jsonindex 946b8a0a58..a5dca0bd7e 100644--- a/package-lock.json+++ b/package-lock.json@@ -97,7 +97,7 @@"tablemark": "4.1.0","twitter-api-v2": "1.29.0","undici": "8.5.0",- "yahoo-finance2": "3.15.4",+ "yahoo-finance2": "4.0.0","zod": "4.4.3","zone.js": "0.16.1"},@@ -20588,13 +20588,16 @@}},"node_modules/fetch-mock-cache": {- "version": "2.3.1",- "resolved": "https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-2.3.1.tgz",- "integrity": "sha512-hDk+Nbt0Y8Aq7KTEU6ASQAcpB34UjhkpD3QjzD6yvEKP4xVElAqXrjQ7maL+LYMGafx51Zq6qUfDM57PNu/qMw==",+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/fetch-mock-cache/-/fetch-mock-cache-3.1.0.tgz",+ "integrity": "sha512-VxdIstx7qhqW9+9AOjYAlxEguX9HnBFdSaydlwLiZR+xAldGdZMLmSn8pYLd6hNh3vjcIcqUkgFgcdcPomctFg==","license": "MIT","dependencies": {"debug": "^4.3.4",- "filenamify-url": "2.1.2"+ "filenamify-url": "4.0.0"+ },+ "engines": {+ "node": ">=22.0.0"}},"node_modules/figures": {@@ -20688,42 +20691,43 @@}},"node_modules/filename-reserved-regex": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz",- "integrity": "sha512-lc1bnsSr4L4Bdif8Xb/qrtokGbq5zlsms/CYH8PP+WtCkGNF65DPiQY8vG3SakEdRn8Dlnm+gW/qWKKjS5sZzQ==",+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-4.0.0.tgz",+ "integrity": "sha512-9ZT504KxEQDamsOogZImAWGEN24R1uFAxU3ZS4AZqn2ooidmN68Olh7n4/RcA4lLatZztjA0ZSuxeLHVoCc8JA==","license": "MIT","engines": {- "node": ">=4"+ "node": ">=20"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},"node_modules/filenamify": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-4.3.0.tgz",- "integrity": "sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==",+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-7.0.2.tgz",+ "integrity": "sha512-fz10TUqSZ1lG7ftW1KnRotJzMD8YRb6kaAQKpZJBLvqXXfFgIEpuazy1w2lK3zhMiBSdH/uF9LFlv5smJ2Jl1w==","license": "MIT","dependencies": {- "filename-reserved-regex": "^2.0.0",- "strip-outer": "^1.0.1",- "trim-repeated": "^1.0.0"+ "filename-reserved-regex": "^4.0.0"},"engines": {- "node": ">=8"+ "node": ">=20"},"funding": {"url": "https://github.com/sponsors/sindresorhus"}},"node_modules/filenamify-url": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/filenamify-url/-/filenamify-url-2.1.2.tgz",- "integrity": "sha512-3rMbAr7vDNMOGsj1aMniQFl749QjgM+lMJ/77ZRSPTIgxvolZwoQbn8dXLs7xfd+hAdli+oTnSWZNkJJLWQFEQ==",+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/filenamify-url/-/filenamify-url-4.0.0.tgz",+ "integrity": "sha512-dhK3TuWC6dbKMgL3Li3qlsd6wHZ2bXJXt2VJw+D8mPIXCTLtet+sRmK6/t1cseuWjYRdMa4gNb7c2H6D8J0Jig==","license": "MIT","dependencies": {- "filenamify": "^4.3.0",- "humanize-url": "^2.1.1"+ "filenamify": "^7.0.0",+ "humanize-url": "^3.0.0"},"engines": {- "node": ">=8"+ "node": ">=20"},"funding": {"url": "https://github.com/sponsors/sindresorhus"@@ -22334,15 +22338,18 @@}},"node_modules/humanize-url": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/humanize-url/-/humanize-url-2.1.1.tgz",- "integrity": "sha512-V4nxsPGNE7mPjr1qDp471YfW8nhBiTRWrG/4usZlpvFU8I7gsV7Jvrrzv/snbLm5dWO3dr1ennu2YqnhTWFmYA==",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/humanize-url/-/humanize-url-3.0.0.tgz",+ "integrity": "sha512-oWcYrKNVa+bCX9ACFZ85H8l1+QcwBJ64xH5+PHYoLe/Y5aToOfw3s3OZqRA/OyJPcWOXuDLo3qil5CYvTMtp0A==","license": "MIT","dependencies": {- "normalize-url": "^4.5.1"+ "normalize-url": "^7.0.0"},"engines": {- "node": ">=8"+ "node": ">=12.20"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},"node_modules/husky": {@@ -26726,12 +26733,15 @@}},"node_modules/normalize-url": {- "version": "4.5.1",- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz",- "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==",+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-7.2.0.tgz",+ "integrity": "sha512-uhXOdZry0L6M2UIo9BTt7FdpBDiAGN/7oItedQwPKh8jh31ZlvC8U9Xl/EJ3aijDHaywXTW3QbZ6LuCocur1YA==","license": "MIT","engines": {- "node": ">=8"+ "node": ">=12.20"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},"node_modules/npm-bundled": {@@ -29305,18 +29315,6 @@"license": "MIT","optional": true},- "node_modules/psl": {- "version": "1.15.0",- "resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz",- "integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==",- "license": "MIT",- "dependencies": {- "punycode": "^2.3.1"- },- "funding": {- "url": "https://github.com/sponsors/lupomontero"- }- },"node_modules/pump": {"version": "3.0.4","resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz",@@ -29332,6 +29330,7 @@"version": "2.3.1","resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz","integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",+ "dev": true,"license": "MIT","engines": {"node": ">=6"@@ -29387,12 +29386,6 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/querystringify": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",- "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",- "license": "MIT"- },"node_modules/queue-microtask": {"version": "1.2.3","resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",@@ -29996,6 +29989,7 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz","integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",+ "dev": true,"license": "MIT"},"node_modules/resolve": {@@ -32406,27 +32400,6 @@"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/strip-outer": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/strip-outer/-/strip-outer-1.0.1.tgz",- "integrity": "sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==",- "license": "MIT",- "dependencies": {- "escape-string-regexp": "^1.0.2"- },- "engines": {- "node": ">=0.10.0"- }- },- "node_modules/strip-outer/node_modules/escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",- "license": "MIT",- "engines": {- "node": ">=0.8.0"- }- },"node_modules/stripe": {"version": "22.3.2","resolved": "https://registry.npmjs.org/stripe/-/stripe-22.3.2.tgz",@@ -33058,9 +33031,7 @@"version": "7.0.28","resolved": "https://registry.npmjs.org/tldts/-/tldts-7.0.28.tgz","integrity": "sha512-+Zg3vWhRUv8B1maGSTFdev9mjoo8Etn2Ayfs4cnjlD3CsGkxXX4QyW3j2WJ0wdjYcYmy7Lx2RDsZMhgCWafKIw==",- "dev": true,"license": "MIT",- "peer": true,"dependencies": {"tldts-core": "^7.0.28"},@@ -33072,9 +33043,7 @@"version": "7.0.28","resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.0.28.tgz","integrity": "sha512-7W5Efjhsc3chVdFhqtaU0KtK32J37Zcr9RKtID54nG+tIpcY79CQK/veYPODxtD/LJ4Lue66jvrQzIX2Z2/pUQ==",- "dev": true,- "license": "MIT",- "peer": true+ "license": "MIT"},"node_modules/tmp": {"version": "0.2.7",@@ -33137,9 +33106,7 @@"version": "6.0.1","resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.1.tgz","integrity": "sha512-LktZQb3IeoUWB9lqR5EWTHgW/VTITCXg4D21M+lvybRVdylLrRMnqaIONLVb5mav8vM19m44HIcGq4qASeu2Qw==",- "dev": true,"license": "BSD-3-Clause",- "peer": true,"dependencies": {"tldts": "^7.0.5"},@@ -33148,39 +33115,15 @@}},"node_modules/tough-cookie-file-store": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/tough-cookie-file-store/-/tough-cookie-file-store-2.0.3.tgz",- "integrity": "sha512-sMpZVcmFf6EYFHFFl+SYH4W1/OnXBYMGDsv2IlbQ2caHyFElW/UR/gpj/KYU1JwmP4dE9xqwv2+vWcmlXHojSw==",+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/tough-cookie-file-store/-/tough-cookie-file-store-3.3.0.tgz",+ "integrity": "sha512-FbO/cOi/jp4wweo8soVNG/ZjDsgpBZWqaxWwu7gRKvsjg/Qt44kStp87VLfJnin749DlTbZDYvV1wuSr5jly2g==","license": "MIT","dependencies": {- "tough-cookie": "^4.0.0"+ "tough-cookie": "^6.0.0"},"engines": {- "node": ">=6"- }- },- "node_modules/tough-cookie-file-store/node_modules/tough-cookie": {- "version": "4.1.4",- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz",- "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==",- "license": "BSD-3-Clause",- "dependencies": {- "psl": "^1.1.33",- "punycode": "^2.1.1",- "universalify": "^0.2.0",- "url-parse": "^1.5.3"- },- "engines": {- "node": ">=6"- }- },- "node_modules/tough-cookie-file-store/node_modules/universalify": {- "version": "0.2.0",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz",- "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==",- "license": "MIT",- "engines": {- "node": ">= 4.0.0"+ "node": ">=16"}},"node_modules/tr46": {@@ -33224,27 +33167,6 @@"tree-kill": "cli.js"}},- "node_modules/trim-repeated": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz",- "integrity": "sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==",- "license": "MIT",- "dependencies": {- "escape-string-regexp": "^1.0.2"- },- "engines": {- "node": ">=0.10.0"- }- },- "node_modules/trim-repeated/node_modules/escape-string-regexp": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",- "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",- "license": "MIT",- "engines": {- "node": ">=0.8.0"- }- },"node_modules/ts-api-utils": {"version": "2.5.0","resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",@@ -34355,16 +34277,6 @@"dev": true,"license": "MIT"},- "node_modules/url-parse": {- "version": "1.5.10",- "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",- "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",- "license": "MIT",- "dependencies": {- "querystringify": "^2.1.1",- "requires-port": "^1.0.0"- }- },"node_modules/use-sync-external-store": {"version": "1.6.0","resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",@@ -35960,18 +35872,18 @@}},"node_modules/yahoo-finance2": {- "version": "3.15.4",- "resolved": "https://registry.npmjs.org/yahoo-finance2/-/yahoo-finance2-3.15.4.tgz",- "integrity": "sha512-90eOw76iqS//ksQGL4d/VcchbysnpWzFXVuiBtG7uuImlBDdxBA0BtccxCuTvVZDDu1aXm1TqBGc+MPr6wNkyQ==",+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/yahoo-finance2/-/yahoo-finance2-4.0.0.tgz",+ "integrity": "sha512-3AUMLycIxGSKEf99nEedmsccBLAXyVajCfKlY+Vxsxx6ntsDlFYN1UdL6APGMFiRs8IBivn62eJT4Zj3WQdrlw==","license": "MIT","dependencies": {"@deno/shim-deno": "~0.18.0","@modelcontextprotocol/sdk": "npm:@modelcontextprotocol/sdk@^1.26.0",- "fetch-mock-cache": "npm:fetch-mock-cache@^2.1.3",+ "fetch-mock-cache": "npm:fetch-mock-cache@^3.1.0","json-schema": "^0.4.0",- "tough-cookie": "npm:tough-cookie@^5.1.1",- "tough-cookie-file-store": "npm:tough-cookie-file-store@^2.0.3",- "zod": "npm:zod@^3.25.0"+ "tough-cookie": "npm:tough-cookie@^6.0.0",+ "tough-cookie-file-store": "npm:tough-cookie-file-store@^3.0.0",+ "zod": "npm:zod@^4.0.0"},"bin": {"yahoo-finance": "esm/bin/yahoo-finance.js",@@ -35979,46 +35891,7 @@"yahoo-finance2": "esm/bin/yahoo-finance.js"},"engines": {- "node": ">=20.0.0"- }- },- "node_modules/yahoo-finance2/node_modules/tldts": {- "version": "6.1.86",- "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.86.tgz",- "integrity": "sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ==",- "license": "MIT",- "dependencies": {- "tldts-core": "^6.1.86"- },- "bin": {- "tldts": "bin/cli.js"- }- },- "node_modules/yahoo-finance2/node_modules/tldts-core": {- "version": "6.1.86",- "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.86.tgz",- "integrity": "sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA==",- "license": "MIT"- },- "node_modules/yahoo-finance2/node_modules/tough-cookie": {- "version": "5.1.2",- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.2.tgz",- "integrity": "sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==",- "license": "BSD-3-Clause",- "dependencies": {- "tldts": "^6.1.32"- },- "engines": {- "node": ">=16"- }- },- "node_modules/yahoo-finance2/node_modules/zod": {- "version": "3.25.76",- "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",- "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",- "license": "MIT",- "funding": {- "url": "https://github.com/sponsors/colinhacks"+ "node": ">=22.0.0"}},"node_modules/yallist": {diff --git a/package.json b/package.jsonindex 0376d9877b..f5dd23f678 100644--- a/package.json+++ b/package.json@@ -141,7 +141,7 @@"tablemark": "4.1.0","twitter-api-v2": "1.29.0","undici": "8.5.0",- "yahoo-finance2": "3.15.4",+ "yahoo-finance2": "4.0.0","zod": "4.4.3","zone.js": "0.16.1"},