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

Fix: Only try to remove deprecated plugins from array expressions #91

Merged
merged 3 commits into from
Mar 21, 2017

Commits on Mar 19, 2017

  1. fix: Guard new exepressions outside of arrays

    For now only plugins instantiated in an array can be removed since this is safe.
    All other usages are considered not safe and thus won't be modified.
    
    - Display a message about the current support
    
    Closes #83
    okonet committed Mar 19, 2017
    Configuration menu
    Copy the full SHA
    8618581 View commit details
    Browse the repository at this point in the history
  2. style: Better error messages

    - Pass the source to the transform function
    - This allows displaying code snippets in error messages
    okonet committed Mar 19, 2017
    Configuration menu
    Copy the full SHA
    a586651 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2017

  1. fix: Use console.log to fix colors and use better error copy.

    - Don't use `console.error` to fix colors.
    - Use chalk instead to make output more prettier.
    - Better error message with an example of the expected usage.
    okonet committed Mar 20, 2017
    Configuration menu
    Copy the full SHA
    81d2f66 View commit details
    Browse the repository at this point in the history