diff --git a/package.json b/package.json index 8e695e50..7d111678 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,7 @@ "react-dom": "^18.0.0", "react-test-renderer": "^18.0.0", "rollup": "^3.3.0", - "rollup-plugin-swc3": "^0.8.0", + "rollup-plugin-swc3": "^0.12.0", "simple-git-hooks": "^2.6.1", "simple-github-release": "^1.0.0", "size-limit": "^8.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a3acb7c7..064ddf80 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -165,8 +165,8 @@ importers: specifier: ^3.3.0 version: 3.29.5 rollup-plugin-swc3: - specifier: ^0.8.0 - version: 0.8.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(rollup@3.29.5) + specifier: ^0.12.0 + version: 0.12.1(@swc/core@1.10.4(@swc/helpers@0.5.15))(rollup@3.29.5) simple-git-hooks: specifier: ^2.6.1 version: 2.11.1 @@ -1015,6 +1015,9 @@ packages: resolution: {integrity: sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==} engines: {node: '>=10.0.0'} + '@dual-bundle/import-meta-resolve@4.1.0': + resolution: {integrity: sha512-+nxncfwHM5SgAtrVzgpzJOI1ol0PkumhVo469KCf9lUi21IGcY90G98VuHm9VRrUypmAzawAHO9bs6hqeADaVg==} + '@esbuild/aix-ppc64@0.21.5': resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} engines: {node: '>=12'} @@ -1321,8 +1324,8 @@ packages: resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@fastify/deepmerge@1.3.0': - resolution: {integrity: sha512-J8TOSBq3SoZbDhM9+R/u77hP93gz/rajSA+K2kGyijPpORPWUXHUpTaleoj+92As0S9uPRP7Oi8IqMf0u+ro6A==} + '@fastify/deepmerge@2.0.1': + resolution: {integrity: sha512-hx+wJQr9Ph1hY/dyzY0SxqjumMyqZDlIF6oe71dpRKDHUg7dFQfjG94qqwQ274XRjmUrwKiYadex8XplNHx3CA==} '@gar/promisify@1.1.3': resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==} @@ -1613,10 +1616,6 @@ packages: rollup: optional: true - '@rollup/pluginutils@4.2.1': - resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} - engines: {node: '>= 8.0.0'} - '@rollup/pluginutils@5.1.4': resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} engines: {node: '>=14.0.0'} @@ -6859,12 +6858,17 @@ packages: ripemd160@2.0.2: resolution: {integrity: sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==} - rollup-plugin-swc3@0.8.2: - resolution: {integrity: sha512-8C8rw7Iw3s+RvIooDu0IaXGQDijYFiDpKMuwQPxv3onwa/ysojz3BzG8Lr2AbhX6Hd/2UT2wkerFFwOWQ3ytOQ==} - engines: {node: '>=12'} + rollup-plugin-swc3@0.12.1: + resolution: {integrity: sha512-iNV1T432XvyejZ19/41C2gLbXxEOiiJynPPAFF0WzwwFT5FHx7SstAp0yjJRLyrbZjfIhoWJVl3hX3c3Stv/GQ==} + engines: {node: '>=16'} peerDependencies: '@swc/core': '>=1.2.165' - rollup: ^2.0.0 || ^3.0.0 + rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 + + rollup-preserve-directives@1.1.3: + resolution: {integrity: sha512-oXqxd6ZzkoQej8Qt0k+S/yvO2+S4CEVEVv2g85oL15o0cjAKTKEuo2MzyA8FcsBBXbtytBzBMFAbhvQg4YyPUQ==} + peerDependencies: + rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 rollup@3.29.5: resolution: {integrity: sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==} @@ -9357,6 +9361,8 @@ snapshots: '@discoveryjs/json-ext@0.5.7': {} + '@dual-bundle/import-meta-resolve@4.1.0': {} + '@esbuild/aix-ppc64@0.21.5': optional: true @@ -9536,7 +9542,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@fastify/deepmerge@1.3.0': {} + '@fastify/deepmerge@2.0.1': {} '@gar/promisify@1.1.3': {} @@ -9934,11 +9940,6 @@ snapshots: optionalDependencies: rollup: 3.29.5 - '@rollup/pluginutils@4.2.1': - dependencies: - estree-walker: 2.0.2 - picomatch: 2.3.1 - '@rollup/pluginutils@5.1.4(rollup@3.29.5)': dependencies: '@types/estree': 1.0.6 @@ -16804,13 +16805,20 @@ snapshots: hash-base: 3.0.5 inherits: 2.0.4 - rollup-plugin-swc3@0.8.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(rollup@3.29.5): + rollup-plugin-swc3@0.12.1(@swc/core@1.10.4(@swc/helpers@0.5.15))(rollup@3.29.5): dependencies: - '@fastify/deepmerge': 1.3.0 - '@rollup/pluginutils': 4.2.1 + '@dual-bundle/import-meta-resolve': 4.1.0 + '@fastify/deepmerge': 2.0.1 + '@rollup/pluginutils': 5.1.4(rollup@3.29.5) '@swc/core': 1.10.4(@swc/helpers@0.5.15) get-tsconfig: 4.8.1 rollup: 3.29.5 + rollup-preserve-directives: 1.1.3(rollup@3.29.5) + + rollup-preserve-directives@1.1.3(rollup@3.29.5): + dependencies: + magic-string: 0.30.17 + rollup: 3.29.5 rollup@3.29.5: optionalDependencies: