[Pkg-javascript-commits] [node-astw] 12/30: using esprima-fb

Bastien Roucariès rouca at moszumanska.debian.org
Tue Sep 26 12:55:04 UTC 2017


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

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

commit a9c4658f3cf74d3deab9c37f8198c3cfcd3a7182
Author: James Halliday <mail at substack.net>
Date:   Tue Mar 18 16:00:25 2014 -0700

    using esprima-fb
---
 index.js     | 2 +-
 package.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js
index 4d71a1f..231ec99 100644
--- a/index.js
+++ b/index.js
@@ -1,4 +1,4 @@
-var parse = require('esprima').parse;
+var parse = require('esprima-fb').parse;
 
 module.exports = function (src) {
     var ast = typeof src === 'string' ? parse(src) : src;
diff --git a/package.json b/package.json
index 3067d72..8455083 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
   "description": "walk the ast with references to parent nodes",
   "main": "index.js",
   "dependencies": {
-    "esprima": "1.0.4"
+    "esprima-fb": "3001.1.0-dev-harmony-fb"
   },
   "devDependencies": {
     "tape": "~2.4.1",

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



More information about the Pkg-javascript-commits mailing list