swc/crates/swc_ecma_minifier/tests/fixture/issues
Austaras 1e44e57a09
fix(es/renamer): Correctly check top level (#8456)
**Related issue:**

 - Closes #8451.
 - Closes #8185.
2023-12-28 23:56:38 +00:00
..
2011 fix(es/minifier): Abort seq inliner if a same var is defined in outer scope (#7772) 2023-08-09 20:01:59 +00:00
2028 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2044 refactor(es/minifier): Respect toplevel and module options (#7671) 2023-07-20 11:35:08 +09:00
2072/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2078/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2214/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2257/full feat(es/minifier): Swap bin expr to save paren (#8277) 2023-11-14 16:45:24 +00:00
2262/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2319/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2558 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2605/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2614/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2679 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2779 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2807/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2923/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
2926/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
3126/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
3173/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
3256 fix(es/minifier): Mark all function params as potential property mutation (#7409) 2023-05-18 01:19:17 +00:00
3629/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
3709 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
3710 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
4234 fix(es/minifier): Bailout regex optimization on invalid flags (#7020) 2023-03-07 11:05:04 +09:00
4249 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
4386 fix(es/minifier): Make AST compressor respect toplevel (#6775) 2023-01-11 07:04:20 +00:00
4412 fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488) 2023-06-07 05:08:35 +00:00
4515 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
4841/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
4845 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
5280 feat(es/minifier): Merge assignments using sequential inliner (#6103) 2022-10-12 05:31:40 +00:00
5306/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
5343 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
5588 fix(es/minifier): Preserve classes with side effects in static fields (#6480) 2022-11-24 09:43:00 +00:00
5680 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
5682 fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
5684 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
5693 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
5846 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
5864 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
5865 fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
5910/1 fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
5955 feat(es/minifier): Improve fn-local analysis for better inlining (#5955) 2022-09-29 14:16:28 +09:00
6049/1 fix(es/minifier): Don't skip unresolved identifiers (#6050) 2022-10-05 11:44:51 +00:00
6141 fix(es/minifier): Preserve return values of recursive IIFE (#6142) 2022-10-14 09:32:56 +09:00
6146 fix(es/minifier): Preserve this of tagged template literals (#6165) 2022-10-15 09:11:20 +00:00
6175/1 fix(es/minifier): Preserve this in more cases (#6226) 2022-10-21 09:07:00 +00:00
6192 feat(es/minifier): Drop unused import bindings (#6967) 2023-02-21 06:22:25 +00:00
6279 fix(es/minifier): Don't inline regex for IIFEs (#6283) 2022-10-29 00:02:32 +00:00
6344 fix(es/minifier): Change the default of mangle.toplevel to false (#6439) 2022-11-15 02:28:38 +00:00
6407/1 fix(es/minifier): Preserve op of the op-assignments in seq inliner (#6428) 2022-11-15 00:22:06 +00:00
6422 fix(es/minifier): Mark all function params as potential property mutation (#7409) 2023-05-18 01:19:17 +00:00
6463 fix(es/minifier): Abort inliner on fn declarations used multiple time (#6473) 2022-11-18 07:53:13 +00:00
6492 fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
6508 test(es/minifier): Add tests for preserving top-level directives (#6545) 2022-11-30 05:46:48 +00:00
6509 refactor(es/minifier): Respect toplevel and module options (#7671) 2023-07-20 11:35:08 +09:00
6628 fix(es/renamer): Correctly check top level (#8456) 2023-12-28 23:56:38 +00:00
6636 fix(es/minifier): Abort sequential inliner on optional chaining (#6637) 2022-12-14 04:45:47 +00:00
6730 feat(es/minifier): Improve compatibility of arrows with terser (#6862) 2023-01-27 14:36:12 +09:00
6751/1 fix(es/minifier): Don't inline conditionally initialized vars (#6751) 2023-01-11 06:01:56 +00:00
6791/1 fix(es/transform): Apply hygiene and resolver if minify is specified (#6793) 2023-01-12 07:29:28 +00:00
6837 refactor(es/minifier): Respect toplevel and module options (#7671) 2023-07-20 11:35:08 +09:00
6864 fix(es/minifier): Track reassign in parent scope (#6865) 2023-01-28 17:19:19 +00:00
6957 feat(es/minifier): Evaluate more toFixed expressions (#8109) 2023-10-13 15:07:00 +09:00
7004 fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
7009 fix(es/minifier): Don't create invalid property names (#7010) 2023-03-04 17:58:49 +09:00
7045 fix(es/minifier): Preserve delete of unresolved variables (#7072) 2023-03-15 02:31:08 +00:00
7111 fix(es/ast): Fix EqIgnoreSpan impl of Number (#7112) 2023-03-21 08:46:22 +00:00
7194/1 fix(es/minifier): Don't remove used var decl (#7200) 2023-04-05 04:35:37 +00:00
7228/1 fix(es/minifier): Don't inline properties if the var is not fn-local (#7839) 2023-08-22 11:04:15 +09:00
7241 fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
7287/1 fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
7331 fix(es/minifier): Fix remapping of vars upon inlining (#7362) 2023-05-10 03:31:15 +00:00
7402 fix(es/minifier): Mark all function params as potential property mutation (#7409) 2023-05-18 01:19:17 +00:00
7412 fix(es/minifier): Prevent inlining vars assigned outside current function scope (#7414) 2023-05-19 13:35:50 +09:00
7457/1 fix(es/minifier): Don't generate generator arrows (#7466) 2023-05-31 01:57:13 +00:00
7472/1 feat(es/minifier): Drop unused properties (#7534) 2023-07-04 05:11:33 +00:00
7500 fix(es/minifier): Infect mutation when assigning a property (#7503) 2023-06-08 04:13:42 +00:00
7568 fix(es/minifier): Don't drop assignments to unused top-level variables (#7581) 2023-06-27 15:24:06 +00:00
7575/1 feat(es/minifier): Inline constants even if they are exported (#7583) 2023-06-27 02:14:09 +00:00
7591 fix(es/minifier): Add usage to inlined ident eagerly (#7597) 2023-07-04 06:23:49 +00:00
7634 fix(es/minifier): Handle synthesized export default expression (#7707) 2023-07-31 04:10:18 +00:00
7641/1 feat(es/minifier): Drop recursively used var declaration (#7649) 2023-07-15 05:54:34 +09:00
7678 fix(es/codegen): Don't strip necessary escape characters (#7687) 2023-08-07 22:17:59 +00:00
7683 fix(es/resolver): Correctly resolve global value (#7893) 2023-08-31 05:54:18 +00:00
7697/1 fix(es/minifier): Abort seq inliner using visitor (#7699) 2023-07-25 03:30:33 +00:00
7714/1 fix(es/utils): Fix string evaluation of array literals (#7731) 2023-07-31 03:31:37 +00:00
7739/1 fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
7742/1 fix(es/minifier): Abort on Array.slice with start >= end (#7745) 2023-08-07 20:36:15 +00:00
7749 fix(es/minifier): Abort seq inliner if a same var is defined in outer scope (#7772) 2023-08-09 20:01:59 +00:00
7754 feat(es/minifier): Support mangle.eval (#7777) 2023-08-09 20:42:12 +00:00
7770 fix(es/minifier): Preserve cooked while compressing template literals (#7773) 2023-08-17 04:35:07 +00:00
7783/1 fix(es/minifier): Do not drop properties used via this (#7785) 2023-08-10 02:48:35 +00:00
7784 fix(es/minifier): Abort seq inliner if var is not fn_local or reassigned (#7804) 2023-08-17 05:15:59 +00:00
7821 fix(es/minifier): Preserve more analysis data upon inlining (#7823) 2023-08-17 18:09:02 +00:00
7839/1 fix(es/minifier): Don't inline properties if the var is not fn-local (#7839) 2023-08-22 11:04:15 +09:00
7847 fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
7969 fix(es/minifier): Do not inline into a template literal with sequential inliner (#7971) 2023-09-20 06:57:03 +00:00
7984 fix(es/minifier): Check if object shorthand is skippable for seq inliner (#8036) 2023-09-30 11:40:46 +00:00
8119 fix(es/minifier): Abort seq inliner if b can short-circuit (#8128) 2023-10-18 03:44:36 +00:00
8136 feat(es/minifier): Drop empty static blocks (#8152) 2023-10-19 21:06:12 +00:00
8161 fix(es/minifier): Always consider reassigned when inlining (#8168) 2023-10-23 21:23:29 +00:00
8173 fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
8228 fix(es/minifier): Use cooked while converting tpls into strings (#8248) 2023-11-09 11:59:42 +00:00
8271 fix(es/minifier): Keep class with a static block (#8283) 2023-11-15 00:59:14 +09:00
8284 fix(es/minifier): Make Finalizer inline literals (#8285) 2023-11-15 01:07:37 +00:00
8324 fix(es/minifier): Fix if_return bug related to await and yield (#8328) 2023-11-23 00:54:57 +00:00
8337 fix(es/minifier): Give up terminate merge if in try with finally (#8342) 2023-11-25 02:43:18 +00:00
8398 fix(es/fixer): Preserve parenthesis for optional chaining (#8399) 2023-12-11 03:05:58 +00:00
buble/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
d3-color/1 feat(es/minifier): Swap bin expr to save paren (#8277) 2023-11-14 16:45:24 +00:00
d3-time-format fix(es/minifier): Abort seq inliner if var is not fn_local or reassigned (#7804) 2023-08-17 05:15:59 +00:00
emotion/react fix(es/minifier): Apply new SyntaxContext to inlined Arrow correctly (#8312) 2023-11-20 00:11:38 +09:00
export/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
firebase test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
firebase-core/1 fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
firebase-firestore/1 fix(es/minifier): Apply new SyntaxContext to inlined Arrow correctly (#8312) 2023-11-20 00:11:38 +09:00
issue-2604/1 build(cargo): Update rustc to nightly-2023-11-04 (#8221) 2023-11-04 21:47:10 +00:00
lit_comparisons test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
moment/1 feat(es/minifier): Swap bin expr to save paren (#8277) 2023-11-14 16:45:24 +00:00
murmur2/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
quagga2/1.4.2/1 feat(es/codegen): Respect ascii_only: false for StrLit (#8217) 2023-11-04 04:15:58 +00:00
react fix(es/minifier): Abort seq inliner if var is not fn_local or reassigned (#7804) 2023-08-17 05:15:59 +00:00
react-autosuggest fix(es/minifier): Mark all function params as potential property mutation (#7409) 2023-05-18 01:19:17 +00:00
react-autowhatever fix(es/minifier): Handle synthesized export default expression (#7707) 2023-07-31 04:10:18 +00:00
react-countup fix(es/minifier): Abort seq inliner if var is not fn_local or reassigned (#7804) 2023-08-17 05:15:59 +00:00
react-instancesearch fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
regexp/1 test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
stylis test(es/minifier): Remove mangle-only snapshots (#5979) 2022-09-28 21:35:52 +09:00
typescript/1 refactor(es/minifier): Respect top-level when invoking IIFE (#7690) 2023-07-25 02:53:55 +00:00
vercel fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
.gitignore refactor(es/minifier): Make rust-analyzer fast, really (#4746) 2022-05-23 16:16:05 +09:00
config.json refactor(es/minifier): Make rust-analyzer fast, really (#4746) 2022-05-23 16:16:05 +09:00