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

@types/eslint

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/eslint - npm Package Compare versions

Comparing version 8.44.1 to 8.44.2

28

eslint/index.d.ts

@@ -921,9 +921,6 @@ // Type definitions for eslint 8.44

type ParserModule =
| {
parse(text: string, options?: any): AST.Program;
}
| {
parseForESLint(text: string, options?: any): ESLintParseResult;
};
type ParserModule = ESLint.ObjectMetaProperties & (
{ parse(text: string, options?: any): AST.Program; }
| { parseForESLint(text: string, options?: any): ESLintParseResult; }
);

@@ -943,3 +940,3 @@ interface ESLintParseResult {

// https://eslint.org/docs/developer-guide/working-with-plugins#processors-in-plugins
interface Processor<T extends string | ProcessorFile = string | ProcessorFile> {
interface Processor<T extends string | ProcessorFile = string | ProcessorFile> extends ESLint.ObjectMetaProperties {
supportsAutofix?: boolean | undefined;

@@ -1071,3 +1068,16 @@ preprocess?(text: string, filename: string): T[];

interface Plugin {
interface ObjectMetaProperties {
/** @deprecated Use `meta.name` instead. */
name?: string | undefined;
/** @deprecated Use `meta.version` instead. */
version?: string | undefined;
meta?: {
name?: string | undefined;
version?: string | undefined;
};
}
interface Plugin extends ObjectMetaProperties {
configs?: Record<string, ConfigData | Linter.FlatConfig | Linter.FlatConfig[]> | undefined;

@@ -1074,0 +1084,0 @@ environments?: Record<string, Environment> | undefined;

{
"name": "@types/eslint",
"version": "8.44.1",
"version": "8.44.2",
"description": "TypeScript definitions for eslint",

@@ -51,3 +51,3 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint",

},
"typesPublisherContentHash": "7a1d8175f2c5c67bd1abece469e3cd87596a8f19ebf261bdc2eadd128b9db275",
"typesPublisherContentHash": "97b0176e71d5a8db5e07c2bd8d35d2ed6738aa1eaa3f7175881f9942d304c0ba",
"typeScriptVersion": "4.3",

@@ -54,0 +54,0 @@ "exports": {

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 25 Jul 2023 10:03:02 GMT
* Last updated: Fri, 04 Aug 2023 20:19:53 GMT
* Dependencies: [@types/estree](https://npmjs.com/package/@types/estree), [@types/json-schema](https://npmjs.com/package/@types/json-schema)

@@ -14,0 +14,0 @@ * Global values: none

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