Skip to content

Upgrading @typescript-eslint/parser 0.2 to 1

Unknown0.2.1 → 1.13.0New46Changed1Fixed72Other1

UnknownUpgrade verdict

DepDelta hasn't looked for the notes of 221 of 239 releases yet, so breaking changes can't be ruled out.

  • DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Unknown for releases without notes

Releases without notes may still need changes. Check their commits before upgrading.

Node.js requirement changed in 1.1.1-alpha.7: >=6.14.0 → ^6.14.0 || ^8.10.0 || >=9.10.0.

Adds @types/eslint-visitor-keys ^1.0.0, @typescript-eslint/experimental-utils 1.13.0.

Drops eslint-scope.

Installs 11 packages in all (was 8).

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • changed: const Syntax: Readonly<typeof typescriptESTree.AST_NODE_TYPES> → const Syntax: Readonly<typeof AST_NODE_TYPES>
  • changed: function parseForESLint<T extends ParserOptions = ParserOptions>(code: string, options?: T | null): ParseForESLintResult → function parseForESLint(code: string, options?: ParserOptions | null): ParseForESLintResult
  • added: export { ParserServices }
  • added: type ParserOptions = TSESLint.ParserOptions
  • removed: interface ParserOptions
  • removed: property ParserOptions.ecmaFeatures?: { globalReturn?: boolean }
  • removed: property ParserOptions.ecmaVersion?: number
  • removed: property ParserOptions.filePath?: string
  • removed: property ParserOptions.jsx?: boolean
  • removed: property ParserOptions.loc?: true
  • removed: property ParserOptions.range?: true
  • removed: property ParserOptions.sourceType?: 'script' | 'module'
  • removed: property ParserOptions.tokens?: true
  • removed: property ParserOptions.useJSXTextNode?: boolean
  • added: type ParserOptions = TSESLint.ParserOptions
  • added: class ScopeManager extends TSESLintScope.ScopeManager
  • added: constructor ScopeManager(options: TSESLintScope.ScopeManagerOptions)
  • added: method ScopeManager.__nestEmptyFunctionScope(node: TSESTree.TSDeclareFunction): TSESLintScope.Scope
  • added: method ScopeManager.__nestEnumScope(node: TSESTree.TSEnumDeclaration): TSESLintScope.Scope
  • added: property ScopeManager.globalScope: TSESLintScope.Scope
  • added: property ScopeManager.scopes: TSESLintScope.Scope[]
  • added: class EmptyFunctionScope extends TSESLintScope.Scope
  • added: class EnumScope extends TSESLintScope.Scope
  • added: constructor EmptyFunctionScope(scopeManager: ScopeManager, upperScope: TSESLintScope.Scope, block: TSESTree.TSDeclareFunction | null)
  • added: constructor EnumScope(scopeManager: ScopeManager, upperScope: TSESLintScope.Scope, block: TSESTree.TSEnumDeclaration | null)
  • added: function simpleTraverse(startingNode: TSESTree.Node, options: SimpleTraverseOptions): void