[Pkg-javascript-commits] [node-syntax-error] 13/47: upgrade to esprima-fb for es6
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Aug 25 19:29:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-syntax-error.
commit 70e8ba78a61b7ed9b8555d3651b5374802ce9d84
Author: James Halliday <mail at substack.net>
Date: Tue Mar 18 16:03:49 2014 -0700
upgrade to esprima-fb for es6
---
index.js | 2 +-
package.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.js b/index.js
index 7e01c59..43dbdf4 100644
--- a/index.js
+++ b/index.js
@@ -1,4 +1,4 @@
-var esprima = require('esprima');
+var esprima = require('esprima-fb');
module.exports = function (src, file) {
if (typeof src !== 'string') src = String(src);
diff --git a/package.json b/package.json
index 715abf2..8ad0cce 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"description": "detect and report syntax errors in source code strings",
"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-syntax-error.git
More information about the Pkg-javascript-commits
mailing list