@@ -7,21 +7,21 @@ var fastFind = require('./find-fast');
77var requireRe = / \b r e q u i r e \b / ;
88
99function getParseOpts ( opts ) {
10- opts = opts || { } ;
11- return {
12- ecmaVersion : defined ( opts . ecmaVersion , 8 ) ,
13- sourceType : opts . sourceType ,
14- ranges : defined ( opts . ranges , opts . range ) ,
15- locations : defined ( opts . locations , opts . loc ) ,
16- allowReserved : defined ( opts . allowReserved , true ) ,
17- allowReturnOutsideFunction : defined (
18- opts . allowReturnOutsideFunction , true
19- ) ,
20- allowImportExportEverywhere : defined (
21- opts . allowImportExportEverywhere , true
22- ) ,
23- allowHashBang : defined ( opts . allowHashBang , true )
24- } ;
10+ opts = opts || { } ;
11+ return {
12+ ecmaVersion : defined ( opts . ecmaVersion , 8 ) ,
13+ sourceType : opts . sourceType ,
14+ ranges : defined ( opts . ranges , opts . range ) ,
15+ locations : defined ( opts . locations , opts . loc ) ,
16+ allowReserved : defined ( opts . allowReserved , true ) ,
17+ allowReturnOutsideFunction : defined (
18+ opts . allowReturnOutsideFunction , true
19+ ) ,
20+ allowImportExportEverywhere : defined (
21+ opts . allowImportExportEverywhere , true
22+ ) ,
23+ allowHashBang : defined ( opts . allowHashBang , true )
24+ } ;
2525}
2626
2727var exports = module . exports = function ( src , opts ) {
0 commit comments