James Kyle
10f4546fef
Remove unnecessary import
2016-08-08 17:34:01 -07:00
James Kyle
f36d07d303
Fixes from PR comments
2016-08-08 17:32:58 -07:00
James Kyle
9eb12e2c34
Fix lint
2016-08-05 12:40:50 -07:00
James Kyle
fd89bd136f
Fix exports of babel-core
2016-08-05 12:36:08 -07:00
Henry Zhu
a8324712a5
v6.13.2
2016-08-05 09:51:34 -04:00
Henry Zhu
7213e57ee2
add tests, be able to pass preset options to test helper
2016-08-05 09:36:52 -04:00
Christophe Hurpeau
425d460ebf
[Bug Fix] option manager: val = val.buildPreset should be before the check if the preset supports options
2016-08-05 12:06:07 +02:00
Logan Smyth
f3ad8a8392
v6.13.1
2016-08-04 21:12:12 -07:00
Logan Smyth
66317b10db
Fix backward-compatibility of babel-preset-es2015 - fixes T7536
2016-08-04 20:55:20 -07:00
Henry Zhu
6ab3e35075
v6.13.0
2016-08-04 19:34:51 -04:00
Henry Zhu
c6354a2132
es2015: transpile the preset, modify modules option to support "amd,umd,systemjs" as well, tests ( #3627 )
...
* es2015: transpile the preset, at spec option
* es2015: add support for modules option
* fixes + tests
* fixup preset error messsage
* es2015: update readme [skip ci]
* pass loose to other module transforms
2016-08-04 17:54:04 -04:00
Logan Smyth
897f553dc7
Support passing options to presets. ( #3331 )
2016-08-03 22:14:16 -04:00
Henry Zhu
6e58954bce
v6.11.4
2016-07-19 21:59:53 -04:00
James Talmage
0a9cbe6e83
git commit add test for package.json config
2016-07-07 16:58:22 -04:00
James Talmage
8e84196eb8
add tests for env options
2016-07-07 16:36:34 -04:00
James Talmage
62ad67e5d9
add tests for build-config-chain
2016-07-03 23:58:44 -04:00
James Talmage
79d8c5aa14
find list of applicable configs without requiring babel-core or plugins
...
`build-config-chain.js` creates an array of options which will be passed to `OptionsManager#mergeOptions`. The advantage of separating it out is that `build-config-chain` has a very minimal dependency list. The eventual intent is to allow the require hook to lazy load only when required. In other words, if no required files ever match the patterns `ignore` / `only` patterns, the bulk of babel-core, and the associated plugins, will never be loaded.
2016-07-02 03:04:49 -04:00
Logan Smyth
231f27f170
Fix non-unique 'ref' binding name - fixes T7468
2016-06-28 19:16:44 -07:00
Logan Smyth
faf024ad44
v6.10.4
2016-06-21 09:43:33 -07:00
A2ZH
49d36e291d
update minimatch v3.0.2
2016-06-21 01:01:42 +08:00
Henry Zhu
77ac82b9f5
v6.9.1
2016-05-29 15:50:04 -04:00
Andrew Johnston
f408f28a02
Fix: assign _this to this when there is no Superclass - Fixes T7364
...
Closes gh-3508
2016-05-28 09:51:28 -04:00
Jesse McCarthy
ff044bbb0f
Use more ideal mocha hooks ( #3446 )
...
* setup() instead of manual before().
* suiteTeardown() instead of afterEach().
2016-05-19 08:26:59 -04:00
Henry Zhu
cf6304a34b
v6.9.0
2016-05-17 14:49:17 -04:00
Jordan Klassen
dc1f40540d
Upgrade to lodash 4 ( #3315 )
...
* Upgrade to lodash 4
* Fix incorrect require in babel-runtime/scripts
* Replace cloneDeep with cloneDeepWith where applicable
2016-05-13 17:15:14 -04:00
Logan Smyth
9843c87573
Fix block statement code style. ( #3493 )
2016-05-02 21:15:37 -04:00
Henry Zhu
05bf216339
v6.8.0
2016-05-02 19:43:49 -04:00
Henry Zhu
c9e5da6ad0
use named exports instead of export * as a temp workaround
2016-04-24 20:06:23 -04:00
Henry Zhu
4c23b01798
change plugins to use babel-runtime 6
2016-04-24 20:06:23 -04:00
Matt Krick
caab035115
turn transform into a simple for loop
2016-04-22 16:53:10 -05:00
Logan Smyth
696c74933a
v6.7.7
2016-04-20 20:09:20 -07:00
Logan Smyth
f6be6e0bd4
Merge pull request #3463 from loganfsmyth/sourcemap-rework
...
Support more fine-grained source location tracking and use it for functions
2016-04-20 18:57:18 -07:00
Logan Smyth
b311517fd3
Merge pull request #3422 from loganfsmyth/this-shadow-constructor
...
Initialize shadowed 'this' bindings in constructors after super - fixes T7191
2016-04-16 14:29:38 -07:00
Logan Smyth
81e6d4147d
Map the end of block statement nodes to the end of their original location - fixes T7258
2016-04-11 01:54:41 -07:00
Logan Smyth
76bb1dffaa
Track sourcemap location on a stack - fixes T7255
2016-04-11 01:54:40 -07:00
Logan Smyth
0130c6c186
v6.7.6
2016-04-08 09:27:12 -07:00
Logan Smyth
c3ccddaaaf
Revert "Merge pull request #3433 from loganfsmyth/bail-out-rename"
...
This reverts commit 2d0a007d14e519fe60a849dd17068a0f3df79a28, reversing
changes made to e4d6d420415a0c290a321fb6c18ba5f19675b5c1.
2016-04-08 09:09:48 -07:00
Logan Smyth
89ecbda25c
v6.7.5
2016-04-07 20:24:49 -07:00
Logan Smyth
3af8ec16e9
Handle input source mappings with no source location - fixes T7151
2016-04-07 09:34:45 -07:00
Logan Smyth
2d0a007d14
Merge pull request #3433 from loganfsmyth/bail-out-rename
...
Only attempt to rename export declarations, not expressions - fixes T7215
2016-04-06 19:04:21 -07:00
Anna Henningsen
bd99179abc
Make sure input to path.{dir,base}name is a string
...
Since nodejs/node@08085c49b6 , which will be part of Node.js v6.0,
functions from the `path` core module (like `dirname`) will require
their input to be a string.
Currently, at some points in the code they might be called
with `undefined`; This patch adds `… || ""` so that the input
is always a string.
For `path.dirname` in the babel-core file, this does not change
behaviour, since
`path.dirname(undefined) === path.dirname("") === "."` (where the
first expression is only defined for Node.js ≤ v5.x).
For `path.basename`, this changes the return value, since
`path.basename(undefined) === "undefined"` (on Node.js ≤ v5.x), but
`path.basename("") === ""`. However, it seems reasonable to assume
that, due to the trailing expression in
`path.basename(…) || "stdout"`, the current behaviour is not actually
the intended one.
There are possibly more places in the code base where similar changes
may be neccessary; However, these suffice to make the tests pass
and un-break the build of at least one external project when using
the current Node.js master branch.
2016-03-28 15:31:38 +02:00
Logan Smyth
6470426f7a
v6.7.4
2016-03-22 20:37:46 -07:00
Logan Smyth
078f6c0ed3
Only attempt to rename export declarations, not expressions - fixes T7215
2016-03-16 23:26:52 -07:00
Amjad Masad
f6ff14624f
localize side-effectful test
2016-03-16 18:13:40 -07:00
Logan Smyth
e3af434250
Inserting shadowed 'this' bindings in constructors after super - fixes T7191
2016-03-12 16:18:56 -08:00
Amjad Masad
de92d632f3
v6.7.2
2016-03-10 14:41:27 -08:00
Amjad Masad
fd7b1c3386
don't rely on scope to get the type alias
2016-03-10 12:13:05 -08:00
Amjad Masad
3d5969ecff
v6.7.0
2016-03-08 16:52:45 -08:00
Logan Smyth
af4575c43e
Expand the regression tests for T2765.
2016-03-08 08:15:42 -08:00
Amjad Masad
2f654650bb
Merge pull request #3407 from babel/async-tests
...
Async context tests
2016-03-08 02:00:40 -08:00