Skip to content

Commit

Permalink
chore(Snyk): Upgrade openapi-fetch from 0.9.8 to 0.10.0 (#9955)
Browse files Browse the repository at this point in the history
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Georg Bremer <[email protected]>
  • Loading branch information
4 people authored Sep 10, 2024
1 parent e3b528f commit 06f0b0b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 25 deletions.
4 changes: 2 additions & 2 deletions packages/embedder/ai_models/TextEmbeddingsInference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const modelIdDefinitions: Record<ModelId, EmbeddingModelParams> = {
}

const openAPIWithTimeout =
(client: ClientMethod<any, any>, toError: (error: unknown) => any, timeout: number) =>
async (...args: Parameters<ClientMethod<any, any>>) => {
(client: ClientMethod<any, any, any>, toError: (error: unknown) => any, timeout: number) =>
async (...args: Parameters<ClientMethod<any, any, any>>) => {
const controller = new AbortController()
const {signal} = controller
const timeoutId = setTimeout(() => {
Expand Down
2 changes: 1 addition & 1 deletion packages/embedder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"jest": "^29.5.0",
"jest-extended": "^3.2.4",
"jest-junit": "^16.0.0",
"openapi-fetch": "^0.9.3",
"openapi-fetch": "^0.10.0",
"sucrase": "^3.32.0",
"ts-jest": "^29.1.0",
"ts-node-dev": "^1.0.0-pre.44",
Expand Down
1 change: 0 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@
"nodemailer": "^6.9.9",
"oauth-1.0a": "^2.2.6",
"openai": "^4.53.0",
"openapi-fetch": "^0.9.7",
"oy-vey": "^0.12.1",
"parabol-client": "7.46.3",
"pg": "^8.5.1",
Expand Down
30 changes: 9 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18178,34 +18178,22 @@ openai@^4.53.0:
node-fetch "^2.6.7"
web-streams-polyfill "^3.2.1"

openapi-fetch@^0.9.3:
version "0.9.3"
resolved "https://registry.yarnpkg.com/openapi-fetch/-/openapi-fetch-0.9.3.tgz#37c1dbde7faec885eaa40f351cab1c231b794761"
integrity sha512-tC1NDn71vJHeCzu+lYdrnIpgRt4GxR0B4eSwXNb15ypWpZcpaEOwHFkoz8FcfG5Fvqkz2P0Fl9zQF1JJwBjuvA==
dependencies:
openapi-typescript-helpers "^0.0.7"

openapi-fetch@^0.9.7:
version "0.9.7"
resolved "https://registry.yarnpkg.com/openapi-fetch/-/openapi-fetch-0.9.7.tgz#e224d1176e11ec68671caf0df6b736d649be97ed"
integrity sha512-NMp/GEmWSGO0b2d731IdGXcMP2PF85Rk1q+oy2Mx/DYMdP3pgTZTRamKxgZpkHhM4iOVsyD1iP5HKL9Fr6CH2Q==
openapi-fetch@^0.10.0:
version "0.10.2"
resolved "https://registry.yarnpkg.com/openapi-fetch/-/openapi-fetch-0.10.2.tgz#2c16bda62cf182ba780a9d94818294731de0b2d6"
integrity sha512-GCzgKIZchnxZRnztiOlRTKk9tQT0NHvs5MNXYFtOwG7xaj1iCJOGDsTLbn/2QUP37PjGTT890qERFjvmjxzQMg==
dependencies:
openapi-typescript-helpers "^0.0.8"
openapi-typescript-helpers "^0.0.9"

openapi-types@^12.1.0:
version "12.1.1"
resolved "https://registry.yarnpkg.com/openapi-types/-/openapi-types-12.1.1.tgz#0aface4e05ba60efbf51153ed6af23988796617d"
integrity sha512-m/DJaEqOUDSU8KoI74E6A3TokccuDOJ81ewZ6kLFwUT1KEIE0GDWvErtnJJDU4sySx8JKF5kk2GzHUuK6f+VHA==

openapi-typescript-helpers@^0.0.7:
version "0.0.7"
resolved "https://registry.yarnpkg.com/openapi-typescript-helpers/-/openapi-typescript-helpers-0.0.7.tgz#1d0ead67c35864d189c2cb2d0556854ccbb16c38"
integrity sha512-7nwlAtdA1fULipibFRBWE/rnF114q6ejRYzNvhdA/x+qTWAZhXGLc/368dlwMlyJDvCQMCnADjpzb5BS5ZmNSA==

openapi-typescript-helpers@^0.0.8:
version "0.0.8"
resolved "https://registry.yarnpkg.com/openapi-typescript-helpers/-/openapi-typescript-helpers-0.0.8.tgz#460f395362cc16e4a5de56264b7b1c5a03746e35"
integrity sha512-1eNjQtbfNi5Z/kFhagDIaIRj6qqDzhjNJKz8cmMW0CVdGwT6e1GLbAfgI0d28VTJa1A8jz82jm/4dG8qNoNS8g==
openapi-typescript-helpers@^0.0.9:
version "0.0.9"
resolved "https://registry.yarnpkg.com/openapi-typescript-helpers/-/openapi-typescript-helpers-0.0.9.tgz#bb20cc0b79bf56d4a31a96477d7b2c8d33b9c836"
integrity sha512-BO2TvIDAO/FPVKz1Nj2gy+pUOHfaoENdK5UP3H0Jbh0VXBf3dwYMs58ZwOjiezrbHA2LamdquoyQgahTPvIxGA==

opener@^1.5.2:
version "1.5.2"
Expand Down

0 comments on commit 06f0b0b

Please sign in to comment.