Skip to content

Commit

Permalink
Update swc monorepo (#1172)
Browse files Browse the repository at this point in the history
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/cli](https://togithub.com/swc-project/cli) | [`0.1.62` -> `0.1.63`](https://renovatebot.com/diffs/npm/@swc%2fcli/0.1.62/0.1.63) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcli/0.1.63?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcli/0.1.63?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcli/0.1.62/0.1.63?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcli/0.1.62/0.1.63?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@swc/core](https://swc.rs) ([source](https://togithub.com/swc-project/swc)) | [`1.3.103` -> `1.3.104`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.95/1.3.104) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.3.104?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.3.104?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.3.95/1.3.104?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.3.95/1.3.104?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>swc-project/cli (@&#8203;swc/cli)</summary>

### [`v0.1.63`](https://togithub.com/swc-project/cli/compare/v0.1.62...v0.1.63)

[Compare Source](https://togithub.com/swc-project/cli/compare/v0.1.62...v0.1.63)

</details>

<details>
<summary>swc-project/swc (@&#8203;swc/core)</summary>

### [`v1.3.104`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13104---2024-01-17)

[Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.103...v1.3.104)

##### Bug Fixes

-   **(es)** Fix plugin template & restore `test!` as `test_inline!` ([#&#8203;8508](https://togithub.com/swc-project/swc/issues/8508)) ([10449e0](https://togithub.com/swc-project/swc/commit/10449e08d9459af2c313eb7146005bcff016d169))

-   **(es/systemjs)** Handle top level this ([#&#8203;8506](https://togithub.com/swc-project/swc/issues/8506)) ([0f94c8c](https://togithub.com/swc-project/swc/commit/0f94c8cf051f7a7526f6a3e7742fc079146e0af2))

-   **(plugin)** Set `swc_common::errors::HANDLER` while invoking plugins ([#&#8203;8511](https://togithub.com/swc-project/swc/issues/8511)) ([ba753f1](https://togithub.com/swc-project/swc/commit/ba753f12885c4c3062afa5782dc7f6652981a659))

### [`v1.3.103`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13103---2024-01-15)

[Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.102...v1.3.103)

##### Bug Fixes

-   **(binding/types)** Add type for `decoratorVersion` ([#&#8203;8468](https://togithub.com/swc-project/swc/issues/8468)) ([79438e6](https://togithub.com/swc-project/swc/commit/79438e6dc24735fae1adc98e9a74ab6cecd502de))

-   **(es/codegen)** Emit abstract keyword ([#&#8203;8479](https://togithub.com/swc-project/swc/issues/8479)) ([a12eaae](https://togithub.com/swc-project/swc/commit/a12eaae0e544d7e485ce7ce11e56591e7ff34108))

-   **(es/codegen)** Emit declare keyword for class properties ([#&#8203;8478](https://togithub.com/swc-project/swc/issues/8478)) ([2076ef8](https://togithub.com/swc-project/swc/commit/2076ef8f359941ad511c860000ec3eaa74410cac))

-   **(es/codegen)** Emit implements clause with commas ([#&#8203;8477](https://togithub.com/swc-project/swc/issues/8477)) ([d98a282](https://togithub.com/swc-project/swc/commit/d98a28290b1c439abbd0cdec30436ef25a256ebd))

-   **(es/codegen)** Emit `?` for an optional computed property ([#&#8203;8481](https://togithub.com/swc-project/swc/issues/8481)) ([e0bdc0f](https://togithub.com/swc-project/swc/commit/e0bdc0f7c210c73f0291ab72e380743fe5f03b72))

-   **(es/codegen)** Fix codegen of a property key in ascii-only mode ([#&#8203;8493](https://togithub.com/swc-project/swc/issues/8493)) ([8d9bf4c](https://togithub.com/swc-project/swc/commit/8d9bf4cfaaeef9a9f3307b53c3349bff1359ccdf))

-   **(es/compat)** Set inserted var inside export class in destructing ([#&#8203;8470](https://togithub.com/swc-project/swc/issues/8470)) ([4416077](https://togithub.com/swc-project/swc/commit/4416077f4ac1afb74575b9a0e836bb66b8dc8b9a))

-   **(es/compat)** Correctly handle `this` in arrow function parameters ([#&#8203;8489](https://togithub.com/swc-project/swc/issues/8489)) ([52a8f05](https://togithub.com/swc-project/swc/commit/52a8f05fe419e905465e31b493d2007a1511276c))

-   **(es/minifier)** Correctly escape more characters ([#&#8203;8490](https://togithub.com/swc-project/swc/issues/8490)) ([f7c4934](https://togithub.com/swc-project/swc/commit/f7c4934e591bc14bc965cb28bc6b9ca1d8ac1350))

-   **(es/module)** Fix resolving of `.js` files ([#&#8203;8480](https://togithub.com/swc-project/swc/issues/8480)) ([b70e96f](https://togithub.com/swc-project/swc/commit/b70e96ffe93d3ed59420d5c66a0a4258f6bf1de7))

-   **(es/parser)** Correctly parse the keyword ([#&#8203;8483](https://togithub.com/swc-project/swc/issues/8483)) ([740e6f3](https://togithub.com/swc-project/swc/commit/740e6f390a8a5327cc320c9582dbe8afbc8b5a27))

-   **(es/resolver)** Resolve top-level `undefined`, `NaN`, and `Infinity` correctly ([#&#8203;8471](https://togithub.com/swc-project/swc/issues/8471)) ([82bd807](https://togithub.com/swc-project/swc/commit/82bd8070cb276d8020ba688f1b781b7b46b6ce0c))

##### Documentation

-   Replace `string_cache` with `hstr` in `ARCHITECTURE.md` ([#&#8203;8487](https://togithub.com/swc-project/swc/issues/8487)) ([abd7c51](https://togithub.com/swc-project/swc/commit/abd7c51583dff82816a910d46e894eddea3c1aff))

##### Features

-   **(html/parser)** Allow self-closing `/>` on non-void HTML elements via a flag ([#&#8203;8460](https://togithub.com/swc-project/swc/issues/8460)) ([566063d](https://togithub.com/swc-project/swc/commit/566063dca5fe73834cdf5e0acf7c7f344a9806a5))

##### Refactor

-   **(css/parser)** Remove value normalization ([#&#8203;8434](https://togithub.com/swc-project/swc/issues/8434)) ([85be8a4](https://togithub.com/swc-project/swc/commit/85be8a4de1d8407421aadeb5769d414b9938f693))

##### Testing

-   **(es/minifier)** Enable non esm mode for tests ([#&#8203;8472](https://togithub.com/swc-project/swc/issues/8472)) ([1120336](https://togithub.com/swc-project/swc/commit/1120336f23a75e8c236f088d56b6dea04311d2ed))

-   **(es/minifier)** Enable script mode for `terser_exec` and `mangle` ([#&#8203;8474](https://togithub.com/swc-project/swc/issues/8474)) ([b676e75](https://togithub.com/swc-project/swc/commit/b676e75cdd8ae6b4b3637152e39e982637221701))

### [`v1.3.102`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13102---2023-12-31)

[Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.101...v1.3.102)

##### Bug Fixes

-   **(css/parser)** Fix parsing of `hsla(var(--foo), 1)` ([#&#8203;8443](https://togithub.com/swc-project/swc/issues/8443)) ([d89b60a](https://togithub.com/swc-project/swc/commit/d89b60a000e6a40a6d624ba3903743f9c80170d1))

-   **(es)** Apply `paren_remover` for minify ([#&#8203;8442](https://togithub.com/swc-project/swc/issues/8442)) ([e68720a](https://togithub.com/swc-project/swc/commit/e68720a76cf8146befa26ff147a812e9ba2959aa))

-   **(es/codegen)** Fix codegen of type-only export declarations ([#&#8203;8447](https://togithub.com/swc-project/swc/issues/8447)) ([65dec90](https://togithub.com/swc-project/swc/commit/65dec905c076c8e95341ada23b140a538d37abce))

-   **(es/codegen)** Emit `override` keyword ([#&#8203;8449](https://togithub.com/swc-project/swc/issues/8449)) ([0dd96f8](https://togithub.com/swc-project/swc/commit/0dd96f85e2215f5c18849bdfb150dc95006399e8))

-   **(es/compat)** Use correct `span.lo` in class transforms ([#&#8203;8439](https://togithub.com/swc-project/swc/issues/8439)) ([a06d5b2](https://togithub.com/swc-project/swc/commit/a06d5b23416d8f4f45334e5edaed3da53f9f5777))

-   **(es/minifier)** Add WeakRef as a safe global reference ([#&#8203;8458](https://togithub.com/swc-project/swc/issues/8458)) ([d681785](https://togithub.com/swc-project/swc/commit/d681785b428b7958e7652dc3a7c709ad85b298f9))

-   **(es/parser)** Disallowing await as an identifier in class static block ([#&#8203;8450](https://togithub.com/swc-project/swc/issues/8450)) ([0b188cc](https://togithub.com/swc-project/swc/commit/0b188ccdff487bc5c344b0e70b102ce1d9ba308d))

-   **(es/renamer)** Correctly check top level ([#&#8203;8456](https://togithub.com/swc-project/swc/issues/8456)) ([1e44e57](https://togithub.com/swc-project/swc/commit/1e44e57a095c151fc52685b9580c083620342fe7))

### [`v1.3.101`](https://togithub.com/swc-project/swc/compare/v1.3.100...v1.3.101)

[Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.100...v1.3.101)

### [`v1.3.100`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13100---2023-11-30)

[Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.99...v1.3.100)

##### Bug Fixes

-   **(es/codegen)** Fix panic due to `\\ud` ([#&#8203;8346](https://togithub.com/swc-project/swc/issues/8346)) ([1891afa](https://togithub.com/swc-project/swc/commit/1891afa2ad27f183e56adcd288dd3a1ae0c5b367))

-   **(es/codegen)** Wrap quote for length greater than one ([#&#8203;8351](https://togithub.com/swc-project/swc/issues/8351)) ([2cdea3f](https://togithub.com/swc-project/swc/commit/2cdea3fbeaf4a2dac662a4d019982943c0a896ba))

-   **(es/decorators)** Resolve enum for `design:returntype` ([#&#8203;8320](https://togithub.com/swc-project/swc/issues/8320)) ([91ef7c9](https://togithub.com/swc-project/swc/commit/91ef7c9415c0efed347d3faf20653749fb7a6b15))

-   **(es/fixer)** Wrap yield expression in await expression ([#&#8203;8357](https://togithub.com/swc-project/swc/issues/8357)) ([ff719f0](https://togithub.com/swc-project/swc/commit/ff719f0cdd3cf79e7afa1c136243e6fa53c5abe3))

-   **(es/minifier)** Fix `if_return` bug related to `await` and `yield` ([#&#8203;8328](https://togithub.com/swc-project/swc/issues/8328)) ([01e2c7f](https://togithub.com/swc-project/swc/commit/01e2c7fc5ab71d55c522e48eae9e3e08d8bf418d))

-   **(es/minifier)** Give up terminate merge if in `try` with `finally` ([#&#8203;8342](https://togithub.com/swc-project/swc/issues/8342)) ([ed5a9b3](https://togithub.com/swc-project/swc/commit/ed5a9b3f2e5b7035f657a8ea3cb38a27413369b2))

-   **(es/parser)** Wrap with `OptChain` across `TsNonNull` ([#&#8203;8332](https://togithub.com/swc-project/swc/issues/8332)) ([8af6ffb](https://togithub.com/swc-project/swc/commit/8af6ffb1ddaf60b997163aaf80abfb528eb2ca9c))

-   **(es/parser)** Fix conditional compilation ([#&#8203;8343](https://togithub.com/swc-project/swc/issues/8343)) ([a423681](https://togithub.com/swc-project/swc/commit/a423681df897956e58650b3acc9f2331887e42e8))

-   **(es/react)** Make jsx with single spread child static ([#&#8203;8339](https://togithub.com/swc-project/swc/issues/8339)) ([58568fa](https://togithub.com/swc-project/swc/commit/58568fa23be932ed8f3858c24962973bdc4b8057))

-   **(es/renamer)** Allow `globalThis` to be shadowed ([#&#8203;8327](https://togithub.com/swc-project/swc/issues/8327)) ([3dd73a3](https://togithub.com/swc-project/swc/commit/3dd73a3cd8fddd9e19dc85c2a2bf785b585b5b9a))

-   **(es/typescript)** Handle shebang with jsx pragma ([#&#8203;8318](https://togithub.com/swc-project/swc/issues/8318)) ([c25601d](https://togithub.com/swc-project/swc/commit/c25601dec21d7293ad48549a1f49ccd161f9da72))

##### Miscellaneous Tasks

-   **(css/linter)** Document rules require porting ([#&#8203;8352](https://togithub.com/swc-project/swc/issues/8352)) ([55da0bb](https://togithub.com/swc-project/swc/commit/55da0bb9ddbb661a75e24162b7bdd63d2549dca3))

##### Build

-   **(cargo)** Update `vergen` to `v8` ([#&#8203;8325](https://togithub.com/swc-project/swc/issues/8325)) ([1315615](https://togithub.com/swc-project/swc/commit/13156157ebf9434fef8ed04ee4cf59c22421a3fa))

### [`v1.3.99`](https://togithub.com/swc-project/swc/compare/v1.3.96...v1.3.99)

[Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.96...v1.3.99)

### [`v1.3.96`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1396---2023-11-03)

[Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.95...v1.3.96)

##### Bug Fixes

-   **(ci)** Set `tag` for wasm publish actions ([#&#8203;8200](https://togithub.com/swc-project/swc/issues/8200)) ([8db80b8](https://togithub.com/swc-project/swc/commit/8db80b8c28bba5a423194dd19ddf05ccd94eb650))

-   **(es/compat)** Make `block-scoping` pass rename exports correctly ([#&#8203;8175](https://togithub.com/swc-project/swc/issues/8175)) ([b13bc32](https://togithub.com/swc-project/swc/commit/b13bc320274e773c9b0ef479e86194c4c6f1f6f8))

-   **(es/compat)** Use dummy span for blocks in `parameters` ([#&#8203;8202](https://togithub.com/swc-project/swc/issues/8202)) ([c1b255a](https://togithub.com/swc-project/swc/commit/c1b255a59c1e8d81371c9576ca0c4573f04e65da))

-   **(es/compat)** Handle private names from class properties pass ([#&#8203;8090](https://togithub.com/swc-project/swc/issues/8090)) ([83a5a0c](https://togithub.com/swc-project/swc/commit/83a5a0c612b7ca97529720f8a35117957d4cb9a6))

-   **(es/react)** Visit children nodes in `jsx-src` pass ([#&#8203;8212](https://togithub.com/swc-project/swc/issues/8212)) ([47733a9](https://togithub.com/swc-project/swc/commit/47733a951c14bc22c2a60acb420b597ddab7d306))

-   **(es/transforms)** Do not add `PURE` comment to `BytePos(0)` ([#&#8203;8207](https://togithub.com/swc-project/swc/issues/8207)) ([c061356](https://togithub.com/swc-project/swc/commit/c061356b63431fcd0323e434402ead143c622340))

-   **(es/typescript)** Preserve const enum for named export ([#&#8203;8208](https://togithub.com/swc-project/swc/issues/8208)) ([abced23](https://togithub.com/swc-project/swc/commit/abced23b2a16e9602ffe59a20e6cbf65a882a3ce))

##### Features

-   **(es/minifier)** Respect inline level and preserve native names ([#&#8203;8205](https://togithub.com/swc-project/swc/issues/8205)) ([dd805e9](https://togithub.com/swc-project/swc/commit/dd805e95a4735e1b869c298489b80555ab4eb20d))

-   **(es/preset-env)** Update compat data ([#&#8203;8194](https://togithub.com/swc-project/swc/issues/8194)) ([3dc4e1e](https://togithub.com/swc-project/swc/commit/3dc4e1e02d3e594da6301ca4c80aaee582642fd7))

-   **(es/testing)** Support babel-like fixture testing officially ([#&#8203;8190](https://togithub.com/swc-project/swc/issues/8190)) ([e960614](https://togithub.com/swc-project/swc/commit/e9606147fc560cac2ffa75b917a08413b7c94908))

-   **(es/testing)** Use `__swc_snapshots__` for `test!` macro ([#&#8203;8191](https://togithub.com/swc-project/swc/issues/8191)) ([0aafa75](https://togithub.com/swc-project/swc/commit/0aafa75fef43beb6630b143e9d71f129300e7614))

##### Performance

-   **(es/minifier)** Add `has_flag` to `Comments` ([#&#8203;8182](https://togithub.com/swc-project/swc/issues/8182)) ([7530e90](https://togithub.com/swc-project/swc/commit/7530e9051d67d8721126e48c39f0a8ac27d980a5))

##### Refactor

-   **(es/minifier)** Simplify analyzer context ([#&#8203;8164](https://togithub.com/swc-project/swc/issues/8164)) ([bb02cdd](https://togithub.com/swc-project/swc/commit/bb02cdd26ed863649c6ec8ef9c5cbdaece743b9b))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
  • Loading branch information
renovate[bot] authored Jan 19, 2024
1 parent 1a417cf commit b3077b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"@opentelemetry/api": "1.7.0",
"@svgr/webpack": "8.1.0",
"@swc/cli": "0.1.63",
"@swc/core": "1.3.103",
"@swc/core": "1.3.104",
"@swc/helpers": "0.5.3",
"@testing-library/react": "14.1.2",
"@types/cheerio": "0.22.35",
Expand Down

0 comments on commit b3077b0

Please sign in to comment.