Repository navigation
js_parser: keep assignment and delete targets as references (string .length, import.meta, module.id, --define) #40804
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
24 commits
Select commit
Hold shift + click to select a range
70e191e
js_parser: set p.delete_target before visiting the delete operand
robobun ab3843d
js_parser: also bail the [x][n] fold when it's a call target
robobun 8a7c9f5
trim comments
robobun 8345721
js_parser: don't inline import.meta.<prop> under delete/assign
robobun d7f60ac
js_parser: gate "str".length fold on delete/assign target
robobun 7a5376f
js_parser: gate import.meta.hot.<method> arm on delete/assign; lock i…
robobun d8337c4
js_parser: only bail the import.meta.hot.<method> arm when HMR is dis…
robobun ad2cb6d
trim comment
robobun 60d13f7
ci: retrigger
robobun 470e769
js_printer: wrap EUndefined in the delete (0, ...) re-wrap helper
robobun c320ace
Merge remote-tracking branch 'origin/main' into farm/8bbbabde/js-pars…
robobun b891365
js_parser: keep the identifier when assigning to a define with a cons…
robobun 1031207
Bump the runtime transpiler cache version; cover object define values
robobun 605d93f
Trim comments
robobun d7d1c5b
Shorten the cache version note
robobun f4b3dcb
ci: retrigger
robobun 4138ff1
js_parser: keep "str".length as an assignment target under minify-syntax
robobun 05f4d64
Merge remote-tracking branch 'origin/farm/7a1f0028/define-constant-as…
robobun 65de570
Merge remote-tracking branch 'origin/farm/8bbbabde/js-parser-delete-t…
robobun 538c155
Cover import.meta writes under --format=cjs
robobun 0ed4ad4
Trim comments
robobun 84ae516
Cover logical assignment operators in the assignment target matrix
robobun 73340c7
Keep module.id, module.filename and module.path as delete targets
robobun 55fbf03
Cover import.meta.dir, .file, .path and .url writes under --format=cjs
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
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.