MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/.npm/registry.npmjs.org/eslint-visitor-keys/.cache.json
{"_id":"eslint-visitor-keys","_rev":"2-631bbb178461895b92a686052317f0f2","name":"eslint-visitor-keys","description":"Constants and utilities about visitor keys to traverse AST.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"eslint-visitor-keys","version":"0.1.0","description":"Constants and utilities about visitor keys to traverse AST.","main":"lib/index.js","files":["lib"],"engines":{"node":">=4"},"dependencies":{},"devDependencies":{"eslint":"^4.7.2","eslint-config-eslint":"^4.0.0","eslint-release":"^0.10.3","mocha":"^3.5.3","nyc":"^11.2.1","opener":"^1.4.3"},"scripts":{"lint":"eslint lib tests/lib","pretest":"npm run -s lint","test":"nyc mocha tests/lib","coverage":"nyc report --reporter lcov && opener coverage/lcov-report/index.html","release":"eslint-release","ci-release":"eslint-ci-release"},"repository":{"type":"git","url":"git+https://github.com/eslint/eslint-visitor-keys.git"},"keywords":[],"author":{"name":"Toru Nagashima","url":"https://github.com/mysticatea"},"license":"Apache-2.0","bugs":{"url":"https://github.com/eslint/eslint-visitor-keys/issues"},"homepage":"https://github.com/eslint/eslint-visitor-keys#readme","gitHead":"1888d3834d201439e1972e8da71946753310b18a","_id":"eslint-visitor-keys@0.1.0","_npmVersion":"5.4.2","_nodeVersion":"8.8.0","_npmUser":{"name":"eslint","email":"nicholas+eslint@nczconsulting.com"},"dist":{"integrity":"sha512-h+3ctwf0epIY9qaN0mq1ZoHSH19zSy98pzS1bYKDgxkJMRKDmo9n4r7lPtHD6ZEyzBIvXFV7e/Dg5ci/zvMPoA==","shasum":"f7ed2314b90c36bd4b84a18e26c86cb4b4d04675","tarball":"https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-0.1.0.tgz"},"maintainers":[{"name":"eslint","email":"nicholas+eslint@nczconsulting.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-visitor-keys-0.1.0.tgz_1510908773288_0.2083733738400042"},"directories":{}},"1.0.0":{"name":"eslint-visitor-keys","version":"1.0.0","description":"Constants and utilities about visitor keys to traverse AST.","main":"lib/index.js","files":["lib"],"engines":{"node":">=4"},"dependencies":{},"devDependencies":{"eslint":"^4.7.2","eslint-config-eslint":"^4.0.0","eslint-release":"^0.10.3","mocha":"^3.5.3","nyc":"^11.2.1","opener":"^1.4.3"},"scripts":{"lint":"eslint lib tests/lib","pretest":"npm run -s lint","test":"nyc mocha tests/lib","coverage":"nyc report --reporter lcov && opener coverage/lcov-report/index.html","release":"eslint-release","ci-release":"eslint-ci-release"},"repository":{"type":"git","url":"git+https://github.com/eslint/eslint-visitor-keys.git"},"keywords":[],"author":{"name":"Toru Nagashima","url":"https://github.com/mysticatea"},"license":"Apache-2.0","bugs":{"url":"https://github.com/eslint/eslint-visitor-keys/issues"},"homepage":"https://github.com/eslint/eslint-visitor-keys#readme","gitHead":"7f35599b67605e4b1ddc84740077e15a84da5a36","_id":"eslint-visitor-keys@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"eslint","email":"nicholas+eslint@nczconsulting.com"},"dist":{"integrity":"sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==","shasum":"3f3180fb2e291017716acb4c9d6d5b5c34a6a81d","tarball":"https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz"},"maintainers":[{"name":"eslint","email":"nicholas+eslint@nczconsulting.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-visitor-keys-1.0.0.tgz_1513594527044_0.7528314294759184"},"directories":{}}},"readme":"# eslint-visitor-keys\n\n[![npm version](https://img.shields.io/npm/v/eslint-visitor-keys.svg)](https://www.npmjs.com/package/eslint-visitor-keys)\n[![Downloads/month](https://img.shields.io/npm/dm/eslint-visitor-keys.svg)](http://www.npmtrends.com/eslint-visitor-keys)\n[![Build Status](https://travis-ci.org/eslint/eslint-visitor-keys.svg?branch=master)](https://travis-ci.org/eslint/eslint-visitor-keys)\n[![Dependency Status](https://david-dm.org/eslint/eslint-visitor-keys.svg)](https://david-dm.org/eslint/eslint-visitor-keys)\n\nConstants and utilities about visitor keys to traverse AST.\n\n## 💿 Installation\n\nUse [npm] to install.\n\n```bash\n$ npm install eslint-visitor-keys\n```\n\n### Requirements\n\n- [Node.js] 4.0.0 or later.\n\n## 📖 Usage\n\n```js\nconst evk = require(\"eslint-visitor-keys\")\n```\n\n### evk.KEYS\n\n> type: `{ [type: string]: string[] | undefined }`\n\nVisitor keys. This keys are frozen.\n\nThis is an object. Keys are the type of [ESTree] nodes. Their values are an array of property names which have child nodes.\n\nFor example:\n\n```\nconsole.log(evk.KEYS.AssignmentExpression) // → [\"left\", \"right\"]\n```\n\n### evk.getKeys(node)\n\n> type: `(node: object) => string[]`\n\nGet the visitor keys of a given AST node.\n\nThis is similar to `Object.keys(node)` of ES Standard, but some keys are excluded: `parent`, `leadingComments`, `trailingComments`, and names which start with `_`.\n\nThis will be used to traverse unknown nodes.\n\nFor example:\n\n```\nconst node = {\n    type: \"AssignmentExpression\",\n    left: { type: \"Identifier\", name: \"foo\" },\n    right: { type: \"Literal\", value: 0 }\n}\nconsole.log(evk.getKeys(node)) // → [\"type\", \"left\", \"right\"]\n```\n\n### evk.unionWith(additionalKeys)\n\n> type: `(additionalKeys: object) => { [type: string]: string[] | undefined }`\n\nMake the union set with `evk.KEYS` and the given keys.\n\n- The order of keys is, `additionalKeys` is at first, then `evk.KEYS` is concatenated after that.\n- It removes duplicated keys as keeping the first one.\n\nFor example:\n\n```\nconsole.log(evk.unionWith({\n    MethodDefinition: [\"decorators\"]\n})) // → { ..., MethodDefinition: [\"decorators\", \"key\", \"value\"], ... }\n```\n\n## 📰 Change log\n\nSee [GitHub releases](https://github.com/eslint/eslint-visitor-keys/releases).\n\n## 🍻 Contributing\n\nWelcome. See [ESLint contribution guidelines](https://eslint.org/docs/developer-guide/contributing/).\n\n### Development commands\n\n- `npm test` runs tests and measures code coverage.\n- `npm run lint` checks source codes with ESLint.\n- `npm run coverage` opens the code coverage report of the previous test with your default browser.\n- `npm run release` publishes this package to [npm] registory.\n\n\n[npm]: https://www.npmjs.com/\n[Node.js]: https://nodejs.org/en/\n[ESTree]: https://github.com/estree/estree\n","maintainers":[{"name":"eslint","email":"nicholas+eslint@nczconsulting.com"}],"time":{"modified":"2017-12-18T10:55:27.110Z","created":"2017-11-17T08:52:53.415Z","0.1.0":"2017-11-17T08:52:53.415Z","1.0.0":"2017-12-18T10:55:27.110Z"},"homepage":"https://github.com/eslint/eslint-visitor-keys#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/eslint/eslint-visitor-keys.git"},"author":{"name":"Toru Nagashima","url":"https://github.com/mysticatea"},"bugs":{"url":"https://github.com/eslint/eslint-visitor-keys/issues"},"license":"Apache-2.0","readmeFilename":"README.md","_attachments":{},"_etag":"W/\"cbb17bdfac74dfb128a621f057bb411b\"","_lastModified":"Sat, 26 May 2018 23:54:45 GMT"}