File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 46
46
"@types/node" : " ^20" ,
47
47
"@types/react" : " ^18.3.5" ,
48
48
"@types/react-dom" : " ^18.3.0" ,
49
- "@types/vscode" : " ^1.92 .0" ,
49
+ "@types/vscode" : " ^1.75 .0" ,
50
50
"@types/vscode-webview" : " ^1.57.5" ,
51
51
"@vitejs/plugin-react" : " ^1.3.2" ,
52
52
"autoprefixer" : " ^10.0.1" ,
Original file line number Diff line number Diff line change 1158
1158
resolved "https://registry.yarnpkg.com/@types/vscode-webview/-/vscode-webview-1.57.5.tgz#5b910525386c02305eb1d0772e0181c5f19c579b"
1159
1159
integrity sha512-iBAUYNYkz+uk1kdsq05fEcoh8gJmwT3lqqFPN7MGyjQ3HVloViMdo7ZJ8DFIP8WOK74PjOEilosqAyxV2iUFUw==
1160
1160
1161
- " @types/vscode@^1.92 .0 " :
1162
- version "1.92 .0"
1163
- resolved "https://registry.yarnpkg .com/@types/vscode/-/vscode-1.92 .0.tgz#b4d6bc180e7206defe643a1a5f38a1367947d418 "
1164
- integrity sha512-DcZoCj17RXlzB4XJ7IfKdPTcTGDLYvTOcTNkvtjXWF+K2TlKzHHkBEXNWQRpBIXixNEUgx39cQeTFunY0E2msw ==
1161
+ " @types/vscode@^1.75 .0 " :
1162
+ version "1.94 .0"
1163
+ resolved "https://registry.npmmirror .com/@types/vscode/-/vscode-1.94 .0.tgz#ccd2111b6ecaba6ad4da19c2d524828fa73ae250 "
1164
+ integrity sha512-UyQOIUT0pb14XSqJskYnRwD2aG0QrPVefIfrW1djR+/J4KeFQ0i1+hjZoaAmeNf3Z2jleK+R2hv+EboG/m8ruw ==
1165
1165
1166
1166
" @typescript-eslint/parser@^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0 " :
1167
1167
version "7.2.0"
Original file line number Diff line number Diff line change 8
8
"publisher" : " alibabacloud-openapi" ,
9
9
"license" : " Apache-2.0" ,
10
10
"engines" : {
11
- "vscode" : " ^1.47 .0"
11
+ "vscode" : " ^1.75 .0"
12
12
},
13
13
"categories" : [
14
14
" Other"
319
319
"@types/mocha" : " ^10.0.7" ,
320
320
"@types/react" : " ^18.3.3" ,
321
321
"@types/react-dom" : " ^18.3.0" ,
322
- "@types/vscode" : " ^1.94 .0" ,
322
+ "@types/vscode" : " ^1.75 .0" ,
323
323
"@types/vscode-webview" : " ^1.57.0" ,
324
324
"@typescript-eslint/eslint-plugin" : " ^6.9.0" ,
325
325
"@typescript-eslint/parser" : " ^6.9.0" ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { getProductRequestInstance } from "./productExplorer";
10
10
import { Product } from "./types" ;
11
11
import _ from "lodash" ;
12
12
import { getProfileInfoInstance } from "./profileManager" ;
13
- import I18N from "./utils/I18N" ;
13
+ import I18N , { getCurrentLang } from "./utils/I18N" ;
14
14
15
15
type DiffResult < T > = T ;
16
16
@@ -382,7 +382,7 @@ export class AlicloudApiExplorer implements vscode.TreeDataProvider<PontChangeTr
382
382
...( pontxConfig . origins || [ ] ) ,
383
383
{
384
384
name : `${ product } __${ version } ` ,
385
- url : `https://api.aliyun.com/meta/v1/products/${ product } /versions/${ version } /api-docs.json` ,
385
+ url : `https://api.aliyun.com/meta/v1/products/${ product } /versions/${ version } /api-docs.json${ getCurrentLang ( ) === "en_US" ? "?language=en_US" : "" } ` ,
386
386
} ,
387
387
] ;
388
388
this . rewriteConfig ( pontxConfig ) ;
Original file line number Diff line number Diff line change 876
876
resolved "https://registry.npmmirror.com/@types/vscode-webview/-/vscode-webview-1.57.4.tgz"
877
877
integrity sha512-RrVw9s6gBJuY1IkUHMNznWgj/ktjwLpATyOTcKxUDIbbp7AQeK7S0E1+P/8Z75OgAW13OMqSAmaiuWw25dh59Q==
878
878
879
- " @types/vscode@^1.94 .0 " :
879
+ " @types/vscode@^1.75 .0 " :
880
880
version "1.94.0"
881
- resolved "https://registry.yarnpkg .com/@types/vscode/-/vscode-1.94.0.tgz#ccd2111b6ecaba6ad4da19c2d524828fa73ae250"
881
+ resolved "https://registry.npmmirror .com/@types/vscode/-/vscode-1.94.0.tgz#ccd2111b6ecaba6ad4da19c2d524828fa73ae250"
882
882
integrity sha512-UyQOIUT0pb14XSqJskYnRwD2aG0QrPVefIfrW1djR+/J4KeFQ0i1+hjZoaAmeNf3Z2jleK+R2hv+EboG/m8ruw==
883
883
884
884
" @typescript-eslint/eslint-plugin@^6.9.0 " :
You can’t perform that action at this time.
0 commit comments