From f7f360d995b4d415d23eed1b9fe5455ab6c6bd48 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Wed, 3 Sep 2014 14:36:11 -0700 Subject: [PATCH] Upgrade recast to v0.7.1 and depend on esprima-fb instead of esprima. --- main.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 10f3efc2d..30a9d7160 100644 --- a/main.js +++ b/main.js @@ -53,7 +53,7 @@ function normalizeOptions(options) { }); if (!options.esprima) { - options.esprima = require("esprima"); + options.esprima = require("esprima-fb"); } assert.ok( diff --git a/package.json b/package.json index 95039e6e4..643d1fc0b 100644 --- a/package.json +++ b/package.json @@ -29,8 +29,8 @@ }, "dependencies": { "commander": "~2.1.0", - "esprima": "git://github.com/ariya/esprima.git#harmony", - "recast": "~0.6.5", + "esprima-fb": "5001.1.0-dev-harmony-fb", + "recast": "~0.7.1", "private": "~0.1.5", "defs": "~0.6.2" },