731 Commits (5360abdb3179695fbb8426e7e6cb8ca32d11cc75)

Author SHA1 Message Date
Rich-Harris 5360abdb31 implement bundle.warn and module.warn, to replace direct calls to bundle.onwarn (#1194) 8 years ago
Rich-Harris c36f965e7d warn about using node built-ins in browser bundle (#1051) 8 years ago
Rich-Harris 47d3daf9a5 statically analyse LogicalExpression nodes (#1061) 8 years ago
Rich-Harris 028e425b91 more informative warning for implicit external dependencies 8 years ago
Rich-Harris d08a8050a7 prevent irrelevant warning in test 8 years ago
Rich-Harris aefbed648c warn if exporting an IIFE that looks like a function declaration, and wrap in parens if necessary (#1011) 8 years ago
Rich-Harris d249c7eb34 preserve var declarations in dead branches 8 years ago
Rich-Harris 2eebe3dcc9 deconflict function expression IDs (#1176) 8 years ago
kzc 2744947b03 drop unused function and class declarations within functions (#1108, #1178) 8 years ago
Rich-Harris b624d674a9 remove, and warn about, unused imports from external modules (#595) 8 years ago
Rich-Harris 58f9f26bb2 support async functions (#492) 8 years ago
Rich-Harris 5f8205e8be warn on empty bundle (#444), and remove some tests that are no longer testing anything 8 years ago
Rich-Harris a502f30365 add back @btd fix for #1104 8 years ago
Denis Bardadym 47e712d2f5 Failling test for #1104 8 years ago
Rich-Harris 88195198f8 add test to guard against #984 regression 8 years ago
Rich-Harris 553abd9873 bind function expression ids to the child scope (#1083) 8 years ago
Rich-Harris 1c354babeb deshadow destructured parameters with assignments (#1078) 8 years ago
Rich-Harris e05bf77efc fix behaviour of export { foo as default } (#1078) 8 years ago
Rich-Harris 1ca90bd374 prevent false positives for sourcemapping url comments with newlines (#988) 8 years ago
Rich-Harris 119734af79 include blocks containing activated var declarations (fixes #1113) 8 years ago
Pauan 0afa3ed2e8 Removes `new Foo(...)` when Foo is a pure function 8 years ago
Rich-Harris ccc7ad7352 only remove valid sourcemapping URL comments (fixes #1132) 8 years ago
Rich-Harris 490d428180 skip symlink test on windows 8 years ago
Rich-Harris 38750c41ec support plugin outros 8 years ago
Daniel Tschinder 583b13d757
Improves tree-shaking by only considering program-level 8 years ago
Chris Thielen bb546d342d Add test for bizzare moduleName 8 years ago
Chris Thielen f43fd99554 Access global.* using array notation 8 years ago
Rich Harris 2d32cddabf implement gatherPossibleValues on ExternalDeclaration - fixes #957 8 years ago
Rich Harris 81bf060969 quote reserved properties in legacy mode 8 years ago
Rich Harris 051cd9736c update legacy tests 8 years ago
Oskar Segersvärd 59f815b0d3 Update tests after #1037 8 years ago
Iván Sánchez Ortega ea704835ba Add testing of getter defs in legacy mode. 8 years ago
1111hui d5997f36c3 FIX: test for legacy; remove Object.define for legacy 8 years ago
kzc 0006ea1e1c use buble for test to resolve node 0.12 failure 8 years ago
kzc e20a332c57 fix TypeError in arrow function without braces returning a function (#1032) 8 years ago
chge c6089e7584 Quote names in module definition if legacy option is set 8 years ago
Rich-Harris 54124770cd fix missing namespace member warnings (closes #1045) 8 years ago
Rich-Harris f4489515e4 fix behaviour of export * in relation to defaults - fixes #1028 8 years ago
Rich-Harris a1666103b1 put Object.freeze fallback behind legacy option 8 years ago
Rich-Harris 4eae8da80d use relative ID for more readable message 8 years ago
Rich-Harris 4040022443 tweak message 8 years ago
Rich-Harris 40643bf543 include default exports in ASI 8 years ago
Rich-Harris e8858ef137 update tests 8 years ago
Rich-Harris be952fef12 automatic semicolon insertion (fixes #1004, #1009). fight me 8 years ago
Rich-Harris 559ef0f343 add test of function moduleContext option 8 years ago
Rich-Harris 9751849e7f beef up test 8 years ago
Rich-Harris 78515c3fb1 better error for missing export (#1033) 8 years ago
Nikhil Tilwalli 4fdf3fb9a2 Add support for module-specific context with 'moduleContext' option 8 years ago
Daniel K b164a46363 Include line & column number in warning message 8 years ago
Daniel K 8cb47862a2 Fix warn-on-top-level-this test 8 years ago