From 343bc5ed60532f3eb6abbee1a76c539c918f2960 Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Mon, 27 Nov 2023 08:39:18 +0100 Subject: [PATCH] Upgrade rollup-swc-preserve-directives --- package.json | 2 +- pnpm-lock.yaml | 42 ++++++++++++++++-------------------------- 2 files changed, 17 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 9452af70..31461158 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "rollup": "^3.28.1", "rollup-plugin-dts": "^6.0.1", "rollup-plugin-swc3": "^0.10.3", - "rollup-swc-preserve-directives": "^0.5.0", + "rollup-swc-preserve-directives": "^0.7.0", "tslib": "^2.5.0" }, "peerDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cc8e41f2..e945cb2f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ dependencies: specifier: ^0.10.3 version: 0.10.3(@swc/core@1.3.99)(rollup@3.28.1) rollup-swc-preserve-directives: - specifier: ^0.5.0 - version: 0.5.0(@swc/core@1.3.99)(rollup@3.28.1) + specifier: ^0.7.0 + version: 0.7.0(rollup@3.28.1) tslib: specifier: ^2.5.0 version: 2.5.0 @@ -109,15 +109,6 @@ packages: dependencies: '@babel/highlight': 7.22.13 chalk: 2.4.2 - dev: true - - /@babel/code-frame@7.23.4: - resolution: {integrity: sha512-r1IONyb6Ia+jYR2vvIDhdWdlTGhqbBoFqLTQidzZ4kepUFH15ejXvFHxCVbtl7BOXIudsIubf4E81xeA3h3IXA==} - engines: {node: '>=6.9.0'} - requiresBuild: true - dependencies: - '@babel/highlight': 7.23.4 - chalk: 2.4.2 /@babel/compat-data@7.18.13: resolution: {integrity: sha512-5yUzC5LqyTFp2HLmDoxGQelcdYgSpP9xsnMWBphAscOdFrHSAVbLNzWiy32sVNDqJRDiJK6klfDnAgu6PAGSHw==} @@ -267,11 +258,11 @@ packages: resolution: {integrity: sha512-4E/F9IIEi8WR94324mbDUMo074YTheJmd7eZF5vITTeYchqAi6sYXRLHUVsmkdmY4QjfKTcB2jB7dVP3NaBElQ==} engines: {node: '>=6.9.0'} requiresBuild: true - dev: true /@babel/helper-validator-identifier@7.22.20: resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} engines: {node: '>=6.9.0'} + dev: true /@babel/helper-validator-option@7.18.6: resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==} @@ -297,16 +288,6 @@ packages: '@babel/helper-validator-identifier': 7.22.15 chalk: 2.4.2 js-tokens: 4.0.0 - dev: true - - /@babel/highlight@7.23.4: - resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==} - engines: {node: '>=6.9.0'} - requiresBuild: true - dependencies: - '@babel/helper-validator-identifier': 7.22.20 - chalk: 2.4.2 - js-tokens: 4.0.0 /@babel/parser@7.18.13: resolution: {integrity: sha512-dgXcIfMuQ0kgzLB2b9tRZs7TTFFaGM2AbtA4fJgUUYukzGH4jwsS7hzQHEGs67jdehpm22vkgKwvbU+aEflgwg==} @@ -466,7 +447,7 @@ packages: resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.23.4 + '@babel/code-frame': 7.22.13 '@babel/parser': 7.23.0 '@babel/types': 7.23.0 dev: true @@ -475,7 +456,7 @@ packages: resolution: {integrity: sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.23.4 + '@babel/code-frame': 7.22.13 '@babel/generator': 7.23.0 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-function-name': 7.23.0 @@ -2971,7 +2952,7 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} dependencies: - '@babel/code-frame': 7.23.4 + '@babel/code-frame': 7.22.13 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 @@ -3130,7 +3111,7 @@ packages: rollup: 3.28.1 typescript: 4.9.5 optionalDependencies: - '@babel/code-frame': 7.23.4 + '@babel/code-frame': 7.22.13 dev: false /rollup-plugin-swc3@0.10.3(@swc/core@1.3.99)(rollup@3.28.1): @@ -3159,6 +3140,15 @@ packages: rollup: 3.28.1 dev: false + /rollup-swc-preserve-directives@0.7.0(rollup@3.28.1): + resolution: {integrity: sha512-CdIBzkTMPE2uiR9y4s2NmLkcCL+QzUZWE9JjJROkgdUcs3LFNOGK7DMX0/Gau4Ds59+C/PrMLdSG+sTolbEqbg==} + peerDependencies: + rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 + dependencies: + '@napi-rs/magic-string': 0.3.4 + rollup: 3.28.1 + dev: false + /rollup@3.28.1: resolution: {integrity: sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==} engines: {node: '>=14.18.0', npm: '>=8.0.0'}