Update ts-api-utils to v1.4.2 (#16888)
This commit is contained in:
1 parent
f6fccadbc7
commit
1fb629709a
2 files changed
+3
-12
No files matched your search
@@ -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;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user