oxc/crates
sapphi-red d56020b84c
feat(minifier): drop 0 from new Int8Array(0) and other TypedArrays (#8431)
Compresses `new Int8Array(0)` into `new Int8Array()`. (then will be compress into `new Int8Array`).

Partial quote from the [spec](https://tc39.es/ecma262/multipage/indexed-collections.html#sec-typedarray):

> 5. If numberOfArgs = 0, then
>   a. Return ? AllocateTypedArray(constructorName, NewTarget, proto, 0).
> 6. Else,
>   c. Else,
>       ii. Let elementLength be ? ToIndex(firstArgument).
>      iii. Return ? AllocateTypedArray(constructorName, NewTarget, proto, elementLength).
2025-01-11 07:45:36 +00:00
..
oxc release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_allocator feat(allocator): implement IntoIterator for &mut Vec (#8389) 2025-01-09 15:32:16 +00:00
oxc_ast refactor(ast)!: oxc_ast do not export BigUint (#8428) 2025-01-11 02:47:03 +00:00
oxc_ast_macros release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_cfg release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_codegen fix(codegen): fix incorrect minified return 1n output (#8374) 2025-01-09 05:01:41 +00:00
oxc_data_structures refactor(data_structures): remove NonNull shim (#8423) 2025-01-11 01:18:53 +00:00
oxc_diagnostics chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_ecmascript fix(minifier): +0n produces TypeError (#8410) 2025-01-10 07:18:06 +00:00
oxc_estree release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_isolated_declarations chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_language_server chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_linter chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_macros test(linter): use plugin name instead of category for finding rule (#8353) 2025-01-09 10:48:11 +08:00
oxc_mangler fix(mangler): keep exported symbols for top_level: true (#7927) 2025-01-10 15:14:30 +08:00
oxc_minifier feat(minifier): drop 0 from new Int8Array(0) and other TypedArrays (#8431) 2025-01-11 07:45:36 +00:00
oxc_napi release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
oxc_parser chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_prettier refactor(prettier): Verify current implementation with refactoring (#8412) 2025-01-10 17:31:33 +08:00
oxc_regular_expression chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
oxc_semantic refactor(semantic): check super usage based on scope (#8377) 2025-01-09 06:38:09 +00:00
oxc_span style(span): reformat code (#8296) 2025-01-06 13:57:58 +00:00
oxc_syntax fix(minifier): instanceof has error throwing side effect (#8378) 2025-01-09 06:49:27 +00:00
oxc_transformer refactor(transformer/class-properties): TODO comments (#8392) 2025-01-10 03:38:27 +00:00
oxc_traverse feat(allocator): implement IntoIterator for &mut Vec (#8389) 2025-01-09 15:32:16 +00:00
oxc_wasm refactor(linter): refactor LintBuilder to prep for nested configs (#8034) 2025-01-05 04:08:26 +00:00