File tree 3 files changed +27
-12
lines changed
3 files changed +27
-12
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
- ### 2.3.7 | 2022-11-23
3
+ ### 2.3.9 | 2024-01-19
4
+
5
+ - Fix archive extraction on Windows failing when run under Electron
6
+
7
+ ### 2.3.8 | 2023-11-24
8
+
9
+ - Fix archive extraction on macOS and Linux sometimes failing
10
+
11
+ ### 2.3.7 | 2023-11-23
4
12
5
13
- Remove detection for unsupported win32 builds
6
14
- Add length and hash validation for downloaded builds
7
15
8
- ### 2.3.6 | 2022 -10-24
16
+ ### 2.3.6 | 2023 -10-24
9
17
10
18
- Fix windows sometimes failing on EPERM in download (again)
11
19
12
- ### 2.3.5 | 2022 -10-04
20
+ ### 2.3.5 | 2023 -10-04
13
21
14
22
- Fix windows sometimes failing on EPERM in download
15
23
16
- ### 2.3.4 | 2022 -07-31
24
+ ### 2.3.4 | 2023 -07-31
17
25
18
26
- Fix "insiders" string not matching correctly
19
27
20
- ### 2.3.3 | 2022 -06-10
28
+ ### 2.3.3 | 2023 -06-10
21
29
22
30
- Disable GPU sandbox by default, fixing failures in some CI's.
23
31
24
- ### 2.3.2 | 2022 -05-11
32
+ ### 2.3.2 | 2023 -05-11
25
33
26
34
- Fix download method not working for the vscode cli.
27
35
28
- ### 2.3.1 | 2022 -04-04
36
+ ### 2.3.1 | 2023 -04-04
29
37
30
38
- Gracefully kill VS Code if SIGINT is received
31
39
32
- ### 2.3.0 | 2022 -02-27
40
+ ### 2.3.0 | 2023 -02-27
33
41
34
42
- Automatically use the most recent version matching ` engines.vscode ` in extensions' package.json
35
43
- Allow insiders ` version ` s to be specified, such as ` version: "1.76.0-insider" `
36
44
- Reduce the likelihood of 'broken' installations on interrupted downloads
37
45
- Remove dependency on outdated ` unzipper ` module
38
46
39
- ### 2.2.4 | 2022 -02-19
47
+ ### 2.2.4 | 2023 -02-19
40
48
41
49
- Use existing downloads if internet is inaccessible
42
50
43
- ### 2.2.3 | 2022 -01-30
51
+ ### 2.2.3 | 2023 -01-30
44
52
45
53
- Fix tests sometimes hanging on windows
46
54
47
- ### 2.2.2 | 2022 -01-09
55
+ ### 2.2.2 | 2023 -01-09
48
56
49
57
- Add default for platform in ` resolveCliPathFromVSCodeExecutablePath ` to match docs
50
58
Original file line number Diff line number Diff line change @@ -305,6 +305,13 @@ async function unzipVSCode(
305
305
const [ buffer , JSZip ] = await Promise . all ( [ streamToBuffer ( stream ) , import ( 'jszip' ) ] ) ;
306
306
await checksum ;
307
307
308
+ // Turn off Electron's special handling of .asar files, otherwise
309
+ // extraction will fail when we try to extract node_modules.asar
310
+ // under Electron's Node (i.e. in the test CLI invoked by an extension)
311
+ // https://github.com/electron/packager/issues/875
312
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
313
+ ( process as any ) . noAsar = true ;
314
+
308
315
const content = await JSZip . loadAsync ( buffer ) ;
309
316
// extract file with jszip
310
317
for ( const filename of Object . keys ( content . files ) ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @vscode/test-electron" ,
3
- "version" : " 2.3.8 " ,
3
+ "version" : " 2.3.9 " ,
4
4
"scripts" : {
5
5
"compile" : " tsc -p ./" ,
6
6
"watch" : " tsc -w -p ./" ,
You can’t perform that action at this time.
0 commit comments