Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ee982ee

Browse files
committedSep 24, 2024·
fix npm audit issues
1 parent e6eb43a commit ee982ee

File tree

3 files changed

+189
-148
lines changed

3 files changed

+189
-148
lines changed
 

‎modules/openvino_code/package-lock.json

+180-132
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎modules/openvino_code/package.json

+7-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"publisher": "OpenVINO",
33
"name": "openvino-code-completion",
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"displayName": "OpenVINO Code Completion",
66
"description": "VSCode extension for AI code completion with OpenVINO",
77
"icon": "media/logo.png",
@@ -57,7 +57,6 @@
5757
"vsce:publish": "vsce publish",
5858
"ovsx:publish": "ovsx publish",
5959
"clear-out": "rimraf ./out"
60-
6160
},
6261
"devDependencies": {
6362
"@types/glob": "8.1.0",
@@ -84,7 +83,7 @@
8483
"terser-webpack-plugin": "5.3.9",
8584
"ts-loader": "9.4.4",
8685
"typescript": "5.1.6",
87-
"webpack": "5.88.2",
86+
"webpack": "^5.94.0",
8887
"webpack-bundle-analyzer": "4.9.0",
8988
"webpack-cli": "5.1.4"
9089
},
@@ -205,7 +204,7 @@
205204
"order": 1,
206205
"type": "string",
207206
"default": "CPU",
208-
"enum":[
207+
"enum": [
209208
"CPU",
210209
"GPU",
211210
"NPU"
@@ -247,29 +246,25 @@
247246
"order": 4,
248247
"type": "boolean",
249248
"default": "false",
250-
"description":
251-
"When checked, text before (above) and after (below) the cursor will be used for completion generation. When unckecked, only text before (above) the cursor will be used."
249+
"description": "When checked, text before (above) and after (below) the cursor will be used for completion generation. When unckecked, only text before (above) the cursor will be used."
252250
},
253251
"openvinoCode.startToken": {
254252
"order": 7,
255253
"type": "string",
256254
"default": "< |fim_begin| >",
257-
"description":
258-
"String that is sent to server is in format: `{startToken}{text above cursor}{middleToken}{text below cursor if fillInTheMiddleMode=true}{endToken}`. Leave `startToken`, `middleToken`, or `endToken` empty if there is no special token for those placements."
255+
"description": "String that is sent to server is in format: `{startToken}{text above cursor}{middleToken}{text below cursor if fillInTheMiddleMode=true}{endToken}`. Leave `startToken`, `middleToken`, or `endToken` empty if there is no special token for those placements."
259256
},
260257
"openvinoCode.middleToken": {
261258
"order": 8,
262259
"type": "string",
263260
"default": "<|fim▁hole|>",
264-
"description":
265-
"String that is sent to server is in format: `{startToken}{text above cursor}{middleToken}{text below cursor if fillInTheMiddleMode=true}{endToken}`. Leave `startToken`, `middleToken`, or `endToken` empty if there is no special token for those placements."
261+
"description": "String that is sent to server is in format: `{startToken}{text above cursor}{middleToken}{text below cursor if fillInTheMiddleMode=true}{endToken}`. Leave `startToken`, `middleToken`, or `endToken` empty if there is no special token for those placements."
266262
},
267263
"openvinoCode.endToken": {
268264
"order": 9,
269265
"type": "string",
270266
"default": "<|fim▁end|>",
271-
"description":
272-
"String that is sent to server is in format: `{startToken}{text above cursor}{middleToken}{text below cursor if fillInTheMiddleMode=true}{endToken}`. Leave `startToken`, `middleToken`, or `endToken` empty if there is no special token for those placements."
267+
"description": "String that is sent to server is in format: `{startToken}{text above cursor}{middleToken}{text below cursor if fillInTheMiddleMode=true}{endToken}`. Leave `startToken`, `middleToken`, or `endToken` empty if there is no special token for those placements."
273268
},
274269
"openvinoCode.stopToken": {
275270
"order": 10,

‎modules/openvino_code/server/pyproject.toml

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@ dependencies = [
1111
'torch @ https://download.pytorch.org/whl/cpu-cxx11-abi/torch-2.0.1%2Bcpu.cxx11.abi-cp310-cp310-linux_x86_64.whl ; sys_platform=="linux" and python_version == "3.10"',
1212
'torch @ https://download.pytorch.org/whl/cpu-cxx11-abi/torch-2.0.1%2Bcpu.cxx11.abi-cp311-cp311-linux_x86_64.whl ; sys_platform=="linux" and python_version == "3.11"',
1313
'torch ; sys_platform != "linux"',
14-
'openvino==2024.1.0',
15-
'transformers==4.36.0',
16-
'optimum==1.19.1',
17-
'optimum-intel[openvino]==1.15.0',
14+
'openvino==2024.3.0',
15+
'optimum-intel[openvino]==1.19.0',
1816
]
1917

2018
[project.optional-dependencies]

0 commit comments

Comments
 (0)
Please sign in to comment.