Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: deadlock in tsconfck for circles in references and extends #15932

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
},
"peerDependencyRules": {
"allowedVersions": {
Expand Down
13 changes: 13 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/src/parse.js b/src/parse.js
index 246a5939fd949d805e1bb31e3bb050fee3b34e78..f625e132e265ce9283a37dcce324c6046076df40 100644
--- a/src/parse.js
+++ b/src/parse.js
@@ -206,7 +206,7 @@ async function parseExtends(result, cache) {
extended.splice(
pos + 1,
0,
- ...(await Promise.all(resolvedExtends.map((file) => parseFile(file, cache))))
+ ...(await Promise.all(resolvedExtends.map((file) => parseFile(file, cache, true))))
);
} else {
// reached a leaf, backtrack to the last branching point and continue
8 changes: 6 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.