dnalborczyk
8b10a44fe1
remove .then from dynamic import parser exception message ( #8355 )
2018-07-21 08:26:17 +02:00
Henry Zhu
84282f199b
v7.0.0-beta.54
2018-07-16 13:59:43 -04:00
Henry Zhu
b89234b1a2
v7.0.0-beta.53
2018-07-11 09:39:52 -04:00
Andy
301db1b921
TypeScript: Support type arguments on JSX opening and self-closing tags ( #7799 )
2018-07-10 17:19:42 -05:00
James DiGioia
19a1705293
Support pipeline proposal flag in @babel/parser ( #8291 )
2018-07-09 16:59:56 -04:00
Henry Zhu
663c96db04
v7.0.0-beta.52
2018-07-05 20:59:03 -04:00
dnalborczyk
db1385fb82
upgrades eslint v5 (major), babel-eslint, eslint-plugin-flowtype, eslint-plugin-prettier ( #8259 )
...
* upgrade eslint v5 (major), babel-eslint (minor), eslint-plugin-flowtype (minor), eslint-plugin-prettier (patch)
* fix makefile: remove (default) .js file extension, remove non-existing glob pattern
* fix linting errors
* add '*.js' glob back to include babel.config.js for linting
2018-07-05 09:17:01 -05:00
Rodolfo Rodriguez
c6a4108e57
Update READMEs for yarn ( #8215 ) [skip ci]
...
Closes https://github.com/babel/babel/pull/8255
2018-07-03 09:03:18 -04:00
Ger Hobbelt
e86d1e0d6a
babel/parser: test helpers: write expected throw message to options.json ~ complete jest -u functionality ( #8178 ) [skip ci]
...
* babel/parser: test helpers: when test fails with an exception and both reference output file and options.json file do not exist, write a simple options.json with the error message to expect when such a file doesn't exist yet. This completes the `jest -u` capability for new tests which are expected to *fail*.
2018-06-15 10:27:19 -04:00
Sven Sauleau
8f8b4e8e82
Switch new website in READMEs ( #8181 ) [skip ci]
2018-06-15 10:13:20 -04:00
Ger Hobbelt
07c88e6f0b
Use charCodes at more places in the parser ( #8176 )
2018-06-15 13:21:32 +02:00
Ger Hobbelt
ba98cf782a
Removed constant condition in parser ( #8177 )
2018-06-15 13:14:14 +02:00
Henry Zhu
c313b267f7
v7.0.0-beta.51
2018-06-12 17:18:28 -04:00
Henry Zhu
3af623678f
v7.0.0-beta.50
2018-06-12 15:46:05 -04:00
晏兵兵
106907e605
fix: import Parser as type ( #8146 ) [skip ci]
2018-06-12 13:42:10 -04:00
Brian Ng
b6455c611b
Allow ts modifier names to be used as function argument names ( #8030 )
2018-06-12 08:38:38 -05:00
Alex Zherdev
8070a2204d
Link to open issues in READMEs [skip ci]
2018-06-08 20:54:44 -07:00
Mathias Bynens
62eb32677c
ECMAScript follows the latest version of the Unicode Standard. Earlier this week, Unicode v11 was officially released. This patch updates babel-parser to support the new identifier characters. ( #8125 )
...
Ref. https://github.com/tc39/ecma262/issues/1219 .
2018-06-07 21:54:12 +02:00
hassanAli321
bd44902024
update fixture
2018-06-07 13:22:45 -05:00
hassanAli321
6480ae4a9f
fix flow-double-nullable-type-cant-be-parsed
2018-06-07 13:22:45 -05:00
Sven SAULEAU
218d69007e
Merge pull request #8112 from babel/feat-add-issues-link-in-readmes
...
Feat add issues link in readmes
2018-06-05 07:39:41 +02:00
Nicolò Ribaudo
6349118bed
Change decoratorsBeforeExport default to false ( #8113 )
2018-06-04 21:12:01 +02:00
Sven SAULEAU
8bbb10c021
chore: [skip ci] regen READMEs
2018-06-04 17:33:21 +02:00
Sven SAULEAU
b445b79734
Refactor move docs ( #8108 )
...
* feat: [skip] generate readme script
* docs: [skip ci] update READMEs
* docs: [skip ci] fix code block type
* chore: [skip ci] move generator script
2018-06-04 10:32:39 -04:00
Brian Ng
5895277b32
Bump prettier to v1.13.2
2018-06-03 07:54:39 -05:00
Nicolò Ribaudo
b8dcd6f593
Remove parser support for decorators optional parentheses ( #8037 )
...
* Remove parser support for decorators optional parentheses
* Update fixtures
2018-06-02 13:07:15 +02:00
dnalborczyk
fe556c502d
fix folder name ( #8074 )
2018-06-01 17:58:37 +02:00
Nicolò Ribaudo
d83d141e00
Move tests from babylon/ to babel-parserr/
2018-05-30 22:12:33 +02:00
Erik Arvidsson
2a8ebbe7ae
Remove parenthesizedArgument ( #7981 )
...
The extra field parenthesizedArgument was never set to true. It was
always set to false and the code that read this was incorrectly
checking if extra was present.
Fixes #7957
2018-05-29 13:58:21 -07:00
Brian Ng
f699f1bbbf
flow@0.73.0 ( #8032 )
2018-05-25 16:53:23 -05:00
Sam Goldman
f0283572a5
Support Flow's proto modifier syntax for declared classes ( #7978 )
...
<!--
Before making a PR please make sure to read our contributing guidelines
https://github.com/babel/babel/blob/master/CONTRIBUTING.md
For issue references: Add a comma-separated list of a [closing word](https://help.github.com/articles/closing-issues-via-commit-messages/ ) followed by the ticket number fixed by the PR. It should be underlined in the preview if done correctly.
-->
| Q | A <!--(Can use an emoji 👍 ) -->
| ------------------------ | ---
| Fixed Issues? | <!-- remove the (`) quotes to link the issues -->
| Patch: Bug Fix? |
| Major: Breaking Change? | No
| Minor: New Feature? | Yes
| Tests Added + Pass? | Yes
| Documentation PR | <!-- If so, add `[skip ci]` to your commit message to skip CI -->
| Any Dependency Changes? |
| License | MIT
See eb815be907 for more information about this feature.
The proto modifier indicates that a property declared using `x: T` syntax is actually present on the prototype object of the class, rather than an own property.
The proto and static modifiers are mutually exclusive, as class declarations don't simultaneously define the static prototype object, as they do the instance prototype.
This syntax is only supported on declared classes, not object types, interfaces, or runtime class declarations, and as such should only appear in library definitions.
2018-05-25 15:40:56 -05:00
Logan Smyth
90566103a6
v7.0.0-beta.49
2018-05-25 09:00:02 -07:00
Henry Zhu
e6d198eef5
v7.0.0-beta.48
2018-05-24 15:20:31 -04:00
Nicolò Ribaudo
6eab6f5863
[Babylon] Take the first set of options for plugins ( #7994 )
...
* [Babylon] Take the first set of options for plugins
* Fix test
* Docs
2018-05-24 08:54:32 -07:00
Brian Ng
555ee80f43
Fix some ts test fixtures
2018-05-24 10:03:03 -05:00
Brian Ng
a94cbf760a
Set exprAllowed to false when parsing TSNonNullExpression ( #7968 )
2018-05-24 09:31:08 -05:00
Nicolò Ribaudo
c992f5b61e
Remove duplicated test (in the old babylon folder)
2018-05-24 00:30:57 +02:00
Nicolò Ribaudo
ffe04d9195
[babylon] Refactor mixin plugins handling & validation ( #7999 )
2018-05-23 15:28:05 -04:00
Nicolò Ribaudo
b33823e7f8
Better error message for invalid decorators syntax ( #7986 )
2018-05-23 15:26:35 -04:00
Sven SAULEAU
7d99a96f9f
docs: [skip ci] add InterpreterDirective
2018-05-23 09:50:23 +02:00
Sven SAULEAU
ad1de09b5f
docs: [skip ci] update AST spec
2018-05-23 09:42:33 +02:00
Brian Ng
981bff08e4
Fix some flow issues in @babel/parser flow plugin ( #8002 )
2018-05-22 10:48:49 -07:00
Logan Smyth
2058e0686e
Add support for an InterpreterDirective AST node.
2018-05-21 18:19:58 -07:00
Logan Smyth
442ead701c
Fix a few out-of-order test results.
2018-05-21 18:08:31 -07:00
Conor Hastings
c558dedd7b
fix typo of babel in readme ( #7992 ) [skip ci]
2018-05-21 07:42:13 +02:00
Justin Ridgewell
0879a6d608
Subsume json ( #7985 )
...
* Add Subsume JSON transform
https://github.com/tc39/proposal-json-superset is at stage 3.
This allows U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR to appear unescaped inside strings and directives.
* Move to Stage 3
* Break diretive parsing
* Update README
* Handle multi-escape sequences
* Remove babylon files after rename
2018-05-19 15:32:05 -04:00
Henry Zhu
51eef099b3
fixes [skip ci]
2018-05-19 00:12:26 -04:00
Chaitanya Kumar Kamatham
daf0ca8680
Rename "babylon" to "@babel/parser" ( #7937 ) 🎉
2018-05-19 00:03:05 -04:00