GT2/GT2-iOS/node_modules/acorn-globals/package.json

107 lines
4.2 KiB
JSON

{
"_args": [
[
{
"raw": "acorn-globals@^4.1.0",
"scope": null,
"escapedName": "acorn-globals",
"name": "acorn-globals",
"rawSpec": "^4.1.0",
"spec": ">=4.1.0 <5.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jsdom"
]
],
"_from": "acorn-globals@>=4.1.0 <5.0.0",
"_id": "acorn-globals@4.1.0",
"_inCache": true,
"_location": "/acorn-globals",
"_nodeVersion": "8.6.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/acorn-globals-4.1.0.tgz_1508886325881_0.2606661815661937"
},
"_npmUser": {
"name": "forbeslindesay",
"email": "forbes@lindesay.co.uk"
},
"_npmVersion": "5.5.1",
"_phantomChildren": {},
"_requested": {
"raw": "acorn-globals@^4.1.0",
"scope": null,
"escapedName": "acorn-globals",
"name": "acorn-globals",
"rawSpec": "^4.1.0",
"spec": ">=4.1.0 <5.0.0",
"type": "range"
},
"_requiredBy": [
"/jsdom"
],
"_resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.1.0.tgz",
"_shasum": "ab716025dbe17c54d3ef81d32ece2b2d99fe2538",
"_shrinkwrap": null,
"_spec": "acorn-globals@^4.1.0",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jsdom",
"author": {
"name": "ForbesLindesay"
},
"bugs": {
"url": "https://github.com/ForbesLindesay/acorn-globals/issues"
},
"dependencies": {
"acorn": "^5.0.0"
},
"description": "Detect global variables in JavaScript using acorn",
"devDependencies": {
"testit": "^3.0.0"
},
"directories": {},
"dist": {
"integrity": "sha512-KjZwU26uG3u6eZcfGbTULzFcsoz6pegNKtHPksZPOUsiKo5bUmiBPa38FuHZ/Eun+XYh/JCCkS9AS3Lu4McQOQ==",
"shasum": "ab716025dbe17c54d3ef81d32ece2b2d99fe2538",
"tarball": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.1.0.tgz"
},
"files": [
"index.js",
"LICENSE"
],
"gitHead": "9e2139d5a43be44523f06424bf67a2d1fdf85882",
"homepage": "https://github.com/ForbesLindesay/acorn-globals#readme",
"keywords": [
"ast",
"variable",
"name",
"lexical",
"scope",
"local",
"global",
"implicit"
],
"license": "MIT",
"maintainers": [
{
"name": "forbeslindesay",
"email": "forbes@lindesay.co.uk"
},
{
"name": "timothygu",
"email": "timothygu99@gmail.com"
}
],
"name": "acorn-globals",
"optionalDependencies": {},
"readme": "# acorn-globals\n\nDetect global variables in JavaScript using acorn\n\n[![Build Status](https://img.shields.io/travis/ForbesLindesay/acorn-globals/master.svg)](https://travis-ci.org/ForbesLindesay/acorn-globals)\n[![Dependency Status](https://img.shields.io/david/ForbesLindesay/acorn-globals.svg)](https://david-dm.org/ForbesLindesay/acorn-globals)\n[![NPM version](https://img.shields.io/npm/v/acorn-globals.svg)](https://www.npmjs.org/package/acorn-globals)\n\n## Installation\n\n npm install acorn-globals\n\n## Usage\n\ndetect.js\n\n```js\nvar fs = require('fs');\nvar detect = require('acorn-globals');\n\nvar src = fs.readFileSync(__dirname + '/input.js', 'utf8');\n\nvar scope = detect(src);\nconsole.dir(scope);\n```\n\ninput.js\n\n```js\nvar x = 5;\nvar y = 3, z = 2;\n\nw.foo();\nw = 2;\n\nRAWR=444;\nRAWR.foo();\n\nBLARG=3;\n\nfoo(function () {\n var BAR = 3;\n process.nextTick(function (ZZZZZZZZZZZZ) {\n console.log('beep boop');\n var xyz = 4;\n x += 10;\n x.zzzzzz;\n ZZZ=6;\n });\n function doom () {\n }\n ZZZ.foo();\n\n});\n\nconsole.log(xyz);\n```\n\noutput:\n\n```\n$ node example/detect.js\n[ { name: 'BLARG', nodes: [ [Object] ] },\n { name: 'RAWR', nodes: [ [Object], [Object] ] },\n { name: 'ZZZ', nodes: [ [Object], [Object] ] },\n { name: 'console', nodes: [ [Object], [Object] ] },\n { name: 'foo', nodes: [ [Object] ] },\n { name: 'process', nodes: [ [Object] ] },\n { name: 'w', nodes: [ [Object], [Object] ] },\n { name: 'xyz', nodes: [ [Object] ] } ]\n```\n\n\n## License\n\n MIT\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/ForbesLindesay/acorn-globals.git"
},
"scripts": {
"test": "node test"
},
"version": "4.1.0"
}