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

Parsing vscode-uri ESM file returns nothing #153

Closed
alex-kinokon opened this issue Jun 7, 2023 · 2 comments
Closed

Parsing vscode-uri ESM file returns nothing #153

alex-kinokon opened this issue Jun 7, 2023 · 2 comments

Comments

@alex-kinokon
Copy link

Parsing vscode-uri/lib/esm/index.js which ends in export const{URI,Utils}=LIB gives imports: [], exports: [].

@guybedford
Copy link
Owner

This is because this library doesn't support full syntax parsing of arbitrary destructuring and variable declarations, see the limitations section.

That said, I've put together some initial prototyping of simple destructuring for a case like this in #154.

@guybedford
Copy link
Owner

1.3.0 is now released with simple destructuring support, that should resolve this case.

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

No branches or pull requests

2 participants