eslint-plugin-node
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -9,8 +9,2 @@ /** | ||
//------------------------------------------------------------------------------ | ||
// Requirements | ||
//------------------------------------------------------------------------------ | ||
var astUtils = require("eslint/lib/ast-utils") | ||
//------------------------------------------------------------------------------ | ||
// Helpers | ||
@@ -158,3 +152,3 @@ //------------------------------------------------------------------------------ | ||
function getModuleExportsNodes(scope) { | ||
var variable = astUtils.getVariableByName(scope, "module") | ||
var variable = scope.set.get("module") | ||
if (variable == null) { | ||
@@ -175,3 +169,3 @@ return [] | ||
function getExportsNodes(scope) { | ||
var variable = astUtils.getVariableByName(scope, "exports") | ||
var variable = scope.set.get("exports") | ||
if (variable == null) { | ||
@@ -178,0 +172,0 @@ return [] |
{ | ||
"name": "eslint-plugin-node", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Additional ESLint's rules for Node.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127032
3614