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

@locker/eslint-rule-maker

Package Overview
Dependencies
Maintainers
6
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/eslint-rule-maker - npm Package Compare versions

Comparing version 0.11.9 to 0.11.11

12

dist/index.cjs.js

@@ -174,3 +174,11 @@ /**

const patternsWithAsterisks = configClone.rule.search.filter((pattern) => pattern[0] === '*');
const matches = ast.matchAll(getScopeIdentifiersByContext(context), patternsWithAsterisks);
const identifiers = getScopeIdentifiersByContext(context);
let { object } = node;
while (object.type === 'MemberExpression') {
object = object.object;
}
if (object.type === 'ThisExpression') {
identifiers.push(object);
}
const matches = ast.matchAll(identifiers, patternsWithAsterisks);
// eslint-disable-next-line no-restricted-syntax

@@ -213,2 +221,2 @@ for (const matchData of matches) {

exports.matchers = matchers;
/** version: 0.11.9 */
/** version: 0.11.11 */

@@ -170,3 +170,11 @@ /**

const patternsWithAsterisks = configClone.rule.search.filter((pattern) => pattern[0] === '*');
const matches = ast.matchAll(getScopeIdentifiersByContext(context), patternsWithAsterisks);
const identifiers = getScopeIdentifiersByContext(context);
let { object } = node;
while (object.type === 'MemberExpression') {
object = object.object;
}
if (object.type === 'ThisExpression') {
identifiers.push(object);
}
const matches = ast.matchAll(identifiers, patternsWithAsterisks);
// eslint-disable-next-line no-restricted-syntax

@@ -207,2 +215,2 @@ for (const matchData of matches) {

export { ast, createRule, matchers };
/** version: 0.11.9 */
/** version: 0.11.11 */

8

package.json
{
"name": "@locker/eslint-rule-maker",
"version": "0.11.9",
"version": "0.11.11",
"license": "MIT",

@@ -23,4 +23,4 @@ "description": "Locker Next eslint rule maker utility",

"dependencies": {
"@locker/ast-lib-maker": "0.11.9",
"@locker/shared": "0.11.9"
"@locker/ast-lib-maker": "0.11.11",
"@locker/shared": "0.11.11"
},

@@ -37,3 +37,3 @@ "devDependencies": {

],
"gitHead": "7fd681f08f87206dfb944c258dac4eb12a98a6eb"
"gitHead": "edea12f8387424f6b8f26cb9972db921e19c06ee"
}
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