[Pkg-javascript-commits] [node-browser-unpack] 13/40: Update to use esprima-fb

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 12:27:24 UTC 2017


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

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

commit ac5c04be77ab58fc8387997d8e22d764d5878a55
Author: Hugh Kennedy <hughskennedy at gmail.com>
Date:   Wed Mar 19 15:25:06 2014 +1100

    Update to use esprima-fb
    
    Keeps browser-unpack behaving the same as browserify and
    its dependencies, given the changes in 3.33.x
---
 index.js     | 2 +-
 package.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js
index b5d5288..452dafb 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 = parse(src, { range: true });
diff --git a/package.json b/package.json
index 08afd6f..282cfdb 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
   },
   "dependencies": {
     "concat-stream": "~1.2.1",
-    "esprima": "~1.0.4",
+    "esprima-fb": "^3001.1.0-dev-harmony-fb",
     "minimist": "0.0.5"
   },
   "devDependencies": {

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



More information about the Pkg-javascript-commits mailing list