File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ installing engines to make eshost automatically find the installed engines.
35
35
| [ engine262] [ ] | ` engine262 ` | ✅ | ✅ | ✅ | ✅ | ✅ |
36
36
| [ GraalJS] [ ] | ` graaljs ` | ✅ | | ✅ | | ✅ |
37
37
| [ Hermes] [ ] | ` hermes ` | ✅ | | | | ✅ |
38
- | [ JavaScriptCore] [ ] | ` jsc ` , ` javascriptcore ` | ✅ | ✅ | ✅ | ✅ | ✅ |
38
+ | [ JavaScriptCore] [ ] | ` jsc ` , ` javascriptcore ` | ✅ | | ✅ | ✅ | ✅ |
39
39
| [ QuickJS] [ ] | ` quickjs ` , ` quickjs-run-test262 ` | | | ✅ | | |
40
40
| [ SpiderMonkey] [ ] | ` sm ` , ` spidermonkey ` | ✅ | ✅ | ✅ | ✅ | ✅ |
41
41
| [ V8] [ ] | ` v8 ` | ✅ | ✅ | ✅ | ✅ | ✅ |
Original file line number Diff line number Diff line change @@ -39,19 +39,10 @@ class JavaScriptCoreInstaller extends Installer {
39
39
static async resolveVersion ( version ) {
40
40
if ( version === 'latest' ) {
41
41
switch ( platform ) {
42
- case 'linux32' :
43
- case 'linux64' : {
44
- const body = await fetch ( `https://webkitgtk.org/jsc-built-products/x86_${ platform === 'linux32' ? '32' : '64' } /release/?C=M;O=D` )
45
- . then ( ( r ) => r . text ( ) ) ;
46
- // Check for the most recent *.sha256sum file rather than the
47
- // most recent *.zip file to avoid the race condition where the
48
- // ZIP file has not fully been uploaded yet. The *.sha256sum
49
- // files are written last, so once one is available the
50
- // corresponding ZIP file is guaranteed to be available.
51
- // https://mths.be/bww
52
- const match = / < a h r e f = " ( \d + ) \. s h a 2 5 6 s u m " > / . exec ( body ) ;
53
- return match [ 1 ] ;
54
- }
42
+ case 'linux64' :
43
+ return fetch ( 'https://webkitgtk.org/jsc-built-products/x86_64/release/LAST-IS' )
44
+ . then ( ( r ) => r . text ( ) )
45
+ . then ( ( n ) => n . trim ( ) . replace ( '.zip' , '' ) ) ;
55
46
case 'win32' : {
56
47
const body = await fetch ( 'https://build.webkit.org/builders/Apple%20Win%2010%20Release%20(Build)?numbuilds=25' )
57
48
. then ( ( r ) => r . text ( ) ) ;
@@ -153,7 +144,7 @@ JavaScriptCoreInstaller.config = {
153
144
} ,
154
145
] : undefined ,
155
146
supported : [
156
- 'linux32' , ' linux64',
147
+ 'linux64' ,
157
148
'win32' , 'win64' ,
158
149
'darwin64' ,
159
150
] ,
You can’t perform that action at this time.
0 commit comments