From cccc7c33120f2d777ffbea56d36144d42cf1ec7d Mon Sep 17 00:00:00 2001 From: "balvajs-renovate[bot]" <147611899+balvajs-renovate[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 09:16:18 +0000 Subject: [PATCH] chore(deps): update swc monorepo (#321) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@swc/core](https://swc.rs) ([source](https://togithub.com/swc-project/swc)) | devDependencies | minor | [`1.3.107` -> `1.4.0`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.107/1.4.0) | | [@swc/jest](https://togithub.com/swc-project/pkgs/tree/main/packages/jest) ([source](https://togithub.com/swc-project/pkgs)) | devDependencies | patch | [`0.2.34` -> `0.2.36`](https://renovatebot.com/diffs/npm/@swc%2fjest/0.2.34/0.2.36) | --- ### Release Notes
swc-project/swc (@​swc/core) ### [`v1.4.0`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#140---2024-02-05) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.107...v1.4.0) ##### Bug Fixes - **(cli)** Make Rust CLI use sourcemap code from the `swc` crate ([#​8576](https://togithub.com/swc-project/swc/issues/8576)) ([82bc061](https://togithub.com/swc-project/swc/commit/82bc061b8caad9b240f3c2ab75c2a53aed502297)) - **(es/codegen)** Fix codegen of async methods with decorators ([#​8575](https://togithub.com/swc-project/swc/issues/8575)) ([8c32225](https://togithub.com/swc-project/swc/commit/8c322250b7276f002fc0848bbb5c53bdb8802c00)) - **(es/lexer)** Fix typo in `package` keyword ([#​8589](https://togithub.com/swc-project/swc/issues/8589)) ([8413a6c](https://togithub.com/swc-project/swc/commit/8413a6c48e94613b9ba264210acab4f7f1787057)) - **(es/minifier)** Fix top-level check ([#​8583](https://togithub.com/swc-project/swc/issues/8583)) ([a7c5255](https://togithub.com/swc-project/swc/commit/a7c5255ad1ad98c183b676af5caaf9057a9eccf1)) - **(es/proposals)** Support using `using` keyword with functions ([#​8574](https://togithub.com/swc-project/swc/issues/8574)) ([d81596c](https://togithub.com/swc-project/swc/commit/d81596cd2b03ab7523937ae3206797a9c3b819bf)) - **(es/resolver)** Skip property in JSX member ([#​8598](https://togithub.com/swc-project/swc/issues/8598)) ([d480ab9](https://togithub.com/swc-project/swc/commit/d480ab9ae8226fd8330376e33f0ad556c50d5b75)) - **(es/testing)** Make `test_inline!` not read output as a file ([#​8569](https://togithub.com/swc-project/swc/issues/8569)) ([d683089](https://togithub.com/swc-project/swc/commit/d683089be1116f7944fcd3dbd4536b343becdf5e)) - **(es/typescript)** Handle exported JSX binding name in TypeScript namespace ([#​8596](https://togithub.com/swc-project/swc/issues/8596)) ([2a70a6b](https://togithub.com/swc-project/swc/commit/2a70a6b1d477db5ae31c5c9412d299acaea10880)) ##### Features - **(es/minifier)** Inline more IIFE arguments ([#​8584](https://togithub.com/swc-project/swc/issues/8584)) ([18e0b53](https://togithub.com/swc-project/swc/commit/18e0b53fbb19eb016fe3695a169ac7f0708c96d3)) - **(es/minifier)** Respect more options ([#​8582](https://togithub.com/swc-project/swc/issues/8582)) ([fd997d3](https://togithub.com/swc-project/swc/commit/fd997d3712cf83d5de5bb63b3e2ac38871c4b736)) ##### Refactor - **(es/ast)** Improve type definitions of patterns ([#​8532](https://togithub.com/swc-project/swc/issues/8532)) ([7f2a2c1](https://togithub.com/swc-project/swc/commit/7f2a2c1e406021b8907b8fd35da456bfdc5f55ac)) ##### Testing - **(es/minifer)** Update the passing terser test list ([#​8573](https://togithub.com/swc-project/swc/issues/8573)) ([8b86638](https://togithub.com/swc-project/swc/commit/8b86638970797fe352db40128aabfb6a8cf9a43e)) - **(es/testing)** Ensure that `test_inline!` is working properly ([#​8590](https://togithub.com/swc-project/swc/issues/8590)) ([872a47b](https://togithub.com/swc-project/swc/commit/872a47b851504f4c0095f7c9f2729d50451c97a6))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 [Renovate Bot](https://togithub.com/renovatebot/renovate). Co-authored-by: Balvajs Renovate Bot <406530+balvajs-renovate[bot]@users.noreply.github.com> --- package.json | 4 +- pnpm-lock.yaml | 99 ++++++++++++++++++++++++++------------------------ 2 files changed, 54 insertions(+), 49 deletions(-) diff --git a/package.json b/package.json index 821a107..f1ef1f1 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,8 @@ "@semantic-release/commit-analyzer": "11.1.0", "@semantic-release/git": "10.0.1", "@semantic-release/release-notes-generator": "12.1.0", - "@swc/core": "1.3.107", - "@swc/jest": "0.2.34", + "@swc/core": "1.4.0", + "@swc/jest": "0.2.36", "@types/jest": "29.5.12", "@types/node": "20.11.16", "@typescript-eslint/eslint-plugin": "6.20.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3ab64f8..8574b71 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,11 +48,11 @@ devDependencies: specifier: 12.1.0 version: 12.1.0(semantic-release@23.0.0) '@swc/core': - specifier: 1.3.107 - version: 1.3.107 + specifier: 1.4.0 + version: 1.4.0 '@swc/jest': - specifier: 0.2.34 - version: 0.2.34(@swc/core@1.3.107) + specifier: 0.2.36 + version: 0.2.36(@swc/core@1.4.0) '@types/jest': specifier: 29.5.12 version: 29.5.12 @@ -148,10 +148,10 @@ devDependencies: version: 3.22.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@swc/core@1.3.107)(@types/node@20.11.16)(typescript@5.3.3) + version: 10.9.2(@swc/core@1.4.0)(@types/node@20.11.16)(typescript@5.3.3) tsup: specifier: 8.0.1 - version: 8.0.1(@swc/core@1.3.107)(ts-node@10.9.2)(typescript@5.3.3) + version: 8.0.1(@swc/core@1.4.0)(ts-node@10.9.2)(typescript@5.3.3) typescript: specifier: 5.3.3 version: 5.3.3 @@ -2616,8 +2616,8 @@ packages: '@sinonjs/commons': 3.0.0 dev: true - /@swc/core-darwin-arm64@1.3.107: - resolution: {integrity: sha512-47tD/5vSXWxPd0j/ZllyQUg4bqalbQTsmqSw0J4dDdS82MWqCAwUErUrAZPRjBkjNQ6Kmrf5rpCWaGTtPw+ngw==} + /@swc/core-darwin-arm64@1.4.0: + resolution: {integrity: sha512-UTJ/Vz+s7Pagef6HmufWt6Rs0aUu+EJF4Pzuwvr7JQQ5b1DZeAAUeUtkUTFx/PvCbM8Xfw4XdKBUZfrIKCfW8A==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] @@ -2625,8 +2625,8 @@ packages: dev: true optional: true - /@swc/core-darwin-x64@1.3.107: - resolution: {integrity: sha512-hwiLJ2ulNkBGAh1m1eTfeY1417OAYbRGcb/iGsJ+LuVLvKAhU/itzsl535CvcwAlt2LayeCFfcI8gdeOLeZa9A==} + /@swc/core-darwin-x64@1.4.0: + resolution: {integrity: sha512-f8v58u2GsGak8EtZFN9guXqE0Ep10Suny6xriaW2d8FGqESPyNrnBzli3aqkSeQk5gGqu2zJ7WiiKp3XoUOidA==} engines: {node: '>=10'} cpu: [x64] os: [darwin] @@ -2634,8 +2634,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm-gnueabihf@1.3.107: - resolution: {integrity: sha512-I2wzcC0KXqh0OwymCmYwNRgZ9nxX7DWnOOStJXV3pS0uB83TXAkmqd7wvMBuIl9qu4Hfomi9aDM7IlEEn9tumQ==} + /@swc/core-linux-arm-gnueabihf@1.4.0: + resolution: {integrity: sha512-q2KAkBzmPcTnRij/Y1fgHCKAGevUX/H4uUESrw1J5gmUg9Qip6onKV80lTumA1/aooGJ18LOsB31qdbwmZk9OA==} engines: {node: '>=10'} cpu: [arm] os: [linux] @@ -2643,8 +2643,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-gnu@1.3.107: - resolution: {integrity: sha512-HWgnn7JORYlOYnGsdunpSF8A+BCZKPLzLtEUA27/M/ZuANcMZabKL9Zurt7XQXq888uJFAt98Gy+59PU90aHKg==} + /@swc/core-linux-arm64-gnu@1.4.0: + resolution: {integrity: sha512-SknGu96W0mzHtLHWm+62fk5+Omp9fMPFO7AWyGFmz2tr8EgRRXtTSrBUnWhAbgcalnhen48GsvtMdxf1KNputg==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -2652,8 +2652,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-musl@1.3.107: - resolution: {integrity: sha512-vfPF74cWfAm8hyhS8yvYI94ucMHIo8xIYU+oFOW9uvDlGQRgnUf/6DEVbLyt/3yfX5723Ln57U8uiMALbX5Pyw==} + /@swc/core-linux-arm64-musl@1.4.0: + resolution: {integrity: sha512-/k3TDvpBRMDNskHooNN1KqwUhcwkfBlIYxRTnJvsfT2C7My4pffR+4KXmt0IKynlTTbCdlU/4jgX4801FSuliw==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -2661,8 +2661,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-gnu@1.3.107: - resolution: {integrity: sha512-uBVNhIg0ip8rH9OnOsCARUFZ3Mq3tbPHxtmWk9uAa5u8jQwGWeBx5+nTHpDOVd3YxKb6+5xDEI/edeeLpha/9g==} + /@swc/core-linux-x64-gnu@1.4.0: + resolution: {integrity: sha512-GYsTMvNt5+WTVlwwQzOOWsPMw6P/F41u5PGHWmfev8Nd4QJ1h3rWPySKk4mV42IJwH9MgQCVSl3ygwNqwl6kFg==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -2670,8 +2670,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-musl@1.3.107: - resolution: {integrity: sha512-mvACkUvzSIB12q1H5JtabWATbk3AG+pQgXEN95AmEX2ZA5gbP9+B+mijsg7Sd/3tboHr7ZHLz/q3SHTvdFJrEw==} + /@swc/core-linux-x64-musl@1.4.0: + resolution: {integrity: sha512-jGVPdM/VwF7kK/uYRW5N6FwzKf/FnDjGIR3RPvQokjYJy7Auk+3Oj21C0Jev7sIT9RYnO/TrFEoEozKeD/z2Qw==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -2679,8 +2679,8 @@ packages: dev: true optional: true - /@swc/core-win32-arm64-msvc@1.3.107: - resolution: {integrity: sha512-J3P14Ngy/1qtapzbguEH41kY109t6DFxfbK4Ntz9dOWNuVY3o9/RTB841ctnJk0ZHEG+BjfCJjsD2n8H5HcaOA==} + /@swc/core-win32-arm64-msvc@1.4.0: + resolution: {integrity: sha512-biHYm1AronEKlt47O/H8sSOBM2BKXMmWT+ApvlxUw50m1RGNnVnE0bgY7tylFuuSiWyXsQPJbmUV708JqORXVg==} engines: {node: '>=10'} cpu: [arm64] os: [win32] @@ -2688,8 +2688,8 @@ packages: dev: true optional: true - /@swc/core-win32-ia32-msvc@1.3.107: - resolution: {integrity: sha512-ZBUtgyjTHlz8TPJh7kfwwwFma+ktr6OccB1oXC8fMSopD0AxVnQasgun3l3099wIsAB9eEsJDQ/3lDkOLs1gBA==} + /@swc/core-win32-ia32-msvc@1.4.0: + resolution: {integrity: sha512-TL5L2tFQb19kJwv6+elToGBj74QXCn9j+hZfwQatvZEJRA5rDK16eH6oAE751dGUArhnWlW3Vj65hViPvTuycw==} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -2697,8 +2697,8 @@ packages: dev: true optional: true - /@swc/core-win32-x64-msvc@1.3.107: - resolution: {integrity: sha512-Eyzo2XRqWOxqhE1gk9h7LWmUf4Bp4Xn2Ttb0ayAXFp6YSTxQIThXcT9kipXZqcpxcmDwoq8iWbbf2P8XL743EA==} + /@swc/core-win32-x64-msvc@1.4.0: + resolution: {integrity: sha512-e2xVezU7XZ2Stzn4i7TOQe2Kn84oYdG0M3A7XI7oTdcpsKCcKwgiMoroiAhqCv+iN20KNqhnWwJiUiTj/qN5AA==} engines: {node: '>=10'} cpu: [x64] os: [win32] @@ -2706,8 +2706,8 @@ packages: dev: true optional: true - /@swc/core@1.3.107: - resolution: {integrity: sha512-zKhqDyFcTsyLIYK1iEmavljZnf4CCor5pF52UzLAz4B6Nu/4GLU+2LQVAf+oRHjusG39PTPjd2AlRT3f3QWfsQ==} + /@swc/core@1.4.0: + resolution: {integrity: sha512-wc5DMI5BJftnK0Fyx9SNJKkA0+BZSJQx8430yutWmsILkHMBD3Yd9GhlMaxasab9RhgKqZp7Ht30hUYO5ZDvQg==} engines: {node: '>=10'} requiresBuild: true peerDependencies: @@ -2719,30 +2719,35 @@ packages: '@swc/counter': 0.1.1 '@swc/types': 0.1.5 optionalDependencies: - '@swc/core-darwin-arm64': 1.3.107 - '@swc/core-darwin-x64': 1.3.107 - '@swc/core-linux-arm-gnueabihf': 1.3.107 - '@swc/core-linux-arm64-gnu': 1.3.107 - '@swc/core-linux-arm64-musl': 1.3.107 - '@swc/core-linux-x64-gnu': 1.3.107 - '@swc/core-linux-x64-musl': 1.3.107 - '@swc/core-win32-arm64-msvc': 1.3.107 - '@swc/core-win32-ia32-msvc': 1.3.107 - '@swc/core-win32-x64-msvc': 1.3.107 + '@swc/core-darwin-arm64': 1.4.0 + '@swc/core-darwin-x64': 1.4.0 + '@swc/core-linux-arm-gnueabihf': 1.4.0 + '@swc/core-linux-arm64-gnu': 1.4.0 + '@swc/core-linux-arm64-musl': 1.4.0 + '@swc/core-linux-x64-gnu': 1.4.0 + '@swc/core-linux-x64-musl': 1.4.0 + '@swc/core-win32-arm64-msvc': 1.4.0 + '@swc/core-win32-ia32-msvc': 1.4.0 + '@swc/core-win32-x64-msvc': 1.4.0 dev: true /@swc/counter@0.1.1: resolution: {integrity: sha512-xVRaR4u9hcYjFvcSg71Lz5Bo4//CyjAAfMxa7UsaDSYxAshflUkVJWiyVWrfxC59z2kP1IzI4/1BEpnhI9o3Mw==} dev: true - /@swc/jest@0.2.34(@swc/core@1.3.107): - resolution: {integrity: sha512-MrS4m3yHFfnkYjxr3eqxshWi6fVhPViHQsb6XfiTO81niwEqYXeR58YhGJee6R0bfQHC69cv5OJ9+dYTYaYKRg==} + /@swc/counter@0.1.3: + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + dev: true + + /@swc/jest@0.2.36(@swc/core@1.4.0): + resolution: {integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==} engines: {npm: '>= 7.0.0'} peerDependencies: '@swc/core': '*' dependencies: '@jest/create-cache-key-function': 29.7.0 - '@swc/core': 1.3.107 + '@swc/core': 1.4.0 + '@swc/counter': 0.1.3 jsonc-parser: 3.2.0 dev: true @@ -6255,7 +6260,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@swc/core@1.3.107)(@types/node@20.11.16)(typescript@5.3.3) + ts-node: 10.9.2(@swc/core@1.4.0)(@types/node@20.11.16)(typescript@5.3.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -7695,7 +7700,7 @@ packages: optional: true dependencies: lilconfig: 2.1.0 - ts-node: 10.9.2(@swc/core@1.3.107)(@types/node@20.11.16)(typescript@5.3.3) + ts-node: 10.9.2(@swc/core@1.4.0)(@types/node@20.11.16)(typescript@5.3.3) yaml: 2.3.4 dev: true @@ -8726,7 +8731,7 @@ packages: resolution: {integrity: sha512-PGcnJoTBnVGy6yYNFxWVNkdcAuAMstvutN9MgDJIV6L0oG8fB+ZNNy1T+wJzah8RPGor1mZuPQkVfXNDpy9eHA==} dev: true - /ts-node@10.9.2(@swc/core@1.3.107)(@types/node@20.11.16)(typescript@5.3.3): + /ts-node@10.9.2(@swc/core@1.4.0)(@types/node@20.11.16)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -8741,7 +8746,7 @@ packages: optional: true dependencies: '@cspotcode/source-map-support': 0.8.1 - '@swc/core': 1.3.107 + '@swc/core': 1.4.0 '@tsconfig/node10': 1.0.9 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 @@ -8783,7 +8788,7 @@ packages: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} dev: true - /tsup@8.0.1(@swc/core@1.3.107)(ts-node@10.9.2)(typescript@5.3.3): + /tsup@8.0.1(@swc/core@1.4.0)(ts-node@10.9.2)(typescript@5.3.3): resolution: {integrity: sha512-hvW7gUSG96j53ZTSlT4j/KL0q1Q2l6TqGBFc6/mu/L46IoNWqLLUzLRLP1R8Q7xrJTmkDxxDoojV5uCVs1sVOg==} engines: {node: '>=18'} hasBin: true @@ -8802,7 +8807,7 @@ packages: typescript: optional: true dependencies: - '@swc/core': 1.3.107 + '@swc/core': 1.4.0 bundle-require: 4.0.1(esbuild@0.19.5) cac: 6.7.14 chokidar: 3.5.3