Henry Zhu
fa86b2ddf0
Remove our own use of stage presets ( #8397 )
...
- also update the stage preset error message/readme's to point to the new blog post
2018-07-28 11:24:53 -04: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
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
Evan You
224ce38882
fix(preset-stage-3): pass along loose flag to proposal-object-rest-spread ( #7819 )
2018-04-26 11:04:34 -05:00
Logan Smyth
a4795408b4
Allow plugins to assert that a specific babel version has loaded the plugin. ( #7450 )
2018-03-04 14:36:54 -08:00
dnalborczyk
ed4d90b33d
expose import.meta syntax parser option as plugin ( #7008 )
2017-12-16 15:06:23 -06:00
Henry Zhu
1196ec1e38
add loose/useBuiltIns option to stage presets, use it, opt babylon build ( #6733 )
...
* add loose, useBuiltIns options to presets + use loose class properties
* whitelist helpers for babylon
* use transform-for-of-as-array in babylon
2017-11-03 14:22:06 -04:00
Henry Zhu
c41abd79a1
Rename all proposal plugins to -proposal- from -transform- ( #6570 )
2017-10-27 15:26:38 -04:00
Mathias Bynens
5d4c736413
Import babel-plugin-transform-unicode-property-regex ( #6499 )
...
* Import babel-plugin-transform-unicode-property-regex
Original: https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex
Moving it into the official Babel repository makes it easier to maintain the transform.
* Update package.json
* Update README.md
* fixup
* fixup 2
2017-10-18 13:58:44 -04:00
Henry Zhu
eab0a1fadb
Scoped: remove old references to default enabled syntax plugins, fix bootstrap [skip ci]
2017-10-16 22:49:57 -04:00
Henry Zhu
cde0054227
Scoped: change src imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Noah Lemen
4fdd75695b
Update Class Fields to Stage 3 and change default behavior ( #6076 )
...
* add transform-class-properties to stage 3, set spec mode to default
* update readme with examples; use `buildUndefinedNode()`; change behavior to always define both static and nonstatic class properties regardless of spec/loose mode; update tests
2017-08-10 11:19:49 -04:00
Brian Ng
c5e81516dd
Add optional catch binding to stage 3 preset ( #6032 )
2017-07-31 16:00:43 -04:00
Brian Ng
e4b35f680d
Run prettier
2017-06-27 12:15:00 -05:00
Mathias Bynens
5492fe130a
Move plugin-transform-unicode-property-regex to stage 3
2017-06-21 15:55:02 +02:00
Daniel Kao
216cbf5bd6
Move syntax-dynamic-import to stage-3 ( #5610 )
2017-04-08 10:14:23 -04:00
Brian Ng
8a82cc060a
Run new lint rules ( #5413 )
2017-03-04 10:46:01 -05:00
Daniel Tschinder
87ca6150ae
[7.0] Remove bc code from preset handling and preset-es2015 ( #5128 )
...
* Remove bc code from preset handling and preset-es2015
* Add more tests
* Only allow functions for presets
* Fix lint
2017-02-22 14:58:01 +01:00
Adonis K
12886ea495
[7.0] Remove stage 4 plugins from stage 3 preset ( #5126 )
...
* remove trailing function commas from stage-3 preset (#5117 )
trailing function commas is now a finished proposal and was moved to stage 4 (https://github.com/tc39/proposal-trailing-function-commas )
* remove the exponentiation operator from stage-3 preset (#5117 )
exponentiation-operator is now a finished proposal and was moved to stage 4 (https://github.com/rwaldron/exponentiation-operator )
* remove async function to es2015 generator from stage-3 preset (#5117 )
async functions is now a finished proposal and was moved to stage 4 (https://github.com/tc39/ecmascript-asyncawait )
2017-01-19 23:03:49 -05:00
Henry Zhu
6f363b60bb
Move async-generators to stage-3 ( #4617 )
2016-09-30 17:29:18 -04:00
Henry Zhu
efa0affea1
move object-rest-spread to stage-3
2016-09-29 15:26:47 -04:00
Justin Johansson
bae59470da
Upgraded all babel-preset-xxxs but babel-preset-es2015 to export syntax
2016-09-25 12:27:32 -07:00
Justin Johansson
e16a1657ab
Align all babel-preset-xxx packages dir structures with status quo
2016-09-25 11:41:43 -07:00