Sebastian McKenzie
ee466e90ca
v3.3.9
v3.3.9
2015-02-04 10:13:10 +11:00
Sebastian McKenzie
911e3939b9
remove class-super-constructor-call-check helper
2015-02-04 10:08:55 +11:00
Sebastian McKenzie
ca6f8e9a96
v3.3.8
v3.3.8
2015-02-04 10:07:50 +11:00
Sebastian McKenzie
55f2cffc22
fix linting errors
2015-02-04 10:05:20 +11:00
Sebastian McKenzie
ca482b79ad
add 3.3.8 changelog
2015-02-04 10:04:03 +11:00
Sebastian McKenzie
b1f0ecf244
update class super constructor inheritance tests
2015-02-04 10:03:57 +11:00
Sebastian McKenzie
36fa174901
change instance reference to this in class super constructor call template - fixes #689
2015-02-04 10:03:15 +11:00
Sebastian McKenzie
e8dc4628ae
better handle spaces in IfStatement generator
2015-02-04 08:40:23 +11:00
Sebastian McKenzie
7a0dbb0203
fix node removal
2015-02-04 08:39:54 +11:00
Sebastian McKenzie
8d81a382f7
inline back the super constructor call helper - fixes #684
2015-02-04 08:39:45 +11:00
Sebastian McKenzie
86fbba08d8
add concise format option
2015-02-04 08:39:17 +11:00
Sebastian McKenzie
23c6e7e168
fix incorrect getThisReference bind - fixes #688
2015-02-04 08:26:18 +11:00
Sebastian McKenzie
c35f041091
simplify to.isFalsyExpression method
2015-02-04 08:25:40 +11:00
Sebastian McKenzie
618c6a8e67
add isLiteral to inferType
2015-02-04 08:25:15 +11:00
Sebastian McKenzie
23429f7b7f
remove blank optimization
2015-02-04 08:25:00 +11:00
Sebastian McKenzie
d6052b483a
add 6to5-minify to package.json
2015-02-04 08:24:53 +11:00
Sebastian McKenzie
3b3255a964
delegate removal of nodes in traversal to exitNode
2015-02-04 08:24:38 +11:00
Sebastian McKenzie
49847e70af
add some minification transformers
2015-02-04 08:23:58 +11:00
Sebastian McKenzie
c228d76e44
add 6to5-minify
2015-02-04 08:23:49 +11:00
Sebastian McKenzie
6da6bc3eb8
remove callExpression type inferrence
2015-02-03 22:32:00 +11:00
Sebastian McKenzie
bbcfc3c9f2
3.3.7
2015-02-03 22:29:09 +11:00
Sebastian McKenzie
12b1de7c9d
v3.3.7
v3.3.7
2015-02-03 22:27:37 +11:00
Sebastian McKenzie
721636f475
add 3.3.7 changelog
2015-02-03 22:25:33 +11:00
Sebastian McKenzie
4c94941ceb
force .js extension when writing files to directories with 6to5
2015-02-03 22:25:27 +11:00
Sebastian McKenzie
f06535e915
rename Scope.init to Scope.crawl
2015-02-03 22:22:36 +11:00
Sebastian McKenzie
389914c427
add use-strict to valid node flags - fixes #667
2015-02-03 22:21:55 +11:00
Sebastian McKenzie
c7f5715d8e
fix boolean stripping from 6to5-node - fixes #679
2015-02-03 22:21:09 +11:00
Sebastian McKenzie
29f866525e
clean up scope tracking and add some simple flow type tracking and inferrence #653
2015-02-03 21:06:21 +11:00
Sebastian McKenzie
de61455a55
3.3.5
2015-02-03 21:05:36 +11:00
Sebastian McKenzie
fd579a8772
v3.3.5
v3.3.5
2015-02-03 20:13:43 +11:00
Sebastian McKenzie
8e708906a8
fix linting errors
2015-02-03 20:11:38 +11:00
Sebastian McKenzie
b7680059c8
add 3.3.5 changelog
2015-02-03 20:09:45 +11:00
Sebastian McKenzie
239369314c
more scope refactoring - fixes #676
2015-02-03 20:06:27 +11:00
Sebastian McKenzie
f2d1fc47d1
Merge branch 'master' of github.com:6to5/6to5
2015-02-03 19:55:29 +11:00
Sebastian McKenzie
aab35736c5
Merge pull request #677 from jayphelps/merica
...
First pass at converting identifiers/words from en-au -> en-us
2015-02-03 19:37:33 +11:00
Sebastian McKenzie
a9405e5e80
clean up scope API
2015-02-03 19:33:32 +11:00
Jay Phelps
9880990fa7
First pass at converting identifiers/words from en-au -> en-us
2015-02-03 00:08:43 -08:00
Sebastian McKenzie
6674611b26
Merge pull request #674 from johlrich/patch-1
...
Change getModuleName regex to only remove extenion
2015-02-03 17:54:04 +11:00
Jonathan
e92ec6aba7
Change getModuleName regex to only remove extenion
...
Given a names like: "some.module.js" and "some.other.module.js" the current regex in DefaultFormatter.prototype.getModuleName will overmatch and only return "some" as the module name in both cases.
Changing the . character class to \w will make sure it does not pick up additional sections and returns "some.module" and "some.other.module" for the names
2015-02-03 01:52:24 -05:00
Sebastian McKenzie
1801b725bd
remove stupid jscs rules (they don't take into account reserved words ugh) and let jshint handle them
2015-02-03 15:35:44 +11:00
Sebastian McKenzie
72de8f5c9b
fix class tests to reflect new call behaviour
2015-02-03 15:35:24 +11:00
Sebastian McKenzie
895d965568
fix linting errors
2015-02-03 15:17:33 +11:00
Sebastian McKenzie
3a11c7d46b
as per "ES6 February 2, 2015 Draft Rev 32" "Constructors defined using class definition syntax throw when called as functions"
2015-02-03 15:16:16 +11:00
Sebastian McKenzie
92d9b3ff5f
make it illegal to export a __esModule property - #673
2015-02-03 14:41:11 +11:00
Sebastian McKenzie
630f1717f0
clean up scope collision tracking and constants transformer - fixes #331
2015-02-03 13:20:52 +11:00
Sebastian McKenzie
e6e93840a6
check for scope collisions in constants transformer - fixes #331
2015-02-03 12:03:38 +11:00
Sebastian McKenzie
b2ad79cf88
rename t.getDeclarations to the WAY more reflective t.getBindingIdentifiers
2015-02-03 12:03:21 +11:00
Sebastian McKenzie
706797eb47
rename LetScoping to BlockScoping
2015-02-03 10:23:56 +11:00
Sebastian McKenzie
4163d1372a
fix istanbul interop - closes #660
2015-02-03 10:23:47 +11:00
Sebastian McKenzie
4413da8d6e
fix up whitespace on non empty last line JSX literals - fixes #668
2015-02-03 09:31:30 +11:00