File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,14 @@ var CJSParser = acorn.Parser
55 . extend ( require ( './lib/bigint' ) )
66 . extend ( require ( './lib/class-fields' ) )
77 . extend ( require ( './lib/static-class-features' ) )
8- . extend ( require ( 'acorn-dynamic-import' ) . default )
98var ESModulesParser = CJSParser
109 . extend ( require ( './lib/export-ns-from' ) )
1110 . extend ( require ( './lib/import-meta' ) )
1211
1312function mapOptions ( opts ) {
1413 if ( ! opts ) opts = { }
1514 return xtend ( {
16- ecmaVersion : 2019 ,
15+ ecmaVersion : 2020 ,
1716 allowHashBang : true ,
1817 allowReturnOutsideFunction : true
1918 } , opts )
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ test('walk supports plugin syntax', function (t) {
136136 )
137137 t . plan ( 2 )
138138 walk . simple ( ast , {
139- Import : function ( ) {
139+ ImportExpression : function ( ) {
140140 t . pass ( 'import()' )
141141 } ,
142142 MetaProperty : function ( ) {
You can’t perform that action at this time.
0 commit comments