Commit graph

  • 8c8b5fa9be
    fix(minifier): avoid minifing String(a) into "" + a for symbols (#8612) 翠 / green 2025-01-20 14:34:46 +0900
  • a78a72fb16
    ci: fix overly broad permissions reported by zizmor (#8611) Boshen 2025-01-20 13:19:50 +0800
  • 11f33af06b
    chore(deps): update npm packages renovate[bot] 2025-01-20 03:57:17 +0000
  • 7923971783
    chore(deps): update github-actions renovate[bot] 2025-01-20 01:06:44 +0000
  • 259a47b2ac
    refactor(vscode): move commands and findBinary to separate files (#8605) Alexander S. 2025-01-20 02:06:06 +0100
  • 997859c42e
    refactor(ast): align #[estree(via)] behavior (#8599) sapphi-red 2025-01-19 20:44:32 +0000
  • 4ff6e85137 fix(minifier): remove expression statement void 0 (#8602) Boshen 2025-01-19 14:47:00 +0000
  • 1a99d3539e
    ci(lint_rules): trigger on utils/mod.rs and on its workflow file (#8601) Alexander S. 2025-01-19 15:38:39 +0100
  • d966e0adda perf(codegen): do not check for comments if turned off (#8598) Boshen 2025-01-19 09:07:24 +0000
  • 8cce69a602 refactor(codegen): remove match_member_expression (#8597) Boshen 2025-01-19 09:00:25 +0000
  • ac4f98e376
    refactor(span): derive Copy on Atom (#8596) branchseer 2025-01-19 16:14:23 +0800
  • 066ffe8e8d
    fix(tasks/prettier_conformance): fix compile error Boshen 2025-01-19 12:16:53 +0800
  • 83caa56926
    fix(tasks/prettier_conformance): enable test coverage Boshen 2025-01-19 12:07:15 +0800
  • 2a2a2eb5ea
    chore(tasks/minsize): enable test coverage Boshen 2025-01-19 12:00:40 +0800
  • 9dc65cfa6a
    ci: fix release napi script Boshen 2025-01-19 10:13:19 +0800
  • 93d643e6a4 fix(minifier): keep side effects when folding const conditional exprs (#8591) camc314 2025-01-19 01:53:20 +0000
  • 8f5be07ed6
    release(crates): v0.47.1 (#8593) oxc-bot 2025-01-19 09:44:29 +0800
  • 66c8720002
    release(oxlint): v0.15.7 (#8592) oxc-bot 2025-01-19 09:00:00 +0800
  • 40f51654ec
    refactor(linter): improve eslint/no-lone-blocks (#8588) dalaoshu 2025-01-19 07:54:17 +0800
  • 01ac773d0c
    feat(linter): support ignoreTypeOfTestName for jest/valid-title (#8589) dalaoshu 2025-01-19 07:52:51 +0800
  • c15af02e52
    fix(linter): false positive in eslint/no-lone-blocks (#8587) dalaoshu 2025-01-19 00:08:57 +0800
  • ee8ee55cda feat(napi/parser): add .hasChanged() to MagicString (#8586) Boshen 2025-01-18 15:29:17 +0000
  • 1bef911e59
    feat(napi/parser): add source map API (#8584) Boshen 2025-01-18 23:06:42 +0800
  • 62f1881ec4
    chore: pnpm v10.0.0 (#8585) Boshen 2025-01-18 22:09:01 +0800
  • 7b219a930f fix(minifier): fix dce shadowed undefined (#8582) Boshen 2025-01-18 09:04:28 +0000
  • 7421a52f7c
    fix(transformer/typescript): correctly resolve references to non-constant enum members (#8543) branchseer 2025-01-18 17:02:50 +0800
  • 538b24a719
    feat(linter): Format the configuration documentation correctly (#8583) Tapan Prakash 2025-01-18 14:32:32 +0530
  • 4a59d29c30
    refactor(workflows): add reusable_release_napi.yml (#8581) Boshen 2025-01-18 15:27:22 +0800
  • d3fd7a9741
    release(crates): v0.47.0 (#8580) oxc-bot 2025-01-18 14:26:20 +0800
  • 3d64cefe10
    feat(allocator): add Send + Sync to HashMap Boshen 2025-01-18 14:23:52 +0800
  • 6c4081e148
    chore: update pnpm lock file Boshen 2025-01-18 14:05:58 +0800
  • 2f0314eec2
    feat(npm/oxc-minify): npm package and publish script (#8579) Boshen 2025-01-18 12:12:42 +0800
  • 7f4b302508
    chore: vitest 3.0.0 (#8578) Boshen 2025-01-18 12:10:01 +0800
  • fcbca322d7 refactor(ast): rename #[estree(with)] to #[estree(via)] (#8564) overlookmotel 2025-01-18 03:59:59 +0000
  • 4d4e805691 feat(minifier): collapse if stmt with empty consequent (#8577) camc314 2025-01-18 03:51:40 +0000
  • 41f2070895
    fix(linter): rule no-restricted-imports support missing options (#8076) Alexander S. 2025-01-18 04:50:36 +0100
  • 8c6e0a6fa3
    refactor(language_server): simplify IsolatedLintHandler (#8183) Alexander S. 2025-01-18 04:49:21 +0100
  • 63eb29868d perf(span): compare Spans as single u64s (#8300) overlookmotel 2025-01-18 01:47:10 +0000
  • a43560c056 perf(span): hash Span as a single u64 (#8299) overlookmotel 2025-01-18 01:47:09 +0000
  • b5ed58e237 refactor(span): all methods take owned Span (#8297) overlookmotel 2025-01-18 01:47:08 +0000
  • 3fff7d293b perf(span): align Span same as usize (#8298) overlookmotel 2025-01-18 01:47:07 +0000
  • bfd0b0da17 ci(benchmark): make lexer benchmark more realistic (#8573) overlookmotel 2025-01-18 01:47:06 +0000
  • 76ea52babe perf(allocator): inline Box methods (#8572) overlookmotel 2025-01-18 01:23:56 +0000
  • fae4cd22ee refactor(allocator)!: remove Vec::into_string (#8571) overlookmotel 2025-01-18 01:23:56 +0000
  • e87c0014b4 fix(allocator): statically prevent memory leaks in allocator (#8570) overlookmotel 2025-01-18 01:23:55 +0000
  • 95bc0d7d96 refactor(allocator)!: Allocator do not deref to bumpalo::Bump (#8569) overlookmotel 2025-01-18 01:23:55 +0000
  • ac05134a6d refactor(allocator): String type (#8568) overlookmotel 2025-01-18 01:23:54 +0000
  • 93df57f4c0 perf(allocator): #[inline(always)] methods of Vec which just delegate to allocator_api2 (#8567) overlookmotel 2025-01-17 14:27:40 +0000
  • 68fab817f1 refactor(allocator): rename inner Vec type (#8566) overlookmotel 2025-01-17 14:27:39 +0000
  • 5a28d680f9 perf(allocator): #[inline(always)] methods of HashMap which just delegate to hashbrown (#8565) overlookmotel 2025-01-17 14:27:38 +0000
  • 19d36771af
    fix(ast)!: always return Array<ImportDeclarationSpecifier> for ImportDeclaration.specifiers (#8560) sapphi-red 2025-01-17 13:04:59 +0000
  • 869bc73e67
    fix(linter): enhance default_param_last rule to handle optional parameters (#8563) Tapan Prakash 2025-01-17 17:05:27 +0530
  • 5cb9e979fe
    feat(tasks/e2e): transformer + minifier runtime tests for popular npm packages (#8552) Boshen 2025-01-17 19:13:59 +0800
  • 8f57929419
    refactor(minifier): merge try_compress_type_of_equal_string into try_minimize_binary (#8561) sapphi-red 2025-01-17 11:01:54 +0000
  • 007e8c017c refactor(ast, regular_expression): shorten ContentEq implementations (#8519) overlookmotel 2025-01-17 06:24:08 +0000
  • 1d4c7a1099 ci(lint): run clippy in release mode (#8541) overlookmotel 2025-01-17 06:14:35 +0000
  • 72f425f074 refactor(transformer/class-properties): fix lint warning in release mode (#8539) overlookmotel 2025-01-17 06:14:34 +0000
  • 991a22f907
    feat(minifier): fold Array::concat into literal (#8442) sapphi-red 2025-01-17 06:00:07 +0000
  • 3dc2d8b8e9
    feat(minifier): fold string concat chaining (#8441) sapphi-red 2025-01-17 06:00:06 +0000
  • 7ab14cc41c
    feat(linter): add more Vitest compatible Jest rules (#8445) Anson Heung 2025-01-17 13:59:37 +0800
  • a4ae4505f1
    feat(minifier): fold array concat chaining (#8440) sapphi-red 2025-01-17 05:53:54 +0000
  • d17021c834 perf(mangler): optimize base54 function (#8557) overlookmotel 2025-01-17 05:47:27 +0000
  • 64d38b86b6
    refactor(prettier): Verify printing class related nodes (#8559) Yuji Sugiura 2025-01-17 14:46:07 +0900
  • 30a869ead2 perf(semantic): use oxc_allocator::HashMap in ScopeTree (#8554) overlookmotel 2025-01-16 23:29:57 +0000
  • bf4e5e1c18 feat(allocator): add HashMap (#8553) overlookmotel 2025-01-16 23:29:57 +0000
  • fa1a6d5ede docs(allocator): update docs for Vec (#8555) overlookmotel 2025-01-16 19:18:16 +0000
  • a04833787d fix(transformer/class-static-blocks): static block converted to IIFE use span of original block (#8549) overlookmotel 2025-01-16 14:55:53 +0000
  • 712633f0bc refactor(transformer): wrap_statements_in_arrow_function_iife utility function (#8548) overlookmotel 2025-01-16 14:55:52 +0000
  • b552f5cfd3 fix(transformer): wrap_in_arrow_function_iife take span of input Expression (#8547) overlookmotel 2025-01-16 14:55:51 +0000
  • 5206c6ae06 refactor(transformer): rename wrap_in_arrow_function_iife (#8546) overlookmotel 2025-01-16 14:55:50 +0000
  • 61077cae9f refactor(transformer): wrap_arrow_function_iife receive an owned Expression (#8545) overlookmotel 2025-01-16 14:55:50 +0000
  • 65c596d002 fix(minifer): keep idents if not in scope when minimizing array exprs (#8551) camc314 2025-01-16 14:26:37 +0000
  • 7cc81ef5ef feat(minifier): fold invalid typeof comparisons (#8550) camc314 2025-01-16 14:26:35 +0000
  • c479a58718
    feat(napi/parser): expose dynamic import expressions (#8540) Boshen 2025-01-16 22:25:22 +0800
  • f57aac2aee fix(minifier): incorrect folding of expr in bool ctx (#8542) camc314 2025-01-16 14:18:03 +0000
  • c30654a793 refactor(transformer/arrow-function): wrapping arrow function iife by using wrap_arrow_function_iife (#8530) Dunqing 2025-01-16 12:49:28 +0000
  • 6820d24c4a refactor(transformer): move wrap_arrow_function_iife to root utils module (#8529) Dunqing 2025-01-16 12:42:14 +0000
  • f413bb5c64 feat(transformer/optional-chaining): change parent scope for expression when it wrapped with an arrow function (#8511) Dunqing 2025-01-16 12:21:44 +0000
  • 8dd0013e72 refactor(linter/consistent-function-scoping): remove Visit::enter_node usage (#8538) overlookmotel 2025-01-16 11:00:11 +0000
  • 30c0689dfc refactor(linter/no-map-spread): remove Visit::enter_node usage (#8537) overlookmotel 2025-01-16 10:55:16 +0000
  • b4c87e27a1
    refactor(linter): move DiagnosticsReporters to oxlint (#8454) Alexander S. 2025-01-16 09:11:22 +0100
  • 9ec4e24eb7
    test(napi/minify): fix more broken tests Boshen 2025-01-16 15:57:23 +0800
  • 0acbef356a
    test(napi/minify): fix matching of arrays Boshen 2025-01-16 15:33:31 +0800
  • 855c8395cf fix(codegen): shorthand assignment target identifier consider mangled names (#8536) Boshen 2025-01-16 07:26:07 +0000
  • 946ad7690b fix(minifier): (-Infinity).toString() -> '-Infinity' (#8535) Boshen 2025-01-16 06:47:40 +0000
  • e0f5d6c7bb
    test(minifier): update esbuild test Boshen 2025-01-16 14:46:12 +0800
  • 927f43ff84 feat(minifier): improve .charCodeAt(arg) when arg is valid (#8534) Boshen 2025-01-16 06:36:34 +0000
  • b1d018622b fix(minifier): do not fold !!void b (#8533) Boshen 2025-01-16 05:52:03 +0000
  • f5c5c3c9f1 chore(coverage/runtime): skip tests which are eval in class (#8532) Dunqing 2025-01-16 05:44:32 +0000
  • 53adde5003
    fix(minifier): x['-2147483648'] -> x[-2147483648] (#8528) Boshen 2025-01-16 13:43:23 +0800
  • 405b73d8e7 fix(minifier): do not change delete undefined to delete void 0 (#8527) Boshen 2025-01-16 03:08:26 +0000
  • 92e44cba6b fix(minifier): do not remove undefined in var x = undefined (#8526) Boshen 2025-01-16 02:57:28 +0000
  • 06f14d526b feat(minifier): remove empty class static block class Foo { static {} } (#8525) Boshen 2025-01-16 02:46:25 +0000
  • 2857ae15cd refactor(parser): refactor visitor in regexp example (#8524) overlookmotel 2025-01-16 02:40:29 +0000
  • 1860411656 feat(minifier): remove last redundant return statement (#8523) Boshen 2025-01-16 02:07:28 +0000
  • 4ce63298e8
    fix(semantic)!: ensure program outlives semantic (#8455) Valentinas Janeiko 2025-01-16 02:04:25 +0000
  • 250bbd193b perf(linter/react-exhaustive-deps): use stack of AstTypes instead of AstKinds (#8522) overlookmotel 2025-01-16 00:32:38 +0000
  • a6d71f8f27 feat(ast): add AstKind::ty method (#8521) overlookmotel 2025-01-16 00:32:36 +0000
  • 06ccb51fae fix(transformer/async-to-generator): move parameters to the inner generator function when they could throw errors (#8500) Dunqing 2025-01-16 00:01:26 +0000
  • 3789d2faf9 style(linter/react-exhaustive-deps): fix indentation (#8520) overlookmotel 2025-01-15 23:46:38 +0000