Update ts-api-utils to v1.4.2 (#16888)

This commit is contained in:
fisker Cheung authored and GitHub committed 2024-11-26 20:57:55 +08:00
1 parent f6fccadbc7
commit 1fb629709a
2 files changed
+3 -12

No files matched your search

-9
View File
@@ -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;
},
},