From 5ff52c578ef74d586b5538c85efb27bca7cc2e4d Mon Sep 17 00:00:00 2001 From: timwis Date: Sat, 12 Aug 2017 17:46:46 -0400 Subject: [PATCH] Upgrade falafel to ^2.1.0 --- lib/replace.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/replace.js b/lib/replace.js index 482bf0e..8c670f7 100644 --- a/lib/replace.js +++ b/lib/replace.js @@ -3,7 +3,7 @@ module.exports = replace; function replace (src, deps) { var opts = { - ecmaVersion: 6, + ecmaVersion: 8, allowReturnOutsideFunction: true }; return falafel(src, opts, function (node) { diff --git a/package.json b/package.json index fa6f4d7..65028de 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "browser-pack": "^5.0.1", "browser-unpack": "^1.1.0", "concat-stream": "^1.5.0", - "falafel": "^1.2.0", + "falafel": "^2.1.0", "minimist": "^1.1.1", "through2": "^2.0.0" },