Socket
Socket
Sign inDemoInstall

@types/eslint

Package Overview
Dependencies
2
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.1.1 to 6.1.2

15

eslint/index.d.ts

@@ -388,3 +388,3 @@ // Type definitions for eslint 6.1

rules?: {
[name: string]: RuleLevel | RuleLevelAndOptions
[name: string]: RuleLevel | RuleLevelAndOptions;
};

@@ -394,2 +394,3 @@ }

interface RuleOverride extends HasRules {
extends?: string | string[];
excludedFiles?: string[];

@@ -457,7 +458,9 @@ files?: string[];

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

@@ -464,0 +467,0 @@ interface ESLintParseResult {

4

eslint/package.json
{
"name": "@types/eslint",
"version": "6.1.1",
"version": "6.1.2",
"description": "TypeScript definitions for eslint",

@@ -47,4 +47,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "84dadff55d605143c5c648ac51805948d8fb4f1abbfef69afb53f71c0b4a73b4",
"typesPublisherContentHash": "5105f3ea914800ddda4d36b99873a720d82bfd27595aa419dff9683cf7eaf36b",
"typeScriptVersion": "2.2"
}

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

Additional Details
* Last updated: Fri, 23 Aug 2019 15:39:21 GMT
* Last updated: Wed, 02 Oct 2019 22:02:40 GMT
* Dependencies: @types/json-schema, @types/estree, @types/json-schema, @types/estree

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

@@ -389,2 +389,3 @@ /// <reference path="helpers.d.ts" />

interface RuleOverride<Rules extends RulesRecord = RulesRecord> extends HasRules<Rules> {
extends?: string | string[];
excludedFiles?: string[];

@@ -452,7 +453,9 @@ files?: string[];

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

@@ -459,0 +462,0 @@ interface ESLintParseResult {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc