UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

173 lines (172 loc) 9.57 kB
{ "_args": [ [ { "raw": "esprima@^4.0.0", "scope": null, "escapedName": "esprima", "name": "esprima", "rawSpec": "^4.0.0", "spec": ">=4.0.0 <5.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/js-yaml" ] ], "_from": "esprima@>=4.0.0 <5.0.0", "_id": "esprima@4.0.1", "_inCache": true, "_location": "/esprima", "_nodeVersion": "8.11.3", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/esprima_4.0.1_1531471154575_0.7747545493259598" }, "_npmUser": { "name": "ariya", "email": "ariya.hidayat@gmail.com" }, "_npmVersion": "5.6.0", "_phantomChildren": {}, "_requested": { "raw": "esprima@^4.0.0", "scope": null, "escapedName": "esprima", "name": "esprima", "rawSpec": "^4.0.0", "spec": ">=4.0.0 <5.0.0", "type": "range" }, "_requiredBy": [ "/js-yaml" ], "_resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "_shasum": "13b04cdb3e6c5d19df91ab6987a8695619b0aa71", "_shrinkwrap": null, "_spec": "esprima@^4.0.0", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/js-yaml", "author": { "name": "Ariya Hidayat", "email": "ariya.hidayat@gmail.com" }, "bin": { "esparse": "./bin/esparse.js", "esvalidate": "./bin/esvalidate.js" }, "bugs": { "url": "https://github.com/jquery/esprima/issues" }, "dependencies": {}, "description": "ECMAScript parsing infrastructure for multipurpose analysis", "devDependencies": { "codecov.io": "~0.1.6", "escomplex-js": "1.2.0", "everything.js": "~1.0.3", "glob": "~7.1.0", "istanbul": "~0.4.0", "json-diff": "~0.3.1", "karma": "~1.3.0", "karma-chrome-launcher": "~2.0.0", "karma-detect-browsers": "~2.2.3", "karma-edge-launcher": "~0.2.0", "karma-firefox-launcher": "~1.0.0", "karma-ie-launcher": "~1.0.0", "karma-mocha": "~1.3.0", "karma-safari-launcher": "~1.0.0", "karma-safaritechpreview-launcher": "~0.0.4", "karma-sauce-launcher": "~1.1.0", "lodash": "~3.10.1", "mocha": "~3.2.0", "node-tick-processor": "~0.0.2", "regenerate": "~1.3.2", "temp": "~0.8.3", "tslint": "~5.1.0", "typescript": "~2.3.2", "typescript-formatter": "~5.1.3", "unicode-8.0.0": "~0.7.0", "webpack": "~1.14.0" }, "directories": {}, "dist": { "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "shasum": "13b04cdb3e6c5d19df91ab6987a8695619b0aa71", "tarball": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "fileCount": 7, "unpackedSize": 314361, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbSGUyCRA9TVsSAnZWagAAEWcP/2DbPmjJx0Z5u0OIDmkU\nw2GTt6y67+KtMSLt2ot5G1acmLJQbRq88pU95swl4rjoOELqJgamPzhaNYal\nA1wvGi3lwUNYqM2T5vY15Ye6K/+OkMAVxSQ6/L5qvg1U4atoj6uwapwIuoeK\nmvPPuYZX4FvaDTciVUPpFYqaRi5JWBImA0qfXlhhCnhdAd7DkeaLd+z18E7h\n9q0PPm2gtmDGJUDXwcJJzrhKSfQIw4ofcWwheaGJnlRzy2CEV2jUe90jdAH+\nv/jXFxCG1tWg4OZDSfqQfSx8uD7eSVeunsIz6AcNmh7dUHZI6S6AT47itPKm\nYeZoTwhPbJJxG7yZ6EVrItONOeuyghYekQpkDq3leEUl1FZbh3We7/yZSnbv\nrpHonlSaFLniH2RB1NBhP2qXe235bLXxcDt45PgBpqHnBJXoZLWKopH1+7z7\nyc2+DwxmhBm6WC9IjqknRi12JceLMJqThHUkXi2TST5PPUAwpiqgzCzJRvbt\nV/KOI8/Ex6QAbjkqLIfEHBVa7nrdGAagVmFoqV3ZUxtRsb0qAUAsS/XGOVwv\nrjR3iqJsZZmNXzt2Bz+bwwXIdBXnPsZFc8b+FCoRk+1RG/WYA4NDcB1PYaJn\nbMaOD+wr8Mym5PSAlg23ujBquISQlVILppKemTi9m091GUR+d/C1SYa1uAJX\nZk8+\r\n=ke5k\r\n-----END PGP SIGNATURE-----\r\n" }, "engines": { "node": ">=4" }, "files": [ "bin", "dist/esprima.js" ], "gitHead": "0ed4b8afdf2abd416f738977672c6232836f410a", "homepage": "http://esprima.org", "keywords": [ "ast", "ecmascript", "esprima", "javascript", "parser", "syntax" ], "license": "BSD-2-Clause", "main": "dist/esprima.js", "maintainers": [ { "name": "Ariya Hidayat", "email": "ariya.hidayat@gmail.com", "url": "http://ariya.ofilabs.com" } ], "name": "esprima", "optionalDependencies": {}, "readme": "[![NPM version](https://img.shields.io/npm/v/esprima.svg)](https://www.npmjs.com/package/esprima)\n[![npm download](https://img.shields.io/npm/dm/esprima.svg)](https://www.npmjs.com/package/esprima)\n[![Build Status](https://img.shields.io/travis/jquery/esprima/master.svg)](https://travis-ci.org/jquery/esprima)\n[![Coverage Status](https://img.shields.io/codecov/c/github/jquery/esprima/master.svg)](https://codecov.io/github/jquery/esprima)\n\n**Esprima** ([esprima.org](http://esprima.org), BSD license) 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](https://en.wikipedia.org/wiki/JavaScript)).\nEsprima is created and maintained by [Ariya Hidayat](https://twitter.com/ariyahidayat),\nwith the help of [many contributors](https://github.com/jquery/esprima/contributors).\n\n### Features\n\n- Full support for ECMAScript 2017 ([ECMA-262 8th Edition](http://www.ecma-international.org/publications/standards/Ecma-262.htm))\n- Sensible [syntax tree format](https://github.com/estree/estree/blob/master/es5.md) as standardized by [ESTree project](https://github.com/estree/estree)\n- Experimental support for [JSX](https://facebook.github.io/jsx/), a syntax extension for [React](https://facebook.github.io/react/)\n- Optional tracking of syntax node location (index-based and line-column)\n- [Heavily tested](http://esprima.org/test/ci.html) (~1500 [unit tests](https://github.com/jquery/esprima/tree/master/test/fixtures) with [full code coverage](https://codecov.io/github/jquery/esprima))\n\n### API\n\nEsprima can be used to perform [lexical analysis](https://en.wikipedia.org/wiki/Lexical_analysis) (tokenization) or [syntactic analysis](https://en.wikipedia.org/wiki/Parsing) (parsing) of a JavaScript program.\n\nA simple example on Node.js REPL:\n\n```javascript\n> var esprima = require('esprima');\n> var program = 'const answer = 42';\n\n> esprima.tokenize(program);\n[ { type: 'Keyword', value: 'const' },\n { type: 'Identifier', value: 'answer' },\n { type: 'Punctuator', value: '=' },\n { type: 'Numeric', value: '42' } ]\n \n> esprima.parseScript(program);\n{ type: 'Program',\n body:\n [ { type: 'VariableDeclaration',\n declarations: [Object],\n kind: 'const' } ],\n sourceType: 'script' }\n```\n\nFor more information, please read the [complete documentation](http://esprima.org/doc).", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/jquery/esprima.git" }, "scripts": { "all-tests": "npm run verify-line-ending && npm run generate-fixtures && npm run unit-tests && npm run api-tests && npm run grammar-tests && npm run regression-tests && npm run hostile-env-tests", "analyze-coverage": "istanbul cover test/unit-tests.js", "api-tests": "mocha -R dot test/api-tests.js", "appveyor": "npm run compile && npm run all-tests && npm run browser-tests", "benchmark": "npm run benchmark-parser && npm run benchmark-tokenizer", "benchmark-parser": "node -expose_gc test/benchmark-parser.js", "benchmark-tokenizer": "node --expose_gc test/benchmark-tokenizer.js", "browser-tests": "npm run compile && npm run generate-fixtures && cd test && karma start --single-run", "check-coverage": "istanbul check-coverage --statement 100 --branch 100 --function 100", "check-version": "node test/check-version.js", "circleci": "npm test && npm run codecov && npm run downstream", "code-style": "tsfmt --verify src/*.ts && tsfmt --verify test/*.js", "codecov": "istanbul report cobertura && codecov < ./coverage/cobertura-coverage.xml", "compile": "tsc -p src/ && webpack && node tools/fixupbundle.js", "complexity": "node test/check-complexity.js", "downstream": "node test/downstream.js", "droneio": "npm run compile && npm run all-tests && npm run saucelabs", "dynamic-analysis": "npm run analyze-coverage && npm run check-coverage", "format-code": "tsfmt -r src/*.ts && tsfmt -r test/*.js", "generate-fixtures": "node tools/generate-fixtures.js", "generate-regex": "node tools/generate-identifier-regex.js", "generate-xhtml-entities": "node tools/generate-xhtml-entities.js", "grammar-tests": "node test/grammar-tests.js", "hostile-env-tests": "node test/hostile-environment-tests.js", "prepublish": "npm run compile", "profile": "node --prof test/profile.js && mv isolate*.log v8.log && node-tick-processor", "regression-tests": "node test/regression-tests.js", "saucelabs": "npm run saucelabs-evergreen && npm run saucelabs-ie && npm run saucelabs-safari", "saucelabs-evergreen": "cd test && karma start saucelabs-evergreen.conf.js", "saucelabs-ie": "cd test && karma start saucelabs-ie.conf.js", "saucelabs-safari": "cd test && karma start saucelabs-safari.conf.js", "static-analysis": "npm run check-version && npm run tslint && npm run code-style && npm run complexity", "test": "npm run compile && npm run all-tests && npm run static-analysis && npm run dynamic-analysis", "travis": "npm test", "tslint": "tslint src/*.ts", "unit-tests": "node test/unit-tests.js", "verify-line-ending": "node test/verify-line-ending.js" }, "version": "4.0.1" }