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 prettier to ^1.16.4 #68

Merged
merged 1 commit into from
Feb 6, 2019

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 30, 2019

This PR contains the following updates:

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

Release Notes

prettier/prettier

v1.16.4

Compare Source

diff

  • API: Fix prettier.getSupportInfo() reporting babel parser for older versions of Prettier. (#​5826 by @​azz)

    In version 1.16.0 of Prettier, the babylon parser was renamed to babel. Unfortunately this lead to a minor breaking change: prettier.getSupportInfo('1.15.0') would report that it supported babel, not babylon, which breaks text-editor integrations. This has now been fixed.

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: Enabled.

♻️ 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.

@codecov
Copy link

codecov bot commented Jan 30, 2019

Codecov Report

Merging #68 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #68   +/-   ##
========================================
  Coverage    59.45%   59.45%           
========================================
  Files            7        7           
  Lines          259      259           
  Branches        37       37           
========================================
  Hits           154      154           
  Misses          87       87           
  Partials        18       18

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57d5d80...fd80c76. Read the comment docs.

@renovate renovate bot force-pushed the feature/renovate-prettier-1.x branch from eff71b0 to aa5559b Compare January 31, 2019 04:31
@renovate renovate bot changed the title Update dependency prettier to ^1.16.2 Update dependency prettier to ^1.16.3 Jan 31, 2019
@renovate renovate bot changed the title Update dependency prettier to ^1.16.3 Update dependency prettier to ^1.16.4 Feb 3, 2019
@renovate renovate bot force-pushed the feature/renovate-prettier-1.x branch from aa5559b to fd80c76 Compare February 3, 2019 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants