826 Commits (be76a1ff7acab007c88a1aebc4094cb574e9f71a)

Author SHA1 Message Date
Rich-Harris 5210386bd2 handle top-level blocks – fixes #326 9 years ago
Rich-Harris c11dcb513f lint 9 years ago
Oskar Segersvärd e8da5e40de Move declaration assignment before the if statement 9 years ago
Rich-Harris 79730115c9 tidy up 9 years ago
Rich-Harris 5beac6d85e remove aggressive mode 9 years ago
Rich-Harris 2ded15a0d8 unify APIs 9 years ago
Rich-Harris c33b3d2437 attach statements to all declarations 9 years ago
Rich-Harris 76502ea677 make aggressive mode a bit less aggressive 9 years ago
Bogdan Chadkin 334165ceda Promise reject instead of throwing Error 9 years ago
Oskar Segersvärd bc0b6c514a Add error message when reexporting missing identifier 9 years ago
Oskar Segersvärd 262334d70d Check isUsed to prevent potentially infinite recursion 9 years ago
Oskar Segersvärd c7843808a6 More eslint 9 years ago
Rich Harris dc564da15a alternative fix for #270 9 years ago
Mike Bostock f2333fd42b Include all declared variables. 9 years ago
Mike Bostock 8c3f09dd37 Don’t assume re-exported bindings are globals. 9 years ago
Rich Harris 9c8f12d49c remove identifier comparison checks 9 years ago
Rich-Harris 98e890986f DRY out code, handle strict vs non-strict 9 years ago
Rich-Harris 4580b4bf54 handle NaN 9 years ago
Rich-Harris 939a94b1c3 import Promise to src/rollup.js – fixes #254 9 years ago
Rich-Harris cabc4ee097 support async transformers (closes #260) 9 years ago
Rich-Harris 39e75fe856 add a load more pure functions 9 years ago
Rich-Harris 7b57720d13 simplify consolidateDependencies 9 years ago
Rich-Harris 80ae9fa7a9 remove unnecessary reference.isImmediatelyUsed 9 years ago
Rich-Harris b7dbe46dfe add some comments, rename some things 9 years ago
Rich-Harris dfcfb92929 dont undo hasSideEffects 9 years ago
Rich-Harris df9e67eec9 use of arguments is assumed to create side-effects 9 years ago
Rich-Harris f1ad31c8ba err on side of caution with late definitions 9 years ago
Rich-Harris 809acd29ab include top-level throw statement inside block 9 years ago
Rich-Harris 6c876bb110 include reassignments that are ignored on initial pass 9 years ago
Rich-Harris 18819ac61f memoize Declaration.testForSideEffects, prevent infinite loops 9 years ago
Rich-Harris 0ffe08b1ff skip throw statements inside functions when checking for side-effects 9 years ago
Rich-Harris 2dea1ef0e5 add aggressive mode 9 years ago
Rich-Harris 257403072a include called functions that mutate their inputs 9 years ago
Rich-Harris c44cf0d0e6 exclude constructors that are known to be pure 9 years ago
Rich-Harris dec7c8482a remove unused code 9 years ago
Rich-Harris fd0cbb7e76 account for local scopes when checking for pure global functions 9 years ago
Rich-Harris d997bf16a7 tidy up 9 years ago
Rich-Harris 1dc3669b52 ignore changes local to a function when determining global side-effects 9 years ago
Rich-Harris 1ffd5bfae7 use correct scope for testing declarations 9 years ago
Rich-Harris 5024584f2d add all variable declarators (not split below top level) 9 years ago
Rich-Harris 38374f1f93 tidy up 9 years ago
Rich-Harris baed9a0209 the tests all pass! but the code is a mess 9 years ago
Rich-Harris e3e5846dc5 tidy up 9 years ago
Rich-Harris d3979bd690 better side-effect detection 9 years ago
Rich-Harris e0b690ad0f first (failing) stab at better side-effect detection 9 years ago
Rich-Harris 2ccb1b809d handle filenames with .foo, where foo is not an extension 9 years ago
Rich-Harris b16921646d exclude dead branches 9 years ago
Rich-Harris 13d5c3ceec warn on eval 9 years ago
Rich-Harris 4300414206 support banner and footer options in plugins 9 years ago
Rich-Harris e94de0e8f1 treat missing namespace exports as warning, not error 9 years ago