diff --git a/scripts/build/config.js b/scripts/build/config.js index a74863642..ff8617a7a 100644 --- a/scripts/build/config.js +++ b/scripts/build/config.js @@ -299,15 +299,6 @@ const pluginFiles = [ "* as ", ); - // Remove bundled `semver` - text = text - .replaceAll( - /\n\/\/ node_modules\/\.pnpm\/semver@.*?\nvar .*? = __commonJS\(\{\n.*\n\}\);\n/gsu, - "", - ) - .replace(/var import_semver = .*?;/u, "") - .replace(/if \(import_semver.*?\) \{/u, "if (false) {"); - return text; }, }, diff --git a/yarn.lock b/yarn.lock index 1c4cd56b8..c89e4aedb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8544,11 +8544,11 @@ __metadata: linkType: hard "ts-api-utils@npm:^1.3.0": - version: 1.4.1 - resolution: "ts-api-utils@npm:1.4.1" + version: 1.4.2 + resolution: "ts-api-utils@npm:1.4.2" peerDependencies: typescript: ">=4.2.0" - checksum: 10/2f32698ed1c06e57d934704ff2579a905895441ef0a29f732242d3d3f651abd5d09610f702c656e85b73457582a1ded43adeef82e9f6d665ae0fb66497cf39f6 + checksum: 10/9c92217d4eb9ee656f19181c412d01e7b4370faa21de1d5cc0edf972d416eeabf4422343b40c574462a27329afa8dcf9795223b253a6abc8695a079700893b64 languageName: node linkType: hard