Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

vendored esprima instead of the git uri, passing tests

  • Loading branch information...
commit 27a21656ae12c5a152fdcd1f415cb264090dae53 1 parent 2c77886
@substack authored
View
3,867 node_modules/esprima/esprima.js
3,867 additions, 0 deletions not shown
View
57 node_modules/esprima/package.json
@@ -0,0 +1,57 @@
+{
+ "name": "esprima",
+ "description": "ECMAScript parsing infrastructure for multipurpose analysis",
+ "homepage": "http://esprima.org",
+ "main": "esprima.js",
+ "bin": {
+ "esparse": "./bin/esparse.js",
+ "esvalidate": "./bin/esvalidate.js"
+ },
+ "version": "1.1.0-dev",
+ "engines": {
+ "node": ">=0.4.0"
+ },
+ "maintainers": [
+ {
+ "name": "Ariya Hidayat",
+ "email": "ariya.hidayat@gmail.com",
+ "url": "http://ariya.ofilabs.com"
+ }
+ ],
+ "repository": {
+ "type": "git",
+ "url": "http://github.com/ariya/esprima.git"
+ },
+ "licenses": [
+ {
+ "type": "BSD",
+ "url": "http://github.com/ariya/esprima/raw/master/LICENSE.BSD"
+ }
+ ],
+ "devDependencies": {
+ "jslint": "~0.1.9",
+ "istanbul": "~0.1.27",
+ "complexity-report": "~0.6.1"
+ },
+ "scripts": {
+ "test": "npm run-script lint && node test/run.js && npm run-script coverage && npm run-script complexity",
+ "lint": "node_modules/jslint/bin/jslint.js esprima.js",
+ "coverage": "npm run-script analyze-coverage && npm run-script check-coverage",
+ "analyze-coverage": "node node_modules/istanbul/lib/cli.js cover test/runner.js",
+ "check-coverage": "node node_modules/istanbul/lib/cli.js check-coverage --statement -5 --branch -19 --function 100",
+ "complexity": "npm run-script analyze-complexity && npm run-script check-complexity",
+ "analyze-complexity": "node tools/list-complexity.js",
+ "check-complexity": "node node_modules/complexity-report/src/cli.js --maxcc 21 --silent -l -w esprima.js",
+ "benchmark": "node test/benchmarks.js",
+ "benchmark-quick": "node test/benchmarks.js quick"
+ },
+ "readme": "**Esprima** ([esprima.org](http://esprima.org)) is a high performance,\nstandard-compliant [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm)\nparser written in ECMAScript (also popularly known as\n[JavaScript](http://en.wikipedia.org/wiki/JavaScript>JavaScript)).\nEsprima is created and maintained by [Ariya Hidayat](http://twitter.com/ariyahidayat),\nwith the help of [many contributors](https://github.com/ariya/esprima/contributors).\n\nEsprima runs on web browsers (IE 6+, Firefox 1+, Safari 3+, Chrome 1+, Konqueror 4.6+, Opera 8+) as well as\n[Rhino](http://www.mozilla.org/rhino) and [Node.js](http://nodejs.org).\n\n### Features\n\n- Full support for [ECMAScript 5.1](http://www.ecma-international.org/publications/standards/Ecma-262.htm)(ECMA-262)\n- Sensible [syntax tree format](http://esprima.org/doc/index.html#ast) compatible with Mozilla\n[Parser AST](https://developer.mozilla.org/en/SpiderMonkey/Parser_API)\n- Heavily tested (> 550 [unit tests](http://esprima.org/test/) with solid 100% statement coverage)\n- Optional tracking of syntax node location (index-based and line-column)\n- Experimental support for ES6/Harmony (module, class, destructuring, ...)\n\nEsprima is blazing fast (see the [benchmark suite](http://esprima.org/test/benchmarks.html)).\nIt is up to 3x faster than UglifyJS v1 and it is still [competitive](http://esprima.org/test/compare.html)\nwith the new generation of fast parsers.\n\n### Applications\n\nEsprima serves as the basis for many popular JavaScript development tools:\n\n- Code coverage analysis: [node-cover](https://github.com/itay/node-cover), [Istanbul](https://github.com/yahoo/Istanbul)\n- Documentation tool: [JFDoc](https://github.com/thejohnfreeman/jfdoc), [JSDuck](https://github.com/senchalabs/jsduck)\n- Language extension: [LLJS](http://mbebenita.github.com/LLJS/) (low-level JS),\n[Sweet.js](http://sweetjs.org/) (macro)\n- ES6/Harmony transpiler: [Six](https://github.com/matthewrobb/six), [Harmonizr](https://github.com/jdiamond/harmonizr)\n- Eclipse Orion smart editing ([outline view](https://github.com/aclement/esprima-outline), [content assist](http://contraptionsforprogramming.blogspot.com/2012/02/better-javascript-content-assist-in.html))\n- Source code modification: [Esmorph](https://github.com/ariya/esmorph), [Code Painter](https://github.com/fawek/codepainter),\n- Source transformation: [node-falafel](https://github.com/substack/node-falafel), [Rocambole](https://github.com/millermedeiros/rocambole/),\n [Esmangle](https://github.com/Constellation/esmangle), [escodegen](https://github.com/Constellation/escodegen), [redeyed](https://github.com/thlorenz/redeyed)\n- Code navigation: [esgoggles](http://keeyipchan.github.com/esgoggles)\n- AMD module tree assembler tools: [r.js](https://github.com/jrburke/r.js), [Prune.js](http://dvdotsenko.github.com/prunejs/)\n\n### Questions?\n- [Documentation](http://esprima.org/doc)\n- [Issue tracker](http://issues.esprima.org): [known problems](http://code.google.com/p/esprima/issues/list?q=Defect)\nand [future plans](http://code.google.com/p/esprima/issues/list?q=Enhancement)\n- [Mailing list](http://groups.google.com/group/esprima)\n- [Contribution guide](http://esprima.org/doc/index.html#contribution)\n\nFollow [@Esprima](http://twitter.com/Esprima) on Twitter to get the\ndevelopment updates.\nFeedback and contribution are welcomed!\n\n### License\n\nCopyright (C) 2012, 2011 [Ariya Hidayat](http://ariya.ofilabs.com/about)\n and other contributors.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\nTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n",
+ "readmeFilename": "README.md",
+ "_id": "esprima@1.1.0-dev",
+ "dist": {
+ "shasum": "7904a05aeffeb65c1defb1adc0d6c3390a126b6f"
+ },
+ "_resolved": "git://github.com/substack/esprima#0a7f8489a11b44b019ce168506f535f22d0be290",
+ "_from": "git://github.com/substack/esprima#is-keyword",
+ "_fromGithub": true
+}
View
9 package.json
@@ -20,14 +20,11 @@
"test" : "test"
},
"scripts" : {
- "test" : "tap test/*.js"
- },
- "dependencies" : {
- "esprima" : "substack/esprima#is-keyword"
+ "test" : "tape test/*.js"
},
+ "bundledDependencies" : [ "esprima" ],
"devDependencies" : {
- "tape" : "~0.0.2",
- "tap" : "~0.3.0"
+ "tape" : "~1.0.4"
},
"engines" : {
"node" : ">=0.4.0"
Please sign in to comment.
Something went wrong with that request. Please try again.