Skip to content

LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250618192323088 to main #61898

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

Conversation

csigs
Copy link
Member

@csigs csigs commented Jun 18, 2025

LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250618192323088 to main with localized lcls

@Copilot Copilot AI review requested due to automatic review settings June 18, 2025 19:23
@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Jun 18, 2025
@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jun 18, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates diagnostic messages for dynamic imports, import assertions, import attributes, and top-level await constructs across multiple localization files to include support for the new 'node20' module flag.

  • Added 'node20' to the list of valid module flag options in various diagnostic messages.
  • Updated localization texts in the PLK, ITA, FRA, CHT, and CHS directories to reflect the change.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl Updated diagnostic messages to include 'node20' in module flag options.
src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl Updated Italian localization messages to include 'node20'.
src/loc/lcl/fra/diagnosticMessages/diagnosticMessages.generated.json.lcl Updated French localization messages to include 'node20'.
src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl Updated Traditional Chinese localization messages to include 'node20'.
src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl Updated Simplified Chinese localization messages to include 'node20'.
Comments suppressed due to low confidence (2)

src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl:8288

  • The updated ItemId now shows a double underscore before the error code; please verify that this naming format is intentional and consistent with other identifiers.
      <Item ItemId=";Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext__2821" ItemType="0" PsrId="306" Leaf="true">

src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl:6026

  • Ensure that the updated diagnostic message with the 'node20' option is properly documented and consistent with the corresponding changes in the tooling documentation.
          <Val><![CDATA[Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'.]]></Val>

@github-project-automation github-project-automation bot moved this from Not started to Needs merge in PR Backlog Jun 18, 2025
@jakebailey jakebailey merged commit 5a3271b into main Jun 18, 2025
32 checks passed
@github-project-automation github-project-automation bot moved this from Needs merge to Done in PR Backlog Jun 18, 2025
@jakebailey jakebailey deleted the lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20250618192323088 branch June 18, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants