You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2019/12/18 17:59:12 UTC

[couchdb-escodegen] 01/01: Update estraverse to ^4.1.0

This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to reference refs/pull/266/head
in repository https://gitbox.apache.org/repos/asf/couchdb-escodegen.git

commit 1bb889d15d7322cb475eb95a113f8150c24987a2
Author: Mehdy Dara <md...@eleven-labs.com>
AuthorDate: Mon Oct 12 16:53:21 2015 +0200

    Update estraverse to ^4.1.0
---
 package.json                                    | 2 +-
 test/comment/try-block-line-comment.expected.js | 6 ++----
 test/compare-acorn-es6/exports.expected.js      | 4 +++-
 test/compare-acorn-es6/exports.expected.min.js  | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/package.json b/package.json
index 852608e..d30029f 100644
--- a/package.json
+++ b/package.json
@@ -31,7 +31,7 @@
         "url": "http://github.com/estools/escodegen.git"
     },
     "dependencies": {
-        "estraverse": "^1.9.1",
+        "estraverse": "^4.1.0",
         "esutils": "^2.0.2",
         "esprima": "^1.2.2",
         "optionator": "^0.5.0"
diff --git a/test/comment/try-block-line-comment.expected.js b/test/comment/try-block-line-comment.expected.js
index 726ada5..d46d786 100644
--- a/test/comment/try-block-line-comment.expected.js
+++ b/test/comment/try-block-line-comment.expected.js
@@ -4,13 +4,11 @@ finally {
 }
 try {
 } catch (e) {
-}    //
-finally {
+} finally {
 }
 {
     try {
     } catch (e) {
-    }    //
-    finally {
+    } finally {
     }
 }
diff --git a/test/compare-acorn-es6/exports.expected.js b/test/compare-acorn-es6/exports.expected.js
index e85a78e..71ddef6 100644
--- a/test/compare-acorn-es6/exports.expected.js
+++ b/test/compare-acorn-es6/exports.expected.js
@@ -1,4 +1,6 @@
-export * from 'OK';
+export {
+    *
+} from 'OK';
 export {
     name
 } from 'OK';
diff --git a/test/compare-acorn-es6/exports.expected.min.js b/test/compare-acorn-es6/exports.expected.min.js
index 43ff5b0..4e74b7f 100644
--- a/test/compare-acorn-es6/exports.expected.min.js
+++ b/test/compare-acorn-es6/exports.expected.min.js
@@ -1 +1 @@
-export*from'OK';export{name}from'OK';export{a as b,c as d}from'hello';export{a as b,c as d};export{};export default i=20;export function test(){}export var i=20;export let i=42
+export{*}from'OK';export{name}from'OK';export{a as b,c as d}from'hello';export{a as b,c as d};export{};export default i=20;export function test(){}export var i=20;export let i=42