Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

Conversation

@renovate
Copy link
Contributor

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

@renovate renovate bot changed the title chore(deps): update dependency prettier to v1.16.2 chore(deps): update dependency prettier to v1.16.3 Jan 31, 2019
@renovate renovate bot force-pushed the renovate/prettier-1.x branch from 96adf20 to 7993c66 Compare January 31, 2019 04:30
@renovate renovate bot changed the title chore(deps): update dependency prettier to v1.16.3 chore(deps): update dependency prettier to v1.16.4 Feb 3, 2019
@renovate renovate bot force-pushed the renovate/prettier-1.x branch from 7993c66 to 36c4d1b Compare February 3, 2019 12:56
@schalkneethling schalkneethling self-assigned this Feb 8, 2019
@schalkneethling schalkneethling merged commit dd26a47 into master Feb 8, 2019
@schalkneethling schalkneethling deleted the renovate/prettier-1.x branch February 8, 2019 09:36
wbamberg pushed a commit to CShepartd/interactive-examples that referenced this pull request Feb 8, 2019
…low-wrap

* upstream/master:
  chore(deps): update dependency all-contributors-cli to v6 (mdn#1313)
  chore(deps): update dependency prettier to v1.16.4 (mdn#1304)
  chore(deps): update dependency ajv to v6.8.1 (mdn#1306)
  chore(deps): update dependency eslint to v5.13.0 (mdn#1305)
  chore(deps): update dependency all-contributors-cli to v5.11.0 (mdn#1302)
  highlight gotchas of array sort (mdn#1308)
  Small Update Join Docs -- Add quotes to show output as a string (mdn#1307)
  Add more Intl.RelativeTimeFormat examples (mdn#1300)
  Add example for globalThis (mdn#1299)
  Add travisbuddy to Travis config (mdn#1301)
  chore(deps): update dependency prettier to v1.16.1 (mdn#1297)
  chore(deps): update dependency mdn-bob to v1.1.23 (mdn#1296)
  chore(deps): update dependency stylelint to v9.10.1 (mdn#1291)
  chore(deps): update dependency eslint to v5.12.1 (mdn#1295)
  chore(deps): update dependency all-contributors-cli to v5.10.2 (mdn#1288)
  [Snyk] Fix for 1 vulnerable dependencies (mdn#1294)
  text-transform: full-size-kana value (mdn#1289)
  renamed function findFirstLargeNumber to isLargeNumber (mdn#1293)
wbamberg pushed a commit to dehuszar/interactive-examples that referenced this pull request Feb 22, 2019
* upstream/master: (36 commits)
  Add example of string replace without regex (mdn#1321)
  Revert "added anywhere value to overflow-wrap property" (mdn#1311)
  chore(deps): update dependency all-contributors-cli to v6 (mdn#1313)
  chore(deps): update dependency prettier to v1.16.4 (mdn#1304)
  chore(deps): update dependency ajv to v6.8.1 (mdn#1306)
  chore(deps): update dependency eslint to v5.13.0 (mdn#1305)
  chore(deps): update dependency all-contributors-cli to v5.11.0 (mdn#1302)
  highlight gotchas of array sort (mdn#1308)
  Small Update Join Docs -- Add quotes to show output as a string (mdn#1307)
  Add more Intl.RelativeTimeFormat examples (mdn#1300)
  Add example for globalThis (mdn#1299)
  Add travisbuddy to Travis config (mdn#1301)
  chore(deps): update dependency prettier to v1.16.1 (mdn#1297)
  chore(deps): update dependency mdn-bob to v1.1.23 (mdn#1296)
  chore(deps): update dependency stylelint to v9.10.1 (mdn#1291)
  chore(deps): update dependency eslint to v5.12.1 (mdn#1295)
  chore(deps): update dependency all-contributors-cli to v5.10.2 (mdn#1288)
  [Snyk] Fix for 1 vulnerable dependencies (mdn#1294)
  text-transform: full-size-kana value (mdn#1289)
  renamed function findFirstLargeNumber to isLargeNumber (mdn#1293)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants