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

Decaffeinate, convert to (relatively) modern JS #620

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Commits on Aug 4, 2021

  1. Drop support for creating Parser objects without new and related test

    We do not intend to support this. Stick to using new please.
    
    Reverts: 05c7f43
    szakharchenko committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    a9fade3 View commit details
    Browse the repository at this point in the history
  2. Convert CoffeeScript sources to JS modules

    decaffeinate --use-js-modules *.coffee
    
    decaffeinate v6.1.8 used.
    szakharchenko committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    c9b6f07 View commit details
    Browse the repository at this point in the history
  3. Drop generated files

    szakharchenko committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    8fee2fb View commit details
    Browse the repository at this point in the history
  4. Integrate Babel

    szakharchenko committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    f96b01c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1b5d318 View commit details
    Browse the repository at this point in the history
  6. Build package on prepare

    This makes installation from e.g. Git URLs possible.
    szakharchenko committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    d636d6d View commit details
    Browse the repository at this point in the history
  7. Fix lint errors

    szakharchenko committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    2492395 View commit details
    Browse the repository at this point in the history
  8. Convert CoffeeScript tests to JS

    decaffeinate *.coffee
    
    decaffeinate v6.1.8 used.
    szakharchenko committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    41f8d4e View commit details
    Browse the repository at this point in the history
  9. Fix module structure

    szakharchenko committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    3104be8 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2021

  1. Apply decaffeinate suggestions where appropriate, modernize code some…

    …what
    
    Use Object.assign for option overrides. Avoid using || {} when it's
    clear that the LHS is an object. Use arrow functions everywhere where
    'this' is unused. Use Array.map for xpath node comprehension.
    szakharchenko committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    ce399d5 View commit details
    Browse the repository at this point in the history
  2. Drop CoffeeScript sources and support, update lockfile

    This also drops the documentation generation script.
    szakharchenko committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    ab6d952 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10c3a56 View commit details
    Browse the repository at this point in the history