@@ -8,12 +8,17 @@ import { tsPlugin } from '../index.js';
8
8
9
9
const parser = acorn . Parser . extend ( tsPlugin ( ) ) ;
10
10
const UNSUPPORTED_FEATURES = [
11
+ // TODO regularly check those; they might become stage 4 at some point and then Acorn core should support them
11
12
'regexp-v-flag' ,
12
13
'regexp-duplicate-named-groups' ,
13
14
'import-assertions' ,
14
15
'decorators' ,
15
16
'json-modules' ,
16
- 'import-attributes'
17
+ 'import-attributes' ,
18
+ 'import-defer' ,
19
+ 'source-phase-imports' ,
20
+ 'source-phase-imports-module-source' ,
21
+ 'explicit-resource-management'
17
22
] ;
18
23
19
24
const SKIP_FILES = [
@@ -54,7 +59,13 @@ const WHITELIST = [
54
59
'language/expressions/dynamic-import/syntax/invalid/nested-if-braceless-not-extensible-args.js' ,
55
60
'language/expressions/dynamic-import/syntax/invalid/nested-if-not-extensible-args.js' ,
56
61
'language/expressions/dynamic-import/syntax/invalid/nested-while-not-extensible-args.js' ,
57
- 'language/expressions/dynamic-import/syntax/invalid/top-level-not-extensible-args.js'
62
+ 'language/expressions/dynamic-import/syntax/invalid/top-level-not-extensible-args.js' ,
63
+ // various stuff
64
+ 'staging/sm/fields/await-identifier-module-3.js' ,
65
+ 'staging/sm/module/duplicate-exported-names-in-single-export-declaration.js' ,
66
+ 'staging/sm/module/duplicate-exported-names-in-single-export-var-declaration.js' ,
67
+ 'staging/sm/module/module-export-name-star.js' ,
68
+ 'staging/sm/String/make-normalize-generateddata-input.py' // python??
58
69
] . flatMap ( ( s ) => [ s + ' (default)' , s + ' (strict mode)' ] ) ;
59
70
60
71
WHITELIST . push (
0 commit comments