Closed renovate[bot] closed 1 month ago
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
Package | New capabilities | Transitives | Size | Publisher |
---|---|---|---|---|
npm/@swc/core@1.6.13 | environment, filesystem, shell | +12 |
440 MB | kdy1 |
🚮 Removed packages: npm/@swc/core@1.5.27
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.46%. Comparing base (
faafdb9
) to head (b167a0a
).
This PR contains the following updates:
^1.5.27
->^1.6.13
Release Notes
swc-project/swc (@swc/core)
### [`v1.6.13`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1613---2024-07-06) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.12...v1.6.13) ##### Bug Fixes - **(es/parser)** Revert [#9141](https://togithub.com/swc-project/swc/issues/9141) ([#9171](https://togithub.com/swc-project/swc/issues/9171)) ([8b66d5e](https://togithub.com/swc-project/swc/commit/8b66d5e89b3489da0339de33a439ba365a60d2ce)) - **(es/testing)** Fix `PluginCommentProxy` ([#9170](https://togithub.com/swc-project/swc/issues/9170)) ([d86ca2d](https://togithub.com/swc-project/swc/commit/d86ca2d49ec72614ec8c2493a28f27267e6f8b8f)) ##### Features - **(es/typescript)** Improve fast TS strip ([#9166](https://togithub.com/swc-project/swc/issues/9166)) ([ee8dc28](https://togithub.com/swc-project/swc/commit/ee8dc28d4d5399b1996bc0eba066270a582d04b6)) - **(es/typescript)** Improve fast TS strip ([#9167](https://togithub.com/swc-project/swc/issues/9167)) ([98af589](https://togithub.com/swc-project/swc/commit/98af5890dac03a9acac4e62ddb62bc1f3495d9a2)) ##### Testing - **(es/minfiier)** Improve comment testing ([#9164](https://togithub.com/swc-project/swc/issues/9164)) ([f90574d](https://togithub.com/swc-project/swc/commit/f90574d04571023f5ccfe694003e6a25ef89cafb)) ### [`v1.6.12`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1612---2024-07-06) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.7...v1.6.12) ##### Bug Fixes - **(ci)** Restore disabled CI checks ([#9002](https://togithub.com/swc-project/swc/issues/9002)) ([cdfd4c8](https://togithub.com/swc-project/swc/commit/cdfd4c85e42e912767893d1f3c1ed5d4867a51af)) - **(es/decorators)** Fix bugs of `2022-03` implementation ([#9145](https://togithub.com/swc-project/swc/issues/9145)) ([8a3ae44](https://togithub.com/swc-project/swc/commit/8a3ae4437096d23aeeabadaefb5416f7a6a94644)) - **(es/loader)** Exclude `.json` from default extension list ([#9134](https://togithub.com/swc-project/swc/issues/9134)) ([e94e5e7](https://togithub.com/swc-project/swc/commit/e94e5e70c377fae13cd5575f7d4ce84d9d5f10f7)) - **(es/minifier)** Fix `undefined` judgement ([#9146](https://togithub.com/swc-project/swc/issues/9146)) ([1a739b7](https://togithub.com/swc-project/swc/commit/1a739b79286aab3ccfd2b4597f11a79776b024b3)) - **(es/renamer)** Fix renaming of default-exported declarations ([#9135](https://togithub.com/swc-project/swc/issues/9135)) ([45f671d](https://togithub.com/swc-project/swc/commit/45f671d8d85b0c3955c88ec3cf3d68d8fa6134c5)) - **(es/renamer)** Remove `FastJsWord` ([#9136](https://togithub.com/swc-project/swc/issues/9136)) ([42b4caf](https://togithub.com/swc-project/swc/commit/42b4caf5735bc0a025024cf968ef16cd06d9f0dc)) - **(es/typescript)** Fix tricky cases in TS fast strip ([#9159](https://togithub.com/swc-project/swc/issues/9159)) ([2bc51b8](https://togithub.com/swc-project/swc/commit/2bc51b8ab25130f355cc1bad4c60d58376485698)) - **(es/typescript)** Fix replacement logic of fast TS strip ([#9163](https://togithub.com/swc-project/swc/issues/9163)) ([c5acafe](https://togithub.com/swc-project/swc/commit/c5acafe3869084a3f192a4aac0f120d5bb69e524)) ##### Features - **(bindings/ts)** Add transform/strip-only mode ([#9138](https://togithub.com/swc-project/swc/issues/9138)) ([a08bb46](https://togithub.com/swc-project/swc/commit/a08bb46ebd50734b150a1fff100b8312223372a2)) - **(es/testing)** Improve comment testing story ([#9150](https://togithub.com/swc-project/swc/issues/9150)) ([3638e97](https://togithub.com/swc-project/swc/commit/3638e97c8083a607a9ce295c7465501a7dc379f8)) - **(es/typescript)** Add `swc_fast_ts_strip` ([#9143](https://togithub.com/swc-project/swc/issues/9143)) ([b129343](https://togithub.com/swc-project/swc/commit/b129343c949c43c0ad3eb4ad4676e75dc37067e3)) - **(es/typescript)** Improve fast TS stripper ([#9152](https://togithub.com/swc-project/swc/issues/9152)) ([9fca4ab](https://togithub.com/swc-project/swc/commit/9fca4ab5557be4f92ba425b39fdc417a4da9a587)) - **(es/typescript)** Improve fast TS stripper ([#9153](https://togithub.com/swc-project/swc/issues/9153)) ([732d748](https://togithub.com/swc-project/swc/commit/732d748d4eb7c19d11e37b06f5064d4eca5bf4d8)) - **(es/typescript)** Improve fast TS strip ([#9154](https://togithub.com/swc-project/swc/issues/9154)) ([05c7210](https://togithub.com/swc-project/swc/commit/05c721030a0b419058524bff99367aa80ce29536)) ##### Performance - **(es)** Reduce allocations for dynamic stacks ([#9133](https://togithub.com/swc-project/swc/issues/9133)) ([648830a](https://togithub.com/swc-project/swc/commit/648830a9a9a65915226d2a250e3dfd61684a79b1)) ##### Refactor - **(bindings/ts)** Inline Wasm file into `wasm.js` ([#9139](https://togithub.com/swc-project/swc/issues/9139)) ([307b6f2](https://togithub.com/swc-project/swc/commit/307b6f27a6860c65f835776549e96cd658cfc817)) - **(es/parser)** Improve readability ([#9141](https://togithub.com/swc-project/swc/issues/9141)) ([9d9fe66](https://togithub.com/swc-project/swc/commit/9d9fe6625bd4a7e05e9f29971e8f1a5c5e2470a8)) ### [`v1.6.7`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#167---2024-07-03) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.6...v1.6.7) ##### Bug Fixes - **(es/compat)** Do not reuse span ([#9117](https://togithub.com/swc-project/swc/issues/9117)) ([6520052](https://togithub.com/swc-project/swc/commit/652005243260f46074595a6c031f7b82fa85302d)) ##### Documentation - Use `@swc/counter` for 3rd-party download count ([026ff7e](https://togithub.com/swc-project/swc/commit/026ff7ef0c64379fc34df206eb9880920eda99ee)) ##### Features - **(binding)** Create Wasm package for stripping only TypeScript ([#9124](https://togithub.com/swc-project/swc/issues/9124)) ([6b3c0da](https://togithub.com/swc-project/swc/commit/6b3c0da755b29022327adf7a5dc9a7c96142ceb2)) - **(es/minifier)** Handle more indexing expression ([#8750](https://togithub.com/swc-project/swc/issues/8750)) ([570c47a](https://togithub.com/swc-project/swc/commit/570c47a9acd7363428f58dfea2f41c097f73ec1f)) - **(preset-env)** Upgrade `browserslist-rs` ([#9023](https://togithub.com/swc-project/swc/issues/9023)) ([18d6277](https://togithub.com/swc-project/swc/commit/18d6277e4c68474333349a5b413ad30e59813483)) ##### Performance - **(es/lexer)** Do not use `memchr::memmem` in parser ([#9118](https://togithub.com/swc-project/swc/issues/9118)) ([72021de](https://togithub.com/swc-project/swc/commit/72021def15225c7355f80b72b16ab3bfd99f51ad)) ##### Refactor - **(es/typescript)** Extract type annotation proposal out ([#9127](https://togithub.com/swc-project/swc/issues/9127)) ([dfee5f8](https://togithub.com/swc-project/swc/commit/dfee5f838b76dae012393e207902effa0a69dd0d)) ##### Testing - **(bindings/ts)** Test Wasm binding ([#9128](https://togithub.com/swc-project/swc/issues/9128)) ([c6d6db3](https://togithub.com/swc-project/swc/commit/c6d6db3661ec93b9ebb8ca55ff88726f66b3d5e5)) - **(es/decorators)** Split `decorator-tests` ([#9119](https://togithub.com/swc-project/swc/issues/9119)) ([07c3054](https://togithub.com/swc-project/swc/commit/07c3054847947bd4c39ca828a7471d990b77ee7c)) ##### Build - **(bindings)** Fix build of typescript binding ([#9125](https://togithub.com/swc-project/swc/issues/9125)) ([f409bc0](https://togithub.com/swc-project/swc/commit/f409bc09d5613db8342e98552efc520f9c2c393c)) ### [`v1.6.6`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#166---2024-06-29) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.5...v1.6.6) ##### Bug Fixes - **(es/lexer)** Fix lexing of `\r\n` in JSX ([#9112](https://togithub.com/swc-project/swc/issues/9112)) ([2a0ebec](https://togithub.com/swc-project/swc/commit/2a0ebec0f5e51d5cba1c1981215a893834c63255)) ##### Performance - **(es/parser)** Optimize macros ([#9100](https://togithub.com/swc-project/swc/issues/9100)) ([719b7c5](https://togithub.com/swc-project/swc/commit/719b7c54f69ef276270dc39fbcb8bbdbf52899bf)) - **(es/parser)** Remove unnecessary check ([#9102](https://togithub.com/swc-project/swc/issues/9102)) ([2a490ad](https://togithub.com/swc-project/swc/commit/2a490ad0b2f9f89260742e653ba9ca086c1a9798)) - **(es/parser)** Add a check before numeric operations ([#9105](https://togithub.com/swc-project/swc/issues/9105)) ([c0602c8](https://togithub.com/swc-project/swc/commit/c0602c81db55777be726cd8fe2fd074e34bd4d96)) - **(es/parser)** Increase token context size ([#9104](https://togithub.com/swc-project/swc/issues/9104)) ([8ef30cc](https://togithub.com/swc-project/swc/commit/8ef30cc08c86251bb8bebf66286949805e332b6c)) ### [`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))Configuration
📅 Schedule: Branch creation - "every weekend" in timezone America/Toronto, 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.