Repository navigation
js_parser: fix four crashes of exports.eliminate and exports.replace #44137
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
Closed
Closed
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a3d8904
js_parser: declare a replaced re-export by its exported name
robobun 1de33bf
js_parser: apply no second entry of exports.replace to the default ex…
robobun 10f0370
test: an unhealthy subprocess is not the failure that the it.failing …
robobun e1527b3
js_parser: report an import of the name of a replaced re-export with …
robobun 59da676
Bun.Transpiler: allocate exports.replace string values in the instanc…
robobun e946a11
test: shorten the comment in the exports.replace string test
robobun 540701e
js_parser: fix exports.eliminate/replace on an exported declaration w…
robobun a219ce3
js_parser: exports.eliminate and exports.replace leave a member of a …
robobun 0c94fd8
js_parser: exports.eliminate keeps the body of a function or a class …
robobun aa89336
js_parser: test for a member of a namespace inside visit_decls::<true>
robobun c67695a
js_parser: don't move a part that exports.eliminate removed
robobun 089fd53
test: run the hoistable exports.eliminate cases in one child process
robobun 36bb20b
js_parser: inject the export of an exports.replace entry for an expor…
robobun 603fb7f
js_parser: inject the export of an entry for a default export that is…
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.