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

chore(deps): update dependency prettier to v1.16.3 #21

Merged
merged 1 commit into from
Jan 31, 2019

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 31, 2019

This PR contains the following updates:

Package Type Update Change References
prettier devDependencies patch 1.16.1 -> 1.16.3 homepage, source

Release Notes

prettier/prettier

v1.16.3

Compare Source

diff

  • TypeScript: Revert "Update typescript-estree to new package name" (#​5818 by @​ikatyang)

    There's an internal change introduced in Prettier 1.16.2,
    which updated typescript-estree to its new package name,
    but unfortunately it broke the output
    so we reverted it as a temporary workaround for now.

    // Input
    export default {
      load<K, T>(k: K, t: T) {
        return {k, t};
      }
    }
    
    // Output (Prettier 1.16.2)
    export default {
      load(k: K, t: T) {
        return { k, t };
      }
    };
    
    // Output (Prettier 1.16.3)
    export default {
      load<K, T>(k: K, t: T) {
        return { k, t };
      }
    };

v1.16.2

Compare Source

diff

  • CLI: Fix CI detection to avoid unwanted TTY behavior (#​5804 by @​kachkaev)

    In Prettier 1.16.0 and 1.16.1, --list-different and --check logged every file in some CI environments, instead of just unformatted files.
    This unwanted behavior is now fixed.

  • HTML: Do not format non-normal whitespace as normal whitespace (#​5797 by @​ikatyang)

    Previously, only non-breaking whitespaces (U+00A0) are marked as non-normal whitespace,
    which means other non-normal whitespaces such as non-breaking narrow whitespaces (U+202F)
    could be formatted as normal whitespaces, which breaks the output. We now follow the spec to
    exclude all non-ASCII whitespace from whitespace normalization.

    (· represents a non-breaking narrow whitespace)

    <!-- Input -->
    Prix·:·32·€
    
    <!-- Output (Prettier 1.16.1) -->
    Prix : 32 €
    
    <!-- Output (Prettier 1.16.2) -->
    Prix·:·32·€
  • JavaScript: Fix record type cast comment detection (#​5793 by @​yangsu)

    Previously, type cast comments with record types were ignored and prettier
    stripped the subsequent parens. Prettier 1.16.2 handles these cases correctly.

    // Input
    const v = /** @&#8203;type {{key: number}} */ (value);
    
    // Output (Prettier 1.16.1)
    const v = /** @&#8203;type {{key: number}} */ value;
    
    // Output (Prettier 1.16.2)
    const v = /** @&#8203;type {{key: number}} */ (value);

Renovate configuration

📅 Schedule: At any time (no schedule defined).

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

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 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 has been generated by Renovate Bot. View repository job log here.

@akameco akameco merged commit 8f839ec into master Jan 31, 2019
@akameco akameco deleted the renovate/prettier-1.x branch January 31, 2019 14:17
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.

None yet

2 participants