345 lines
26 KiB
JSON
345 lines
26 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "acorn@^5.3.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "acorn",
|
||
|
"name": "acorn",
|
||
|
"rawSpec": "^5.3.0",
|
||
|
"spec": ">=5.3.0 <6.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/jsdom"
|
||
|
]
|
||
|
],
|
||
|
"_from": "acorn@>=5.3.0 <6.0.0",
|
||
|
"_id": "acorn@5.4.1",
|
||
|
"_inCache": true,
|
||
|
"_location": "/acorn",
|
||
|
"_nodeVersion": "8.4.0",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "s3://npm-registry-packages",
|
||
|
"tmp": "tmp/acorn-5.4.1.tgz_1517563159856_0.6037265080958605"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "marijn",
|
||
|
"email": "marijnh@gmail.com"
|
||
|
},
|
||
|
"_npmVersion": "5.6.0",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "acorn@^5.3.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "acorn",
|
||
|
"name": "acorn",
|
||
|
"rawSpec": "^5.3.0",
|
||
|
"spec": ">=5.3.0 <6.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/acorn-globals",
|
||
|
"/jsdom"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/acorn/-/acorn-5.4.1.tgz",
|
||
|
"_shasum": "fdc58d9d17f4a4e98d102ded826a9b9759125102",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "acorn@^5.3.0",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/jsdom",
|
||
|
"bin": {
|
||
|
"acorn": "./bin/acorn"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/acornjs/acorn/issues"
|
||
|
},
|
||
|
"contributors": [
|
||
|
{
|
||
|
"name": "List of Acorn contributors. Updated before every release."
|
||
|
},
|
||
|
{
|
||
|
"name": "Adrian Heine"
|
||
|
},
|
||
|
{
|
||
|
"name": "Adrian Heine né Lang"
|
||
|
},
|
||
|
{
|
||
|
"name": "Adrian Rakovsky"
|
||
|
},
|
||
|
{
|
||
|
"name": "Alistair Braidwood"
|
||
|
},
|
||
|
{
|
||
|
"name": "Amila Welihinda"
|
||
|
},
|
||
|
{
|
||
|
"name": "Andres Suarez"
|
||
|
},
|
||
|
{
|
||
|
"name": "Angelo"
|
||
|
},
|
||
|
{
|
||
|
"name": "Aparajita Fishman"
|
||
|
},
|
||
|
{
|
||
|
"name": "Arian Stolwijk"
|
||
|
},
|
||
|
{
|
||
|
"name": "Artem Govorov"
|
||
|
},
|
||
|
{
|
||
|
"name": "Boopesh Mahendran"
|
||
|
},
|
||
|
{
|
||
|
"name": "Bradley Heinz"
|
||
|
},
|
||
|
{
|
||
|
"name": "Brandon Mills"
|
||
|
},
|
||
|
{
|
||
|
"name": "Charles Hughes"
|
||
|
},
|
||
|
{
|
||
|
"name": "Charmander"
|
||
|
},
|
||
|
{
|
||
|
"name": "Conrad Irwin"
|
||
|
},
|
||
|
{
|
||
|
"name": "Daniel Tschinder"
|
||
|
},
|
||
|
{
|
||
|
"name": "David Bonnet"
|
||
|
},
|
||
|
{
|
||
|
"name": "Domenico Matteo"
|
||
|
},
|
||
|
{
|
||
|
"name": "ehmicky"
|
||
|
},
|
||
|
{
|
||
|
"name": "Felix Maier"
|
||
|
},
|
||
|
{
|
||
|
"name": "Forbes Lindesay"
|
||
|
},
|
||
|
{
|
||
|
"name": "Gilad Peleg"
|
||
|
},
|
||
|
{
|
||
|
"name": "impinball"
|
||
|
},
|
||
|
{
|
||
|
"name": "Ingvar Stepanyan"
|
||
|
},
|
||
|
{
|
||
|
"name": "Jackson Ray Hamilton"
|
||
|
},
|
||
|
{
|
||
|
"name": "Jesse McCarthy"
|
||
|
},
|
||
|
{
|
||
|
"name": "Jiaxing Wang"
|
||
|
},
|
||
|
{
|
||
|
"name": "Joel Kemp"
|
||
|
},
|
||
|
{
|
||
|
"name": "Johannes Herr"
|
||
|
},
|
||
|
{
|
||
|
"name": "John-David Dalton"
|
||
|
},
|
||
|
{
|
||
|
"name": "Jordan Klassen"
|
||
|
},
|
||
|
{
|
||
|
"name": "Jürg Lehni"
|
||
|
},
|
||
|
{
|
||
|
"name": "Kai Cataldo"
|
||
|
},
|
||
|
{
|
||
|
"name": "keeyipchan"
|
||
|
},
|
||
|
{
|
||
|
"name": "Keheliya Gallaba"
|
||
|
},
|
||
|
{
|
||
|
"name": "Kevin Irish"
|
||
|
},
|
||
|
{
|
||
|
"name": "Kevin Kwok"
|
||
|
},
|
||
|
{
|
||
|
"name": "krator"
|
||
|
},
|
||
|
{
|
||
|
"name": "laosb"
|
||
|
},
|
||
|
{
|
||
|
"name": "Marek"
|
||
|
},
|
||
|
{
|
||
|
"name": "Marijn Haverbeke"
|
||
|
},
|
||
|
{
|
||
|
"name": "Martin Carlberg"
|
||
|
},
|
||
|
{
|
||
|
"name": "Mat Garcia"
|
||
|
},
|
||
|
{
|
||
|
"name": "Mathias Bynens"
|
||
|
},
|
||
|
{
|
||
|
"name": "Mathieu 'p01' Henri"
|
||
|
},
|
||
|
{
|
||
|
"name": "Matthew Bastien"
|
||
|
},
|
||
|
{
|
||
|
"name": "Max Schaefer"
|
||
|
},
|
||
|
{
|
||
|
"name": "Max Zerzouri"
|
||
|
},
|
||
|
{
|
||
|
"name": "Mihai Bazon"
|
||
|
},
|
||
|
{
|
||
|
"name": "Mike Rennie"
|
||
|
},
|
||
|
{
|
||
|
"name": "naoh"
|
||
|
},
|
||
|
{
|
||
|
"name": "Nicholas C. Zakas"
|
||
|
},
|
||
|
{
|
||
|
"name": "Nick Fitzgerald"
|
||
|
},
|
||
|
{
|
||
|
"name": "Olivier Thomann"
|
||
|
},
|
||
|
{
|
||
|
"name": "Oskar Schöldström"
|
||
|
},
|
||
|
{
|
||
|
"name": "Paul Harper"
|
||
|
},
|
||
|
{
|
||
|
"name": "Peter Rust"
|
||
|
},
|
||
|
{
|
||
|
"name": "PlNG"
|
||
|
},
|
||
|
{
|
||
|
"name": "Prayag Verma"
|
||
|
},
|
||
|
{
|
||
|
"name": "ReadmeCritic"
|
||
|
},
|
||
|
{
|
||
|
"name": "r-e-d"
|
||
|
},
|
||
|
{
|
||
|
"name": "Richard Gibson"
|
||
|
},
|
||
|
{
|
||
|
"name": "Rich Harris"
|
||
|
},
|
||
|
{
|
||
|
"name": "Sebastian McKenzie"
|
||
|
},
|
||
|
{
|
||
|
"name": "Shahar Soel"
|
||
|
},
|
||
|
{
|
||
|
"name": "Sheel Bedi"
|
||
|
},
|
||
|
{
|
||
|
"name": "Simen Bekkhus"
|
||
|
},
|
||
|
{
|
||
|
"name": "Teddy Katz"
|
||
|
},
|
||
|
{
|
||
|
"name": "Timothy Gu"
|
||
|
},
|
||
|
{
|
||
|
"name": "Toru Nagashima"
|
||
|
},
|
||
|
{
|
||
|
"name": "Victor Homyakov"
|
||
|
},
|
||
|
{
|
||
|
"name": "Wexpo Lyu"
|
||
|
},
|
||
|
{
|
||
|
"name": "zsjforcn"
|
||
|
}
|
||
|
],
|
||
|
"dependencies": {},
|
||
|
"description": "ECMAScript parser",
|
||
|
"devDependencies": {
|
||
|
"eslint": "^4.10.0",
|
||
|
"eslint-config-standard": "^10.2.1",
|
||
|
"eslint-plugin-import": "^2.2.0",
|
||
|
"eslint-plugin-node": "^5.2.1",
|
||
|
"eslint-plugin-promise": "^3.5.0",
|
||
|
"eslint-plugin-standard": "^3.0.1",
|
||
|
"rollup": "^0.45.0",
|
||
|
"rollup-plugin-buble": "^0.16.0",
|
||
|
"test262": "git+https://github.com/tc39/test262.git#51553973738063f457e248f7f1e643c561c8a64c",
|
||
|
"test262-parser-runner": "^0.2.0",
|
||
|
"unicode-9.0.0": "^0.7.0"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"integrity": "sha512-XLmq3H/BVvW6/GbxKryGxWORz1ebilSsUDlyC27bXhWGWAZWkGwS6FLHjOlwFXNFoWFQEO/Df4u0YYd0K3BQgQ==",
|
||
|
"shasum": "fdc58d9d17f4a4e98d102ded826a9b9759125102",
|
||
|
"tarball": "https://registry.npmjs.org/acorn/-/acorn-5.4.1.tgz"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=0.4.0"
|
||
|
},
|
||
|
"gitHead": "662efffd69ab380ed0a692cc390cbc2987d41e14",
|
||
|
"homepage": "https://github.com/acornjs/acorn",
|
||
|
"license": "MIT",
|
||
|
"main": "dist/acorn.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "Marijn Haverbeke",
|
||
|
"email": "marijnh@gmail.com",
|
||
|
"url": "http://marijnhaverbeke.nl"
|
||
|
},
|
||
|
{
|
||
|
"name": "Ingvar Stepanyan",
|
||
|
"email": "me@rreverser.com",
|
||
|
"url": "http://rreverser.com/"
|
||
|
}
|
||
|
],
|
||
|
"module": "dist/acorn.es.js",
|
||
|
"name": "acorn",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# Acorn\n\n[![Build Status](https://travis-ci.org/acornjs/acorn.svg?branch=master)](https://travis-ci.org/acornjs/acorn)\n[![NPM version](https://img.shields.io/npm/v/acorn.svg)](https://www.npmjs.com/package/acorn)\n[![CDNJS](https://img.shields.io/cdnjs/v/acorn.svg)](https://cdnjs.com/libraries/acorn) \n[Author funding status: ![maintainer happiness](https://marijnhaverbeke.nl/fund/status_s.png?force)](https://marijnhaverbeke.nl/fund/)\n\nA tiny, fast JavaScript parser, written completely in JavaScript.\n\n## Community\n\nAcorn is open source software released under an\n[MIT license](https://github.com/acornjs/acorn/blob/master/LICENSE).\n\nYou are welcome to\n[report bugs](https://github.com/acornjs/acorn/issues) or create pull\nrequests on [github](https://github.com/acornjs/acorn). For questions\nand discussion, please use the\n[Tern discussion forum](https://discuss.acornjs.net).\n\n## Installation\n\nThe easiest way to install acorn is with [`npm`][npm].\n\n[npm]: https://www.npmjs.com/\n\n```sh\nnpm install acorn\n```\n\nAlternately, download the source.\n\n```sh\ngit clone https://github.com/acornjs/acorn.git\n```\n\n## Components\n\nWhen run in a CommonJS (node.js) or AMD environment, exported values\nappear in the interfaces exposed by the individual files, as usual.\nWhen loaded in the browser (Acorn works in any JS-enabled browser more\nrecent than IE5) without any kind of module management, a single\nglobal object `acorn` will be defined, and all the exported properties\nwill be added to that.\n\n### Main parser\n\nThis is implemented in `dist/acorn.js`, and is what you get when you\n`require(\"acorn\")` in node.js.\n\n**parse**`(input, options)` is used to parse a JavaScript program.\nThe `input` parameter is a string, `options` can be undefined or an\nobject setting some of the options listed below. The return value will\nbe an abstract syntax tree object as specified by the\n[ESTree spec][estree].\n\nWhen encountering a syntax error, the parser will raise a\n`SyntaxError` object with a meaningful message. The error object will\nhave a `pos` property that indicates the character offset at which the\nerror occurred, and a `loc` object that contains a `{line, column}`\nobject referring to that same position.\n\n[estree]: https://github.com/estree/estree\n\n- **ecmaVersion**: Indicates the ECMAScript version to parse. Must be\n either 3, 5, 6 (2015), 7 (2016), 8 (2017), or 9 (2018, partial\n support). This influences support for strict mode, the set of\n reserved words, and support for new syntax features. Default is 7.\n\n **NOTE**: Only 'stage 4' (finalized) ECMAScript features are being\n implemented by Acorn.\n\n- **sourceType**: Indicate the mode the code should be parsed in. Can be\n either `\"script\"` or `\"module\"`. This influences global strict mode\n and parsing of `import` and `export` declarations.\n\n- **onInsertedSemicolon**: If given a callback, that callback will be\n called whenever a missing semicolon is inserted by the parser. The\n callback will be given the character offset of the point where the\n semicolon is inserted as argument, and if `locations` is on, also a\n `{line, column}` object representing this position.\n\n- **onTrailingComma**: Like `onInsertedSemicolon`, but for trailing\n commas.\n\n- **allowReserved**: If `false`, using a reserved word will generate\n an error. Defaults to `true` for `ecmaVersion` 3, `false` for higher\n versions. When given the value `\"never\"`, reserved words and\n keywords can also not be used as property names (as in Internet\n Explorer's old parser).\n\n- **allowReturnOutsideFunction**: By default, a return statement at\n the top level raises an error. Set this to `true` to accept such\n code.\n\n- **allowImportExportEverywhere**: By default, `import` and `export`\n declarations can only appear at a program's top level. Setting this\n option to `true` allows them anywhere where a statement is allowed.\n\n- **allowHashBang**: When this is enabled (off by default), if the\n code starts with the
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/acornjs/acorn.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"build": "npm run build:main && npm run build:walk && npm run build:loose && npm run build:bin",
|
||
|
"build:bin": "rollup -c rollup/config.bin.js",
|
||
|
"build:loose": "rollup -c rollup/config.loose.js && rollup -c rollup/config.loose_es.js",
|
||
|
"build:main": "rollup -c rollup/config.main.js",
|
||
|
"build:walk": "rollup -c rollup/config.walk.js",
|
||
|
"lint": "eslint src/",
|
||
|
"prepare": "npm test",
|
||
|
"pretest": "npm run build:main && npm run build:loose",
|
||
|
"test": "node test/run.js && node test/lint.js",
|
||
|
"test:test262": "node bin/run_test262.js"
|
||
|
},
|
||
|
"version": "5.4.1"
|
||
|
}
|