6504 Commits

Author SHA1 Message Date
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
claudiopro
6d1a6dfc94 Fixes @jsx pragma detection + tests 2015-11-17 22:32:44 +01:00
kpdecker
1286200712 Output auxiliaryCommentAfter before trail comment
Quick fix for the case where generated comment is the terminal leaf in a subtree that is followed by a trailing comment.

Partial for #3034
2015-11-16 20:59:24 -06:00
Sebastian McKenzie
d2e07cffb9 add note about where to request features and report bugs 2015-11-16 14:41:10 -08:00
Evgeny Kruglov
a43a60e5b8 Make babel-cli watching only given files and extensions. Use --only, --ignore and --extensions while process filenames with --out-file option. 2015-11-16 23:43:14 +03:00
Sebastian McKenzie
8cd68ddc74 Merge pull request #3074 from Daniel15/flow-clowntown
Fix Flow.
2015-11-15 23:43:16 -08:00
Daniel Lo Nigro
828ce54637 Run Flow after building so that it actually runs properly in a CI run. It seems like there's a bunch of "module not found" if you run a Flow check before building, even after running "npm install". 2015-11-15 21:44:03 -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
Sebastian McKenzie
1d34d19ce9 Merge pull request #3050 from kpdecker/aux-chain
auxiliaryComment chaining
2015-11-15 20:13:47 -08:00
Sebastian McKenzie
f6dea87102 Merge pull request #3066 from zertosh/cleanup-deps
Remove (a few) unused deps
2015-11-15 20:12:52 -08:00
Sebastian McKenzie
aec97a1b12 Merge pull request #3069 from jrsearles/add-modulus-op
Add modulus operator
2015-11-15 20:12:31 -08:00
Joshua Searles
750fca9a88 Add module operator 2015-11-15 02:44:43 -05:00
Andres Suarez
c8f3fd8a34 Remove unused deps 2015-11-14 16:04:48 -08:00
James Kyle
c4c9c6f123 Fix transform-es2015-block-scoping link 2015-11-13 20:15:52 -08:00
Sebastian McKenzie
11e50695d3 v6.1.21 2015-11-13 16:57:03 -08:00
Sebastian McKenzie
31f3eac566 Merge branch 'master' of github.com:babel/babel 2015-11-13 16:56:04 -08:00
Sebastian McKenzie
01356191d4 avoid revisiting classes - #2694 2015-11-13 16:55:54 -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
kpdecker
488f5a067e Avoid duplicate auxiliary start if in aux section
Fixes #3032
2015-11-13 13:43:23 -06:00
kpdecker
1563e74cc0 Add a few auxiliary comment tests 2015-11-13 12:56:30 -06:00
Jesse McCarthy
90327aee47 Merge pull request #3043 from jmm/babylon-readme-features-to-plugins
Correct option name: features => plugins.

Fix #3042.
2015-11-13 10:42:59 -05:00
Jesse McCarthy
f660dd3430 Correct option name: features => plugins. 2015-11-13 10:25:40 -05:00
Sebastian McKenzie
5b6a39f227 v6.1.20 2015-11-13 03:38:54 -08:00
Sebastian McKenzie
9f6dcdbc29 add regression test - fixes #3028 2015-11-13 03:37:43 -08:00
Sebastian McKenzie
9d8db74517 only infer whitespace when we've been passed tokens 2015-11-13 03:37:27 -08:00
Sebastian McKenzie
688dcec6a3 fix queueing of nested paths being pushed onto the priority queue 2015-11-13 03:37:15 -08:00
Sebastian McKenzie
02e4dcdbe2 Merge pull request #3029 from spicyj/inline2
React inlining: Refactor to reduce parsing cost
2015-11-12 22:53:09 -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
0fc160ce42 Merge pull request #3031 from forivall/remove-unused-param
Remove unused second parameter of isIdentifierStart
2015-11-12 22:52:48 -08:00
Jordan Klassen
3b68a58e0c Remove unused second parameter of isIdentifierStart 2015-11-12 22:45:35 -08:00
Ben Alpert
d1b8db1532 React inlining: Refactor to reduce parsing cost
- Have the `jsx` helper do the `defaultProps` work instead of calling `defaultProps` inline.
- Put `key` after `props` and make it optional.
- Inline `children` as rest args instead of in the object.
- Rename `createRawReactElement` to `jsx`. I wish I was kidding.

Most of these are silly microoptimizations. In my test file (based off an internal RN app), this reduces the parsing overhead of inlining from around 1% to 0.1% in JSC and from 0.6% to 0.0% in V8 (compared to element inlining before this commit).

Once parsed, the initial render with inlining is the same speed as not inlining in JSC and ~1% slower in V8. A second initial render in the same context (reusing the function objects, JIT, etc) is 2.0% faster in JSC and 5.5% faster in V8.
2015-11-12 18:05:57 -08:00
Sebastian McKenzie
4b5a284efb fix unknown helper message - fixes #3025 2015-11-12 14:24:26 -08:00
Sebastian McKenzie
c0afdfd1a8 remove babel-browser 2015-11-12 14:20:09 -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
6530d565d9 fix ship method 2015-11-12 14:10:36 -08:00
Sebastian McKenzie
e89699f07c remove checked in polyfill... 2015-11-12 14:10:30 -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
18e419db50 ignore duplicate publish errors 2015-11-12 13:40:10 -08:00
Sebastian McKenzie
c4c66687ea v6.1.16 2015-11-12 13:33:20 -08:00
Sebastian McKenzie
9be985c712 add retries 2015-11-12 13:33:02 -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
5c22a23754 perform package publish in series rather than parallel 2015-11-12 12:00:59 -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
f91cfa68b9 ignore callee supers when doing spread compilation - fixes #2775 2015-11-12 01:59:07 -08:00
Sebastian McKenzie
69fb1854d7 add error for decorators not being implemented yet 2015-11-12 01:49:01 -08:00