forked from babel/babel
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[pull] main from babel:main #25
Merged
Merged
Conversation
This file contains 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
chore: update test262 to 0fd1675f7ed02723772d30e718f04e6af455d3c9
Co-authored-by: Nicolò Ribaudo <[email protected]>
Co-authored-by: Babel Bot <[email protected]>
* [babel 7] Allow setting `ignoreExtensions` in Flow preset * Discard changes to packages/babel-types/src/ast-types/generated/index.ts
* copy test cases from 2023-05 * update 2023-11 test options * copy applyDecs2305 to applyDecs2311 * allow 2023-11 decorator version * feat: support per-field intitializers * update test fixtures OVERWRITE=1 yarn jest decorators -t "2023 11" * update generated helpers * update other class tests * expand field-initializers-after-methods case * Add failing private flavour test * update pipeline operator tests * Don't run Babel 8 test with 2023-05 decorator * add release todo item
* refactor: reuse staticFieldInitializerAssignments * refactor: rename fieldInitializerAssignments to expressions * test: expand replacement-static-installed-on-correct-class case * chore: maybePrivateBrandName typo * wrap version "2023-05" check within Babel 7 branch
Co-authored-by: Nicolò Ribaudo <[email protected]>
* Do not define `ctx.access.set` for setter decorators * chore --------- Co-authored-by: Babel Bot <[email protected]>
* fix: handle symbol key class elements decoration * update generated helpers * Expand test cases
* optimize: allocate temp variable for every decorated element * update test fixtures * refactor: sort decorator info once * refactor: simplify maybeExtractDecorators interface Also improve decoratorThis storage. It turns out we don't have to maintain the map from decorator to its this value. * refactor: rename maybeExtractDecorators to handleDecoratorExpressions * unify haveThis and hasThis
* Add failing test * Fix evaluation order of decorators with cached receiver * Use one temp var per decorated element * Use one temp var per class
* improve * fix new test * fix test * add test * Apply suggestions from code review Co-authored-by: Nicolò Ribaudo <[email protected]> * lint --------- Co-authored-by: Nicolò Ribaudo <[email protected]>
classPrivateMethodGet
* fix arguments * Update packages/babel-plugin-transform-private-methods/test/fixtures/accessors/arguments/exec.js Co-authored-by: Nicolò Ribaudo <[email protected]> * review * fix types --------- Co-authored-by: Nicolò Ribaudo <[email protected]>
* fix * remove symbol pure * add test
Co-authored-by: Nicolò Ribaudo <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )