layaair2-cmd
Version:
layaair version 2 toolkit
113 lines (112 loc) • 6.02 kB
JSON
{
"_args": [
[
{
"raw": "undeclared-identifiers@^1.1.2",
"scope": null,
"escapedName": "undeclared-identifiers",
"name": "undeclared-identifiers",
"rawSpec": "^1.1.2",
"spec": ">=1.1.2 <2.0.0",
"type": "range"
},
"E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\insert-module-globals"
]
],
"_from": "undeclared-identifiers@>=1.1.2 <2.0.0",
"_id": "undeclared-identifiers@1.1.2",
"_inCache": true,
"_location": "/undeclared-identifiers",
"_nodeVersion": "10.1.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/undeclared-identifiers_1.1.2_1526635854963_0.0511197651385662"
},
"_npmUser": {
"name": "goto-bus-stop",
"email": "rene@kooi.me"
},
"_npmVersion": "6.0.1",
"_phantomChildren": {},
"_requested": {
"raw": "undeclared-identifiers@^1.1.2",
"scope": null,
"escapedName": "undeclared-identifiers",
"name": "undeclared-identifiers",
"rawSpec": "^1.1.2",
"spec": ">=1.1.2 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/insert-module-globals"
],
"_resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.2.tgz",
"_shasum": "7d850a98887cff4bd0bf64999c014d08ed6d1acc",
"_shrinkwrap": null,
"_spec": "undeclared-identifiers@^1.1.2",
"_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\insert-module-globals",
"author": {
"name": "Renée Kooi",
"email": "renee@kooi.me"
},
"bin": {
"undeclared-identifiers": "bin.js"
},
"bugs": {
"url": "https://github.com/goto-bus-stop/undeclared-identifiers/issues"
},
"dependencies": {
"acorn-node": "^1.3.0",
"get-assigned-identifiers": "^1.2.0",
"simple-concat": "^1.0.0",
"xtend": "^4.0.1"
},
"description": "find undeclared identifiers and property accesses in a javascript file.",
"devDependencies": {
"jquery": "^3.3.1",
"lodash": "^4.17.5",
"nanobench": "^2.1.0",
"standard": "^11.0.0",
"tap-spec": "^4.0.2",
"tape": "^4.0.0"
},
"directories": {},
"dist": {
"integrity": "sha512-13EaeocO4edF/3JKime9rD7oB6QI8llAGhgn5fKOPyfkJbRb6NFv9pYV6dFEmpa4uRjKeBqLZP8GpuzqHlKDMQ==",
"shasum": "7d850a98887cff4bd0bf64999c014d08ed6d1acc",
"tarball": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.2.tgz",
"fileCount": 9,
"unpackedSize": 13500,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/p1PCRA9TVsSAnZWagAAb+EP/3ZQ4vVRU+lNPOpkCGbX\nPwQ9exKOwBLR5887+vuziycPoNton3HodlrQT0xgdiONkCg7hsYmqQasU1FT\n6KH/FN8akXHDnfx/rNgvUYPImH35I2GIC3Qp7FNYSv51LcnT7VuoFKbBSD/f\nBs9hjvUzIv33yO2UOR6AmU5+DbP9/2zOuqGDHNfpyoeANVepOQznGRXXtLYS\nnfvxSDFm7MGi1FYBf1gk3AHIYiQ9sZSpEZTpxaPSP9VH0tEJWxSUORKGBzsy\nhKR9AkONkdkxQv9NcgayLBf69vyloSCN1dJWDtoze1opvT+kK1iOEmAwBhy9\npM6buKCTxuBbhOePpGhYtZ6YNgh/AbzzpEfabP/e/bkvXZX6PWhh97Cruuuc\nUAnxEMOOIhr2AE9J01baMUO/6LeszJARv72Umg6MlS7M5CeHxZ2BpKO5P9Uq\nccNheYDiXw/NoUCd1fbzhlTQgq1Ma9ofkxxWTU7BT/SZaeiKw9/1/TA3Vw9C\nsjMkXRx9YxYbbQ8FynobJt8yJHQatjvjfnqT0B+2jGgQ3kW2pNFCQ+2zoTse\n+M4jmHhphmHAKVLwFtanbUNOYRzgam3FLZL4CiPoPz/2Y9jtnNMAXWjKEteR\nyJm93NtLrrb2CNo0kW8MYWVVyqr0BP/PZ1id7+ldBpWRGhFqIGMpjkI8C5C1\n0Gt1\r\n=EgDT\r\n-----END PGP SIGNATURE-----\r\n"
},
"gitHead": "0c6a56f5eb7ddc3d6a77536773a76d88200ef588",
"homepage": "https://github.com/goto-bus-stop/undeclared-identifiers",
"keywords": [
"ast",
"check",
"detect",
"identifiers",
"javascript",
"undeclared"
],
"license": "Apache-2.0",
"main": "index.js",
"maintainers": [
{
"name": "goto-bus-stop",
"email": "rene@kooi.me"
}
],
"name": "undeclared-identifiers",
"optionalDependencies": {},
"readme": "# undeclared-identifiers\n\nfind undeclared identifiers and property accesses in a javascript file.\n\n[![npm][npm-image]][npm-url]\n[![travis][travis-image]][travis-url]\n[![standard][standard-image]][standard-url]\n\n[npm-image]: https://img.shields.io/npm/v/undeclared-identifiers.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/undeclared-identifiers\n[travis-image]: https://img.shields.io/travis/goto-bus-stop/undeclared-identifiers.svg?style=flat-square\n[travis-url]: https://travis-ci.org/goto-bus-stop/undeclared-identifiers\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\n[standard-url]: http://npm.im/standard\n\n## Install\n\n```\nnpm install undeclared-identifiers\n```\n\n## Usage\n\n```js\nvar undeclaredIdentifiers = require('undeclared-identifiers')\n\nundeclaredIdentifiers(src)\n// { identifiers: ['Buffer'],\n// properties: ['Buffer.isBuffer'] }\n```\n\n## API\n\n### `res = undeclaredIdentifiers(source, opts)`\n\nFind undeclared identifiers and properties that are used in the `source`. `source` can be an AST or a source string that will be parsed using [acorn-node](https://github.com/browserify/acorn-node).\n\n`res` is an object with properties:\n\n - `res.identifiers` - an array of variable names as strings.\n - `res.properties` - an array of property names as .-separated strings, such as `'xyz.abc'`. These are the property accesses on the undeclared variables found in `res.identifiers`.\n\nSet `opts.properties` to false to only return identifiers.\n\nWhen `opts.wildcard` is true, unknown uses of undeclared identifiers will be added to `res.properties` as `'VarName.*'`.\n\n```js\nundeclaredIdentifiers('Buffer(), Buffer.from()', { wildcard: true })\n// { identifiers: ['Buffer'],\n// properties: ['Buffer.*', 'Buffer.from'] }\n```\n\n## License\n\n[Apache-2.0](LICENSE.md)\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/goto-bus-stop/undeclared-identifiers.git"
},
"scripts": {
"test": "standard && tape test/*.js | tap-spec"
},
"version": "1.1.2"
}