Henry Zhu
476ec5ed8f
Fix readmes to use @babel/ [skip ci] ( #6569 )
2017-10-27 11:50:59 -04:00
Henry Zhu
e3cebbf6bc
Add peerDep on specific babel-core version in transform plugins, presets, and cli ( #6549 )
2017-10-25 08:36:00 -07:00
Henry Zhu
c0a958098f
Scoped: update readme headers to @babel/ [skip ci]
2017-10-16 22:49:57 -04:00
Mateusz Burzyński
df721f067e
reverted change to keywords in package.jsons [skip ci]
2017-10-16 22:49:57 -04:00
Brian Ng
65495105e9
Scoped: rename installation instructions for transforms [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
79ddf12d9d
Scoped: rename to @babel/ in readme [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
dfbbe82598
Scoped: rename npm pkg keyword [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
691f90a774
Scoped: change test imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
cde0054227
Scoped: change src imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
8e5e27577a
Scoped: update package.json dependencies to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
1cd564bd16
Scoped: rename package names to @babel/ [skip ci]
2017-10-16 22:49:01 -04:00
Mateusz Burzyński
1215db2dd3
Fixed es2015-template-literals dependencies
2017-10-15 18:05:05 +02:00
Henry Zhu
94da889ab7
v7.0.0-beta.3
2017-10-15 09:12:00 -04:00
Anton Rusinov
fcdfc61bdb
Move plugin processing to top of plugins ( #6381 )
...
* centralize plugin options
* Centralize plugins options
- move more options to the top
- move validations that depend on options to the top
* use isLoose option
* Move more validations to the top
* Move ref parameter for rewriteModuleStatementsAndPrepareHeader() to the top
* fix eslint errors
* remove unused parameter
* set default systemGlobal value
* Revert "Move ref parameter for rewriteModuleStatementsAndPrepareHeader() to the top"
This reverts commit b3855302d17fa19d8acb4c8accab3680c8d2710e.
* Revert "Move more validations to the top"
This reverts commit e5861d8a034ff8f553391f55654f753bcf428a5d.
* fix allowMutablePropsOnTags option usage
* improve naming
* change Contructor definition for sake of consistency
* move allowMutablePropsOnTags validation to the top
* add missing !
2017-10-10 00:51:34 -04:00
Mateusz Burzyński
d8d35ac0c4
Annotating taggedTemplateLiteral calls as #__PURE__ ( #6327 )
2017-09-30 17:30:44 -04:00
Henry Zhu
70547efcc1
v7.0.0-beta.2
2017-09-26 11:14:41 -04:00
Logan Smyth
5a2a5fb411
Move template object creation from core into the template transform. ( #6307 )
...
* Move template object creation into the template transform.
* use shorthand [skip ci]
2017-09-26 10:33:18 -04:00
Henry Zhu
23121d2bd3
v7.0.0-beta.1
2017-09-19 16:24:07 -04:00
Logan Smyth
c65742602b
Add some docs for why template literals use a chain of .concat() calls.
2017-09-13 13:42:20 -07:00
Henry Zhu
1c13250807
v7.0.0-beta.0
2017-09-11 23:01:41 -04:00
Henry Zhu
b82b65a31e
v7.0.0-alpha.20
2017-08-30 15:02:49 -04:00
Noah Lemen
d70603ffa9
re-add template literals tests, add ones that were missing ( #6169 )
2017-08-29 21:06:05 -04:00
Noah Lemen
40805894c5
default to spec mode for template literal transform ( #6098 )
...
* spec/loose/default switch for template literal transform, update/re-org tests
* update readme
* flip if statements
* consolidate else/if
* readme wording modification, updates to examples
2017-08-28 12:57:09 -06:00
Diogo Franco
0538c3cd8c
Add another test for runtime order of template literals ( #6092 )
...
More proof that it really is unsafe to merge the .concat calls if the
value is an expression that has any chance of executing impure code 😢
2017-08-12 14:11:27 +09:00
Henry Zhu
79f4956948
v7.0.0-alpha.19
2017-08-07 18:21:08 -04:00
Henry Zhu
79c6814d65
v7.0.0-alpha.18
2017-08-03 18:20:36 -04:00
Henry Zhu
0f823beeb1
Newlines in fixtures ( #6044 )
...
* write newlines for fixtures
* rerun fixtures
2017-08-02 15:35:29 -04:00
Henry Zhu
9322fd0458
v7.0.0-alpha.17
2017-07-26 08:38:44 -04:00
Henry Zhu
7f1cd44d60
v7.0.0-alpha.16
2017-07-25 17:35:35 -04:00
Henry Zhu
a0f0411abf
v7.0.0-alpha.15
2017-07-11 23:35:22 -04:00
Henry Zhu
03f249430a
v7.0.0-alpha.14
2017-07-11 22:53:09 -04:00
Henry Zhu
8460b4c62f
v7.0.0-alpha.13
2017-07-11 22:27:56 -04:00
Daniel Tschinder
b3372a572d
Remove whitespace generation ( #5833 )
...
* Remove whitespace generation and rely on default printing
Changes to printing:
* Add newline after last empty SwitchCase
* Add newlines around block comments if they are non-flow comments or contain newlines
* Fix a few more fixtures
2017-06-27 21:57:02 -05:00
Brian Ng
e4b35f680d
Run prettier
2017-06-27 12:15:00 -05:00
Artem Yavorsky
c4fd05c0c2
Spec compatibility for template literals. ( #5791 )
...
* Spec compatibility for template literals.
* Update preset-es2015 `spec` expected case.
* Prevent array mutability by replacing `shift`.
* Fix condition for single item.
* Group concats to ensure toPrimitive sequence.
* Update function test case.
* Add semi for function test case.
* Simplify concat call expressions creating.
* Fix some cases with multiple idengifiers.
* Add test case with different literals.
* Add test case for `Symbol()` and toPrimitive order
* Add actual literal case.
* Add minNodeVersion to template literals order.
* Flip the logical expression.
* Update README for template literals spec option.
* docs [skip ci]
2017-06-05 08:53:10 -04:00
Henry Zhu
c5bad22767
v7.0.0-alpha.12
2017-05-31 17:11:39 -04:00
Henry Zhu
ce976bba2a
v7.0.0-alpha.11
2017-05-31 16:43:30 -04:00
Henry Zhu
9b44cef691
v7.0.0-alpha.10
2017-05-25 15:17:07 -04:00
Justin Ridgewell
09229db794
Cleanup template-literals transform ( #5748 )
...
Avoid `Array#shift`s and prefer `const`s when possible.
2017-05-19 14:57:15 -04:00
Henry Zhu
62375cdf12
v7.0.0-alpha.9
2017-04-18 10:41:30 -04:00
Henry Zhu
25ae8c8554
v7.0.0-alpha.8
2017-04-17 15:12:31 -04:00
Henry Zhu
c732f5e1d0
v7.0.0-alpha.7
2017-04-05 17:13:26 -04:00
Henry Zhu
f3ef03abfd
use caret for devDeps
2017-03-27 16:32:13 -04:00
Henry Zhu
7a1ccf076c
Misc ( #5545 )
...
* normalize npmignores
* fixup eslint ignore, etc
* lint
* remove unused
* rm from gitignore
* use strict
2017-03-25 21:46:16 -04:00
Henry Zhu
ab68800e06
v7.0.0-alpha.3
2017-03-23 15:49:01 -04:00
Henry Zhu
b638c8b3eb
Transform the template literals revision proposal ( #5523 )
...
* Account for template literals revision
* extra tests
* update to babylon beta 7
* pr feedback (keep arr length the same)
2017-03-22 16:07:36 -04:00
Henry Zhu
230712e091
Internal: back to fixed, publish everything ( #5436 )
2017-03-08 22:56:00 -05:00
Brian Ng
8a82cc060a
Run new lint rules ( #5413 )
2017-03-04 10:46:01 -05:00
Henry Zhu
11e54a6bd3
v7.0.0-alpha.1
2017-03-02 16:04:47 -05:00
Henry Zhu
696e63c58b
Merge pull request #5380 from babel/extra-do + 6.x commits
2017-02-25 18:48:27 -05:00