Sebastian McKenzie
|
3b7cfc908e
|
use globals module instead of maintaining our own list
|
2015-01-30 17:17:42 +11:00 |
|
Sebastian McKenzie
|
bf393c025f
|
properly transform XJSIdentifier nodes referencing this into a ThisExpression - facebook/react#2927
|
2015-01-30 11:00:37 +11:00 |
|
Sebastian McKenzie
|
bbbc9c0c5e
|
remove redundant enumerable: true property on class methods
|
2015-01-30 10:44:33 +11:00 |
|
Sebastian McKenzie
|
31df576d26
|
make class methods nonenumerable - fixes #639
|
2015-01-30 10:05:17 +11:00 |
|
Sebastian McKenzie
|
00b22b1231
|
don't ignore dynamic import specifiers - fixes #633
|
2015-01-30 00:13:37 +11:00 |
|
Sebastian McKenzie
|
2e589904c7
|
comment out detection file
|
2015-01-30 00:05:38 +11:00 |
|
Sebastian McKenzie
|
fbdea41399
|
comment out strictMode option until acorn-6to5 works properly
|
2015-01-30 00:02:25 +11:00 |
|
Sebastian McKenzie
|
3940149517
|
add whitespace to functions in logical expressions
|
2015-01-29 22:50:17 +11:00 |
|
Sebastian McKenzie
|
36acfd16ea
|
better line break delimeter - thanks @RReverser!
|
2015-01-29 22:23:43 +11:00 |
|
Sebastian McKenzie
|
dda372f93e
|
use either Object.assign or the extends helper
|
2015-01-29 21:07:51 +11:00 |
|
Sebastian McKenzie
|
62bc815f81
|
only set strictMode to true when the useStrict transformer is enabled
|
2015-01-29 21:07:34 +11:00 |
|
Sebastian McKenzie
|
4e68f94023
|
start adding detection base
|
2015-01-29 21:03:16 +11:00 |
|
Sebastian McKenzie
|
2687b435e0
|
Merge pull request #629 from stefanpenner/lodash-cleanup
cleanup: require explicit lodash modules needed
|
2015-01-29 16:04:47 +11:00 |
|
Stefan Penner
|
9ddf411f2c
|
cleanup: require explicit lodash modules needed
|
2015-01-28 23:52:17 -05:00 |
|
Sebastian McKenzie
|
b5e1221c54
|
uUse debug/node instead of debug to avoid browserify using the browser version that references window - fixes #628
|
2015-01-29 15:11:33 +11:00 |
|
Sebastian McKenzie
|
03942da57a
|
add in support for AwaitExpression "delegation"
|
2015-01-29 15:11:17 +11:00 |
|
Sebastian McKenzie
|
30259f3a99
|
don't use a generator iterator function as this in the asyncToGenerator helper - fixes #625
|
2015-01-29 11:53:30 +11:00 |
|
Sebastian McKenzie
|
7f7ee41315
|
fix modules loose mode using modules instead of es6.modules
|
2015-01-29 10:42:03 +11:00 |
|
Sebastian McKenzie
|
973be9ad96
|
add noScope option to traverse.clearProperties - fixes #624
|
2015-01-29 10:13:29 +11:00 |
|
Sebastian McKenzie
|
642e36c259
|
remove old es6.destructuring position comment - thanks @appden!
|
2015-01-29 09:04:01 +11:00 |
|
Sebastian McKenzie
|
efaf56c6de
|
add debug messages
|
2015-01-29 09:03:30 +11:00 |
|
Sebastian McKenzie
|
e264ac03b3
|
put destructuring transformer back
|
2015-01-29 07:40:50 +11:00 |
|
Sebastian McKenzie
|
960a70287d
|
add improved for-of loose behaviour that supports destructuring - fixes #615
|
2015-01-29 00:50:22 +11:00 |
|
Sebastian McKenzie
|
c25c33e3ee
|
remove unnecessary ensureBlock in es6 rest parameters transformer
|
2015-01-29 00:06:42 +11:00 |
|
Sebastian McKenzie
|
e50a7406ad
|
move destructuring transformer to before regenerator
|
2015-01-28 23:41:51 +11:00 |
|
Sebastian McKenzie
|
962eeed252
|
clean up t.getIds
|
2015-01-28 23:41:42 +11:00 |
|
Sebastian McKenzie
|
2d8944fbd5
|
fix RestElement ast-types definition
|
2015-01-28 23:41:31 +11:00 |
|
Sebastian McKenzie
|
3d98364adb
|
in types.getIds make sure the declaration inside of ExportDeclaration is actually a Declaration, clean up types.isReferenced - fixes #614
|
2015-01-28 23:12:53 +11:00 |
|
Sebastian McKenzie
|
3affa543ef
|
add yes/no comments to describe what we're actually testing for in types.isReferenced
|
2015-01-28 20:21:25 +11:00 |
|
Sebastian McKenzie
|
2a47afebde
|
more accurate types.isReferenced comment
|
2015-01-28 20:09:37 +11:00 |
|
Sebastian McKenzie
|
968db67d0a
|
add in pattern support to t.isReferenced
|
2015-01-28 20:06:49 +11:00 |
|
Sebastian McKenzie
|
b22ef22e36
|
add missing semicolon
|
2015-01-28 20:03:29 +11:00 |
|
Sebastian McKenzie
|
69f2a0d3f1
|
better t.toIdentifier behaviour that doesn't camelcase on underscores - fixes #610
|
2015-01-28 20:01:55 +11:00 |
|
Sebastian McKenzie
|
4b66dcb738
|
more reliable t.isReferenced - fixes #610
|
2015-01-28 19:58:20 +11:00 |
|
Sebastian McKenzie
|
dfc6f1d1cf
|
add comment explaining what the modules-split transformer does
|
2015-01-28 18:40:33 +11:00 |
|
Sebastian McKenzie
|
bc6b31efbc
|
split up function declarations from their exports - fixes #609
|
2015-01-28 18:34:43 +11:00 |
|
Sebastian McKenzie
|
4ff66a5cfc
|
add id to a function expression scope
|
2015-01-28 18:14:52 +11:00 |
|
Sebastian McKenzie
|
5477a990bc
|
construct null object for types.getIds
|
2015-01-28 18:09:38 +11:00 |
|
Sebastian McKenzie
|
77361582f4
|
don't stop block scoped variable traversal on any scope, just skip it and fix block statement for parent delegation - fixes #605
|
2015-01-28 17:48:37 +11:00 |
|
Sebastian McKenzie
|
d10d96d19a
|
fix unused iife declaration
|
2015-01-28 15:19:50 +11:00 |
|
Sebastian McKenzie
|
64766eea44
|
add more reliable iife detection for default parameter independent scope
|
2015-01-28 15:18:50 +11:00 |
|
Sebastian McKenzie
|
836bc3a9a4
|
only check for duplicates for let variables
|
2015-01-28 14:47:09 +11:00 |
|
Sebastian McKenzie
|
117203010a
|
don't stop block variable scope finding on first hit
|
2015-01-28 14:39:46 +11:00 |
|
Sebastian McKenzie
|
a955af06e0
|
remove opts from transform output
|
2015-01-28 14:14:55 +11:00 |
|
Sebastian McKenzie
|
8f69e59f29
|
ignore underscored options - fixes #29
|
2015-01-28 14:14:33 +11:00 |
|
Sebastian McKenzie
|
614ce4de0a
|
add common plugin options to validOptions just to be safe
|
2015-01-28 13:48:45 +11:00 |
|
Sebastian McKenzie
|
dd56d53556
|
fix linting errors
|
2015-01-28 13:06:21 +11:00 |
|
Sebastian McKenzie
|
2b85045b61
|
split up class expressions in export default
|
2015-01-28 12:58:05 +11:00 |
|
Sebastian McKenzie
|
a1e11aba61
|
make explode assignable expression helper aware of declared variables so we can simplify code a lot and drop the variable declaration as evaluating it multiple times has no consequence
|
2015-01-28 11:50:14 +11:00 |
|
Sebastian McKenzie
|
4a94ef3aa6
|
add syntax highlighting to syntax error code frames
|
2015-01-28 11:02:54 +11:00 |
|