82 Commits (gh-335)

Author SHA1 Message Date
Oskar Segersvärd cd9a0b48a5 Add failing test cases for #339 9 years ago
Rich-Harris d35ffb1565 skip tests on windows, as applicable. closes #279 9 years ago
Rich-Harris 5beac6d85e remove aggressive mode 9 years ago
Rich-Harris 3db1236024 additional side effect test 9 years ago
Rich-Harris 4b8046ab6e update test 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 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 d17dbbdd09 update test 9 years ago
Rich-Harris c44cf0d0e6 exclude constructors that are known to be pure 9 years ago
Rich-Harris fd0cbb7e76 account for local scopes when checking for pure global functions 9 years ago
Rich-Harris 37f79e2836 add test 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 4300414206 support banner and footer options in plugins 9 years ago
Rich-Harris a3a2b2b1e6 update tests 9 years ago
Rich-Harris 04af65bc79 test for intro/outro 9 years ago
Rich-Harris 2d54c12e9c split up export var a, b, c - fixes #171 9 years ago
Rich-Harris 657ddea8c6 update expected test output 9 years ago
Rich-Harris e006d07a0b consistent naming scbeme 9 years ago
Rich Harris f925103863 only exclude strings with newlines, and crop out enclosing quotes - fixes #166 9 years ago
Rich Harris 9a8f331a8b include members of namespaces that are exported as defaults 9 years ago
Rich Harris dded04d414 prevent superfluous semi-colons causing whitespace to collapse after functions declarations 9 years ago
Rich-Harris e5120f3928 failing test for #164 9 years ago
Rich-Harris 3e6fe19a39 brute force merge rewrite -> rewrite-master 9 years ago
Oskar Segersvärd 18ba8f09ac Don't include 'default' export from 'export * from ...' 9 years ago
Rich-Harris 7fb0891b08 Revert "guard against undefined `this` in post-processed UMD bundle - fixes #109" 9 years ago
Rich-Harris 250678dcf8 guard against undefined `this` in post-processed UMD bundle - fixes #109 9 years ago
Rich-Harris 8cec1efb93 mark side-effects later, to avoid late declarations breaking stuff 9 years ago
Rich-Harris 14887c60fc add tests for some.global = "changed" 9 years ago
Rich-Harris 965fa5d008 test default exports are re-exported from internal module with export * 9 years ago
Oskar Segersvärd 886e6f7edc Added tests 9 years ago
Oskar Segersvärd 5b0203a8e7 Moved namespace-optimizations fo test/form 9 years ago
Oskar Segersvärd 6f44df5bbe Swapped names 9 years ago
Oskar Segersvärd 70c344c448 Fixed external-imports. Made cjs use getInteropBlock. 10 years ago
Rich Harris 61a96bcf98 update tests 9 years ago
Rich Harris 71d9d4fa0e only rewrite exported vars as exports.foo if necessary 10 years ago
Rich Harris e35df59450 failing test for #92 10 years ago
Rich Harris 8a7a91c643 make test passable 10 years ago
Rich-Harris 13521adec8 fix es6 export 10 years ago
Rich-Harris 680a8e5cb1 add test for #esperanto/187 10 years ago
Rich-Harris 36be9196f5 test for #77 10 years ago
Rich-Harris 962431075a simplify deconflicting logic 10 years ago
Rich-Harris 8cb61a9a2f prevent `var undefined = sideEffectyDefault(foo)` 10 years ago
Rich-Harris 9164f80487 remove pre-existing sourcemap comments 10 years ago
Rich-Harris 41cd743ae6 support banner/footer option 10 years ago
Rich-Harris 688d66698a more robust interop 10 years ago