5194 Commits

Author SHA1 Message Date
Sebastian McKenzie
314a851adb v5.8.21 2015-08-05 22:22:57 +01:00
Sebastian McKenzie
ef6ecbefaf style nits 2015-08-05 21:45:22 +01:00
Sebastian McKenzie
7e80cac728 remove operator property from AssignmentPattern 2015-08-05 21:45:11 +01:00
Sebastian McKenzie
a1ca4822dc fix handling of flow method shorthand - fixes #2169 2015-08-05 21:42:15 +01:00
Sebastian McKenzie
6fe1909e54 simplify NodePath#inShadow 2015-08-04 13:03:49 +01:00
Sebastian McKenzie
4a17c07668 check if shadow is defined before looking it up - fixes #2152 2015-08-04 13:03:14 +01:00
Sebastian McKenzie
ee2e8d10ce update some es7 transformers to stage 2 2015-08-04 01:31:09 +01:00
Sebastian McKenzie
8596db3bac fix git exec commands in babel-plugin 2015-08-04 01:30:53 +01:00
Sebastian McKenzie
3b3ac1f290 Merge branch 'development' 2015-08-03 02:53:24 +01:00
Sebastian McKenzie
04c2c54700 add exception to non-existent bindings when checking if we need to wrap in a closure 2015-08-03 02:40:43 +01:00
Sebastian McKenzie
cff2fc80e6 Merge pull request #2147 from dariocravero/patch-1
Fix typo on babel-plugin publish: verison x version
2015-08-02 22:38:10 +01:00
Darío Javier Cravero
79d70d85db Fix typo on babel-plugin publish: verison x version 2015-08-02 22:37:47 +01:00
Sebastian McKenzie
89983cead9 make comment retainment for multiple nodes more predictable - fixes #2146 2015-08-02 21:37:12 +01:00
Sebastian McKenzie
dea349c4d4 check valid function/class token when parsing export default before converting to a declaration - fixes #2145 2015-08-02 21:36:52 +01:00
Sebastian McKenzie
b5bd7b1c92 always parse package.json with default json parser, use json5 otherwise 2015-07-31 23:36:50 +01:00
Sebastian McKenzie
855ee71d59 add support for export types 2015-07-31 23:34:45 +01:00
Sebastian McKenzie
8352730ff5 v5.8.20 2015-07-31 21:24:00 +01:00
Sebastian McKenzie
f0dd7f5d64 fix syntax error in scripts/publish 2015-07-31 21:23:21 +01:00
Sebastian McKenzie
3d8c0fe0f8 remove strip-json-comments and switch to json5 2015-07-31 21:21:13 +01:00
Sebastian McKenzie
2a2c67ad26 var -> let 2015-07-31 12:56:10 +01:00
Sebastian McKenzie
e96b635ac0 only register export declarations if they're of a valid type 2015-07-31 12:54:00 +01:00
Sebastian McKenzie
e2d673dafa don't register export declarations as a module binding 2015-07-31 12:49:14 +01:00
Sebastian McKenzie
c4e43bdeea add error name to babel-cli syntax errors 2015-07-31 12:48:52 +01:00
Sebastian McKenzie
2d73acdd54 Merge branch 'master' into development 2015-07-31 12:45:13 +01:00
Sebastian McKenzie
aee240c73e put containsEsc on state rather than as a local variable 2015-07-31 12:44:54 +01:00
Sebastian McKenzie
a8572c7088 Merge pull request #2126 from mmun/fix-2122
Register import bindings to the specifier instead of the declaration - fixes #2122
2015-07-31 12:43:45 +01:00
Sebastian McKenzie
72a5e7429b Merge pull request #2136 from jmm/optimize-block-hoist2
Tighten up block-hoist transformer
2015-07-31 12:04:12 +01:00
Jesse McCarthy
2ab41ec1f7 Break loop as soon as change detected. 2015-07-30 23:49:58 -04:00
Martin Muñoz
75d78623f7 Register import bindings to the specifier instead of the declaration - fixes #2122 2015-07-30 22:28:30 -04:00
Sebastian McKenzie
f5d9427153 only output code frame and message on syntax errors in CLI - fixes #1971 2015-07-31 02:19:06 +01:00
Sebastian McKenzie
547aaac0c0 set decorated initialisers that have no initialiser to undefined 2015-07-31 01:39:18 +01:00
Sebastian McKenzie
23cf77746d optimise common typeof cases in es6.spec.symbols transformer 2015-07-31 01:37:50 +01:00
Sebastian McKenzie
e95e836d5a export * should not export default 2015-07-31 01:29:46 +01:00
Sebastian McKenzie
f0aa8fb6eb add es6.spec.modules transformer - fixes #1716, fixes #1714 2015-07-31 01:18:45 +01:00
Sebastian McKenzie
ea31229d95 Merge remote-tracking branch 'origin/no-new-arrow' into development
Conflicts:
	src/babel/transformation/file/index.js
	src/babel/transformation/transformers/es6/arrow-functions.js
	src/babel/transformation/transformers/index.js
	src/babel/transformation/transformers/internal/shadow-functions.js
	src/babel/traversal/path/ancestry.js
2015-07-31 01:08:30 +01:00
Sebastian McKenzie
36b3d5b3b1 Merge pull request #2065 from iamolivinius/master
update to core-js 1.0.0
2015-07-31 00:02:24 +01:00
Sebastian McKenzie
2845913d58 Merge pull request #2089 from dfabulich/master
Add Unicode BOM to browser.js, fixes issue #340 running from file URL.
2015-07-31 00:01:51 +01:00
Sebastian McKenzie
27f622cb30 add babel-plugin templates to babelignore - fixes #2073 2015-07-30 23:56:34 +01:00
Sebastian McKenzie
f97e201b56 fix linting error and add missing tests 2015-07-30 23:47:59 +01:00
Sebastian McKenzie
c480f6d5ba Merge pull request #2132 from benjamn/patch-3
Update Regenerator dependency to 0.8.35.
2015-07-30 23:44:49 +01:00
Sebastian McKenzie
76111143bb remove dead tests 2015-07-30 23:44:41 +01:00
Sebastian McKenzie
436874dac8 add support for boolean flow literals - fixes #2127 2015-07-30 23:44:36 +01:00
Ben Newman
04857656d6 Update Regenerator dependency to 0.8.35.
I fully expect the CI tests to pass, but it's nice to have that safety layer.
2015-07-30 18:41:01 -04:00
Sebastian McKenzie
ba2d18f025 add acorn license - cc @RReverser 2015-07-30 12:57:23 +01:00
Sebastian McKenzie
723d51e6f5 add rollback support to publish script 2015-07-29 23:27:50 +01:00
Sebastian McKenzie
e4a1e491f6 flip around conditional - i hate this style 2015-07-29 23:25:45 +01:00
Sebastian McKenzie
42459fe894 revert ensureTransformerNames changes - fixes #2119 2015-07-29 23:25:32 +01:00
Sebastian McKenzie
7d53f0be1a switch to class prop initialiser 2015-07-29 23:22:38 +01:00
Sebastian McKenzie
3df5d31cee add comments and remove dead code 2015-07-29 23:22:30 +01:00
Sebastian McKenzie
ed156a8ca5 move default module formatter visitors into separate files 2015-07-29 23:22:21 +01:00