[Pkg-javascript-commits] [node-detective] 04/09: Allow allowImportExportEverywhere acorn option (#68)

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 30 10:43:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-detective.

commit 8fc9bfe5c2174b59a91d08e158f1f1114c9bd92c
Author: vizo <vizo at users.noreply.github.com>
Date:   Sat Nov 25 17:35:58 2017 +0100

    Allow allowImportExportEverywhere acorn option (#68)
---
 index.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/index.js b/index.js
index 938f86f..94d179b 100644
--- a/index.js
+++ b/index.js
@@ -15,6 +15,9 @@ function parse (src, opts) {
         allowReturnOutsideFunction: defined(
             opts.allowReturnOutsideFunction, true
         ),
+        allowImportExportEverywhere: defined(
+            opts.allowImportExportEverywhere, true
+        ),
         allowHashBang: defined(opts.allowHashBang, true)
     });
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-detective.git



More information about the Pkg-javascript-commits mailing list