| 1 |
{ |
| 2 |
"_id": "eslint-scope", |
| 3 |
"_rev": "31-793a97a4bfdd08192fe305ea49dbb9dd", |
| 4 |
"name": "eslint-scope", |
| 5 |
"description": "ECMAScript scope analyzer for ESLint", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "5.1.1", |
| 8 |
"next": "4.0.0-rc.0", |
| 9 |
"v3-latest": "3.7.3" |
| 10 |
}, |
| 11 |
"versions": { |
| 12 |
"3.7.0": { |
| 13 |
"name": "eslint-scope", |
| 14 |
"description": "ECMAScript scope analyzer for ESLint", |
| 15 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 16 |
"main": "lib/index.js", |
| 17 |
"version": "3.7.0", |
| 18 |
"engines": { |
| 19 |
"node": ">=4.0.0" |
| 20 |
}, |
| 21 |
"repository": { |
| 22 |
"type": "git", |
| 23 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 24 |
}, |
| 25 |
"bugs": { |
| 26 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 27 |
}, |
| 28 |
"license": "BSD-2-Clause", |
| 29 |
"scripts": { |
| 30 |
"test": "node Makefile.js test", |
| 31 |
"lint": "node Makefile.js lint", |
| 32 |
"release": "eslint-release", |
| 33 |
"ci-release": "eslint-ci-release", |
| 34 |
"gh-release": "eslint-gh-release", |
| 35 |
"alpharelease": "eslint-prerelease alpha", |
| 36 |
"betarelease": "eslint-prerelease beta" |
| 37 |
}, |
| 38 |
"files": [ |
| 39 |
"LICENSE", |
| 40 |
"README.md", |
| 41 |
"lib" |
| 42 |
], |
| 43 |
"dependencies": { |
| 44 |
"esrecurse": "^4.1.0", |
| 45 |
"estraverse": "^4.1.1" |
| 46 |
}, |
| 47 |
"devDependencies": { |
| 48 |
"chai": "^3.4.1", |
| 49 |
"eslint": "^3.15.0", |
| 50 |
"eslint-config-eslint": "^4.0.0", |
| 51 |
"eslint-release": "^0.10.1", |
| 52 |
"espree": "^3.1.1", |
| 53 |
"istanbul": "^0.4.5", |
| 54 |
"mocha": "^3.2.0", |
| 55 |
"npm-license": "^0.3.3", |
| 56 |
"shelljs": "^0.7.6", |
| 57 |
"typescript": "~2.0.10", |
| 58 |
"typescript-eslint-parser": "^1.0.0" |
| 59 |
}, |
| 60 |
"gitHead": "c9146c664b88d077a44118effa800734bafa907c", |
| 61 |
"_id": "[email protected]", |
| 62 |
"_shasum": "d95536f4081dee922e5fd60ed6795748ca54bb76", |
| 63 |
"_from": ".", |
| 64 |
"_npmVersion": "2.14.12", |
| 65 |
"_nodeVersion": "4.3.1", |
| 66 |
"_npmUser": { |
| 67 |
"name": "ivolodin", |
| 68 |
"email": "[email protected]" |
| 69 |
}, |
| 70 |
"dist": { |
| 71 |
"shasum": "d95536f4081dee922e5fd60ed6795748ca54bb76", |
| 72 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.0.tgz" |
| 73 |
}, |
| 74 |
"maintainers": [ |
| 75 |
{ |
| 76 |
"name": "ivolodin", |
| 77 |
"email": "[email protected]" |
| 78 |
} |
| 79 |
], |
| 80 |
"_npmOperationalInternal": { |
| 81 |
"host": "packages-12-west.internal.npmjs.com", |
| 82 |
"tmp": "tmp/eslint-scope-3.7.0.tgz_1489788609116_0.35722322948276997" |
| 83 |
}, |
| 84 |
"directories": {} |
| 85 |
}, |
| 86 |
"3.7.1": { |
| 87 |
"name": "eslint-scope", |
| 88 |
"description": "ECMAScript scope analyzer for ESLint", |
| 89 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 90 |
"main": "lib/index.js", |
| 91 |
"version": "3.7.1", |
| 92 |
"engines": { |
| 93 |
"node": ">=4.0.0" |
| 94 |
}, |
| 95 |
"repository": { |
| 96 |
"type": "git", |
| 97 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 98 |
}, |
| 99 |
"bugs": { |
| 100 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 101 |
}, |
| 102 |
"license": "BSD-2-Clause", |
| 103 |
"scripts": { |
| 104 |
"test": "node Makefile.js test", |
| 105 |
"lint": "node Makefile.js lint", |
| 106 |
"release": "eslint-release", |
| 107 |
"ci-release": "eslint-ci-release", |
| 108 |
"gh-release": "eslint-gh-release", |
| 109 |
"alpharelease": "eslint-prerelease alpha", |
| 110 |
"betarelease": "eslint-prerelease beta" |
| 111 |
}, |
| 112 |
"files": [ |
| 113 |
"LICENSE", |
| 114 |
"README.md", |
| 115 |
"lib" |
| 116 |
], |
| 117 |
"dependencies": { |
| 118 |
"esrecurse": "^4.1.0", |
| 119 |
"estraverse": "^4.1.1" |
| 120 |
}, |
| 121 |
"devDependencies": { |
| 122 |
"chai": "^3.4.1", |
| 123 |
"eslint": "^3.15.0", |
| 124 |
"eslint-config-eslint": "^4.0.0", |
| 125 |
"eslint-release": "^0.10.1", |
| 126 |
"espree": "^3.1.1", |
| 127 |
"istanbul": "^0.4.5", |
| 128 |
"mocha": "^3.2.0", |
| 129 |
"npm-license": "^0.3.3", |
| 130 |
"shelljs": "^0.7.6", |
| 131 |
"typescript": "~2.0.10", |
| 132 |
"typescript-eslint-parser": "^1.0.0" |
| 133 |
}, |
| 134 |
"gitHead": "bec1febf351ae7137a62241c18eb78876ee4fb7f", |
| 135 |
"_id": "[email protected]", |
| 136 |
"_shasum": "3d63c3edfda02e06e01a452ad88caacc7cdcb6e8", |
| 137 |
"_from": ".", |
| 138 |
"_npmVersion": "2.14.12", |
| 139 |
"_nodeVersion": "4.3.1", |
| 140 |
"_npmUser": { |
| 141 |
"name": "ivolodin", |
| 142 |
"email": "[email protected]" |
| 143 |
}, |
| 144 |
"dist": { |
| 145 |
"shasum": "3d63c3edfda02e06e01a452ad88caacc7cdcb6e8", |
| 146 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.1.tgz" |
| 147 |
}, |
| 148 |
"maintainers": [ |
| 149 |
{ |
| 150 |
"name": "eslint", |
| 151 |
"email": "[email protected]" |
| 152 |
}, |
| 153 |
{ |
| 154 |
"name": "ivolodin", |
| 155 |
"email": "[email protected]" |
| 156 |
}, |
| 157 |
{ |
| 158 |
"name": "nzakas", |
| 159 |
"email": "[email protected]" |
| 160 |
} |
| 161 |
], |
| 162 |
"_npmOperationalInternal": { |
| 163 |
"host": "packages-18-east.internal.npmjs.com", |
| 164 |
"tmp": "tmp/eslint-scope-3.7.1.tgz_1492031610481_0.544424896594137" |
| 165 |
}, |
| 166 |
"directories": {} |
| 167 |
}, |
| 168 |
"4.0.0-alpha.0": { |
| 169 |
"name": "eslint-scope", |
| 170 |
"description": "ECMAScript scope analyzer for ESLint", |
| 171 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 172 |
"main": "lib/index.js", |
| 173 |
"version": "4.0.0-alpha.0", |
| 174 |
"engines": { |
| 175 |
"node": ">=4.0.0" |
| 176 |
}, |
| 177 |
"repository": { |
| 178 |
"type": "git", |
| 179 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 180 |
}, |
| 181 |
"bugs": { |
| 182 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 183 |
}, |
| 184 |
"license": "BSD-2-Clause", |
| 185 |
"scripts": { |
| 186 |
"test": "node Makefile.js test", |
| 187 |
"lint": "node Makefile.js lint", |
| 188 |
"release": "eslint-release", |
| 189 |
"ci-release": "eslint-ci-release", |
| 190 |
"gh-release": "eslint-gh-release", |
| 191 |
"alpharelease": "eslint-prerelease alpha", |
| 192 |
"betarelease": "eslint-prerelease beta" |
| 193 |
}, |
| 194 |
"files": [ |
| 195 |
"LICENSE", |
| 196 |
"README.md", |
| 197 |
"lib" |
| 198 |
], |
| 199 |
"dependencies": { |
| 200 |
"esrecurse": "^4.1.0", |
| 201 |
"estraverse": "^4.1.1" |
| 202 |
}, |
| 203 |
"devDependencies": { |
| 204 |
"chai": "^3.4.1", |
| 205 |
"eslint": "^3.15.0", |
| 206 |
"eslint-config-eslint": "^4.0.0", |
| 207 |
"eslint-release": "^0.11.1", |
| 208 |
"espree": "^3.1.1", |
| 209 |
"istanbul": "^0.4.5", |
| 210 |
"mocha": "^3.2.0", |
| 211 |
"npm-license": "^0.3.3", |
| 212 |
"shelljs": "^0.7.6", |
| 213 |
"typescript": "~2.0.10", |
| 214 |
"typescript-eslint-parser": "^1.0.0" |
| 215 |
}, |
| 216 |
"readme": "# ESLint Scope\n\nESLint Scope is the [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm) scope analyzer used in ESLint. It is a fork of [escope](http://github.com/estools/escope).\n\n## Usage\n\nInstall:\n\n```\nnpm i eslint-scope --save\n```\n\nExample:\n\n```js\nvar eslintScope = require('eslint-scope');\nvar espree = require('espree');\nvar estraverse = require('estraverse');\n\nvar ast = espree.parse(code);\nvar scopeManager = eslintScope.analyze(ast);\n\nvar currentScope = scopeManager.acquire(ast); // global scope\n\nestraverse.traverse(ast, {\n enter: function(node, parent) {\n // do stuff\n\n if (/Function/.test(node.type)) {\n currentScope = scopeManager.acquire(node); // get current function scope\n }\n },\n leave: function(node, parent) {\n if (/Function/.test(node.type)) {\n currentScope = currentScope.upper; // set to parent scope\n }\n\n // do stuff\n }\n});\n```\n\n## Contributing\n\nIssues and pull requests will be triaged and responded to as quickly as possible. We operate under the [ESLint Contributor Guidelines](http://eslint.org/docs/developer-guide/contributing), so please be sure to read them before contributing. If you're not sure where to dig in, check out the [issues](https://github.com/eslint/eslint-scope/issues).\n\n## Build Commands\n\n* `npm test` - run all linting and tests\n* `npm run lint` - run all linting\n\n## License\n\nESLint Scope is licensed under a permissive BSD 2-clause license.\n", |
| 217 |
"readmeFilename": "README.md", |
| 218 |
"gitHead": "11e660c176fb0d10b794b559feece89a9b8dafd5", |
| 219 |
"_id": "[email protected]", |
| 220 |
"_npmVersion": "5.5.1", |
| 221 |
"_nodeVersion": "8.9.3", |
| 222 |
"_npmUser": { |
| 223 |
"name": "eslint", |
| 224 |
"email": "[email protected]" |
| 225 |
}, |
| 226 |
"dist": { |
| 227 |
"integrity": "sha512-lagZ90I5IxJvoGmCbhCviN69Ycx1DBiI6h8SKz1DXHYMq5XnIxoCl3gMS9PwfVcZBNREbSv2jDh0/H1LTmJXWw==", |
| 228 |
"shasum": "56d64aa6db13023373e3ad70b5c6cf40c8fe40b9", |
| 229 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0-alpha.0.tgz", |
| 230 |
"fileCount": 12, |
| 231 |
"unpackedSize": 75766, |
| 232 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa49KmCRA9TVsSAnZWagAA8eEP+wSqHdR+uXC92vPq+lZF\nhEiiv1DFn6dPKUBAKquiUJWhPx1JgMaEVojhvGtR7cuWOv53FNQg+sehO8Mb\nhaoS2sHjjfZeeBOt32fE0XTtbctg7hkmWCrz0SMEzasQms42QjCdSM8So6fT\nHDK9ulc8Ymh+XgXAXh2vH3t+H67S603fKn0SIvoyRhITxDVwxwi45kTHwQfv\n/kmge7+z76jRCRR9FIYcqst43WqJu56upew3x6HYOrv/HWk36AEv3E14XEae\nuEuJC9ByhpTSDFSk8zDpAl8ZWz9m4JkqUQ7Rl+wnDtNTUtxOjSlT+og6C8Dw\nDg7lGokIKUOaii5VJV+ppL08g9U+J2bxFQS0sTwKoCiq2+73q0NdeunxSwop\nOCbj/XPzfC16UL/CeCGhqAAlgTLIkPCUYeQrRDxaG9crHkSUetA11Fo6+8ZK\nVhJfJXAozSvFZZ7zG/HmGaeQe7T3o98WHnX7aLaAM7DIcjZm4pBbtJkEyEkk\nLLLi2yz+ZbJuEBWszNSaPotwH/1axNUs1oHEUIwsfNLeI4dDxuxsOfx0CyZ4\n+i7p7l13kCr+u/TvyiicJcH6Na6vTOug5mzPn4NHttdIh+HuMMfylz+Z4HxU\ndHrkp59KHtZPRnDIH0tTRWHaluXlN4TPdTBJn1KphInBqfbz7BTFboQjOZY1\nw5UE\r\n=pv8+\r\n-----END PGP SIGNATURE-----\r\n" |
| 233 |
}, |
| 234 |
"maintainers": [ |
| 235 |
{ |
| 236 |
"email": "[email protected]", |
| 237 |
"name": "eslint" |
| 238 |
}, |
| 239 |
{ |
| 240 |
"email": "[email protected]", |
| 241 |
"name": "ivolodin" |
| 242 |
}, |
| 243 |
{ |
| 244 |
"email": "[email protected]", |
| 245 |
"name": "nzakas" |
| 246 |
} |
| 247 |
], |
| 248 |
"directories": {}, |
| 249 |
"_npmOperationalInternal": { |
| 250 |
"host": "s3://npm-registry-packages", |
| 251 |
"tmp": "tmp/eslint-scope_4.0.0-alpha.0_1524880037947_0.5190939794797749" |
| 252 |
}, |
| 253 |
"_hasShrinkwrap": false |
| 254 |
}, |
| 255 |
"4.0.0-rc.0": { |
| 256 |
"name": "eslint-scope", |
| 257 |
"description": "ECMAScript scope analyzer for ESLint", |
| 258 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 259 |
"main": "lib/index.js", |
| 260 |
"version": "4.0.0-rc.0", |
| 261 |
"engines": { |
| 262 |
"node": ">=4.0.0" |
| 263 |
}, |
| 264 |
"repository": { |
| 265 |
"type": "git", |
| 266 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 267 |
}, |
| 268 |
"bugs": { |
| 269 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 270 |
}, |
| 271 |
"license": "BSD-2-Clause", |
| 272 |
"scripts": { |
| 273 |
"test": "node Makefile.js test", |
| 274 |
"lint": "node Makefile.js lint", |
| 275 |
"release": "eslint-release", |
| 276 |
"ci-release": "eslint-ci-release", |
| 277 |
"gh-release": "eslint-gh-release", |
| 278 |
"alpharelease": "eslint-prerelease alpha", |
| 279 |
"betarelease": "eslint-prerelease beta", |
| 280 |
"rcrelease": "eslint-prerelease rc" |
| 281 |
}, |
| 282 |
"files": [ |
| 283 |
"LICENSE", |
| 284 |
"README.md", |
| 285 |
"lib" |
| 286 |
], |
| 287 |
"dependencies": { |
| 288 |
"esrecurse": "^4.1.0", |
| 289 |
"estraverse": "^4.1.1" |
| 290 |
}, |
| 291 |
"devDependencies": { |
| 292 |
"chai": "^3.4.1", |
| 293 |
"eslint": "^3.15.0", |
| 294 |
"eslint-config-eslint": "^4.0.0", |
| 295 |
"eslint-release": "^0.11.1", |
| 296 |
"espree": "^3.1.1", |
| 297 |
"istanbul": "^0.4.5", |
| 298 |
"mocha": "^3.2.0", |
| 299 |
"npm-license": "^0.3.3", |
| 300 |
"shelljs": "^0.7.6", |
| 301 |
"typescript": "~2.0.10", |
| 302 |
"typescript-eslint-parser": "^1.0.0" |
| 303 |
}, |
| 304 |
"readme": "# ESLint Scope\n\nESLint Scope is the [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm) scope analyzer used in ESLint. It is a fork of [escope](http://github.com/estools/escope).\n\n## Usage\n\nInstall:\n\n```\nnpm i eslint-scope --save\n```\n\nExample:\n\n```js\nvar eslintScope = require('eslint-scope');\nvar espree = require('espree');\nvar estraverse = require('estraverse');\n\nvar ast = espree.parse(code);\nvar scopeManager = eslintScope.analyze(ast);\n\nvar currentScope = scopeManager.acquire(ast); // global scope\n\nestraverse.traverse(ast, {\n enter: function(node, parent) {\n // do stuff\n\n if (/Function/.test(node.type)) {\n currentScope = scopeManager.acquire(node); // get current function scope\n }\n },\n leave: function(node, parent) {\n if (/Function/.test(node.type)) {\n currentScope = currentScope.upper; // set to parent scope\n }\n\n // do stuff\n }\n});\n```\n\n## Contributing\n\nIssues and pull requests will be triaged and responded to as quickly as possible. We operate under the [ESLint Contributor Guidelines](http://eslint.org/docs/developer-guide/contributing), so please be sure to read them before contributing. If you're not sure where to dig in, check out the [issues](https://github.com/eslint/eslint-scope/issues).\n\n## Build Commands\n\n* `npm test` - run all linting and tests\n* `npm run lint` - run all linting\n\n## License\n\nESLint Scope is licensed under a permissive BSD 2-clause license.\n", |
| 305 |
"readmeFilename": "README.md", |
| 306 |
"gitHead": "35e53021307b0393586f4104c9e3441231698478", |
| 307 |
"_id": "[email protected]", |
| 308 |
"_npmVersion": "5.5.1", |
| 309 |
"_nodeVersion": "8.9.3", |
| 310 |
"_npmUser": { |
| 311 |
"name": "eslint", |
| 312 |
"email": "[email protected]" |
| 313 |
}, |
| 314 |
"dist": { |
| 315 |
"integrity": "sha512-w9crN0noCk/F9WcS+EcwnHBzMNDSF2b/WEXVGEXCXtZoW+QCK59MmAwBs7mbvUWqqTXG1C0T1OQlly6Nxta7og==", |
| 316 |
"shasum": "90b7e7ed231c13956c3cb9cc018e96156e8cc6c6", |
| 317 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0-rc.0.tgz", |
| 318 |
"fileCount": 12, |
| 319 |
"unpackedSize": 75991, |
| 320 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbG/lVCRA9TVsSAnZWagAAlb4P/iIXVQ4b4hKJAmvLOt1O\n6A9WBLetMn7zy3cDGjrSIoBshJJ0gEVf5RoWBb6vB0GKl21Oxq54ROG4Vd4B\nOCUhY6lo2wiJlPeCaH0IbjRBWi34XeTkNyZrLDLMbnIXDK2DkBFlQFsseQNX\nbu7rfzD+twmGnGO9JoHoOVd8wa5UqbtBhw+HPqw3j1XedKsa7B/z+l0opRDf\naEOs17V7gB00RGI6igOpggHjRHUttO3ytIrwkqpT8ywJBfcXwT85Cm+4s48T\nEwenS9ywTIiAU1QOVa2Glq6nahi3Olp8GUnXyitSWKixSx2EHlLvnTl/FuGL\nVbyMj7OvAzExFepSxQu81mgMoFopoCTRl1ZSp7IN6L6k4tCgXOzqwyjzEHgG\nMlRDTwKIXW50Y3p6pYEAfFznG7ILsj4h3auREmjggNaxVKwuIWgOXgCiDk3w\nOBBPNDThUXwZun6NY16Tn8v3nK5WTOPrS7ggk4NYbEz9MarAzXkI/Jm+r20f\nTdLVZaxygCcVIcyGYA/k6CcJsD5Qa+AnuE22uarfdsAdktSf3FVTyAnUFoXw\ny9oYMe1ADd1tao94coDGEDem9N+2vhte7W0bteFBPw0Oob1cAbFDBzGrI7mt\nfL0hTovu5OoeRgu9IPZj+9mo1aY3yv2Qc1Py6Xjtk7KW4YT7g0hnEraxLD03\nMraW\r\n=r91n\r\n-----END PGP SIGNATURE-----\r\n" |
| 321 |
}, |
| 322 |
"maintainers": [ |
| 323 |
{ |
| 324 |
"email": "[email protected]", |
| 325 |
"name": "eslint" |
| 326 |
}, |
| 327 |
{ |
| 328 |
"email": "[email protected]", |
| 329 |
"name": "ivolodin" |
| 330 |
}, |
| 331 |
{ |
| 332 |
"email": "[email protected]", |
| 333 |
"name": "nzakas" |
| 334 |
} |
| 335 |
], |
| 336 |
"directories": {}, |
| 337 |
"_npmOperationalInternal": { |
| 338 |
"host": "s3://npm-registry-packages", |
| 339 |
"tmp": "tmp/eslint-scope_4.0.0-rc.0_1528559957103_0.13597996259583023" |
| 340 |
}, |
| 341 |
"_hasShrinkwrap": false |
| 342 |
}, |
| 343 |
"4.0.0": { |
| 344 |
"name": "eslint-scope", |
| 345 |
"description": "ECMAScript scope analyzer for ESLint", |
| 346 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 347 |
"main": "lib/index.js", |
| 348 |
"version": "4.0.0", |
| 349 |
"engines": { |
| 350 |
"node": ">=4.0.0" |
| 351 |
}, |
| 352 |
"repository": { |
| 353 |
"type": "git", |
| 354 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 355 |
}, |
| 356 |
"bugs": { |
| 357 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 358 |
}, |
| 359 |
"license": "BSD-2-Clause", |
| 360 |
"scripts": { |
| 361 |
"test": "node Makefile.js test", |
| 362 |
"lint": "node Makefile.js lint", |
| 363 |
"release": "eslint-release", |
| 364 |
"ci-release": "eslint-ci-release", |
| 365 |
"gh-release": "eslint-gh-release", |
| 366 |
"alpharelease": "eslint-prerelease alpha", |
| 367 |
"betarelease": "eslint-prerelease beta", |
| 368 |
"rcrelease": "eslint-prerelease rc" |
| 369 |
}, |
| 370 |
"files": [ |
| 371 |
"LICENSE", |
| 372 |
"README.md", |
| 373 |
"lib" |
| 374 |
], |
| 375 |
"dependencies": { |
| 376 |
"esrecurse": "^4.1.0", |
| 377 |
"estraverse": "^4.1.1" |
| 378 |
}, |
| 379 |
"devDependencies": { |
| 380 |
"chai": "^3.4.1", |
| 381 |
"eslint": "^3.15.0", |
| 382 |
"eslint-config-eslint": "^4.0.0", |
| 383 |
"eslint-release": "^0.11.1", |
| 384 |
"espree": "^3.1.1", |
| 385 |
"istanbul": "^0.4.5", |
| 386 |
"mocha": "^3.2.0", |
| 387 |
"npm-license": "^0.3.3", |
| 388 |
"shelljs": "^0.7.6", |
| 389 |
"typescript": "~2.0.10", |
| 390 |
"typescript-eslint-parser": "^1.0.0" |
| 391 |
}, |
| 392 |
"gitHead": "3e69fdcf102082f3b3c419d0864d7ed90323f4ca", |
| 393 |
"_id": "[email protected]", |
| 394 |
"_npmVersion": "5.5.1", |
| 395 |
"_nodeVersion": "8.9.3", |
| 396 |
"_npmUser": { |
| 397 |
"name": "eslint", |
| 398 |
"email": "[email protected]" |
| 399 |
}, |
| 400 |
"dist": { |
| 401 |
"integrity": "sha512-1G6UTDi7Jc1ELFwnR58HV4fK9OQK4S6N985f166xqXxpjU6plxFISJa2Ba9KCQuFa8RCnj/lSFJbHo7UFDBnUA==", |
| 402 |
"shasum": "50bf3071e9338bcdc43331794a0cb533f0136172", |
| 403 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0.tgz", |
| 404 |
"fileCount": 12, |
| 405 |
"unpackedSize": 76012, |
| 406 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLA2FCRA9TVsSAnZWagAAGsoQAIuIqvOsnsXeglc97Nfp\nUvK2NkNtr48ScUsmW4QUAfahKCAhiIB0h8lsqi24sg7S+5Bq6n1tfvP9PW8a\nSUNMfPxzYxLyxeURNM+v4lDu5l3MrA0YJ+/XkW8FGmUrmalSGDfY1uvc9d/u\n7L3NP4Pkttx7CaYvYrOQWs+bEpq0jb+cvZX4aPHtpAcq5f0Ow8F3Znfin6nE\nC8SXrPUoM0YEU02fc1tduC3uyoxl0I3IWUdq8BQ8fDDoZWEQl0Qax+iDMliU\nnltV4SQ+AjgmxcqxUsLgee22ZVIEX9Ke+0nbV5QEsYJKH8KchBE3lznguoPj\noqzNO5mmOxkdf7ptenaTEI6/uwJAQxXiOV5HBHEratpaVUjBsJ3ULCf/YkrF\nTYfv4+cZBdUrPo6dVBRWDg7eP/FKZTNAMhTtbjRwKeizBJMFQvlX28Ry5Hl7\nz4Hmlii5g82uoWwM3cEeVbfALWJiEpHBXUkmvcJKsAacKg5Nr6yIgfwkuJ6u\nTXsSRUuDZoaz4qTpd9VSY5o9l2AmeMSRML1SYck55czzkCGYFYTiozr8nB1X\nckuD1jVUQPqT0XNEsgQuWadkUVL1TFdhp3qivuMRse66bA6TRdvjyjYoOGjL\nRhTwQVqR5JA4MUe/hqowBgpz0OCZCraRe93c3OjobzGCRI8akoPRQK6MK2T9\neGcE\r\n=HTP/\r\n-----END PGP SIGNATURE-----\r\n" |
| 407 |
}, |
| 408 |
"maintainers": [ |
| 409 |
{ |
| 410 |
"email": "[email protected]", |
| 411 |
"name": "eslint" |
| 412 |
}, |
| 413 |
{ |
| 414 |
"email": "[email protected]", |
| 415 |
"name": "ivolodin" |
| 416 |
}, |
| 417 |
{ |
| 418 |
"email": "[email protected]", |
| 419 |
"name": "nzakas" |
| 420 |
} |
| 421 |
], |
| 422 |
"directories": {}, |
| 423 |
"_npmOperationalInternal": { |
| 424 |
"host": "s3://npm-registry-packages", |
| 425 |
"tmp": "tmp/eslint-scope_4.0.0_1529613701348_0.3133796876769781" |
| 426 |
}, |
| 427 |
"_hasShrinkwrap": false |
| 428 |
}, |
| 429 |
"3.7.3": { |
| 430 |
"name": "eslint-scope", |
| 431 |
"description": "ECMAScript scope analyzer for ESLint", |
| 432 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 433 |
"main": "lib/index.js", |
| 434 |
"version": "3.7.3", |
| 435 |
"engines": { |
| 436 |
"node": ">=4.0.0" |
| 437 |
}, |
| 438 |
"repository": { |
| 439 |
"type": "git", |
| 440 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 441 |
}, |
| 442 |
"bugs": { |
| 443 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 444 |
}, |
| 445 |
"license": "BSD-2-Clause", |
| 446 |
"scripts": { |
| 447 |
"test": "node Makefile.js test", |
| 448 |
"lint": "node Makefile.js lint", |
| 449 |
"release": "eslint-release", |
| 450 |
"ci-release": "eslint-ci-release", |
| 451 |
"gh-release": "eslint-gh-release", |
| 452 |
"alpharelease": "eslint-prerelease alpha", |
| 453 |
"betarelease": "eslint-prerelease beta" |
| 454 |
}, |
| 455 |
"files": [ |
| 456 |
"LICENSE", |
| 457 |
"README.md", |
| 458 |
"lib" |
| 459 |
], |
| 460 |
"dependencies": { |
| 461 |
"esrecurse": "^4.1.0", |
| 462 |
"estraverse": "^4.1.1" |
| 463 |
}, |
| 464 |
"devDependencies": { |
| 465 |
"chai": "^3.4.1", |
| 466 |
"eslint": "^3.15.0", |
| 467 |
"eslint-config-eslint": "^4.0.0", |
| 468 |
"eslint-release": "^0.10.1", |
| 469 |
"espree": "^3.1.1", |
| 470 |
"istanbul": "^0.4.5", |
| 471 |
"mocha": "^3.2.0", |
| 472 |
"npm-license": "^0.3.3", |
| 473 |
"shelljs": "^0.7.6", |
| 474 |
"typescript": "~2.0.10", |
| 475 |
"typescript-eslint-parser": "^1.0.0" |
| 476 |
}, |
| 477 |
"readme": "# ESLint Scope\n\nESLint Scope is the [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm) scope analyzer used in ESLint. It is a fork of [escope](http://github.com/estools/escope).\n\n## Usage\n\nInstall:\n\n```\nnpm i eslint-scope --save\n```\n\nExample:\n\n```js\nvar eslintScope = require('eslint-scope');\nvar espree = require('espree');\nvar estraverse = require('estraverse');\n\nvar ast = espree.parse(code);\nvar scopeManager = eslintScope.analyze(ast);\n\nvar currentScope = scopeManager.acquire(ast); // global scope\n\nestraverse.traverse(ast, {\n enter: function(node, parent) {\n // do stuff\n\n if (/Function/.test(node.type)) {\n currentScope = scopeManager.acquire(node); // get current function scope\n }\n },\n leave: function(node, parent) {\n if (/Function/.test(node.type)) {\n currentScope = currentScope.upper; // set to parent scope\n }\n\n // do stuff\n }\n});\n```\n\n## Contributing\n\nIssues and pull requests will be triaged and responded to as quickly as possible. We operate under the [ESLint Contributor Guidelines](http://eslint.org/docs/developer-guide/contributing), so please be sure to read them before contributing. If you're not sure where to dig in, check out the [issues](https://github.com/eslint/eslint-scope/issues).\n\n## Build Commands\n\n* `npm test` - run all linting and tests\n* `npm run lint` - run all linting\n\n## License\n\nESLint Scope is licensed under a permissive BSD 2-clause license.\n", |
| 478 |
"readmeFilename": "README.md", |
| 479 |
"gitHead": "cded04f8ec4496f61dfdd92726c2f6a23042f49d", |
| 480 |
"_id": "[email protected]", |
| 481 |
"_npmVersion": "5.6.0", |
| 482 |
"_nodeVersion": "8.11.3", |
| 483 |
"_npmUser": { |
| 484 |
"name": "not-an-aardvark", |
| 485 |
"email": "[email protected]" |
| 486 |
}, |
| 487 |
"dist": { |
| 488 |
"integrity": "sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA==", |
| 489 |
"shasum": "bb507200d3d17f60247636160b4826284b108535", |
| 490 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.3.tgz", |
| 491 |
"fileCount": 12, |
| 492 |
"unpackedSize": 76067, |
| 493 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbR5LCCRA9TVsSAnZWagAARioP/0WkEws2Mcuqds2pXijJ\n1a7yByCtQcx5vuk/Ez8WBJnaWsE8PuAaV3j0QTmuNjRZ9OYOyvPv77007L5z\nzCLOcJdfe34yoj2naz3bCnOPFhPLrTjekFIJz6TBJ4vxfVgShqpOIRDB8y7D\nJA2EDy4YMQ2anIZXwfzsLbD1GERhyKllUcDjYh+kpkPpz4y02yUpttqO3pbH\njIi5ASnPFYsWCpOIknW86D/3UPZZq8X7mhCrGRoxwwHZKRk4DAYHCTqElGce\nJYWN+erT8rybmt387AWNsAK2c+Hru63LB08qjp7J7wvJSONSzBaUGEMrEoO9\n44vFngopzHdzSZHBewuRISDS/MoulC1r1l4Gdb/I+c+lMml1MoeiAOIYP2dZ\nDhyujnRscIw9ShsiMJaXbE2P9/9Y7Yx8MuYCdhlkPlQSlqcGYi5X9S5bbMz/\nysPFFz5w78SyP08XBn0U6tKfvh5oBgRbvc5fmooUBLenuhgVak9og1eInZA1\nNkpEf8QCOdXpMPFuRniFuEl18v8UPAO4B/W68Mjc0eaLtFec4b4SdxF7XMDf\nge78ArEsy0a/C+SqK3grNCsYiI9ZJGSIyxe7QyKBJFGxCddAmR6+hMv5lMBm\n/8Etle8gqEgQwkRTYAlCvaPELMpxiTEtOa/Ge/eHSCO8ZRaUQUw/LOqsMofK\n665T\r\n=OiPz\r\n-----END PGP SIGNATURE-----\r\n" |
| 494 |
}, |
| 495 |
"maintainers": [ |
| 496 |
{ |
| 497 |
"email": "[email protected]", |
| 498 |
"name": "eslint" |
| 499 |
}, |
| 500 |
{ |
| 501 |
"email": "[email protected]", |
| 502 |
"name": "ivolodin" |
| 503 |
}, |
| 504 |
{ |
| 505 |
"email": "[email protected]", |
| 506 |
"name": "nzakas" |
| 507 |
} |
| 508 |
], |
| 509 |
"directories": {}, |
| 510 |
"_npmOperationalInternal": { |
| 511 |
"host": "s3://npm-registry-packages", |
| 512 |
"tmp": "tmp/eslint-scope_3.7.3_1531417282379_0.35074445751082384" |
| 513 |
}, |
| 514 |
"_hasShrinkwrap": false |
| 515 |
}, |
| 516 |
"4.0.1": { |
| 517 |
"name": "eslint-scope", |
| 518 |
"description": "ECMAScript scope analyzer for ESLint", |
| 519 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 520 |
"main": "lib/index.js", |
| 521 |
"version": "4.0.1", |
| 522 |
"engines": { |
| 523 |
"node": ">=4.0.0" |
| 524 |
}, |
| 525 |
"repository": { |
| 526 |
"type": "git", |
| 527 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 528 |
}, |
| 529 |
"bugs": { |
| 530 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 531 |
}, |
| 532 |
"license": "BSD-2-Clause", |
| 533 |
"scripts": { |
| 534 |
"test": "node Makefile.js test", |
| 535 |
"lint": "node Makefile.js lint", |
| 536 |
"generate-release": "eslint-generate-release", |
| 537 |
"generate-alpharelease": "eslint-generate-prerelease alpha", |
| 538 |
"generate-betarelease": "eslint-generate-prerelease beta", |
| 539 |
"generate-rcrelease": "eslint-generate-prerelease rc", |
| 540 |
"publish-release": "eslint-publish-release" |
| 541 |
}, |
| 542 |
"dependencies": { |
| 543 |
"esrecurse": "^4.1.0", |
| 544 |
"estraverse": "^4.1.1" |
| 545 |
}, |
| 546 |
"devDependencies": { |
| 547 |
"chai": "^3.4.1", |
| 548 |
"eslint": "^3.15.0", |
| 549 |
"eslint-config-eslint": "^4.0.0", |
| 550 |
"eslint-release": "^1.0.0", |
| 551 |
"espree": "^3.1.1", |
| 552 |
"istanbul": "^0.4.5", |
| 553 |
"mocha": "^3.2.0", |
| 554 |
"npm-license": "^0.3.3", |
| 555 |
"shelljs": "^0.7.6", |
| 556 |
"typescript": "~2.0.10", |
| 557 |
"typescript-eslint-parser": "^1.0.0" |
| 558 |
}, |
| 559 |
"gitHead": "412ac3d844143ed8ca27cb8388e8b12c1df09f79", |
| 560 |
"_id": "[email protected]", |
| 561 |
"_npmVersion": "6.4.1", |
| 562 |
"_nodeVersion": "10.15.2", |
| 563 |
"_npmUser": { |
| 564 |
"name": "eslint", |
| 565 |
"email": "[email protected]" |
| 566 |
}, |
| 567 |
"dist": { |
| 568 |
"integrity": "sha512-PeQeU4s1Pr0LXLZ+YF7aYaZirFDw23ssCKeahBqZqa8aM9Si9jSx7MoSKhAl3m+VM9oqnGSMdLYZ2QzB09aQnw==", |
| 569 |
"shasum": "dc3e21b1129fe4f61509a025db075fe7ba3abdba", |
| 570 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.1.tgz", |
| 571 |
"fileCount": 12, |
| 572 |
"unpackedSize": 76414, |
| 573 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcedivCRA9TVsSAnZWagAAAMIQAI3qlR2giYyxMmBOlVM6\nMoRegPxwx2jX+Ws95uUza1S6zhMnhZZ6o4Cby5lGYS0vwDPu4n5VSmm/28Uf\nVaacgjHKfM+HdhsYFBRbo68tlWtSUAGTYclyC04MMqR1tLSwRnye0rl2UqCa\n3sZ3rOXdgL9ciy6tx74MG35Kn8NEdrdlVDMZszyPTfEgKc/VQOzNPxNl0tf4\nA7htOkF3pR1FT0lfuoamBbv4nNrcOY7F8cS1QhZm2lScvqHRhlGa4rhREsBd\ng2nk0LEhK4SEcjFv8MC1SNRgdnz4dFGfIQn7mhu9NIz0llfRQM6eIve3ZmFG\nOtYMqIUCQmttScVUdDCUpLx+Lgj3CjEhGW/gmq6nDPnnvfAHq5fDN2TzliPR\n/K8o+JtK0z/QFK6npnXiDU1BkMp02Eu/j5Zp55KXkf8r9uNXN8HEF8EIrV3W\nce7wL0/qfIIxJhGJsFhdZ752nF5EXIDRELM/dZFPdy712uaTTgKH4uhOMeUL\nDzikAYuSDt8XwEV92RIsdTmAnZOQSfb9U+gb7I7FN/31xnTR+13Zq1LvNw7S\nGs7/ROFZFjWk1JHiCTMsXB6pRgwFY4MkqJxbGrMYA3lh98VGz9Is+LWaj/qw\nfey3WfFXZ+WEGaS4MDPSI6Jkn87LnCl3B2fkYMpPGvV5nKhD/VLIE5So3A1c\nv+r7\r\n=s0j9\r\n-----END PGP SIGNATURE-----\r\n" |
| 574 |
}, |
| 575 |
"maintainers": [ |
| 576 |
{ |
| 577 |
"email": "[email protected]", |
| 578 |
"name": "eslint" |
| 579 |
}, |
| 580 |
{ |
| 581 |
"email": "[email protected]", |
| 582 |
"name": "ivolodin" |
| 583 |
}, |
| 584 |
{ |
| 585 |
"email": "[email protected]", |
| 586 |
"name": "nzakas" |
| 587 |
} |
| 588 |
], |
| 589 |
"directories": {}, |
| 590 |
"_npmOperationalInternal": { |
| 591 |
"host": "s3://npm-registry-packages", |
| 592 |
"tmp": "tmp/eslint-scope_4.0.1_1551489198712_0.2675726623968244" |
| 593 |
}, |
| 594 |
"_hasShrinkwrap": false |
| 595 |
}, |
| 596 |
"4.0.2": { |
| 597 |
"name": "eslint-scope", |
| 598 |
"description": "ECMAScript scope analyzer for ESLint", |
| 599 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 600 |
"main": "lib/index.js", |
| 601 |
"version": "4.0.2", |
| 602 |
"engines": { |
| 603 |
"node": ">=4.0.0" |
| 604 |
}, |
| 605 |
"repository": { |
| 606 |
"type": "git", |
| 607 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 608 |
}, |
| 609 |
"bugs": { |
| 610 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 611 |
}, |
| 612 |
"license": "BSD-2-Clause", |
| 613 |
"scripts": { |
| 614 |
"test": "node Makefile.js test", |
| 615 |
"lint": "node Makefile.js lint", |
| 616 |
"generate-release": "eslint-generate-release", |
| 617 |
"generate-alpharelease": "eslint-generate-prerelease alpha", |
| 618 |
"generate-betarelease": "eslint-generate-prerelease beta", |
| 619 |
"generate-rcrelease": "eslint-generate-prerelease rc", |
| 620 |
"publish-release": "eslint-publish-release" |
| 621 |
}, |
| 622 |
"dependencies": { |
| 623 |
"esrecurse": "^4.1.0", |
| 624 |
"estraverse": "^4.1.1" |
| 625 |
}, |
| 626 |
"devDependencies": { |
| 627 |
"chai": "^3.4.1", |
| 628 |
"eslint": "^3.15.0", |
| 629 |
"eslint-config-eslint": "^4.0.0", |
| 630 |
"eslint-release": "^1.0.0", |
| 631 |
"espree": "^3.1.1", |
| 632 |
"istanbul": "^0.4.5", |
| 633 |
"mocha": "^3.2.0", |
| 634 |
"npm-license": "^0.3.3", |
| 635 |
"shelljs": "^0.7.6", |
| 636 |
"typescript": "~2.0.10", |
| 637 |
"typescript-eslint-parser": "^1.0.0" |
| 638 |
}, |
| 639 |
"gitHead": "14c092a6efd4dd0bf701bf4f8f518eac6b29b2ce", |
| 640 |
"_id": "[email protected]", |
| 641 |
"_npmVersion": "6.4.1", |
| 642 |
"_nodeVersion": "10.15.2", |
| 643 |
"_npmUser": { |
| 644 |
"name": "eslint", |
| 645 |
"email": "[email protected]" |
| 646 |
}, |
| 647 |
"dist": { |
| 648 |
"integrity": "sha512-5q1+B/ogmHl8+paxtOKx38Z8LtWkVGuNt3+GQNErqwLl6ViNp/gdJGMCjZNxZ8j/VYjDNZ2Fo+eQc1TAVPIzbg==", |
| 649 |
"shasum": "5f10cd6cabb1965bf479fa65745673439e21cb0e", |
| 650 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.2.tgz", |
| 651 |
"fileCount": 12, |
| 652 |
"unpackedSize": 76772, |
| 653 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJced0TCRA9TVsSAnZWagAAcm0P+QCgBu9yCCO5EwsWTT+T\nKxuYbwD/kVB2Azm0TRNzwJrUnDneEaARKlri8TBZd/nvmJd0BwGzEOi8MPiT\ndcS5QeTtqLw++RfQ4yKLmWN/CuW4REezZyePBXkAzN8yq54s02GK/BgDn3y4\ntLXayJYNu3+pJFYHOnm2tubZPB4r4ZufCms4Ag/iv67WLzMPsvvtzvFUSsxx\njDilis/I0YyrXhtBjlNHZnJT6vafg34HFWg/Jbnm4JRshAAl6k63PxRrgIPZ\nbyl4mjx10EgK8/8KNy9mMHKZqFg4AMJZLJLeeEOaBkTCiKvEWB2RnurY9Blm\nTlM/8CEe4rxGgJsrmJky8Xek0hw/mniELuNdggc+MFBT8MIY/3auGYINnzXX\nruP5yXhcA4B+pCw6I3w5z78AkOui4WZf+YO/+ppCZSBRdGuIRRLAHJDFTpEG\nRa8HoJGhM351vcVoOD4MW1ih8fdriV5Xm/I9IRB33oHghU/Wt0+ZyFnjUejl\n1zin9ItzCa69lTEGuNOTiTfD+rKmyDT6gjspLtfO1eejAOvr25bU0UE6KLtK\nIPlHYuTaA/Od5OaCtPPhmCr52hqq5TUyKmyH/DZMrDOUXgiT4F7RDNF+/Hf+\n4NDq2yMKycXwQFgUh2cIz932dSeP2pvPmxoBjmuHE4ippm6Y/HCYKwdVGekn\nevh/\r\n=X3FY\r\n-----END PGP SIGNATURE-----\r\n" |
| 654 |
}, |
| 655 |
"maintainers": [ |
| 656 |
{ |
| 657 |
"email": "[email protected]", |
| 658 |
"name": "eslint" |
| 659 |
}, |
| 660 |
{ |
| 661 |
"email": "[email protected]", |
| 662 |
"name": "ivolodin" |
| 663 |
}, |
| 664 |
{ |
| 665 |
"email": "[email protected]", |
| 666 |
"name": "nzakas" |
| 667 |
} |
| 668 |
], |
| 669 |
"directories": {}, |
| 670 |
"_npmOperationalInternal": { |
| 671 |
"host": "s3://npm-registry-packages", |
| 672 |
"tmp": "tmp/eslint-scope_4.0.2_1551490322341_0.8849490467778856" |
| 673 |
}, |
| 674 |
"_hasShrinkwrap": false |
| 675 |
}, |
| 676 |
"4.0.3": { |
| 677 |
"name": "eslint-scope", |
| 678 |
"description": "ECMAScript scope analyzer for ESLint", |
| 679 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 680 |
"main": "lib/index.js", |
| 681 |
"version": "4.0.3", |
| 682 |
"engines": { |
| 683 |
"node": ">=4.0.0" |
| 684 |
}, |
| 685 |
"repository": { |
| 686 |
"type": "git", |
| 687 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 688 |
}, |
| 689 |
"bugs": { |
| 690 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 691 |
}, |
| 692 |
"license": "BSD-2-Clause", |
| 693 |
"scripts": { |
| 694 |
"test": "node Makefile.js test", |
| 695 |
"lint": "node Makefile.js lint", |
| 696 |
"generate-release": "eslint-generate-release", |
| 697 |
"generate-alpharelease": "eslint-generate-prerelease alpha", |
| 698 |
"generate-betarelease": "eslint-generate-prerelease beta", |
| 699 |
"generate-rcrelease": "eslint-generate-prerelease rc", |
| 700 |
"publish-release": "eslint-publish-release" |
| 701 |
}, |
| 702 |
"dependencies": { |
| 703 |
"esrecurse": "^4.1.0", |
| 704 |
"estraverse": "^4.1.1" |
| 705 |
}, |
| 706 |
"devDependencies": { |
| 707 |
"chai": "^3.4.1", |
| 708 |
"eslint": "^3.15.0", |
| 709 |
"eslint-config-eslint": "^4.0.0", |
| 710 |
"eslint-release": "^1.0.0", |
| 711 |
"espree": "^3.1.1", |
| 712 |
"istanbul": "^0.4.5", |
| 713 |
"mocha": "^3.2.0", |
| 714 |
"npm-license": "^0.3.3", |
| 715 |
"shelljs": "^0.7.6", |
| 716 |
"typescript": "~2.0.10", |
| 717 |
"typescript-eslint-parser": "^1.0.0" |
| 718 |
}, |
| 719 |
"gitHead": "5d2ec4fa322095067bd5a262b0c218d1bdf9270c", |
| 720 |
"_id": "[email protected]", |
| 721 |
"_npmVersion": "6.4.1", |
| 722 |
"_nodeVersion": "10.15.2", |
| 723 |
"_npmUser": { |
| 724 |
"name": "eslint", |
| 725 |
"email": "[email protected]" |
| 726 |
}, |
| 727 |
"dist": { |
| 728 |
"integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", |
| 729 |
"shasum": "ca03833310f6889a3264781aa82e63eb9cfe7848", |
| 730 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", |
| 731 |
"fileCount": 12, |
| 732 |
"unpackedSize": 76956, |
| 733 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci9zbCRA9TVsSAnZWagAAs0AP/iaE17Q937T/f4CLRoMm\n1GJL5eIYcMIudpA1b1WrxmrpRCLqc38bEqYo4kWvFGNmT4ZCcnrIMod3jY26\nVD9rXrtiW2QPqHvkr1CLKS5HkUA+LgesZDl9I6BNb8SfyrHav1dlx136QTCb\nlSWLnrohTfdEWbjhh+RtijV3B60XPQcrh3TQlOTOIJb/SSocoXfFP/kH37uA\ntsNFtizrOpjpoNINnhzVzj4jntnysJZtswK9hoSCIJ1/Jbt1Bn5RIO5fWY3C\ngZX3nC4x2EVyLLbQJrRGmuUQCdvCE9a0cvqzVI85u//nD1hZIodhEfBHK1wq\naa0fwG4KH7mfLF53f2xQl+3hBsSpjuotcmRQq46h4Hr59cY5pe/5lZx893UO\nQyOvUwPMPmqFzA3arkFfDLCceJxg5chrVlsvpxgUoItALHNaZ6aGzwMXc4i/\nWyGvzTVgCHmvrKbqgsBDhlAx5SmasM1NhPRPcX2OWhZ6tK6y8ASD2JlraSSg\nlIrfs70KzR2+g7lk3PAFbmwScs0XHbiMydn+Du4SmndFiZtFj7yRQl5QvMIV\ntTx8TQJwP2S9rYnBNtgdnuaAnMTQwa93aTiz9IlrzPctRZ08iEoYIllkqnmz\nIsklWUkEhtwucRCg6w/1+B9T+sUQfi6I4k4djHYoPycFtg/T1Bx7pkkAOL4U\nBgrX\r\n=MJPG\r\n-----END PGP SIGNATURE-----\r\n" |
| 734 |
}, |
| 735 |
"maintainers": [ |
| 736 |
{ |
| 737 |
"email": "[email protected]", |
| 738 |
"name": "eslint" |
| 739 |
}, |
| 740 |
{ |
| 741 |
"email": "[email protected]", |
| 742 |
"name": "ivolodin" |
| 743 |
}, |
| 744 |
{ |
| 745 |
"email": "[email protected]", |
| 746 |
"name": "nzakas" |
| 747 |
} |
| 748 |
], |
| 749 |
"directories": {}, |
| 750 |
"_npmOperationalInternal": { |
| 751 |
"host": "s3://npm-registry-packages", |
| 752 |
"tmp": "tmp/eslint-scope_4.0.3_1552669914480_0.28796127181016495" |
| 753 |
}, |
| 754 |
"_hasShrinkwrap": false |
| 755 |
}, |
| 756 |
"5.0.0": { |
| 757 |
"name": "eslint-scope", |
| 758 |
"description": "ECMAScript scope analyzer for ESLint", |
| 759 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 760 |
"main": "lib/index.js", |
| 761 |
"version": "5.0.0", |
| 762 |
"engines": { |
| 763 |
"node": ">=8.0.0" |
| 764 |
}, |
| 765 |
"repository": { |
| 766 |
"type": "git", |
| 767 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 768 |
}, |
| 769 |
"bugs": { |
| 770 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 771 |
}, |
| 772 |
"license": "BSD-2-Clause", |
| 773 |
"scripts": { |
| 774 |
"test": "node Makefile.js test", |
| 775 |
"lint": "node Makefile.js lint", |
| 776 |
"generate-release": "eslint-generate-release", |
| 777 |
"generate-alpharelease": "eslint-generate-prerelease alpha", |
| 778 |
"generate-betarelease": "eslint-generate-prerelease beta", |
| 779 |
"generate-rcrelease": "eslint-generate-prerelease rc", |
| 780 |
"publish-release": "eslint-publish-release" |
| 781 |
}, |
| 782 |
"dependencies": { |
| 783 |
"esrecurse": "^4.1.0", |
| 784 |
"estraverse": "^4.1.1" |
| 785 |
}, |
| 786 |
"devDependencies": { |
| 787 |
"@typescript-eslint/parser": "^1.11.0", |
| 788 |
"chai": "^4.2.0", |
| 789 |
"eslint": "^6.0.1", |
| 790 |
"eslint-config-eslint": "^5.0.1", |
| 791 |
"eslint-plugin-node": "^9.1.0", |
| 792 |
"eslint-release": "^1.0.0", |
| 793 |
"espree": "^6.0.0", |
| 794 |
"istanbul": "^0.4.5", |
| 795 |
"mocha": "^6.1.4", |
| 796 |
"npm-license": "^0.3.3", |
| 797 |
"shelljs": "^0.8.3", |
| 798 |
"typescript": "^3.5.2" |
| 799 |
}, |
| 800 |
"gitHead": "dbddf14d5771b21b5da704213e4508c660ca1c64", |
| 801 |
"_id": "[email protected]", |
| 802 |
"_npmVersion": "6.4.1", |
| 803 |
"_nodeVersion": "10.15.2", |
| 804 |
"_npmUser": { |
| 805 |
"name": "eslint", |
| 806 |
"email": "[email protected]" |
| 807 |
}, |
| 808 |
"dist": { |
| 809 |
"integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==", |
| 810 |
"shasum": "e87c8887c73e8d1ec84f1ca591645c358bfc8fb9", |
| 811 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz", |
| 812 |
"fileCount": 12, |
| 813 |
"unpackedSize": 77338, |
| 814 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdM9orCRA9TVsSAnZWagAABO8P/RrxXV5AghxUbjnWGmWR\nEZMr/wCVWahoKdu9FughLNrCIFDqXA5KWlflBhRKo/s87YcWjMEwvn+5hrDj\nwTZyf1qHUEfbWo8zJiqY7j6O/iDYrHAkd+mWS77D9mZxwbAMt07/snXUX8ui\npPdZnir76f88h5AGgt/VLZyB+6pEO+v5BJYyhWlCBt9YCUfULGQy8LzRMYfO\nXVIGTJFQle8P3jscmUmRq+ycfEySq2qW19rv4hbVbG4Y7Kvmh/iiXJ8ky0u6\nkS03eK3vCHImudAfAeD+H5GU60bMEFhD+PBnsR/wuEVUIcWk+0u93Jjs8xTb\n+CU6HDxtkcQ/hw7yZmz0WskY8o8Aa5G6iXxvLz6x4RJOPBDofXBJWHguZ7io\n5iCaivucuGwN0u2HypXDRsDKKZo+32UsfX6YDpuzMi+beEGm41ly8pIFRbiR\nJvD1Tx7218TPHhDMHLQtfaIsgylaUjec03KTuDaZpjA+chrIE59ERqCho1Iy\nvi8rSgDJxnzYk9C+WgZM/2Nvo8NIGpF52TqJI1TdqauByyzVldp6pdi+AR8m\nWlYztW5orsriZzGJEm2ZVloQoBBs0jBe8idlD0XjvWTl7DJGYYx7UimtorAK\nWK2eh3vpgTrqWLUrVsiG0emKShD/MR9kl8hPoe2megm6k4Y6YrOP4JVdxwh9\nckif\r\n=Aj1p\r\n-----END PGP SIGNATURE-----\r\n" |
| 815 |
}, |
| 816 |
"maintainers": [ |
| 817 |
{ |
| 818 |
"email": "[email protected]", |
| 819 |
"name": "eslint" |
| 820 |
}, |
| 821 |
{ |
| 822 |
"email": "[email protected]", |
| 823 |
"name": "ivolodin" |
| 824 |
}, |
| 825 |
{ |
| 826 |
"email": "[email protected]", |
| 827 |
"name": "nzakas" |
| 828 |
} |
| 829 |
], |
| 830 |
"directories": {}, |
| 831 |
"_npmOperationalInternal": { |
| 832 |
"host": "s3://npm-registry-packages", |
| 833 |
"tmp": "tmp/eslint-scope_5.0.0_1563679274841_0.06396483389949426" |
| 834 |
}, |
| 835 |
"_hasShrinkwrap": false |
| 836 |
}, |
| 837 |
"5.1.0": { |
| 838 |
"name": "eslint-scope", |
| 839 |
"description": "ECMAScript scope analyzer for ESLint", |
| 840 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 841 |
"main": "lib/index.js", |
| 842 |
"version": "5.1.0", |
| 843 |
"engines": { |
| 844 |
"node": ">=8.0.0" |
| 845 |
}, |
| 846 |
"repository": { |
| 847 |
"type": "git", |
| 848 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 849 |
}, |
| 850 |
"bugs": { |
| 851 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 852 |
}, |
| 853 |
"license": "BSD-2-Clause", |
| 854 |
"scripts": { |
| 855 |
"test": "node Makefile.js test", |
| 856 |
"lint": "node Makefile.js lint", |
| 857 |
"generate-release": "eslint-generate-release", |
| 858 |
"generate-alpharelease": "eslint-generate-prerelease alpha", |
| 859 |
"generate-betarelease": "eslint-generate-prerelease beta", |
| 860 |
"generate-rcrelease": "eslint-generate-prerelease rc", |
| 861 |
"publish-release": "eslint-publish-release" |
| 862 |
}, |
| 863 |
"dependencies": { |
| 864 |
"esrecurse": "^4.1.0", |
| 865 |
"estraverse": "^4.1.1" |
| 866 |
}, |
| 867 |
"devDependencies": { |
| 868 |
"@typescript-eslint/parser": "^1.11.0", |
| 869 |
"chai": "^4.2.0", |
| 870 |
"eslint": "^6.0.1", |
| 871 |
"eslint-config-eslint": "^5.0.1", |
| 872 |
"eslint-plugin-node": "^9.1.0", |
| 873 |
"eslint-release": "^1.0.0", |
| 874 |
"eslint-visitor-keys": "^1.2.0", |
| 875 |
"espree": "^7.1.0", |
| 876 |
"istanbul": "^0.4.5", |
| 877 |
"mocha": "^6.1.4", |
| 878 |
"npm-license": "^0.3.3", |
| 879 |
"shelljs": "^0.8.3", |
| 880 |
"typescript": "^3.5.2" |
| 881 |
}, |
| 882 |
"gitHead": "38b4b1fe5bcfb47b37ecc2a7707699632af56e05", |
| 883 |
"_id": "[email protected]", |
| 884 |
"_nodeVersion": "12.16.3", |
| 885 |
"_npmVersion": "6.14.4", |
| 886 |
"dist": { |
| 887 |
"integrity": "sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==", |
| 888 |
"shasum": "d0f971dfe59c69e0cada684b23d49dbf82600ce5", |
| 889 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz", |
| 890 |
"fileCount": 12, |
| 891 |
"unpackedSize": 77833, |
| 892 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2NoACRA9TVsSAnZWagAAamEP/1uqeiu9fenJVmBJT6We\nHj7tx2OWOXPwtZvx19xZQaDiVDroZ7m4sSxxy+LsqPg+pfQNVn6LLDDz6VfL\n6vrXvyUrB+JVodgewumlhms9Aua2GsPnd7O/vXebylktpgFargNZJs2mAXjk\nbnfosV83nhtsQQWBD4Qp2wvxR/d41AY+KA4Gbqig3QgUCBpFy1hGm0cO6DDB\njwg1+baemgsbJ/MGUs5l/RYc4r2n/T+bz9R7B8PgqL+G3O6n/zhT4gskPpiq\nu7v0Mc0O/S9RaEQCPOHLRbCLuL2aNHqn1fevR2T+KEt8IEZkZodDc9K9ueYk\nA3/YeGM1ewnnQavKSjl0ZKcEbGFmfBRfk7bpcCyogOK857Sp1WZfxX/njHrT\nJwyfw2FxOhzObULJllmZTU7IdAGqWyUs4eyI+CNH9fyVdcSS7Db56RRstI9n\n409CN5jDXH+3/wrI2wu2lDJYoS/xHuIgAbLOc4yzoOf6eAmSKtFtUUn7TDM1\n6OVYadipip/w5H5ySAyBEMrcrSp16vkzlTufapWuZrmDDOYAYleRLaGtNHO3\npcmRPkCC/q8iNeFGMwmgu7TQE+cKK0bpOPkr1CstV+ti+JXy9gEolCGbatwl\nFQ/hH+c+v4qUpYedjgtbs7u9TbzzM+/KkeEiU93eEOqm+cz08JhOvDIDNkzn\ntwhy\r\n=lfPZ\r\n-----END PGP SIGNATURE-----\r\n" |
| 893 |
}, |
| 894 |
"maintainers": [ |
| 895 |
{ |
| 896 |
"email": "[email protected]", |
| 897 |
"name": "eslintbot" |
| 898 |
}, |
| 899 |
{ |
| 900 |
"email": "[email protected]", |
| 901 |
"name": "ivolodin" |
| 902 |
}, |
| 903 |
{ |
| 904 |
"email": "[email protected]", |
| 905 |
"name": "kaicataldo" |
| 906 |
}, |
| 907 |
{ |
| 908 |
"email": "[email protected]", |
| 909 |
"name": "nzakas" |
| 910 |
} |
| 911 |
], |
| 912 |
"_npmUser": { |
| 913 |
"name": "eslintbot", |
| 914 |
"email": "[email protected]" |
| 915 |
}, |
| 916 |
"directories": {}, |
| 917 |
"_npmOperationalInternal": { |
| 918 |
"host": "s3://npm-registry-packages", |
| 919 |
"tmp": "tmp/eslint-scope_5.1.0_1591269887889_0.8156199215956847" |
| 920 |
}, |
| 921 |
"_hasShrinkwrap": false |
| 922 |
}, |
| 923 |
"5.1.1": { |
| 924 |
"name": "eslint-scope", |
| 925 |
"description": "ECMAScript scope analyzer for ESLint", |
| 926 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 927 |
"main": "lib/index.js", |
| 928 |
"version": "5.1.1", |
| 929 |
"engines": { |
| 930 |
"node": ">=8.0.0" |
| 931 |
}, |
| 932 |
"repository": { |
| 933 |
"type": "git", |
| 934 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 935 |
}, |
| 936 |
"bugs": { |
| 937 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 938 |
}, |
| 939 |
"license": "BSD-2-Clause", |
| 940 |
"scripts": { |
| 941 |
"test": "node Makefile.js test", |
| 942 |
"lint": "node Makefile.js lint", |
| 943 |
"generate-release": "eslint-generate-release", |
| 944 |
"generate-alpharelease": "eslint-generate-prerelease alpha", |
| 945 |
"generate-betarelease": "eslint-generate-prerelease beta", |
| 946 |
"generate-rcrelease": "eslint-generate-prerelease rc", |
| 947 |
"publish-release": "eslint-publish-release" |
| 948 |
}, |
| 949 |
"dependencies": { |
| 950 |
"esrecurse": "^4.3.0", |
| 951 |
"estraverse": "^4.1.1" |
| 952 |
}, |
| 953 |
"devDependencies": { |
| 954 |
"@typescript-eslint/parser": "^1.11.0", |
| 955 |
"chai": "^4.2.0", |
| 956 |
"eslint": "^6.0.1", |
| 957 |
"eslint-config-eslint": "^5.0.1", |
| 958 |
"eslint-plugin-node": "^9.1.0", |
| 959 |
"eslint-release": "^1.0.0", |
| 960 |
"eslint-visitor-keys": "^1.2.0", |
| 961 |
"espree": "^7.1.0", |
| 962 |
"istanbul": "^0.4.5", |
| 963 |
"mocha": "^6.1.4", |
| 964 |
"npm-license": "^0.3.3", |
| 965 |
"shelljs": "^0.8.3", |
| 966 |
"typescript": "^3.5.2" |
| 967 |
}, |
| 968 |
"gitHead": "8a7a21cce3a4bf17753d588f6444742235566a92", |
| 969 |
"_id": "[email protected]", |
| 970 |
"_nodeVersion": "12.18.3", |
| 971 |
"_npmVersion": "6.14.6", |
| 972 |
"dist": { |
| 973 |
"integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", |
| 974 |
"shasum": "e786e59a66cb92b3f6c1fb0d508aab174848f48c", |
| 975 |
"tarball": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", |
| 976 |
"fileCount": 12, |
| 977 |
"unpackedSize": 78356, |
| 978 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXRNtCRA9TVsSAnZWagAAv5oP/3+Z783XScQ9vzSbequn\nIQKq8LiHf27lKQFR2ptwm43xrjEOM7d8DZNB0kbvB55ivqT5kwTW9mIzX4z7\nwb4kcFbQPytSZDzgq6tWTIVWm4SdFVmUF4o+sRDIP+lbTAC+mH+vURVsC5QE\nBxxm9l7c8KsDnqJhnVNjUGp2FGlmbjDxPRCCef/d+HDduzz0tkW7UJpIAwEy\nmUVJKM4K8/w5GjqjAyU6pmgL/iBK0pDcLtknsMyLapsJBxx2RE5WZ0uzssH1\nHSmungKj3+C2qKa6zLb7DVDKf8j3kO1uCRz83SaL0ngt5AB1Ee+mEZmHo3CX\nDHtEVMvsAEeM2qtJDGqx+cUY745MZdeaji7qyKMq2WebmbxgzhU9CoQxN9eG\nYZ+GRYPPKAV4X2xLEUytg9oFbaqv1WjGfAWG09hHeXaiVzBbhN+lfWGlX0G1\nOdhuGq4xlQx6QhhWdYrqNkezjXiwnx0YeNsrHkqO7WdwNMBG/IjZv4rLl2Z5\n0ISFeSZ4rUCsUPLKdSDXYZRaXijp/rR3iK7GYnxVXvUCyT77pcMcRLSqcLZs\nmAEkt96q3KhgsLz9HNM5j/MLEhUFuBWpTrzq0CS4g5TzxulCSmSQh2Izd4sj\nX4O8mXlGJCiHDoQv/6qj7+b/hYAew+DdTu97ptp0VPeYSXGleDyp3jbwsSaJ\nlB2b\r\n=Dmv1\r\n-----END PGP SIGNATURE-----\r\n" |
| 979 |
}, |
| 980 |
"maintainers": [ |
| 981 |
{ |
| 982 |
"name": "eslintbot", |
| 983 |
"email": "[email protected]" |
| 984 |
}, |
| 985 |
{ |
| 986 |
"name": "nzakas", |
| 987 |
"email": "[email protected]" |
| 988 |
}, |
| 989 |
{ |
| 990 |
"name": "ivolodin", |
| 991 |
"email": "[email protected]" |
| 992 |
} |
| 993 |
], |
| 994 |
"_npmUser": { |
| 995 |
"name": "eslintbot", |
| 996 |
"email": "[email protected]" |
| 997 |
}, |
| 998 |
"directories": {}, |
| 999 |
"_npmOperationalInternal": { |
| 1000 |
"host": "s3://npm-registry-packages", |
| 1001 |
"tmp": "tmp/eslint-scope_5.1.1_1599935341074_0.599583022768494" |
| 1002 |
}, |
| 1003 |
"_hasShrinkwrap": false |
| 1004 |
} |
| 1005 |
}, |
| 1006 |
"readme": "# ESLint Scope\n\nESLint Scope is the [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm) scope analyzer used in ESLint. It is a fork of [escope](http://github.com/estools/escope).\n\n## Usage\n\nInstall:\n\n```\nnpm i eslint-scope --save\n```\n\nExample:\n\n```js\nvar eslintScope = require('eslint-scope');\nvar espree = require('espree');\nvar estraverse = require('estraverse');\n\nvar ast = espree.parse(code);\nvar scopeManager = eslintScope.analyze(ast);\n\nvar currentScope = scopeManager.acquire(ast); // global scope\n\nestraverse.traverse(ast, {\n enter: function(node, parent) {\n // do stuff\n\n if (/Function/.test(node.type)) {\n currentScope = scopeManager.acquire(node); // get current function scope\n }\n },\n leave: function(node, parent) {\n if (/Function/.test(node.type)) {\n currentScope = currentScope.upper; // set to parent scope\n }\n\n // do stuff\n }\n});\n```\n\n## Contributing\n\nIssues and pull requests will be triaged and responded to as quickly as possible. We operate under the [ESLint Contributor Guidelines](http://eslint.org/docs/developer-guide/contributing), so please be sure to read them before contributing. If you're not sure where to dig in, check out the [issues](https://github.com/eslint/eslint-scope/issues).\n\n## Build Commands\n\n* `npm test` - run all linting and tests\n* `npm run lint` - run all linting\n\n## License\n\nESLint Scope is licensed under a permissive BSD 2-clause license.\n", |
| 1007 |
"maintainers": [ |
| 1008 |
{ |
| 1009 |
"name": "eslintbot", |
| 1010 |
"email": "[email protected]" |
| 1011 |
}, |
| 1012 |
{ |
| 1013 |
"name": "nzakas", |
| 1014 |
"email": "[email protected]" |
| 1015 |
}, |
| 1016 |
{ |
| 1017 |
"name": "ivolodin", |
| 1018 |
"email": "[email protected]" |
| 1019 |
} |
| 1020 |
], |
| 1021 |
"time": { |
| 1022 |
"modified": "2020-09-12T18:29:03.519Z", |
| 1023 |
"created": "2017-03-17T22:10:11.109Z", |
| 1024 |
"3.7.0": "2017-03-17T22:10:11.109Z", |
| 1025 |
"3.7.1": "2017-04-12T21:13:31.158Z", |
| 1026 |
"4.0.0-alpha.0": "2018-04-28T01:47:18.036Z", |
| 1027 |
"4.0.0-rc.0": "2018-06-09T15:59:17.350Z", |
| 1028 |
"4.0.0": "2018-06-21T20:41:41.408Z", |
| 1029 |
"3.7.2": "2018-07-12T10:40:00.478Z", |
| 1030 |
"3.7.3": "2018-07-12T17:41:22.504Z", |
| 1031 |
"4.0.1": "2019-03-02T01:13:18.998Z", |
| 1032 |
"4.0.2": "2019-03-02T01:32:02.514Z", |
| 1033 |
"4.0.3": "2019-03-15T17:11:54.620Z", |
| 1034 |
"5.0.0": "2019-07-21T03:21:14.967Z", |
| 1035 |
"5.1.0": "2020-06-04T11:24:47.993Z", |
| 1036 |
"5.1.1": "2020-09-12T18:29:01.228Z" |
| 1037 |
}, |
| 1038 |
"homepage": "http://github.com/eslint/eslint-scope", |
| 1039 |
"repository": { |
| 1040 |
"type": "git", |
| 1041 |
"url": "git+https://github.com/eslint/eslint-scope.git" |
| 1042 |
}, |
| 1043 |
"bugs": { |
| 1044 |
"url": "https://github.com/eslint/eslint-scope/issues" |
| 1045 |
}, |
| 1046 |
"license": "BSD-2-Clause", |
| 1047 |
"readmeFilename": "README.md" |
| 1048 |
} |