Andrew Bradley
9c27f1e86a
Fixes the wrong source path being passed to SourceMapConsumer#generatedPositionFor
...
`generatedPositionFor` accepts a position in one of the sourcemap's *input* source files. Therefore the `source` path
should be one of the sourcemap's input `sources`, not the output `file`.
2015-11-24 16:10:10 -05:00
Andrew Bradley
bbec2114ce
Fixes T2864
...
- Drops input mappings that cannot be mapped through Babel's sourcemap
- For example, Babel's sourcemap does not have mappings for leading comments, so any mapping from an input sourcemap for those leading comments must be dropped from the merged sourcemap
2015-11-24 16:07:37 -05:00
Sebastian McKenzie
a4e3af1c63
v6.2.1
2015-11-19 14:03:33 -08:00
Sebastian McKenzie
45d4e50b39
add resolution dirname to unknown plugin/preset error message
2015-11-19 14:01:38 -08:00
Sebastian McKenzie
ac90ea20ea
v6.2.0
2015-11-18 20:33:47 -08:00
Sebastian McKenzie
8fd543edae
make base option plugin/preset resolving happen relative to the input filename
2015-11-18 20:31:59 -08:00
Sebastian McKenzie
eb4841932f
Merge branch 'master' of github.com:babel/babel
2015-11-17 22:59:23 -08:00
Sebastian McKenzie
ba68bd255e
add package.json dirname to mergeOptions - closes #3093
2015-11-17 22:58:24 -08:00
Amjad Masad
35e575cf93
Print a block when encountering consequents that are if statements
2015-11-17 19:07:20 -08:00
Amjad Masad
507557c48e
Add failing test
2015-11-17 18:45:35 -08:00
Daniel Lo Nigro
0076204f80
Fix Flow.
...
Removed `@flow` annotation from files that don't actually pass Flow check at the moment. These will be added back file by file once the files are properly converted to use Flow.
Closes #3064
2015-11-15 21:30:22 -08:00
Andres Suarez
c8f3fd8a34
Remove unused deps
2015-11-14 16:04:48 -08:00
Sebastian McKenzie
11e50695d3
v6.1.21
2015-11-13 16:57:03 -08:00
Sebastian McKenzie
5cb326a7f6
add aliases to plugins that are where they were first specified for performance
2015-11-13 16:54:47 -08:00
Sebastian McKenzie
5b6a39f227
v6.1.20
2015-11-13 03:38:54 -08:00
Sebastian McKenzie
00d3f8f7d3
Merge pull request #3022 from tadeuzagallo/patch-1
...
Fix the source maps merging
2015-11-12 22:53:05 -08:00
Sebastian McKenzie
16366d887c
v6.1.19
2015-11-12 14:18:24 -08:00
Sebastian McKenzie
d4a351fc87
add config check to package.json babel reading
2015-11-12 14:16:40 -08:00
Sebastian McKenzie
4a1e5c17b4
v6.1.18
2015-11-12 13:46:30 -08:00
Sebastian McKenzie
23fd185590
v6.1.17
2015-11-12 13:40:25 -08:00
Sebastian McKenzie
c4c66687ea
v6.1.16
2015-11-12 13:33:20 -08:00
Sebastian McKenzie
9c91b555f9
v6.1.15
2015-11-12 12:15:47 -08:00
Sebastian McKenzie
f127f81cb7
v6.1.14
2015-11-12 12:01:18 -08:00
Sebastian McKenzie
548d973d12
v6.1.13
2015-11-12 11:57:45 -08:00
Tadeu Zagallo
5412c4d6be
Fix the source maps merging
...
In the current state, when the inputSourceMap has multiple sources, all the generated source map will point to the first file. Use the mapping's source instead.
2015-11-12 18:18:41 +00:00
Sebastian McKenzie
af208e8acb
v6.1.12
2015-11-12 00:47:51 -08:00
Sebastian McKenzie
8fb4d55687
v6.1.11
2015-11-11 23:58:22 -08:00
Sebastian McKenzie
98b3dda500
v6.1.10
2015-11-11 23:52:57 -08:00
Sebastian McKenzie
15baf2afb5
v6.1.9
2015-11-11 23:46:00 -08:00
Sebastian McKenzie
e018723c7e
v6.1.8
2015-11-11 23:40:20 -08:00
Sebastian McKenzie
8dcf4aedc0
v6.1.7
2015-11-11 23:37:19 -08:00
Sebastian McKenzie
97443eada6
v6.1.6
2015-11-11 23:32:43 -08:00
Sebastian McKenzie
803f58f7ad
v6.1.5
2015-11-11 23:30:14 -08:00
Sebastian McKenzie
caff1e72a5
v6.1.10
2015-11-11 23:28:53 -08:00
Sebastian McKenzie
541e547848
v6.1.9
2015-11-11 23:27:56 -08:00
Sebastian McKenzie
26e56bc966
v6.1.5
2015-11-11 22:48:30 -08:00
Sebastian McKenzie
fe5aff09a4
fix remaining babel helper issues
2015-11-11 22:45:50 -08:00
Sebastian McKenzie
ca1ca2055d
Merge branch 'development'
2015-11-11 22:11:55 -08:00
Sebastian McKenzie
74a1b7fce6
make helper names more predictable - fixes #2986
2015-11-11 20:57:56 -08:00
Amjad Masad
352a604fe2
Make sure the test fails
2015-11-11 12:07:23 -08:00
Sebastian McKenzie
03383bdf31
v6.1.4
2015-11-11 02:04:26 -08:00
Sebastian McKenzie
884252b90f
increase test coverage
2015-11-10 14:26:40 -08:00
Sebastian McKenzie
a55f210c7f
fix buildExternalHelpers whitelist not including underscored helpers - fixes #2940
2015-11-10 03:40:35 -08:00
Sebastian McKenzie
15969a0904
move all plugin tests out of babel-core and into their appropriate folders
2015-11-08 23:04:10 -08:00
Sebastian McKenzie
5f40b53dee
abstract out test runner into a module, move traceur and esnext tests to babel-preset-es2015, clean up and make existing tests more consistent
2015-11-08 21:58:01 -08:00
Sebastian McKenzie
da20aa90c1
omit defaultProps helper when there are no props
2015-11-08 17:10:33 -08:00
Sebastian McKenzie
52363ab8d8
remove err.stack hack
2015-11-08 06:56:18 -08:00
Sebastian McKenzie
b07f8c8eab
fix react inline elements tests
2015-11-08 06:38:45 -08:00
Sebastian McKenzie
2a1a038031
move children prop pushing to after props to ensure correct order - fixes #2395
2015-11-08 06:24:10 -08:00
Sebastian McKenzie
8f00700b9f
fix order of babel-register in test transformation helper script
2015-11-08 06:23:51 -08:00