Closed renovate[bot] closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 86.27%. Comparing base (
a0f101b
) to head (a17b1ef
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
1.5.25
->1.6.5
Release Notes
swc-project/swc (@swc/core)
### [`v1.6.5`](https://togithub.com/swc-project/swc/compare/v1.6.4...v1.6.5) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.4...v1.6.5) ### [`v1.6.4`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#164---2024-06-22) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.3...v1.6.4) ##### Features - **(cli)** Support generating `.d.ts` files ([#9097](https://togithub.com/swc-project/swc/issues/9097)) ([e71b6d3](https://togithub.com/swc-project/swc/commit/e71b6d31b1179dffb8a6e2d652b394273a6d7852)) - **(common)** Add fallible methods to `swc_common::SourceMap` ([#9090](https://togithub.com/swc-project/swc/issues/9090)) ([e423d1b](https://togithub.com/swc-project/swc/commit/e423d1bcedc24803eaeeed4c72cc84fe9a938f65)) - **(es/transform)** Add experimental `.d.ts` generation ([#9093](https://togithub.com/swc-project/swc/issues/9093)) ([51a2702](https://togithub.com/swc-project/swc/commit/51a27022b9a3fa8767797813b23803ea1ecad3e2)) - **(swc_core)** Reexport `swc_typescript` ([#9092](https://togithub.com/swc-project/swc/issues/9092)) ([a2645e2](https://togithub.com/swc-project/swc/commit/a2645e2fa0a55c4dbe519b6f8baa9e83a69bb2f0)) - **(typescript)** Implement Isolated Declaration ([#9086](https://togithub.com/swc-project/swc/issues/9086)) ([a855159](https://togithub.com/swc-project/swc/commit/a8551592b29bb1a1a0518e3724ad54acacca888a)) ##### Miscellaneous Tasks - **(deps)** Replace `sha-1` with `sha1` ([#9091](https://togithub.com/swc-project/swc/issues/9091)) ([5a2c968](https://togithub.com/swc-project/swc/commit/5a2c968720141b115ec2055ea13ae6d025175e95)) ##### Performance - **(es/lexer)** Apply various optimizations ([#9095](https://togithub.com/swc-project/swc/issues/9095)) ([2f02630](https://togithub.com/swc-project/swc/commit/2f02630b1e597692ce5a3d946f8d498ca33709dd)) - **(es/lexer)** Use `memchr::memmem` for lexing block comments ([#9096](https://togithub.com/swc-project/swc/issues/9096)) ([1b3672f](https://togithub.com/swc-project/swc/commit/1b3672f1e7d38a0039b1ba0ebc136133dd8c907f)) ##### Refactor - **(es/parser)** Rename `EsConfig` and `TsConfig` ([#9094](https://togithub.com/swc-project/swc/issues/9094)) ([5520b23](https://togithub.com/swc-project/swc/commit/5520b236dd40fdd579c99cb6d66eef094cabc3fc)) ### [`v1.6.3`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#163---2024-06-19) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.1...v1.6.3) ##### Bug Fixes - **(css/minifier)** Don't tranform rotate deg ([#9072](https://togithub.com/swc-project/swc/issues/9072)) ([8d37dae](https://togithub.com/swc-project/swc/commit/8d37daedf10cbf5fa7ac8ceeb4192ddd6241e310)) - **(es/decorators)** Reduce the number of sourcemap mappings ([#9074](https://togithub.com/swc-project/swc/issues/9074)) ([cfe3ba3](https://togithub.com/swc-project/swc/commit/cfe3ba306dc709149c496f67dbb7f35dc4f86819)) ##### Performance - **(common)** Use `Chars` in `StringInput` ([#9073](https://togithub.com/swc-project/swc/issues/9073)) ([7698eaa](https://togithub.com/swc-project/swc/commit/7698eaa006d2951df0e0e0cb5680fe531d64dcf4)) - **(es/lexer)** Optimize lexer ([#9075](https://togithub.com/swc-project/swc/issues/9075)) ([6426928](https://togithub.com/swc-project/swc/commit/6426928b912baa6573b902d7d3c85bcd49b2e823)) - **(es/lexer)** Make lexing of string literals faster ([#9077](https://togithub.com/swc-project/swc/issues/9077)) ([373bac5](https://togithub.com/swc-project/swc/commit/373bac55aaffbe1f6e001c7c6d490797de45114e)) - **(es/lexer)** Reduce allocation while lexing identifiers ([#9076](https://togithub.com/swc-project/swc/issues/9076)) ([69f00b8](https://togithub.com/swc-project/swc/commit/69f00b85d465e882ec33642d6e8ed22dbe3c3fb2)) - **(es/lexer)** Add a fast-path to template literal lexer ([#9080](https://togithub.com/swc-project/swc/issues/9080)) ([238f1c5](https://togithub.com/swc-project/swc/commit/238f1c50e5b27a8655e10ac2b2be723b62233931)) - **(es/lexer)** Add fast-path to jsx lexer ([#9081](https://togithub.com/swc-project/swc/issues/9081)) ([af58606](https://togithub.com/swc-project/swc/commit/af586069a922525dc24b5f59aefaf53daed7759a)) ##### Refactor - **(common)** Simplify `StringInput` implementation ([#9071](https://togithub.com/swc-project/swc/issues/9071)) ([c3a8c0b](https://togithub.com/swc-project/swc/commit/c3a8c0b56755f17d0611f6559689a5cfb3185c33)) ### [`v1.6.1`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#161---2024-06-16) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.0...v1.6.1) ##### Bug Fixes - **(common)** Revert `Use SourceMap::adjust_mappings` ([#9058](https://togithub.com/swc-project/swc/issues/9058)) ([cdd20cd](https://togithub.com/swc-project/swc/commit/cdd20cd16370342f645a181198432a3dc3b6c7ab)) ##### Performance - **(es/parser)** Reduce allocations while lexing numbers ([#9057](https://togithub.com/swc-project/swc/issues/9057)) ([ca26eb7](https://togithub.com/swc-project/swc/commit/ca26eb796b1aefa150ccab7b16822ecb748aca7b)) ### [`v1.6.0`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#160---2024-06-15) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.29...v1.6.0) ##### Features - **(common)** Use `SourceMap::adjust_mappings` ([#9052](https://togithub.com/swc-project/swc/issues/9052)) ([eda2e45](https://togithub.com/swc-project/swc/commit/eda2e456915cf1c0bfc8e4e833bcd2b9c6c36a41)) - **(es/ast)** Add more utilities ([#9054](https://togithub.com/swc-project/swc/issues/9054)) ([ab226dc](https://togithub.com/swc-project/swc/commit/ab226dcfb7abea0b14430697c53c0002bd823866)) ##### Performance - **(es/lints)** Avoid needless allocations in `no-dupe-args` ([#9041](https://togithub.com/swc-project/swc/issues/9041)) ([e560198](https://togithub.com/swc-project/swc/commit/e5601989a1fa699c3d4f7f120bd14f946eee01fa)) - **(es/parser)** Do not track `raw` by hand ([#9047](https://togithub.com/swc-project/swc/issues/9047)) ([60fe5f0](https://togithub.com/swc-project/swc/commit/60fe5f0effdcc45f0cfd363fd0ff4e6f4dba5b33)) - **(es/parser)** Reduce allocations for `raw` while lexing numbers ([#9056](https://togithub.com/swc-project/swc/issues/9056)) ([bc8ec62](https://togithub.com/swc-project/swc/commit/bc8ec625ecee8a077fe84de371c490be14a1a033)) ##### Refactor - **(es/ast)** Remove unused fields of `TsPropertySignature` ([#8955](https://togithub.com/swc-project/swc/issues/8955)) ([6306778](https://togithub.com/swc-project/swc/commit/63067785127a0bf311c3bac2731df447a3cd614a)) - **(es/parser)** Remove unused `raw: Raw` params ([#9048](https://togithub.com/swc-project/swc/issues/9048)) ([32e23ed](https://togithub.com/swc-project/swc/commit/32e23edd8591784bda2b49f941611b01a60e9a80)) - **(es/utils)** Refine some APIs ([#9049](https://togithub.com/swc-project/swc/issues/9049)) ([e856478](https://togithub.com/swc-project/swc/commit/e8564780600d367a717e7b90a33bfd34275f5a19)) ##### Testing - **(es/parser)** Add benchmarks ([#9044](https://togithub.com/swc-project/swc/issues/9044)) ([11bba26](https://togithub.com/swc-project/swc/commit/11bba262f555b284087a0a27ad3cbefdbd1b1c24)) ### [`v1.5.29`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1529---2024-06-13) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.28...v1.5.29) ##### Bug Fixes - **(ci)** Make publish action upload cli artifacts ([#9040](https://togithub.com/swc-project/swc/issues/9040)) ([3337bb2](https://togithub.com/swc-project/swc/commit/3337bb26f9b00352c3f03c625f1429ee15ebc070)) - **(es)** Make `output` field optional ([#9033](https://togithub.com/swc-project/swc/issues/9033)) ([39654bf](https://togithub.com/swc-project/swc/commit/39654bf1e7136077d2db2f85a93591708b4cfe8c)) - **(es/codegen)** Emit named type in mapped types ([#9038](https://togithub.com/swc-project/swc/issues/9038)) ([91e92ec](https://togithub.com/swc-project/swc/commit/91e92ececab33c2258eeb659803da9a549e7591a)) - **(es/minifier)** Visit RHS while hoisting properties ([#9032](https://togithub.com/swc-project/swc/issues/9032)) ([cb16994](https://togithub.com/swc-project/swc/commit/cb16994a8d7a203e923b52e444d265bad0fa9e6e)) - **(xtask)** Fix `nightly` action ([#9042](https://togithub.com/swc-project/swc/issues/9042)) ([733dcc6](https://togithub.com/swc-project/swc/commit/733dcc6b83e77a2571a3fee307a73fc0c17bd44c)) ##### Performance - **(es/minifier)** Do not visit var init multiple times ([#9039](https://togithub.com/swc-project/swc/issues/9039)) ([675916c](https://togithub.com/swc-project/swc/commit/675916ccbd378d3b0334ffeb7ad0759538856ddd)) - **(es/parser)** Optimize lexing of template literals ([#9036](https://togithub.com/swc-project/swc/issues/9036)) ([6ab19a1](https://togithub.com/swc-project/swc/commit/6ab19a1b5f37e7f485f392ef3b63af024ae9e644)) - **(es/parser)** Optimize lexing of template literals, again ([#9037](https://togithub.com/swc-project/swc/issues/9037)) ([5bffd0f](https://togithub.com/swc-project/swc/commit/5bffd0ff9b9548e1585b7e791a3f35ad0a83e1e0)) ### [`v1.5.28`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1528---2024-06-11) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.27...v1.5.28) ##### Bug Fixes - **(es/minifier)** Fix typescript enum detection ([#9031](https://togithub.com/swc-project/swc/issues/9031)) ([6669343](https://togithub.com/swc-project/swc/commit/6669343b4aaaaca5cb4f4ee5753f86aea71974b1)) ### [`v1.5.27`](https://togithub.com/swc-project/swc/compare/v1.5.25...v1.5.27) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.25...v1.5.27)Configuration
📅 Schedule: Branch creation - "before 1am on monday and wednesday" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.