[Pkg-javascript-commits] [node-astw] 09/30: esprima-six
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 0f699ee2ae010e69b86553c325371fd7c19391fc
Author: James Halliday <mail at substack.net>
Date: Fri Jan 31 22:08:44 2014 -0800
esprima-six
---
index.js | 2 +-
package.json | 86 ++++++++++++++++++++++++++++++------------------------------
2 files changed, 44 insertions(+), 44 deletions(-)
diff --git a/index.js b/index.js
index 4d71a1f..e55ab13 100644
--- a/index.js
+++ b/index.js
@@ -1,4 +1,4 @@
-var parse = require('esprima').parse;
+var parse = require('esprima-six').parse;
module.exports = function (src) {
var ast = typeof src === 'string' ? parse(src) : src;
diff --git a/package.json b/package.json
index c045390..8b9138b 100644
--- a/package.json
+++ b/package.json
@@ -1,45 +1,45 @@
{
- "name": "astw",
- "version": "0.0.0",
- "description": "walk the ast with references to parent nodes",
- "main": "index.js",
- "dependencies": {
- "esprima": "1.0.2"
- },
- "devDependencies": {
- "tape": "~0.2.2",
- "tap": "~0.4.0",
- "escodegen": "~0.0.17"
- },
- "scripts": {
- "test": "tap test/*.js"
- },
- "testling" : {
- "files" : "test/*.js",
- "browsers" : [
- "ie/6..latest",
- "chrome/20..latest",
- "firefox/10..latest",
- "safari/latest",
- "opera/11.0..latest",
- "iphone/6", "ipad/6"
- ]
- },
- "repository": {
- "type": "git",
- "url": "git://github.com/substack/astw.git"
- },
- "homepage": "https://github.com/substack/astw",
- "keywords": [
- "ast",
- "walk",
- "source",
- "esprima"
- ],
- "author": {
- "name": "James Halliday",
- "email": "mail at substack.net",
- "url": "http://substack.net"
- },
- "license": "MIT"
+ "name": "astw",
+ "version": "0.0.0",
+ "description": "walk the ast with references to parent nodes",
+ "main": "index.js",
+ "dependencies": {
+ "esprima-six": "0.0.3"
+ },
+ "devDependencies": {
+ "tape": "~2.4.1",
+ "escodegen": "~0.0.17"
+ },
+ "scripts": {
+ "test": "tape test/*.js"
+ },
+ "testling": {
+ "files": "test/*.js",
+ "browsers": [
+ "ie/6..latest",
+ "chrome/20..latest",
+ "firefox/10..latest",
+ "safari/latest",
+ "opera/11.0..latest",
+ "iphone/6",
+ "ipad/6"
+ ]
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/substack/astw.git"
+ },
+ "homepage": "https://github.com/substack/astw",
+ "keywords": [
+ "ast",
+ "walk",
+ "source",
+ "esprima"
+ ],
+ "author": {
+ "name": "James Halliday",
+ "email": "mail at substack.net",
+ "url": "http://substack.net"
+ },
+ "license": "MIT"
}
--
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