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

feat: analyze commonjs files #540

Merged
merged 13 commits into from
Oct 28, 2024
Merged

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Oct 21, 2024

@dsherret dsherret changed the title feat: analyze common js files (WIP) feat: analyze common js files Oct 28, 2024
@dsherret dsherret marked this pull request as ready for review October 28, 2024 19:14
@dsherret dsherret requested a review from bartlomieju October 28, 2024 19:14
Comment on lines +15 to 16
"error": "The module's source code could not be parsed: 'import', and 'export' cannot be used outside of module code at file:///file.cjs:1:1\n\n export class Test {}\n ~~~~~~"
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 👍

Comment on lines +174 to +177
{
"specifier": "node:module",
"error": "Module not found \"node:module\"."
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this expected? Shouldn't it be marked as external or built-in?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this test isn't configured for it.

@dsherret dsherret merged commit 258186c into denoland:main Oct 28, 2024
16 checks passed
@dsherret dsherret deleted the feat_analyze_cjs_files branch October 28, 2024 21:23
@dsherret dsherret changed the title feat: analyze common js files feat: analyze commonjs files Oct 28, 2024
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.

2 participants