Commit graph

  • 62a2644e07 fix(minifier): handle arrow fn expressions correctly in is_in_boolean_context (#8260) camc314 2025-01-06 02:21:25 +0000
  • 7f19211736 feat(minifier): minimize unary expression statements (#8256) camc314 2025-01-06 02:21:24 +0000
  • b6d16f4d80 fix(codegen): print parenthesis on negative bigint lit when neccessary (#8258) camc314 2025-01-06 02:21:23 +0000
  • 6a97e29c19
    chore(deps): update crate-ci/typos action to v1.29.4 (#8265) renovate[bot] 2025-01-05 22:13:32 +0000
  • cec63e2119
    feat(minifier): {} evals to f64::NaN Boshen 2025-01-05 23:09:57 +0800
  • 4d8a08d2ac feat(minifier): improve constant evaluation (#8252) Boshen 2025-01-05 12:41:57 +0000
  • e84f267a39 feat(minifier): compress more property keys (#8253) Boshen 2025-01-05 07:20:56 +0000
  • d1224f95ce feat(minifier): improve minimizing conditional expressions (#8251) camc314 2025-01-05 04:14:02 +0000
  • 91b42defb5 test(minifier): enable some passing tests (#8250) camc314 2025-01-05 04:14:01 +0000
  • 3c534aeb5a refactor(linter): refactor LintBuilder to prep for nested configs (#8034) camc314 2025-01-05 04:08:26 +0000
  • 65f46f5409
    feat(minifier): constant fold String.fromCharCode (#8248) Boshen 2025-01-04 23:22:32 +0800
  • 0845162372
    refactor(minifier): clean up ReplaceKnownMethods Boshen 2025-01-04 21:56:39 +0800
  • bd8d677352 feat(minifier): minimize ~undefined, ~null, ~true, ~false (#8247) Boshen 2025-01-04 13:34:53 +0000
  • f73dc9ea9b
    feat(minifier): constant fold 'x'.toString() and true.toString() (#8246) Boshen 2025-01-04 21:28:26 +0800
  • fd5af73a22 feat(minifier): minimize Number constructor (#8245) Boshen 2025-01-04 09:56:03 +0000
  • 2f52f333fa feat(minifier): minsize !!!foo ? bar : baz -> foo ? baz : bar (#8244) Boshen 2025-01-04 09:10:22 +0000
  • 7c7f5d7af9
    refactor(minifier): clean up peephole_fold_constants Boshen 2025-01-04 16:55:39 +0800
  • ce2b5a994b chore(minifier): disable RemoveUnusedCode (#8243) Boshen 2025-01-04 08:49:20 +0000
  • d2f8eaa842 fix(minifier): fix panic in peephole_minimize_conditions (#8242) Boshen 2025-01-04 07:56:21 +0000
  • ad9a0a9c4a feat(mininifier): minimize variants of a instanceof b == true (#8241) Boshen 2025-01-04 06:04:52 +0000
  • ccdc039f54 feat(minifier): always put literals on the rhs of equal op 1==x => x==1 (#8240) Boshen 2025-01-04 04:07:54 +0000
  • bf0fbcea6e refactor(minifier): improve constant fold numbers (#8239) Boshen 2025-01-04 03:30:20 +0000
  • 39353b22e9
    feat(minifier): improve minimizing conditionals (#8238) Cameron 2025-01-04 00:36:54 +0000
  • c90fc16bba feat(minifier): restore conditional minification and fix edge case (#8235) camc314 2025-01-03 14:20:42 +0000
  • 6c8ee9fdef feat(minifier): remove last redundant return statement (#8234) Boshen 2025-01-03 12:24:57 +0000
  • a698deff51 fix(minifier): fix incorrect return value for (x ? true : y) (#8233) Boshen 2025-01-03 11:58:28 +0000
  • e00e3804b9
    chore(napi/parser): publish oxc_parser_napi Boshen 2025-01-03 19:43:54 +0800
  • 62f8fba98c refactor(minifier): move all conditional minification logic to minimze_conditions (#8231) camc314 2025-01-03 11:20:56 +0000
  • 51f47926ef feat(minifier): minimize foo ? foo : bar and foo ? bar : foo (#8229) Boshen 2025-01-03 10:55:59 +0000
  • 0e14bd8cab
    chore(napi/parser): publish oxc_parser_napi Boshen 2025-01-03 18:12:27 +0800
  • 6e2ec17d51 feat(minifier): statement fusion switch cases; improved minimize exit poitns (#8228) Boshen 2025-01-03 10:07:04 +0000
  • 574a2428fd feat(minifier): minimize all variants of typeof x == 'undefined' (#8227) Boshen 2025-01-03 07:05:55 +0000
  • 2041477f51 feat(minifier): fold if(x)return;y -> if(!x)y (#8226) Boshen 2025-01-03 05:24:53 +0000
  • 2f9fab9172
    refactor(linter): remove remapping for plugin name in diagnostics (#8223) Alexander S. 2025-01-03 04:40:26 +0100
  • 37d31ecef9
    fix(tasks/lint_rules): sync unicorn rules with eslint rules (#8224) Alexander S. 2025-01-03 04:39:51 +0100
  • 2da4365fbe feat(parser): missing initializer in destructuring declaration inside for loop head (#8222) Boshen 2025-01-02 14:02:48 +0000
  • 9c1afa4729 feat(minifier): optional catch binding when catch param is unused (#8221) Boshen 2025-01-02 13:20:49 +0000
  • 4a29845d82 feat(minifier): add ConvertToDottedProperties (#8212) Boshen 2025-01-02 13:02:22 +0000
  • 2786dea164 feat(minifier): add RemoveUnusedCode (#8210) Boshen 2025-01-02 12:50:21 +0000
  • d2d90b077b
    release(oxlint): v0.15.5 (#8218) oxc-bot 2025-01-02 18:55:31 +0800
  • 2b14a6fb54
    fix(linter): fix ignorePattern config for windows (#8214) Alexander S. 2025-01-02 11:34:02 +0100
  • 0e168b8c19
    feat(linter): catch more cases in const-comparisons (#8215) Cameron 2025-01-02 10:32:47 +0000
  • cd274eeb02
    feat(minifier): minimize logical exprs (#8209) Cameron 2025-01-02 10:32:20 +0000
  • cd349a312d chore(tasks/coverage): do not run minifier in script mode (#8213) Boshen 2025-01-01 14:56:43 +0000
  • 05be1fc639 fix(minifier): remove incorrect fold Expression::AssignmentExpression (#8211) Boshen 2025-01-01 05:44:01 +0000
  • 4ae15df042 feat(minifier): imprve more conditional expr minification with boolean lit (#8208) camc314 2025-01-01 02:31:18 +0000
  • 3202b4fed0 feat(minifier): imprve conditional expr minification with boolean lit (#8207) camc314 2025-01-01 02:31:18 +0000
  • 3b4501183c feat(minifier): handle conditional expr with boolean lit (#8206) camc314 2025-01-01 02:31:17 +0000
  • 4c2059af29 feat(minifier): reverse negated conditional exprs (#8205) camc314 2025-01-01 02:31:17 +0000
  • cb709c9d83
    test(linter): fix some oxlint tests on windows (#8204) Cameron 2025-01-01 02:22:10 +0000
  • e5ee38fdf1 chore(transformer): enable class-properties plugin (#7750) Dunqing 2024-12-31 12:30:58 +0000
  • 0592a8b43f feat(transformer/class-properties): transform private in expression (#8202) Dunqing 2024-12-31 12:30:57 +0000
  • 80c16526fb chore(transformer): enable Babel's private-property-in-property plugin tests (#8201) Dunqing 2024-12-31 12:30:57 +0000
  • 3c77ed1af1 feat(transform-conformance): support enabling all class-related plugins when any of them are enabled in update_fixtures (#8200) Dunqing 2024-12-31 12:30:56 +0000
  • ad77ad5c12 feat(transformer/class-properties): transform static/instance accessor methods (#8132) Dunqing 2024-12-31 12:30:56 +0000
  • e405f79577 feat(transformer/class-properties): transform static private method invoking (#8117) Dunqing 2024-12-31 12:30:55 +0000
  • 3303e9986b feat(transformer/class-properties): insert statements after statement of class expression (#8116) Dunqing 2024-12-31 12:30:55 +0000
  • 0cc71cf5e3 feat(transformer/class-properties): transform super expressions and identifiers that refers to class binding in private method (#8106) Dunqing 2024-12-31 12:30:54 +0000
  • c786a13c4f refactor(transformer/class-properties): share replace_class_name_with_temp_var in class_properties (#8105) Dunqing 2024-12-31 12:30:54 +0000
  • f54f48e94f refactor(transformer/class-properties): remove all *_if_super methods in static_block_and_prop_init (#8104) Dunqing 2024-12-31 12:30:53 +0000
  • d82fb52fa5 refactor(transformer/class-properties): move supers to super_converter (#8103) Dunqing 2024-12-31 12:30:53 +0000
  • 58ed83242a feat(transformer/class-properties): transform private field expression which invokes private method (#8102) Dunqing 2024-12-31 12:30:52 +0000
  • f14567a658 feat(transformer/class-properties): transform callee which invokes private method (#8100) Dunqing 2024-12-31 12:30:52 +0000
  • 13349ef1b8 feat(transformer/class-properties): transform private methods (#8099) Dunqing 2024-12-31 12:30:51 +0000
  • 6af5870a7d chore(transformer): enable Babel's private-methods plugin tests (#8098) Dunqing 2024-12-31 12:30:51 +0000
  • 4804933970 feat(minifier): add MinimizeExitPoints and ExploitAssigns` boilerplate (#8203) Boshen 2024-12-31 12:05:08 +0000
  • 8ed976661a
    fix(codegen): source map builder panicked because it attempted to subtract with overflow in search_original_line_and_column (#8185) Dunqing 2024-12-31 20:00:41 +0800
  • 56b7f133fa fix(minifier): do not constant fold 0 instanceof F (#8199) Boshen 2024-12-31 08:46:57 +0000
  • bf266e13b0
    feat(minifier): try collapse conditional to logical or expr (#8197) Cameron 2024-12-31 07:59:08 +0000
  • 3eaff2a51c fix(transformer): ensure last expression statement in arrow function expression is wrapped in return (#8192) Dunqing 2024-12-31 01:29:53 +0000
  • 06e1780b8c feat(minifier): improve StatementFusion (#8194) Boshen 2024-12-31 01:13:24 +0000
  • 42e211ad6b feat(minifier): only constant fold numbers when result is smaller (#8092) Boshen 2024-12-31 00:56:51 +0000
  • bde44a3720
    feat(linter): add statement_span to ModuleRecord/ImportEntry (#8195) Alexander S. 2024-12-31 01:47:26 +0100
  • f88acb331b
    fix(parser): allow line breaks between const and enum (#8193) branchseer 2024-12-31 08:45:17 +0800
  • ccaa9f71e1
    feat(linter): implement eslint/new-cap (#8146) Alexander S. 2024-12-30 14:43:50 +0100
  • d0de560f6d feat(minifier): change NaN to f64::NAN (#8191) Boshen 2024-12-30 08:49:55 +0000
  • cef8eb8077
    feat(minifier): change foo?.['bar'] to foo?.bar (#8176) 翠 / green 2024-12-30 17:47:56 +0900
  • 936623ea45
    release(oxlint): v0.15.4 (#8190) oxc-bot 2024-12-30 15:47:06 +0800
  • 55744fd977
    feat(semantic): allow getting mutable reference to symbols table (#8189) Max Stoumen 2024-12-29 23:27:30 -0800
  • 11e598ecb1
    chore(deps): update rust crates (#8186) renovate[bot] 2024-12-30 15:25:17 +0800
  • 0794bee907
    fix(editor/vscode): set minimum supported ver. to ^1.93.0 (#8182) Pavel Smirnov 2024-12-30 10:22:54 +0300
  • 47cea9a52d
    feat(linter): implement eslint/no-extra-label (#8181) Anson Heung 2024-12-30 02:16:24 +0800
  • ef76e288ca
    feat(linter): implement eslint/no-multi-assign (#8158) Anson Heung 2024-12-30 01:15:12 +0800
  • 384858b9ed
    feat(linter): implement jsx-a11y/no-noninteractive-tabindex (#8167) Tyler Earls 2024-12-29 11:14:37 -0600
  • afc21a6071
    feat(linter): implement eslint/vars-on-top (#8157) Yuichiro Yamashita 2024-12-30 02:13:45 +0900
  • a2adc4e832
    chore(linter): move no-negated-condition to eslint (#8149) Yuichiro Yamashita 2024-12-30 02:12:51 +0900
  • f3050d4f31
    fix(linter): exclude svelte files from no_unused_vars rule (#8170) Yuichiro Yamashita 2024-12-30 02:10:33 +0900
  • cfb51f2551 refactor(minifier): fuse ast passes (#8184) Boshen 2024-12-29 14:57:20 +0000
  • bf9cafea90
    refactor(minifier): clean up peephole_substitute_alternate_syntax a little bit Boshen 2024-12-29 20:49:39 +0800
  • 8149e34bf0 feat(minifier): optional catch binding when es target >= es2019 (#8180) Boshen 2024-12-29 12:27:33 +0000
  • 41ddf60ab0 feat(minfier): add CompressOptions::target (#8179) Boshen 2024-12-29 12:27:32 +0000
  • ad146bbb90 feat(codegen): print real newline when \n is inside template literals (#8178) Boshen 2024-12-29 12:20:47 +0000
  • 75d5f17dbd
    fix(minifier): minify string PropertyKey (#8177) sapphi-red 2024-12-29 07:49:42 +0000
  • 1fa53413e0
    test(minifier): port tests from ConvertToDottedPropertiesTest (#8175) sapphi-red 2024-12-29 07:19:13 +0000
  • fc43ec530e
    feat(minifier): fold string.length / array.length (#8172) sapphi-red 2024-12-29 07:14:13 +0000
  • 29dc0dc070 feat(minifier): change foo['bar'] -> foo.bar (#8169) Boshen 2024-12-29 04:09:42 +0000
  • 3c5718d68b
    feat(minifier): fold typeof foo == undefined into foo == undefined when possible (#8160) 翠 / green 2024-12-29 12:49:57 +0900
  • faf7464733
    fix(linter): disable rule react/rules-of-hook by file extension (#8168) Alexander S. 2024-12-28 19:52:10 +0100
  • d8d2ec6257
    perf(linter): run rules which require typescript syntax only when source type is actually typescript (#8166) Alexander S. 2024-12-28 18:03:11 +0100
  • 9d62284202
    chore(tasks): print diff for minify idempotency assertion (#8161) 翠 / green 2024-12-29 01:55:45 +0900