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

Cleanup comments and some code after ESM merge #3862

Merged
merged 3 commits into from
Jul 19, 2024
Merged

Conversation

mstoykov
Copy link
Contributor

What?

Cleanup comments and messages around ESM merge

Why?

A lot of those comments no longer make sense with Babel gone and some refactoring of the internals

Checklist

  • I have performed a self-review of my code.
  • I have added tests for my changes.
  • I have run linter locally (make lint) and all checks pass.
  • I have run tests locally (make tests) and all tests pass.
  • I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

@mstoykov mstoykov added this to the v0.53.0 milestone Jul 19, 2024
@mstoykov mstoykov requested a review from a team as a code owner July 19, 2024 06:47
@mstoykov mstoykov requested review from codebien and olegbespalov and removed request for a team July 19, 2024 06:47
olegbespalov
olegbespalov previously approved these changes Jul 19, 2024
Copy link
Contributor

@olegbespalov olegbespalov left a comment

Choose a reason for hiding this comment

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

LGTM with some non-blocking texting adjustments 👍

js/tc39/README.md Outdated Show resolved Hide resolved
js/tc39/README.md Outdated Show resolved Hide resolved
Co-authored-by: Oleg Bespalov <oleg.bespalov@grafana.com>
olegbespalov
olegbespalov previously approved these changes Jul 19, 2024
extended: base + Babel with parts of ES2015 preset
slower to compile in case the script uses syntax unsupported by base
base: pure Sobek - Golang JS VM supporting ES6+
extended: base + sets "global" as alias for "globalThis"
Copy link
Contributor

Choose a reason for hiding this comment

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

Out of curiosity, what do we plan here? Do we drop in the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good question - no answer at this point.

see #3860 for example

Copy link
Contributor Author

Choose a reason for hiding this comment

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

js/tc39/README.md Outdated Show resolved Hide resolved
js/tc39/README.md Outdated Show resolved Hide resolved
js/tc39/README.md Outdated Show resolved Hide resolved
lib/runtime_options.go Outdated Show resolved Hide resolved
lib/runtime_options.go Outdated Show resolved Hide resolved
Co-authored-by: Ivan <2103732+codebien@users.noreply.github.com>
@mstoykov mstoykov merged commit d4dcb9a into master Jul 19, 2024
23 checks passed
@mstoykov mstoykov deleted the BabelCleanup branch July 19, 2024 09:42
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.

3 participants