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

eslint-plugin-factorial

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-factorial - npm Package Compare versions

Comparing version 2.0.11 to 2.0.12

2

package.json
{
"name": "eslint-plugin-factorial",
"version": "2.0.11",
"version": "2.0.12",
"main": "index.js",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -21,3 +21,3 @@ const path = require('path')

const declaredDepenency = (fileName, matchNode, package) => {
const declaredDepenency = (fileName, moduleNode, package) => {
if (!fs.existsSync(package)) {

@@ -36,3 +36,3 @@ console.warn(

return dependencies.includes(matchNode)
return dependencies.includes(moduleNode)
} catch (error) {

@@ -101,3 +101,3 @@ console.error(error)

// Check if is a declared dependency in the package.yml
if (!declaredDepenency(fileName, matchNode, package)) {
if (!declaredDepenency(fileName, moduleNode, package)) {
context.report({

@@ -104,0 +104,0 @@ node,

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