diff --git a/package.json b/package.json index f72e7734..522b0e8d 100644 --- a/package.json +++ b/package.json @@ -116,7 +116,7 @@ "react-dom": "^18.2.0", "rollup": "^3.25.2", "rollup-plugin-dts": "^5.3.0", - "rollup-plugin-swc3": "^0.8.2", + "rollup-plugin-swc3": "^0.10.3", "ts-node": "^10.9.1", "typescript": "^5.1.3", "vite": "^4.4.11", diff --git a/yarn.lock b/yarn.lock index cb826766..625aea08 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1106,7 +1106,7 @@ __metadata: languageName: node linkType: hard -"@fastify/deepmerge@npm:^1.1.0": +"@fastify/deepmerge@npm:^1.3.0": version: 1.3.0 resolution: "@fastify/deepmerge@npm:1.3.0" checksum: 33ec927905dca320d7ae9535a1521909f7c82339706345324ab6287ad100589a799b8257c15b0e582c7bb74e2aa4883d82ba0228d7b116aa8789ada4f78d6974 @@ -1447,6 +1447,145 @@ __metadata: languageName: node linkType: hard +"@napi-rs/magic-string-android-arm-eabi@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-android-arm-eabi@npm:0.3.4" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@napi-rs/magic-string-android-arm64@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-android-arm64@npm:0.3.4" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/magic-string-darwin-arm64@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-darwin-arm64@npm:0.3.4" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/magic-string-darwin-x64@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-darwin-x64@npm:0.3.4" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/magic-string-freebsd-x64@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-freebsd-x64@npm:0.3.4" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/magic-string-linux-arm-gnueabihf@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-linux-arm-gnueabihf@npm:0.3.4" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@napi-rs/magic-string-linux-arm64-gnu@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-linux-arm64-gnu@npm:0.3.4" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/magic-string-linux-arm64-musl@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-linux-arm64-musl@npm:0.3.4" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/magic-string-linux-x64-gnu@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-linux-x64-gnu@npm:0.3.4" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/magic-string-linux-x64-musl@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-linux-x64-musl@npm:0.3.4" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/magic-string-win32-arm64-msvc@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-win32-arm64-msvc@npm:0.3.4" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@napi-rs/magic-string-win32-ia32-msvc@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-win32-ia32-msvc@npm:0.3.4" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@napi-rs/magic-string-win32-x64-msvc@npm:0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string-win32-x64-msvc@npm:0.3.4" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@napi-rs/magic-string@npm:^0.3.4": + version: 0.3.4 + resolution: "@napi-rs/magic-string@npm:0.3.4" + dependencies: + "@napi-rs/magic-string-android-arm-eabi": 0.3.4 + "@napi-rs/magic-string-android-arm64": 0.3.4 + "@napi-rs/magic-string-darwin-arm64": 0.3.4 + "@napi-rs/magic-string-darwin-x64": 0.3.4 + "@napi-rs/magic-string-freebsd-x64": 0.3.4 + "@napi-rs/magic-string-linux-arm-gnueabihf": 0.3.4 + "@napi-rs/magic-string-linux-arm64-gnu": 0.3.4 + "@napi-rs/magic-string-linux-arm64-musl": 0.3.4 + "@napi-rs/magic-string-linux-x64-gnu": 0.3.4 + "@napi-rs/magic-string-linux-x64-musl": 0.3.4 + "@napi-rs/magic-string-win32-arm64-msvc": 0.3.4 + "@napi-rs/magic-string-win32-ia32-msvc": 0.3.4 + "@napi-rs/magic-string-win32-x64-msvc": 0.3.4 + dependenciesMeta: + "@napi-rs/magic-string-android-arm-eabi": + optional: true + "@napi-rs/magic-string-android-arm64": + optional: true + "@napi-rs/magic-string-darwin-arm64": + optional: true + "@napi-rs/magic-string-darwin-x64": + optional: true + "@napi-rs/magic-string-freebsd-x64": + optional: true + "@napi-rs/magic-string-linux-arm-gnueabihf": + optional: true + "@napi-rs/magic-string-linux-arm64-gnu": + optional: true + "@napi-rs/magic-string-linux-arm64-musl": + optional: true + "@napi-rs/magic-string-linux-x64-gnu": + optional: true + "@napi-rs/magic-string-linux-x64-musl": + optional: true + "@napi-rs/magic-string-win32-arm64-msvc": + optional: true + "@napi-rs/magic-string-win32-ia32-msvc": + optional: true + "@napi-rs/magic-string-win32-x64-msvc": + optional: true + checksum: b138f5ba72511f80b20ac068edb124cae3693a5650cb574b8fcff781c149bb76db286a314d172e15cf688bd176e0a693929422c3e0c20663fda00a8e954beaf5 + languageName: node + linkType: hard + "@napi-rs/simple-git-android-arm-eabi@npm:0.1.9": version: 0.1.9 resolution: "@napi-rs/simple-git-android-arm-eabi@npm:0.1.9" @@ -1757,16 +1896,6 @@ __metadata: languageName: node linkType: hard -"@rollup/pluginutils@npm:^4.2.1": - version: 4.2.1 - resolution: "@rollup/pluginutils@npm:4.2.1" - dependencies: - estree-walker: ^2.0.1 - picomatch: ^2.2.2 - checksum: 6bc41f22b1a0f1efec3043899e4d3b6b1497b3dea4d94292d8f83b4cf07a1073ecbaedd562a22d11913ff7659f459677b01b09e9598a98936e746780ecc93a12 - languageName: node - linkType: hard - "@rollup/pluginutils@npm:^5.0.1": version: 5.0.2 resolution: "@rollup/pluginutils@npm:5.0.2" @@ -1783,6 +1912,22 @@ __metadata: languageName: node linkType: hard +"@rollup/pluginutils@npm:^5.0.5": + version: 5.0.5 + resolution: "@rollup/pluginutils@npm:5.0.5" + dependencies: + "@types/estree": ^1.0.0 + estree-walker: ^2.0.2 + picomatch: ^2.3.1 + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: dcd4d6e3cb6047f18c465a5f2bcd29995c565f083fb6ca5505bcf2018ae0c16634fd38d99538fbb7dcef4e1b491cf4b4465f8845b5666778a925a27e9202dbab + languageName: node + linkType: hard + "@sinclair/typebox@npm:^0.27.8": version: 0.27.8 resolution: "@sinclair/typebox@npm:0.27.8" @@ -2015,7 +2160,7 @@ __metadata: react-dom: ^18.2.0 rollup: ^3.25.2 rollup-plugin-dts: ^5.3.0 - rollup-plugin-swc3: ^0.8.2 + rollup-plugin-swc3: ^0.10.3 ts-node: ^10.9.1 typescript: ^5.1.3 vite: ^4.4.11 @@ -4943,7 +5088,7 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^2.0.1, estree-walker@npm:^2.0.2": +"estree-walker@npm:^2.0.2": version: 2.0.2 resolution: "estree-walker@npm:2.0.2" checksum: 6151e6f9828abe2259e57f5fd3761335bb0d2ebd76dc1a01048ccee22fabcfef3c0859300f6d83ff0d1927849368775ec5a6d265dde2f6de5a1be1721cd94efc @@ -5328,6 +5473,15 @@ __metadata: languageName: node linkType: hard +"get-tsconfig@npm:^4.7.2": + version: 4.7.2 + resolution: "get-tsconfig@npm:4.7.2" + dependencies: + resolve-pkg-maps: ^1.0.0 + checksum: 172358903250eff0103943f816e8a4e51d29b8e5449058bdf7266714a908a48239f6884308bd3a6ff28b09f692b9533dbebfd183ab63e4e14f073cda91f1bca9 + languageName: node + linkType: hard + "git-raw-commits@npm:^2.0.11": version: 2.0.11 resolution: "git-raw-commits@npm:2.0.11" @@ -8673,7 +8827,7 @@ __metadata: languageName: node linkType: hard -"picomatch@npm:^2.2.2, picomatch@npm:^2.3.1": +"picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" checksum: 050c865ce81119c4822c45d3c84f1ced46f93a0126febae20737bd05ca20589c564d6e9226977df859ed5e03dc73f02584a2b0faad36e896936238238b0446cf @@ -9152,6 +9306,13 @@ __metadata: languageName: node linkType: hard +"resolve-pkg-maps@npm:^1.0.0": + version: 1.0.0 + resolution: "resolve-pkg-maps@npm:1.0.0" + checksum: 1012afc566b3fdb190a6309cc37ef3b2dcc35dff5fa6683a9d00cd25c3247edfbc4691b91078c97adc82a29b77a2660c30d791d65dab4fc78bfc473f60289977 + languageName: node + linkType: hard + "resolve@npm:^1.10.0, resolve@npm:^1.19.0, resolve@npm:^1.22.1, resolve@npm:^1.22.2": version: 1.22.3 resolution: "resolve@npm:1.22.3" @@ -9269,17 +9430,30 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-swc3@npm:^0.8.2": - version: 0.8.2 - resolution: "rollup-plugin-swc3@npm:0.8.2" +"rollup-plugin-swc3@npm:^0.10.3": + version: 0.10.3 + resolution: "rollup-plugin-swc3@npm:0.10.3" dependencies: - "@fastify/deepmerge": ^1.1.0 - "@rollup/pluginutils": ^4.2.1 - get-tsconfig: ^4.2.0 + "@fastify/deepmerge": ^1.3.0 + "@rollup/pluginutils": ^5.0.5 + get-tsconfig: ^4.7.2 + rollup-swc-preserve-directives: ^0.5.0 peerDependencies: "@swc/core": ">=1.2.165" + rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 + checksum: cc03bfe5dcd904ff15299e2f2aa90f47e35d170dd36e7e58da97faec85237cbbd53dc069176596f408cc33c21cf0b2f2a260741f441af6b02a5836a382043276 + languageName: node + linkType: hard + +"rollup-swc-preserve-directives@npm:^0.5.0": + version: 0.5.0 + resolution: "rollup-swc-preserve-directives@npm:0.5.0" + dependencies: + "@napi-rs/magic-string": ^0.3.4 + peerDependencies: + "@swc/core": ">=1.3.79" rollup: ^2.0.0 || ^3.0.0 - checksum: f7ed174616d032c606cd5a75f6045f754434c88498cc9845a7179d7a781e8dc3e0a242b30f413c8c7f8fca3caa7d0edea67a00d90b1e84571a12d26cd94b71f2 + checksum: 989c34dc7ebfb546303803d3f0757fac5bb80620a3c2c41f4f1d96099917297bed6906cd4b5692b2ea13c3306cc7b66a32f8f0386466100a20255fc5c543e4d4 languageName: node linkType: hard