New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@roq/eslint-plugin

Package Overview
Dependencies
Maintainers
6
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roq/eslint-plugin - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

3

constants.js

@@ -7,2 +7,4 @@ const path = require('path');

const moduleIdentifyingDirs = ['services', 'resolvers', 'models', 'middlewares', 'sources', 'consoles'];
const resourceIdentifiers = {

@@ -20,2 +22,3 @@ backend: ['decorators', 'dtos', 'entities', 'enums', 'guards', 'interfaces', 'loaders', 'mappers', 'models', 'repositories', 'resolvers', 'services', 'strategies', 'scalars', 'schemas', 'config'],

frontendCommonList: resourceIdentifiers.frontendCommon,
moduleIdentifyingDirs,
};

4

helper/executionContext.js

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

const {
escapedSep, resourceIdentifiers, allowedNamingPattern,
escapedSep, resourceIdentifiers, allowedNamingPattern, moduleIdentifyingDirs,
} = require('../constants');

@@ -67,3 +67,3 @@

const filesInDir = fs.readdirSync(dirPath);
return filesInDir.includes('services') || filesInDir.includes('resolvers') || filesInDir.includes('models');
return filesInDir.some((e) => moduleIdentifyingDirs.includes(e));
};

@@ -70,0 +70,0 @@

{
"name": "@roq/eslint-plugin",
"version": "1.0.3",
"version": "1.1.0",
"main": "index.js",

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

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