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
8
Versions
226
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.17.3 to 0.17.4

2

dist/index.cjs.js

@@ -295,2 +295,2 @@ /*!

exports.matchers = matchers;
/*! version: 0.17.3 */
/*! version: 0.17.4 */

@@ -285,2 +285,2 @@ /*!

export { astLib, createRule, matchers };
/*! version: 0.17.3 */
/*! version: 0.17.4 */
{
"name": "@locker/eslint-rule-maker",
"version": "0.17.3",
"version": "0.17.4",
"repository": {
"type": "git",
"url": "https://github.com/salesforce/locker.git",
"directory": "packages/@locker/eslint-rule-maker"
},
"license": "Salesforce Developer Agreement",

@@ -26,4 +31,4 @@ "author": "Salesforce UI Security Team",

"dependencies": {
"@locker/ast-lib-maker": "0.17.3",
"@locker/shared": "0.17.3"
"@locker/ast-lib-maker": "0.17.4",
"@locker/shared": "0.17.4"
},

@@ -34,3 +39,3 @@ "files": [

],
"gitHead": "ae8980d0255d5eac0ba91cc8a7937cf7dcb1b861"
"gitHead": "184d5a320f48601ab06618f1468c0d41c86ada23"
}

@@ -1,5 +0,5 @@

import { AST } from '@locker/ast-lib-maker/types';
import type { AST } from '@locker/ast-lib-maker/types';
import * as ESLint from 'eslint';
import * as ESTree from 'estree';
import { CreateRule, Rule } from './types';
import type { CreateRule, Rule } from './types';
export declare const astLib: {

@@ -6,0 +6,0 @@ expandPatterns(patterns: import("@locker/ast-lib-maker").Lib.SearchPatternArray | import("@locker/ast-lib-maker").Lib.SearchPatternArray[]): import("@locker/ast-lib-maker").Lib.SearchPatternArray[];

@@ -1,9 +0,9 @@

import { Lib } from '@locker/ast-lib-maker/types';
import type { Lib } from '@locker/ast-lib-maker/types';
import * as ESLint from 'eslint';
declare type RuleCreate = (context: ESLint.Rule.RuleContext) => ESLint.Rule.NodeListener | ESLint.Rule.RuleListener | (ESLint.Rule.NodeListener & ESLint.Rule.RuleListener);
declare type RuleFix = ((fixer: ESLint.Rule.RuleFixer, matchData?: Rule.MatchData) => null | ESLint.Rule.Fix | IterableIterator<ESLint.Rule.Fix> | ESLint.Rule.Fix[]) | null | string;
declare type RuleMessage = ((data: Rule.MatchData) => string) | string;
interface RuleMatchData extends Lib.MatchData {
context: ESLint.Rule.RuleContext;
}
declare type RuleMessage = ((data: Rule.MatchData) => string) | string;
declare type RuleOnMatch = (data: Rule.MatchData) => Rule.MatchOverride | boolean;

@@ -10,0 +10,0 @@ export declare namespace CreateRule {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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