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

[Snyk] Upgrade babel-eslint from 9.0.0 to 10.0.3 #11

Closed

Conversation

maybeanerd
Copy link
Owner

Snyk has created this PR to upgrade babel-eslint from 9.0.0 to 10.0.3.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 5 versions ahead of your current version.
  • The recommended version was released 3 months ago, on 2019-08-25.
Release notes
  • Package name: babel-eslint
    • 10.0.3 - 2019-08-25

      Fixes #791, also eslint/eslint#12117

      Some context: #793 (comment)

      We ended up going with @JLHwung's PR #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.

    • 10.0.2 - 2019-06-17

      Fixes #772

    • 10.0.1 - 2018-09-27

      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.

    • 10.0.0 - 2018-09-25

      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.

      • Bugfix for TypeAlias: #584
      /* @flow */
      type Node<T> = { head: T; tail: Node<T> }
      

      // or

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

      • Update to test against ESLint 5, add a peerDependency: #689
      • Drop monkeypatching behavior: #690
    • 9.0.0 - 2018-08-27

      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.
  • from babel-eslint GitHub release notes

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@maybeanerd maybeanerd closed this Dec 14, 2019
@maybeanerd maybeanerd deleted the snyk-upgrade-12d223a0073a3598e8724a771275469e branch December 14, 2019 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants