snyk-bot commited on
Commit
4e9b824
1 Parent(s): 6c53bfe

fix: upgrade openai from 4.52.7 to 4.55.4

Browse files

Snyk has created this PR to upgrade openai from 4.52.7 to 4.55.4.

See this package in npm:
openai

See this project in Snyk:
https://app.snyk.io/org/salgadev/project/68b66be3-bb06-43b9-a987-d39134a5543a?utm_source=github&utm_medium=referral&page=upgrade-pr

Files changed (2) hide show
  1. backend/package-lock.json +14 -15
  2. backend/package.json +1 -1
backend/package-lock.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "name": "relock-npm-lock-v2-VaqD81",
3
  "lockfileVersion": 3,
4
  "requires": true,
5
  "packages": {
@@ -10,7 +10,7 @@
10
  "cors": "^2.8.5",
11
  "express": "^4.19.2",
12
  "multer": "^1.4.5-lts.1",
13
- "openai": "^4.52.7"
14
  },
15
  "devDependencies": {
16
  "@types/express": "^4.17.21",
@@ -829,9 +829,9 @@
829
  }
830
  },
831
  "node_modules/openai": {
832
- "version": "4.52.7",
833
- "resolved": "https://registry.npmjs.org/openai/-/openai-4.52.7.tgz",
834
- "integrity": "sha512-dgxA6UZHary6NXUHEDj5TWt8ogv0+ibH+b4pT5RrWMjiRZVylNwLcw/2ubDrX5n0oUmHX/ZgudMJeemxzOvz7A==",
835
  "license": "Apache-2.0",
836
  "dependencies": {
837
  "@types/node": "^18.11.18",
@@ -840,11 +840,18 @@
840
  "agentkeepalive": "^4.2.1",
841
  "form-data-encoder": "1.7.2",
842
  "formdata-node": "^4.3.2",
843
- "node-fetch": "^2.6.7",
844
- "web-streams-polyfill": "^3.2.1"
845
  },
846
  "bin": {
847
  "openai": "bin/cli"
 
 
 
 
 
 
 
 
848
  }
849
  },
850
  "node_modules/parseurl": {
@@ -1129,14 +1136,6 @@
1129
  "node": ">= 0.8"
1130
  }
1131
  },
1132
- "node_modules/web-streams-polyfill": {
1133
- "version": "3.3.3",
1134
- "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz",
1135
- "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==",
1136
- "engines": {
1137
- "node": ">= 8"
1138
- }
1139
- },
1140
  "node_modules/webidl-conversions": {
1141
  "version": "3.0.1",
1142
  "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
 
1
  {
2
+ "name": "relock-npm-lock-v2-IVFDjk",
3
  "lockfileVersion": 3,
4
  "requires": true,
5
  "packages": {
 
10
  "cors": "^2.8.5",
11
  "express": "^4.19.2",
12
  "multer": "^1.4.5-lts.1",
13
+ "openai": "^4.55.4"
14
  },
15
  "devDependencies": {
16
  "@types/express": "^4.17.21",
 
829
  }
830
  },
831
  "node_modules/openai": {
832
+ "version": "4.55.4",
833
+ "resolved": "https://registry.npmjs.org/openai/-/openai-4.55.4.tgz",
834
+ "integrity": "sha512-TEC75Y6U/OKIJp9fHao3zkTYfKLYGqXdD2TI+xN2Zd5W8KNKvv6E4/OBTOW7jg7fySfrBrhy5fYzBbyBcdHEtQ==",
835
  "license": "Apache-2.0",
836
  "dependencies": {
837
  "@types/node": "^18.11.18",
 
840
  "agentkeepalive": "^4.2.1",
841
  "form-data-encoder": "1.7.2",
842
  "formdata-node": "^4.3.2",
843
+ "node-fetch": "^2.6.7"
 
844
  },
845
  "bin": {
846
  "openai": "bin/cli"
847
+ },
848
+ "peerDependencies": {
849
+ "zod": "^3.23.8"
850
+ },
851
+ "peerDependenciesMeta": {
852
+ "zod": {
853
+ "optional": true
854
+ }
855
  }
856
  },
857
  "node_modules/parseurl": {
 
1136
  "node": ">= 0.8"
1137
  }
1138
  },
 
 
 
 
 
 
 
 
1139
  "node_modules/webidl-conversions": {
1140
  "version": "3.0.1",
1141
  "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
backend/package.json CHANGED
@@ -5,7 +5,7 @@
5
  "cors": "^2.8.5",
6
  "express": "^4.19.2",
7
  "multer": "^1.4.5-lts.1",
8
- "openai": "^4.52.7"
9
  },
10
  "type": "module",
11
  "devDependencies": {
 
5
  "cors": "^2.8.5",
6
  "express": "^4.19.2",
7
  "multer": "^1.4.5-lts.1",
8
+ "openai": "^4.55.4"
9
  },
10
  "type": "module",
11
  "devDependencies": {