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: handle undefined failedLookupLocations #131

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

Nthalk
Copy link
Contributor

@Nthalk Nthalk commented Apr 18, 2024

This primarily happens with my vite projects that import a virtual module.

The module in question is: virtual:pwa-register, which causes failedLookupLocations to be undefined and blows up on the filter call.

This prevents me from scanning my projects for circular dependencies.

Fixes #125

index.js Outdated Show resolved Hide resolved
@XhmikosR XhmikosR changed the title fix: when scanning non-existant virtual modules, ensure that undefined failedLookupLocations won't break fix: handle undefined failedLookupLocations Apr 21, 2024
@XhmikosR XhmikosR merged commit 1a90f66 into dependents:main Apr 24, 2024
7 checks passed
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.

failedLookupLocations no longer exists in Typescript
2 participants