diff --git a/package.json b/package.json index f7d9d3a6..87ce782b 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,9 @@ "qa": "tsc && pnpm prettier-ci && pnpm build && pnpm test", "release": "pnpm build && tnode scripts/release.ts" }, - "packageManager": "pnpm@8.7.0", + "packageManager": "pnpm@8.7.1", "dependencies": { - "@swc/core": "^1.3.80" + "@swc/core": "^1.3.82" }, "peerDependencies": { "vite": "^4" @@ -23,8 +23,8 @@ "@arnaud-barre/tnode": "^0.19.1", "@playwright/test": "^1.37.1", "@types/fs-extra": "^11.0.1", - "@types/node": "^18.17.12", - "@vitejs/release-scripts": "^1.2.1", + "@types/node": "^18.17.14", + "@vitejs/release-scripts": "^1.3.0", "esbuild": "^0.19.2", "fs-extra": "^11.1.1", "picocolors": "^1.0.0", diff --git a/playground/emotion-plugin/package.json b/playground/emotion-plugin/package.json index 2e4610c8..b10f51d0 100644 --- a/playground/emotion-plugin/package.json +++ b/playground/emotion-plugin/package.json @@ -17,6 +17,6 @@ "@types/react": "^18.2.21", "@types/react-dom": "^18.2.7", "@vitejs/plugin-react-swc": "../../dist", - "@swc/plugin-emotion": "^2.5.74" + "@swc/plugin-emotion": "^2.5.76" } } diff --git a/playground/styled-components/package.json b/playground/styled-components/package.json index 569d2ab8..4a15c1a1 100644 --- a/playground/styled-components/package.json +++ b/playground/styled-components/package.json @@ -14,7 +14,7 @@ "styled-components": "^6.0.7" }, "devDependencies": { - "@swc/plugin-styled-components": "^1.5.74", + "@swc/plugin-styled-components": "^1.5.76", "@types/react": "^18.2.21", "@types/react-dom": "^18.2.7", "@types/styled-components": "^5.1.26", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 71fecbd3..98da36ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@swc/core': - specifier: ^1.3.80 - version: 1.3.80 + specifier: ^1.3.82 + version: 1.3.82 devDependencies: '@arnaud-barre/tnode': specifier: ^0.19.1 @@ -22,11 +22,11 @@ importers: specifier: ^11.0.1 version: 11.0.1 '@types/node': - specifier: ^18.17.12 - version: 18.17.12 + specifier: ^18.17.14 + version: 18.17.14 '@vitejs/release-scripts': - specifier: ^1.2.1 - version: 1.2.1 + specifier: ^1.3.0 + version: 1.3.0 esbuild: specifier: ^0.19.2 version: 0.19.2 @@ -44,7 +44,7 @@ importers: version: 5.2.2 vite: specifier: ^4.4.9 - version: 4.4.9(@types/node@18.17.12) + version: 4.4.9(@types/node@18.17.14) playground/base-path: dependencies: @@ -125,8 +125,8 @@ importers: version: 18.2.0(react@18.2.0) devDependencies: '@swc/plugin-emotion': - specifier: ^2.5.74 - version: 2.5.74 + specifier: ^2.5.76 + version: 2.5.76 '@types/react': specifier: ^18.2.21 version: 18.2.21 @@ -213,8 +213,8 @@ importers: version: 6.0.7(react-dom@18.2.0)(react@18.2.0) devDependencies: '@swc/plugin-styled-components': - specifier: ^1.5.74 - version: 1.5.74 + specifier: ^1.5.76 + version: 1.5.76 '@types/react': specifier: ^18.2.21 version: 18.2.21 @@ -2167,7 +2167,7 @@ packages: generouted: 1.15.7(vite@4.4.9) react: 18.2.0 react-router-dom: 6.15.0(react-dom@18.2.0)(react@18.2.0) - vite: 4.4.9(@types/node@18.17.12) + vite: 4.4.9(@types/node@18.17.14) dev: false /@jridgewell/gen-mapping@0.3.2: @@ -2270,7 +2270,7 @@ packages: engines: {node: '>=16'} hasBin: true dependencies: - '@types/node': 18.17.12 + '@types/node': 18.17.14 playwright-core: 1.37.1 optionalDependencies: fsevents: 2.3.2 @@ -2296,8 +2296,8 @@ packages: rollup: 3.28.1 dev: true - /@swc/core-darwin-arm64@1.3.80: - resolution: {integrity: sha512-rhoFTcQMUGfO7IkfOnopPSF6O0/aVJ58B7KueIKbvrMe6YvSfFj9QfObELFjYCcrJZTvUWBhig0QrsfPIiUphA==} + /@swc/core-darwin-arm64@1.3.82: + resolution: {integrity: sha512-JfsyDW34gVKD3uE0OUpUqYvAD3yseEaicnFP6pB292THtLJb0IKBBnK50vV/RzEJtc1bR3g1kNfxo2PeurZTrA==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] @@ -2305,8 +2305,8 @@ packages: dev: false optional: true - /@swc/core-darwin-x64@1.3.80: - resolution: {integrity: sha512-0dOLedFpVXe+ugkKHXsqSxMKqvQYfFtibWbrZ7j8wOaErzSGPr0VpyWvepNVb9s046725kPXSw+fsGhqZR8wrw==} + /@swc/core-darwin-x64@1.3.82: + resolution: {integrity: sha512-ogQWgNMq7qTpITjcP3dnzkFNj7bh6SwMr859GvtOTrE75H7L7jDWxESfH4f8foB/LGxBKiDNmxKhitCuAsZK4A==} engines: {node: '>=10'} cpu: [x64] os: [darwin] @@ -2314,8 +2314,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm-gnueabihf@1.3.80: - resolution: {integrity: sha512-QIjwP3PtDeHBDkwF6+ZZqdUsqAhORbMpxrw2jq3mHe4lQrxBttSFTq018vlMRo2mFEorOvXdadzaD9m+NymPrw==} + /@swc/core-linux-arm-gnueabihf@1.3.82: + resolution: {integrity: sha512-7TMXG1lXlNhD0kUiEqs+YlGV4irAdBa2quuy+XI3oJf2fBK6dQfEq4xBy65B3khrorzQS3O0oDGQ+cmdpHExHA==} engines: {node: '>=10'} cpu: [arm] os: [linux] @@ -2323,8 +2323,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm64-gnu@1.3.80: - resolution: {integrity: sha512-cg8WriIueab58ZwkzXmIACnjSzFLzOBwxlC9k65gPXMNgCjab2YbqEYvAbjBqneuqaao02gW6tad2uhjgYaExw==} + /@swc/core-linux-arm64-gnu@1.3.82: + resolution: {integrity: sha512-26JkOujbzcItPAmIbD5vHJxQVy5ihcSu3YHTKwope1h28sApZdtE7S3e2G3gsZRTIdsCQkXUtAQeqHxGWWR3pw==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -2332,8 +2332,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm64-musl@1.3.80: - resolution: {integrity: sha512-AhdCQ7QKx5mWrtpaOA1mFRiWWvuiiUtspvo0QSpspDetRKTND1rlf/3UB5+gp0kCeCNUTsVmJWU7fIA9ICZtXA==} + /@swc/core-linux-arm64-musl@1.3.82: + resolution: {integrity: sha512-8Izj9tuuMpoc3cqiPBRtwqpO1BZ/+sfZVsEhLxrbOFlcSb8LnKyMle1g3JMMUwI4EU75RGVIzZMn8A6GOKdJbA==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -2341,8 +2341,8 @@ packages: dev: false optional: true - /@swc/core-linux-x64-gnu@1.3.80: - resolution: {integrity: sha512-+2e5oni1vOrLIjM5Q2/GIzK/uS2YEtuJqnjPvCK8SciRJsSl8OgVsRvyCDbmKeZNtJ2Q+o/O2AQ2w1qpAJG6jg==} + /@swc/core-linux-x64-gnu@1.3.82: + resolution: {integrity: sha512-0GSrIBScQwTaPv46T2qB7XnDYxndRCpwH4HMjh6FN+I+lfPUhTSJKW8AonqrqT1TbpFIgvzQs7EnTsD7AnSCow==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -2350,8 +2350,8 @@ packages: dev: false optional: true - /@swc/core-linux-x64-musl@1.3.80: - resolution: {integrity: sha512-8OK9IlI1zpWOm7vIp1iXmZSEzLAwFpqhsGSEhxPavpOx2m54kLFdPcw/Uv3n461f6TCtszIxkGq1kSqBUdfUBA==} + /@swc/core-linux-x64-musl@1.3.82: + resolution: {integrity: sha512-KJUnaaepDKNzrEbwz4jv0iC3/t9x0NSoe06fnkAlhh2+NFKWKKJhVCOBTrpds8n7eylBDIXUlK34XQafjVMUdg==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -2359,8 +2359,8 @@ packages: dev: false optional: true - /@swc/core-win32-arm64-msvc@1.3.80: - resolution: {integrity: sha512-RKhatwiAGlffnF6z2Mm3Ddid0v3KB+uf5m/Gc7N9zO/EUAV0PnHRuYuZSGyqodHmGFC+mK8YrCooFCEmHL9n+w==} + /@swc/core-win32-arm64-msvc@1.3.82: + resolution: {integrity: sha512-TR3MHKhDYIyGyFcyl2d/p1ftceXcubAhX5wRSOdtOyr5+K/v3jbyCCqN7bbqO5o43wQVCwwR/drHleYyDZvg8Q==} engines: {node: '>=10'} cpu: [arm64] os: [win32] @@ -2368,8 +2368,8 @@ packages: dev: false optional: true - /@swc/core-win32-ia32-msvc@1.3.80: - resolution: {integrity: sha512-3jiiZzU/kaw7k4zUp1yMq1QiUe4wJVtCEXIhf+fKuBsIwm7rdvyK/+PIx5KHnZy4TGQnYczKBRhJA5nuBcrUCQ==} + /@swc/core-win32-ia32-msvc@1.3.82: + resolution: {integrity: sha512-ZX4HzVVt6hs84YUg70UvyBJnBOIspmQQM0iXSzBvOikk3zRoN7BnDwQH4GScvevCEBuou60+i4I6d5kHLOfh8Q==} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -2377,8 +2377,8 @@ packages: dev: false optional: true - /@swc/core-win32-x64-msvc@1.3.80: - resolution: {integrity: sha512-2eZtIoIWQBWqykfms92Zd37lveYOBWQTZjdooBGlsLHtcoQLkNpf1NXmR6TKY0yy8q6Yl3OhPvY+izjmO08MSg==} + /@swc/core-win32-x64-msvc@1.3.82: + resolution: {integrity: sha512-4mJMnex21kbQoaHeAmHnVwQN9/XAfPszJ6n9HI7SVH+aAHnbBIR0M59/b50/CJMjTj5niUGk7EwQ3nhVNOG32g==} engines: {node: '>=10'} cpu: [x64] os: [win32] @@ -2386,8 +2386,8 @@ packages: dev: false optional: true - /@swc/core@1.3.80: - resolution: {integrity: sha512-yX2xV5I/lYswHHR+44TPvzBgq3/Y8N1YWpTQADYuvSiX3Jxyvemk5Jpx3rRtigYb8WBkWAAf2i5d5ZJ2M7hhgw==} + /@swc/core@1.3.82: + resolution: {integrity: sha512-jpC1a18HMH67018Ij2jh+hT7JBFu7ZKcQVfrZ8K6JuEY+kjXmbea07P9MbQUZbAe0FB+xi3CqEVCP73MebodJQ==} engines: {node: '>=10'} requiresBuild: true peerDependencies: @@ -2398,24 +2398,24 @@ packages: dependencies: '@swc/types': 0.1.4 optionalDependencies: - '@swc/core-darwin-arm64': 1.3.80 - '@swc/core-darwin-x64': 1.3.80 - '@swc/core-linux-arm-gnueabihf': 1.3.80 - '@swc/core-linux-arm64-gnu': 1.3.80 - '@swc/core-linux-arm64-musl': 1.3.80 - '@swc/core-linux-x64-gnu': 1.3.80 - '@swc/core-linux-x64-musl': 1.3.80 - '@swc/core-win32-arm64-msvc': 1.3.80 - '@swc/core-win32-ia32-msvc': 1.3.80 - '@swc/core-win32-x64-msvc': 1.3.80 + '@swc/core-darwin-arm64': 1.3.82 + '@swc/core-darwin-x64': 1.3.82 + '@swc/core-linux-arm-gnueabihf': 1.3.82 + '@swc/core-linux-arm64-gnu': 1.3.82 + '@swc/core-linux-arm64-musl': 1.3.82 + '@swc/core-linux-x64-gnu': 1.3.82 + '@swc/core-linux-x64-musl': 1.3.82 + '@swc/core-win32-arm64-msvc': 1.3.82 + '@swc/core-win32-ia32-msvc': 1.3.82 + '@swc/core-win32-x64-msvc': 1.3.82 dev: false - /@swc/plugin-emotion@2.5.74: - resolution: {integrity: sha512-IkMQHVGBahgEOQa24JKlJaWE+Or5qAXOf5mahFcdKAs3RSFuOjI2uB/MCxt8QJFD+PT90jaBA5CTKAzinM0ZSg==} + /@swc/plugin-emotion@2.5.76: + resolution: {integrity: sha512-r+LVg7vit9fGUlJjRUX+mwW2Jw9TWYfFCttH6L+l6AxkH9XsOEOWajwJ7/QQu3o9lI/rurjweJPbgTxVCygfNg==} dev: true - /@swc/plugin-styled-components@1.5.74: - resolution: {integrity: sha512-fei202+MZDomk9d2x7vRALHD9z8i5b5xwuROcsyPy/Ss84zh5XWRjJDosA9XVGqqDBQYzI4YUebtBrvySYlfcA==} + /@swc/plugin-styled-components@1.5.76: + resolution: {integrity: sha512-TLwNf7QjTv0tVXHiS3Ei06m48zpTeMr+bVfAVTAMIPypOxlmKsE4gss8cf9jRTZxbz8ZHfxsEjplYsvVHhKhHg==} dev: true /@swc/types@0.1.4: @@ -2448,7 +2448,7 @@ packages: resolution: {integrity: sha512-MxObHvNl4A69ofaTRU8DFqvgzzv8s9yRtaPPm5gud9HDNvpB3GPQFvNuTWAI59B9huVGV5jXYJwbCsmBsOGYWA==} dependencies: '@types/jsonfile': 6.1.1 - '@types/node': 18.17.12 + '@types/node': 18.17.14 dev: true /@types/hast@2.3.4: @@ -2467,7 +2467,7 @@ packages: /@types/jsonfile@6.1.1: resolution: {integrity: sha512-GSgiRCVeapDN+3pqA35IkQwasaCh/0YFH5dEF6S88iDvEn901DjOeH3/QPY+XYP1DFzDZPvIvfeEgk+7br5png==} dependencies: - '@types/node': 18.17.12 + '@types/node': 18.17.14 dev: true /@types/mdast@3.0.10: @@ -2484,8 +2484,8 @@ packages: resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==} dev: true - /@types/node@18.17.12: - resolution: {integrity: sha512-d6xjC9fJ/nSnfDeU0AMDsaJyb1iHsqCSOdi84w4u+SlN/UgQdY5tRhpMzaFYsI4mnpvgTivEaQd0yOUhAtOnEQ==} + /@types/node@18.17.14: + resolution: {integrity: sha512-ZE/5aB73CyGqgQULkLG87N9GnyGe5TcQjv34pwS8tfBs1IkCh0ASM69mydb2znqd6v0eX+9Ytvk6oQRqu8T1Vw==} /@types/parse-json@4.0.0: resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} @@ -2526,14 +2526,14 @@ packages: resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} dev: true - /@vitejs/release-scripts@1.2.1: - resolution: {integrity: sha512-GXwVFOQaedtoEQOpCR3+V5ZDSL6HSvhK6JvDmo3nBTxpMObBX/ohrsOCYeXMVtBVfLuHWaZQBJsDKeb804003g==} + /@vitejs/release-scripts@1.3.0: + resolution: {integrity: sha512-DC4sBo1Y1ocQLPpcd4XHJCPP0LpyetbxMjfHvi9p8iGS2DAoKmQMszQtrz/oSXIr8LCwhkCQQFzJaXILtky4Xg==} dependencies: - execa: 7.1.1 + execa: 8.0.1 mri: 1.2.0 picocolors: 1.0.0 prompts: 2.4.2 - publint: 0.1.16 + publint: 0.2.2 semver: 7.5.4 dev: true @@ -2954,18 +2954,18 @@ packages: engines: {node: '>=0.10.0'} dev: false - /execa@7.1.1: - resolution: {integrity: sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==} - engines: {node: ^14.18.0 || ^16.14.0 || >=18.0.0} + /execa@8.0.1: + resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} + engines: {node: '>=16.17'} dependencies: cross-spawn: 7.0.3 - get-stream: 6.0.1 - human-signals: 4.3.1 + get-stream: 8.0.1 + human-signals: 5.0.0 is-stream: 3.0.0 merge-stream: 2.0.0 npm-run-path: 5.1.0 onetime: 6.0.0 - signal-exit: 3.0.7 + signal-exit: 4.1.0 strip-final-newline: 3.0.0 dev: true @@ -3034,7 +3034,7 @@ packages: peerDependencies: vite: '>=3' dependencies: - vite: 4.4.9(@types/node@18.17.12) + vite: 4.4.9(@types/node@18.17.14) dev: false /generouted@1.15.7(vite@4.4.9): @@ -3042,7 +3042,7 @@ packages: peerDependencies: vite: '>=3' dependencies: - vite: 4.4.9(@types/node@18.17.12) + vite: 4.4.9(@types/node@18.17.14) dev: false /gensync@1.0.0-beta.2: @@ -3050,9 +3050,9 @@ packages: engines: {node: '>=6.9.0'} dev: false - /get-stream@6.0.1: - resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} - engines: {node: '>=10'} + /get-stream@8.0.1: + resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} + engines: {node: '>=16'} dev: true /glob-parent@5.1.2: @@ -3136,9 +3136,9 @@ packages: dependencies: react-is: 16.13.1 - /human-signals@4.3.1: - resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==} - engines: {node: '>=14.18.0'} + /human-signals@5.0.0: + resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} + engines: {node: '>=16.17.0'} dev: true /ignore-walk@5.0.1: @@ -3930,8 +3930,8 @@ packages: resolution: {integrity: sha512-kma4U7AFCTwpqq5twzC1YVIDXSqg6qQK6JN0smOw8fgRy1OkMi0CYSzFmsy6dnqSenamAtj0CyXMUJ1Mf6oROg==} dev: true - /publint@0.1.16: - resolution: {integrity: sha512-wJgk7HnXDT5Ap0DjFYbGz78kPkN44iQvDiaq8P63IEEyNU9mYXvaMd2cAyIM6OgqXM/IA3CK6XWIsRq+wjNpgw==} + /publint@0.2.2: + resolution: {integrity: sha512-2t2IO6Y8Z+QBNLG89bpRhTQH7Ifn/83Kr0dVVdmOybq7GAT6+M4YGZd5AhtfMJbYPmbT7YD469pDKLCK94Q2+Q==} engines: {node: '>=16'} hasBin: true dependencies: @@ -4147,8 +4147,9 @@ packages: engines: {node: '>=8'} dev: true - /signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + /signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} dev: true /sisteransi@1.0.5: @@ -4416,7 +4417,7 @@ packages: vfile-message: 3.1.4 dev: true - /vite@4.4.9(@types/node@18.17.12): + /vite@4.4.9(@types/node@18.17.14): resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -4444,7 +4445,7 @@ packages: terser: optional: true dependencies: - '@types/node': 18.17.12 + '@types/node': 18.17.14 esbuild: 0.18.18 postcss: 8.4.27 rollup: 3.28.1