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

eslint-plugin-prefer-arrow-functions

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-prefer-arrow-functions - npm Package Compare versions

Comparing version 3.6.1 to 3.6.2

4

dist/config.d.ts
import { TSESTree } from '@typescript-eslint/types';
import { RuleContext } from '@typescript-eslint/utils/ts-eslint';
import { TSESLint } from '@typescript-eslint/utils';
export type AnyFunctionBody = TSESTree.BlockStatement | TSESTree.Expression;

@@ -20,3 +20,3 @@ export type AnyFunction = TSESTree.FunctionDeclaration | TSESTree.FunctionExpression | TSESTree.ArrowFunctionExpression;

options: ActualOptions;
sourceCode: RuleContext<MessageId, Options>['sourceCode'];
sourceCode: TSESLint.RuleContext<MessageId, Options>['sourceCode'];
}

@@ -23,0 +23,0 @@ export interface ActualOptions {

import { TSESLint } from '@typescript-eslint/utils';
declare const plugin: TSESLint.FlatConfig.Plugin;
export default plugin;
export declare const meta: {
name?: string | undefined;
version?: string | undefined;
} | undefined, rules: Record<string, TSESLint.LooseRuleDefinition> | undefined;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rules = exports.meta = void 0;
const rule_1 = require("./rule");

@@ -14,3 +15,3 @@ const { name, version } =

};
exports.default = plugin;
exports.meta = plugin.meta, exports.rules = plugin.rules;
//# sourceMappingURL=index.js.map
{
"name": "eslint-plugin-prefer-arrow-functions",
"description": "Convert functions to arrow functions",
"version": "3.6.1",
"version": "3.6.2",
"author": "Jamie Mason (https://github.com/JamieMason)",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/JamieMason/eslint-plugin-prefer-arrow-functions/issues",

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