Skip to content

feat: support parent maps in traverse#10

Merged
43081j merged 1 commit into
mainfrom
parent-maps
Oct 25, 2025
Merged

feat: support parent maps in traverse#10
43081j merged 1 commit into
mainfrom
parent-maps

Conversation

@43081j

@43081j 43081j commented Oct 25, 2025

Copy link
Copy Markdown
Owner

The traverse function now provides a 3rd parameter, the parent map. This
is a WeakMap which links dependencies to their parent, allowing you to
walk up the path.

The traverse function now provides a 3rd parameter, the parent map. This
is a `WeakMap` which links dependencies to their parent, allowing you to
walk up the path.
@github-actions

Copy link
Copy Markdown

⚠️ Duplicate Dependencies (threshold: 1)

📦 Package 🔢 Version Count 📋 Versions
ansi-regex 2 versions 5.0.1, 6.2.2
ansi-styles 2 versions 4.3.0, 6.2.3
emoji-regex 2 versions 8.0.0, 9.2.2
string-width 2 versions 4.2.3, 5.1.2
strip-ansi 2 versions 6.0.1, 7.1.2

💡 To find out what depends on a specific package, run: npm ls example-package

@43081j 43081j merged commit 71ba197 into main Oct 25, 2025
5 checks passed
@43081j 43081j deleted the parent-maps branch October 25, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant