Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency babel-eslint to v10 #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 6, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
babel-eslint ^6.0.3 -> ^10.0.0 age adoption passing confidence

Release Notes

babel/babel-eslint (babel-eslint)

v10.1.0

Compare Source

v10.0.3

Compare Source

Fixes https://github.com/babel/babel-eslint/issues/791, also https://github.com/eslint/eslint/issues/12117

Some context: https://github.com/babel/babel-eslint/pull/793#issuecomment-524435971

We ended up going with @​JLHwung's PR https://github.com/babel/babel-eslint/pull/794 which uses ESLint's deps instead of going with peerDeps since it really depends on the version being used and we don't want users to have to install it directly on their own.

babel-eslint is patching patches of the dependencies of ESLint itself so these kinds of issues have happened in the past. We'll need to look into figuring out how to have a more solid way of modifying behavior instead of this monkeypatching type of thing for future releases.

v10.0.2

Compare Source

Fixes https://github.com/babel/babel-eslint/issues/772

v10.0.1

Compare Source

v10.0.1

The TypeAlias "conversion" to a function has issues. Sounds like we need to rethink the change, most likely we can just actually change the scoping rather than hardcode an AST change.

v10.0.0

Compare Source

v10.0.0

Small breaking change: add a peerDependency starting from the ESLint version that added a parser feature that we were monkeypatching before (and drop that code). If already using ESLint 5 shouldn't be any different.

/* @​flow */
type Node<T> = { head: T; tail: Node<T> }

// or 

type File = {chunks: Array<Chunk>}
type Chunk = {file: File}

v9.0.0

Compare Source

v9.0.0

We've released v7: https://twitter.com/left_pad/status/1034204330352500736, so this just updates babel-eslint to use those versions internally. That in itself doesn't break anything but:

  • Babel now supports the new decorators proposal by default, so we need to switch between the new and the old proposal. This is a breaking change.

To enable the legacy decorators proposal users should add a specific parser option:

{
  parserOptions: {
    ecmaFeatures: {
      legacyDecorators: true
    }
  }
}
  • Babel removed the support for Node 4 , so I propagated that here.

v8.2.6

Compare Source

v8.2.5

Compare Source

v8.2.4

Compare Source

v8.2.3

Compare Source

v8.2.2

Compare Source

v8.2.1

Compare Source

v8.2.0

Compare Source

v8.1.2

Compare Source

v8.1.1

Compare Source

v8.1.0

Compare Source

Use ESLint's API to customize scope analysis and avoid monkeypatching: https://github.com/babel/babel-eslint/pull/542

v8.0.3

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.1

Handle optionalCatchBinding: https://github.com/babel/babel-eslint/pull/521

v8.0.0

Compare Source

8.0.0

No major changes, just updating babel deps to v7

v7.2.3

Compare Source

Fix

v7.2.2

Compare Source

v7.2.2

  • Fix: use eslint-scope instead of escope if present (#​461) (Vitor Balocco)
  • Separate finding peer deps from monkeypatching (#​460) (Andres Suarez)
  • Remove unused .gitmodules (#​457) (Andres Suarez)
  • Use dedent for unpadding (#​456) (Andres Suarez)
  • Enable strict mode in all of babylon-to-espree (Andres Suarez)
  • Move ast convert steps to babylon-to-espree (Andres Suarez)
  • Use for-loop for template literal conversion (Andres Suarez)
  • Only iterate over tokens once (Andres Suarez)
  • Inline fixDirectives and use for-loop (Andres Suarez)
  • Consolidate versions of "convertComments" (Andres Suarez)
  • toAst pass "source" in state instead of keeping in scope (Andres Suarez)
  • Add type parameter scope tests (#​454) (Andres Suarez)

v7.2.1

Compare Source

v7.2.0

Compare Source

New Feature
  • Add option to disable code frame. (#​446) (Luís Couto)

Main change is just an option to disable the codeframe (added in v7.1.1) for html output and more (thanks to @​Couto).

{
  "parser": "babel-eslint",
  "parserOptions": {
    "codeFrame": false
  },
  "extends": "eslint:recommended"
}
Bug Fix
  • [flow] Process polymorphic type bounds on functions (#​444) (Alex Rattray)
Internal/Docs
  • Use lodash instead of lodash.pickby. (#​435) (wtgtybhertgeghgtwtg)
  • Updates ESLint version/remove unnecessary config (Kai Cataldo)
  • Remove broken ESLint tests (Kai Cataldo)
  • Upgrade outdated dependencies (Kai Cataldo)
  • remove deprecated rule examples [skip ci] (Henry Zhu)
  • update readme [skip ci] (Henry Zhu)
  • chore(package): update eslint-config-babel to version 6.0.0 (#​433) (Henry Zhu)
  • Update to use Node 4 features (#​425) (Nazim Hajidin)
  • chore(package): update eslint-config-babel to version 4.0.0 (#​430) (greenkeeper[bot])
  • add badges [skip ci] (Henry Zhu)
  • Revert "use *" (#​426) (Henry Zhu)
  • use * (#​421) (Henry Zhu)
  • chore(package): update eslint-config-babel to version 3.0.0 (#​423) (greenkeeper[bot])

v7.1.1

Compare Source

v7.1.1

💅 Polish

Before

screen shot 2016-10-28 at 5 33 11 pm

After

screen shot 2016-10-28 at 5 32 58 pm

v7.1.0

Compare Source

v7.1.0

🚀 New Feature

Babylon support was added in https://github.com/babel/babylon/releases/tag/v6.12.0

import(`./section-modules/${link.dataset.entryModule}.js`)
.then(module => {
  module.loadPageInto(main);
})

v7.0.0

Compare Source

v7.0.0

FYI https://github.com/babel/babel-eslint/issues/88

We're looking for more contributors maintainers, I don't have as much time to work on babel-eslint since babel needs a lot of help as well).

Changelog

  • Drop node < 4 (#​358)
  • Remove the lodash.assign dependency (#​393)
  • Remove eslint 2 logic (#​361)
    • Remove logic for accounting for async/await before eslint supported it (#​350)

ESLint v3.6.0 supports async/await (you don't need always need babel-eslint)

http://eslint.org/blog/2016/09/eslint-v3.6.0-released#support-for-es2017

{
    "parserOptions": {
        "ecmaVersion": 2017,
        "sourceType": "module"
    }
}

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants