Galymzhan Abdugalimov
7e9029e337
Switched gutil.log to fancyLog due to deprecation ( #9432 )
2019-01-30 08:23:02 -06:00
Galymzhan Abdugalimov
00c3e3c8e0
Fixed link to @babel/parser's issues in README ( #9427 )
2019-01-30 08:18:43 -06:00
Nicolò Ribaudo
4c4c22a316
Run prettier
2019-01-30 11:30:31 +01:00
Rizky
56044c7851
install polyfill & runtime to dependency instead of devDependency [skip ci] ( #9409 )
2019-01-29 08:09:08 -06:00
Daniel Tschinder
46ba5940c2
Make yield a contextual keyword ( #9400 )
2019-01-23 14:33:23 -08:00
Daniel Tschinder
42c5d3fc4b
Correctly fail for invalid yield in for ( #9398 )
2019-01-23 13:39:30 -08:00
Daniel Tschinder
4f69699b71
Fix parsing in non-declaration places
2019-01-22 13:12:03 -08:00
Daniel Tschinder
f4f5ca2aaa
Parse class name in strict mode
...
The specification defines that the whole class declaration is parsed in strict mode
2019-01-22 13:12:03 -08:00
Daniel Tschinder
8071dca9ad
Disallow const let or let let
2019-01-22 13:12:02 -08:00
Daniel Tschinder
96a7343142
Merge pull request #9348 from danez/perf
...
Parser Performance Collection
2019-01-21 02:27:42 -08:00
Nicolò Ribaudo
4ce37b7aca
Update test262 sha ( #9365 )
2019-01-19 18:10:28 +01:00
Daniel Tschinder
2d6231fd3d
Update flow whitelist
2019-01-17 16:16:32 -08:00
Nicolò Ribaudo
0a88230ec4
Disallow async functions as loop bodies ( #9314 )
2019-01-17 17:07:48 -05:00
Nicolò Ribaudo
3e4b608a80
Parse class heritage as strict mode code ( #9315 )
2019-01-12 14:54:23 +01:00
Nicolò Ribaudo
5889620a6a
Disallow new import(x) and import(x,) ( #9313 )
...
* Disallow "new import(...)"
* Disallow trailing comma inside dynamic import
* Rename test
* Update error message
2019-01-11 18:59:51 +01:00
Nicolò Ribaudo
9764718c32
Disallow trailing comma after rest ( #9311 )
...
* Add new tests
* Use state instead of param and disallow comma in [...a,]=[]
* Unify error messages
* Object destructuring
* Update whitelist
2019-01-11 13:08:38 +01:00
Cameron Martin
778a61a3c2
[@babel/types] Moved generators related to babel-types into the babel-types package directory. ( #9245 )
2019-01-09 00:14:31 +01:00
Brian Ng
a55382e4ad
Test262 update ( #9288 )
2019-01-07 08:52:36 -06:00
Cameron Martin
9e95da4eaa
Added type-level mapping between aliases and nodes that have that alias. ( #9110 )
2018-12-19 10:57:27 +01:00
Nicolò Ribaudo
911c2d0bf4
Use @babel/eslint-plugin-developement ( #9206 )
2018-12-18 22:59:43 +01:00
Daniel Tschinder
5cb38995c0
Allow keywords to be used in type annotations ( #9184 )
2018-12-15 12:51:24 -08:00
Vikram Rangaraj
72471aff63
Handle flow comments with leading spaces ( #9168 )
...
* check for spaces and tabs before a flow comment
* fix issue with using string index and shift interchangably
* update tests
* Use update charcodes version
* Disallow flow-comments in flow-comments and check for unterminated comments
2018-12-13 22:10:01 -08:00
Daniel Tschinder
559d649994
Skip minifying standalone ( #9094 )
...
Also remove unused dependency on uglify js. gulp-uglify uses its own version.
2018-11-28 12:36:24 -08:00
Nicolò Ribaudo
61f2aed5b0
Disallow await inside arrow functions ( #9074 )
...
* Disallow await inside arrow functions
* Update test262 whitelist
2018-11-26 12:43:04 +01:00
Nicolò Ribaudo
8c7d4b55c9
Add plugins name ( #8769 )
...
* Add plugins name
* Add missing names found by the plugin
* Add eslint plugin
2018-11-18 23:02:58 +01:00
Daniel Tschinder
1af57e6f71
Fix test262 tests again!
2018-11-14 23:29:17 -08:00
Remi Liu
4dfd801887
[Types] fix generated TS/Flow comment types ( #9007 )
2018-11-09 09:03:53 -06:00
Nicolò Ribaudo
2fa1984635
Fix await in function name and parameters ( #7727 )
...
* Disallow await in function parameters
* Fix await as function name
* Update test whitelists
2018-11-06 08:30:06 +01:00
Daniel Tschinder
e3b2c1afff
fix: Do not allow TypeCastExpressions w/o parens ( #8956 )
2018-11-05 15:34:24 -08:00
James Garbutt
b95cbc4a8e
output aliased types in typescript declarations ( #8629 )
2018-11-05 23:58:57 +01:00
Nicolò Ribaudo
24c4901ff5
Remove Babylon plugins for features already merged to the ECMAScript spec ( #8448 )
...
These are now enabled by default:
- objectRestSpread (2018)
- asyncGenerators (2018)
- optionalCatchBInding (2019)
- jsonStrings (2019)
TODO (after this commit):
- [ ] Deprecate the `@babel/plugin-syntax-*` packages.
- [ ] Deprecate the `@babel/plugin-proposal-*` packages.
- [ ] Create the `@babel/plugin-transform-*` packages.
2018-11-05 23:48:06 +01:00
Daniel Tschinder
c125b1dd74
Update test262 commit, as old commit broke for some reason
2018-11-05 10:53:34 -08:00
Daniel Tschinder
1d4d760ffc
Update test262 to latest commit and enable mapping for features
...
Also added an automated check for new features which are not mapped or ignored
2018-11-04 18:49:53 +01:00
Brian Ng
55faa27b93
Run test262 tests for exportNamespaceFrom ( #8780 )
2018-09-27 14:48:58 -05:00
James Garbutt
252660f248
ts generator: allow reserved keywords in interfaces ( #8627 )
2018-09-10 09:22:36 -05:00
Justin Ridgewell
5899940156
Update parser whitespace for clarity ( #8539 )
...
* Update parser whitespace for clarity
Has the nice benefit of not requiring a charCode to String conversion.
* Remove test262 exceptions
Per https://github.com/tc39/ecma262/pull/1218#issuecomment-395340891 ,
ECMA262 follows whatever the latest Unicode version specifies for Zs
Space_Separator category. MONGOLIAN VOWEL SEPARATOR was moved to the Cf
Other_Format category in Unicode 8.
2018-08-25 19:12:38 -04:00
Standa Opichal
a7cc3325cd
Add LICENSE file to published npm packages [skip ci] ( #8409 )
2018-08-23 19:49:27 -04:00
kalenikalexander
5c728ea609
Fix private property parsing in Flow ( #8340 )
...
* Fix private property parsing in Flow
* Flow tests updated
* Fix type error
* Appropriate name was given to test folder
* Fix
* Empty
* Correct type annotation
* Add required changes in generator package
* Add required changes in flow-strip-types
2018-08-02 08:38:58 +02:00
Henry Zhu
c70a32ab9d
Throw when using Stage presets ( #8293 )
...
* inline stage presets into standalone, throw error with using Stage presets
2018-07-23 22:22:52 -04:00
Tatsuyuki Ishi
3e71108f82
Invoke Jest main file directly ( #8187 )
2018-07-06 10:09:49 -04: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
a2cd264211
jest binary is a bash shell script, not a nodeJS file. ( #8179 ) [skip ci]
2018-06-15 10:18:14 -04:00
Sven Sauleau
8f8b4e8e82
Switch new website in READMEs ( #8181 ) [skip ci]
2018-06-15 10:13:20 -04:00
BeniCheni
efb34aa7dc
For selective packages, add items for labels mapping of pkg => labels & update READMES w. links for open issues
...
babel-generator; babel-node; babel-standalone; babel-template
2018-06-10 23:41:55 -04:00
Brian Ng
ab928713af
Bump test262-stream and update test262 tests ( #8139 )
2018-06-10 10:55:40 +02:00
Alex Zherdev
8070a2204d
Link to open issues in READMEs [skip ci]
2018-06-08 20:54:44 -07:00
Palash Mondal
153ad4c6f3
fix(typo): in readmes package label
...
"babel-regiser" to "babel-register" and "pkg: regiser" to "pkg: register"
2018-06-05 21:19:51 +05:30
Sven SAULEAU
f614809002
feat: [skip ci] add link to issues in READMEs
2018-06-04 17:33:16 +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