-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: prettier/prettier
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.3.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: prettier/prettier
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.3.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 39 files changed
- 5 contributors
Commits on May 2, 2017
-
Configuration menu - View commit details
-
Copy full SHA for b481c57 - Browse repository at this point
Copy the full SHA b481c57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cf1659 - Browse repository at this point
Copy the full SHA 5cf1659View commit details -
* don't print colon if there is no `typeAnnotation` * print prefix also for empty interfaces
Configuration menu - View commit details
-
Copy full SHA for e8a80ca - Browse repository at this point
Copy the full SHA e8a80caView commit details
Commits on May 3, 2017
-
Implement TypeScript keywords, namespace functions and class heritage (…
Configuration menu - View commit details
-
Copy full SHA for 59b348f - Browse repository at this point
Copy the full SHA 59b348fView commit details -
Fix handling of new keyword and call signatures and improve type para…
…meter formatting (#1491) * fix(typescript): fix handling of new keyword * fix(typescript): fix handling of call signatures * feat(typescript): share type parameter formatting with flow
Configuration menu - View commit details
-
Copy full SHA for aeeaffc - Browse repository at this point
Copy the full SHA aeeaffcView commit details -
Drop htmlEscapeInsideAngleBracket function in favour of raw/extra.raw…
… from Flow/Babylon parsers (#1165) * Make slice simpler. * Drop htmlEscapeInsideAngleBracket function. Use child.extra.raw (Babylon) and child.raw (Flow) to get the value instead. * Remove unused htmlEscapeInsideAngleBracket function. * Update test cases accordingly. * Fix merge conflict. * Update tests via `npm test -- -u`. * Fix multiple consecutive spaces preservation in printJSXChildren. * Update tests accordingly.
Configuration menu - View commit details
-
Copy full SHA for 9e345c8 - Browse repository at this point
Copy the full SHA 9e345c8View commit details -
Respect template inline-ness (#1497)
In 1.3.0, we shipped a change that makes template literal always inlined as single arguments of a function. The problem with template literals is that they whitespace is significant so we can't change it. There are two cases: ```js call(` template template `); ``` and ```js call( `template template` ); ``` If you always make the same decision to inline, you're going to be wrong for the other use case. The solution that I found that works is to figure out if there's a `\n` before the backtick `` ` ``. If that's the case, then don't inline, otherwise do. We're trying to avoid looking at the source as much as possible but this is one example where we actually don't have a choice if we want to keep the output sane. 1.3.0 made the jest codebase significantly worse because of this. The issue is that once things have been moved, this heuristic won't be able to undo it. So people need to have this fix applied before they run 1.3.0, otherwise it's going to damage their codebase unless they manually change everything back, which is a pain. So I'm going to land this as a hotfix in 1.3.1. Fixes #1492
Configuration menu - View commit details
-
Copy full SHA for 8613046 - Browse repository at this point
Copy the full SHA 8613046View commit details -
Configuration menu - View commit details
-
Copy full SHA for 515a565 - Browse repository at this point
Copy the full SHA 515a565View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.3.0...1.3.1