-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Comparing changes
Open a pull request
base repository: prettier/prettier
base: 1.5.1
head repository: prettier/prettier
compare: 1.5.2
- 19 commits
- 47 files changed
- 3 contributors
Commits on Jun 27, 2017
-
Fix locEnd() for postcss parser (#2295)
* Fix locEnd() for postcss parser `node.source` doesn't have an `end`, but `node.nodes[-1].source` does. Fixes #2267 * Add regression test for #2267 See #2295 (comment) * Make locEnd() postcss fix more focused This passes the tests again. * Use getLast() instead of .slice() See #2295 (comment) * Move CSS range test into tests/range_css This is so that the AST_COMPARE=1 tests don't try to parse CSS with Flow.
Configuration menu - View commit details
-
Copy full SHA for 5f063ab - Browse repository at this point
Copy the full SHA 5f063abView commit details -
Allow formatting ranges of JSON (#2298)
* Add test for #2297 * Add JSON types to isSourceElement() See #2297 * Avoid expanding format range when possible This fixes #2297 * Move JSON range test into tests/range_json This is so that the AST_COMPARE=1 tests don't try to parse JSON with Flow. * Check parser in isSourceElement() Otherwise JSON formatting would format weird things inside of JS. See #2298 (comment) * Use arrow functions instead of .bind() See #2298 (comment) * Add test of range-formatting JSON identifier See https://github.com/prettier/prettier/pull/2298/files#r124410750 * Allow range-formatting JSON identifier See https://github.com/prettier/prettier/pull/2298/files#r124410750 * Fix lint
Configuration menu - View commit details
-
Copy full SHA for b47c0b4 - Browse repository at this point
Copy the full SHA b47c0b4View commit details
Commits on Jun 28, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 850d51a - Browse repository at this point
Copy the full SHA 850d51aView commit details -
GraphQL: Remove circular dependency in ast (#2304)
The tokens are attached to the location via the prototype (so they are not visible when you JSON.stringify) but the various places where we traverse the ast see them. It causes stack overflows and comments that are not printed because they are attached to tokens instead of real nodes. Fixes #2302
Configuration menu - View commit details
-
Copy full SHA for 4d46a39 - Browse repository at this point
Copy the full SHA 4d46a39View commit details -
GraphQL: Use spaces instead of commas (#2303)
"Daniel Schafer: Yeah, that's definitely what I'd describe as the canonical style; anytime you have two "things" on a line, use commas, but if you have a newline it's not needed."
Configuration menu - View commit details
-
Copy full SHA for 189027c - Browse repository at this point
Copy the full SHA 189027cView commit details -
Initial support for GraphQL ObjectTypeDefinition (#2305)
It appears in some files inside of fb codebase
Configuration menu - View commit details
-
Copy full SHA for f96fe1e - Browse repository at this point
Copy the full SHA f96fe1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for af309e3 - Browse repository at this point
Copy the full SHA af309e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee07ff5 - Browse repository at this point
Copy the full SHA ee07ff5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbf4c3a - Browse repository at this point
Copy the full SHA fbf4c3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51c7503 - Browse repository at this point
Copy the full SHA 51c7503View commit details -
Configuration menu - View commit details
-
Copy full SHA for b63e1c2 - Browse repository at this point
Copy the full SHA b63e1c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e31088 - Browse repository at this point
Copy the full SHA 8e31088View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a2a099 - Browse repository at this point
Copy the full SHA 0a2a099View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbf8f76 - Browse repository at this point
Copy the full SHA bbf8f76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14caabd - Browse repository at this point
Copy the full SHA 14caabdView commit details -
GraphQL: Fix directives separator (#2315)
I couldn't figure out what the separator was, I tried `,`, `on` but none of them worked. Turns out it is `|`!
Configuration menu - View commit details
-
Copy full SHA for 019beb5 - Browse repository at this point
Copy the full SHA 019beb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45c8e40 - Browse repository at this point
Copy the full SHA 45c8e40View commit details -
Configuration menu - View commit details
-
Copy full SHA for b231948 - Browse repository at this point
Copy the full SHA b231948View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5db9407 - Browse repository at this point
Copy the full SHA 5db9407View commit details
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.5.1...1.5.2