forked from babel/babylon
-
Notifications
You must be signed in to change notification settings - Fork 5
Merge upstream babylon/master (v7.0, incomplete) #24
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is not necessary anymore if we drop support for Node.js v0.10 and v0.12. Ref. babel/babel#4315.
* Remove node 0.10, 0.12 and 5 from Travis * add engines to package.json
…babel#154)" (babel#290) This reverts commit 5bac6e8.
# Conflicts: # src/parser/statement.js # src/plugins/jsx/index.js
…el#349) * Remove ForAwaitStatement, add await flag to ForOfStatement * Set await flag for all ForOfStatements
* Reintroduce Variance node * Optimize code and coverage tt.plusMin can only be + or - so no need to have an elseif
# Conflicts: # src/parser/index.js
# Conflicts: # src/plugins/flow.js
…babel#384) * [7.0] Change RestProperty/SpreadProperty to RestElement/SpreadElement * Fix rest element in array pattern at invalid location
* chore(package): update flow-bin to version 0.44.0 https://greenkeeper.io/ * Update yarn.lock
* Add support for declare export * Do not allow declare module inside declare module * Reallow module exports outside module * Add handling of `declare export default` Add check for multiple module.export declarations * Disallow export let/const/type Refactor parsing object properties to share more code and add support for getters and setters * Rename tests * Update test fixtures * Optimize for performance * disallow declare export interface outside of module * Refactor code to be more readable and less lookahead * Add comments * Add test for export star as * Test for number literal getter/setter * Add more tests * Fix tests * Allow union types and correctly eat semi after type * Use non computed keys * Fix tests
* Fixed invalid number literal parsing * Don't ignore period or E characters after octal numbers cherry-pick fix from acorn * Fix tests
* Type-check utils * Improve test coverage
* Type-check JSX plugin * Improve test coverage
* Type-check flow plugin * Fix typo
f242e82
to
50eafd5
Compare
50eafd5
to
540ea0c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
They indented everything, changed a few nodes, few other changes. I think I was able to hunt down all bugs but this was a real beast to do. Hopefully future merges are much smoother.