diff --git a/apps/api/package.json b/apps/api/package.json index 5d724dc75..b2f97ba83 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -43,6 +43,7 @@ "@types/node": "^20.14.1", "@types/pdf-parse": "^1.1.4", "@types/supertest": "^6.0.2", + "@types/tough-cookie": "^4.0.5", "jest": "^29.6.3", "jest-fetch-mock": "^3.0.3", "prettier": "^3.4.2", @@ -130,7 +131,7 @@ "supabase": "^1.77.9", "systeminformation": "^5.22.11", "tldts": "^6.1.75", - "tough-cookie": "^5.1.2", + "tough-cookie": "^4.1.4", "turndown": "^7.1.3", "turndown-plugin-gfm": "^1.0.2", "undici": "^7.10.0", diff --git a/apps/api/pnpm-lock.yaml b/apps/api/pnpm-lock.yaml index 1567f780b..4538b6625 100644 --- a/apps/api/pnpm-lock.yaml +++ b/apps/api/pnpm-lock.yaml @@ -154,7 +154,7 @@ importers: version: 1.1.5 http-cookie-agent: specifier: ^7.0.1 - version: 7.0.1(tough-cookie@5.1.2)(undici@7.10.0) + version: 7.0.1(tough-cookie@4.1.4)(undici@7.10.0) ioredis: specifier: ^5.6.1 version: 5.6.1 @@ -243,8 +243,8 @@ importers: specifier: ^6.1.75 version: 6.1.75 tough-cookie: - specifier: ^5.1.2 - version: 5.1.2 + specifier: ^4.1.4 + version: 4.1.4 turndown: specifier: ^7.1.3 version: 7.2.0 @@ -315,6 +315,9 @@ importers: '@types/supertest': specifier: ^6.0.2 version: 6.0.2 + '@types/tough-cookie': + specifier: ^4.0.5 + version: 4.0.5 jest: specifier: ^29.6.3 version: 29.7.0(@types/node@20.14.1)(ts-node@10.9.2(@types/node@20.14.1)(typescript@5.8.3)) @@ -3660,6 +3663,9 @@ packages: resolution: {integrity: sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==} engines: {node: '>=0.6'} + querystringify@2.2.0: + resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} + range-parser@1.2.1: resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} engines: {node: '>= 0.6'} @@ -3732,6 +3738,9 @@ packages: resolution: {integrity: sha512-nQFEv9gRw6SJAwWD2LrL0NmQvAcO7FBwJbwmr2ttPAacfy0xuiOjE5zt+zM4xDyuyvUaxBi/9gb2SoCyNEVJcw==} engines: {node: '>=8.6.0'} + requires-port@1.0.0: + resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} + resend@3.4.0: resolution: {integrity: sha512-F3PVHdTHeLonSnrU5V6k8643LJ9QacLu3uI9M+BAFkmBmB1ELM2x7fdsziYZoSm6DmU6TKwiQCK0jf8dcNomcQ==} engines: {node: '>=18'} @@ -4064,6 +4073,10 @@ packages: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} + tough-cookie@4.1.4: + resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} + engines: {node: '>=6'} + tough-cookie@5.1.2: resolution: {integrity: sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==} engines: {node: '>=16'} @@ -4163,6 +4176,10 @@ packages: resolution: {integrity: sha512-u5otvFBOBZvmdjWLVW+5DAc9Nkq8f24g0O9oY7qw2JVIF1VocIFoyz9JFkuVOS2j41AufeO0xnlweJ2RLT8nGw==} engines: {node: '>=20.18.1'} + universalify@0.2.0: + resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} + engines: {node: '>= 4.0.0'} + unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} @@ -4184,6 +4201,9 @@ packages: url-join@4.0.1: resolution: {integrity: sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==} + url-parse@1.5.10: + resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} + use-sync-external-store@1.5.0: resolution: {integrity: sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==} peerDependencies: @@ -7658,10 +7678,10 @@ snapshots: domutils: 3.1.0 entities: 4.5.0 - http-cookie-agent@7.0.1(tough-cookie@5.1.2)(undici@7.10.0): + http-cookie-agent@7.0.1(tough-cookie@4.1.4)(undici@7.10.0): dependencies: agent-base: 7.1.3 - tough-cookie: 5.1.2 + tough-cookie: 4.1.4 optionalDependencies: undici: 7.10.0 @@ -8737,6 +8757,8 @@ snapshots: dependencies: side-channel: 1.1.0 + querystringify@2.2.0: {} + range-parser@1.2.1: {} rate-limiter-flexible@2.4.2: {} @@ -8820,6 +8842,8 @@ snapshots: transitivePeerDependencies: - supports-color + requires-port@1.0.0: {} + resend@3.4.0: dependencies: '@react-email/render': 0.0.15 @@ -9176,6 +9200,13 @@ snapshots: toidentifier@1.0.1: {} + tough-cookie@4.1.4: + dependencies: + psl: 1.15.0 + punycode: 2.3.1 + universalify: 0.2.0 + url-parse: 1.5.10 + tough-cookie@5.1.2: dependencies: tldts: 6.1.75 @@ -9259,6 +9290,8 @@ snapshots: undici@7.10.0: {} + universalify@0.2.0: {} + unpipe@1.0.0: {} unstructured-client@0.11.3(zod@3.24.2): @@ -9279,6 +9312,11 @@ snapshots: url-join@4.0.1: {} + url-parse@1.5.10: + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + use-sync-external-store@1.5.0(react@18.3.1): dependencies: react: 18.3.1