Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-node

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-node - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

10

lib/rules/exports-style.js

@@ -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 []

2

package.json
{
"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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc