From e63962ddd340e3a412ee33d9f0ed443a88d3975f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Pallar=C3=A9s?= Date: Wed, 6 Jun 2018 00:18:13 +0200 Subject: [PATCH] refactor: rename babylon to @babel/parser --- lib/parse.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/parse.js b/lib/parse.js index f29e6af1..013de92d 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -1,8 +1,8 @@ "use strict"; var babylonToEspree = require("./babylon-to-espree"); -var parse = require("babylon").parse; -var tt = require("babylon").tokTypes; +var parse = require("@babel/parser").parse; +var tt = require("@babel/parser").tokTypes; var traverse = require("@babel/traverse").default; var codeFrameColumns = require("@babel/code-frame").codeFrameColumns;