-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Open
Labels
i18n-apiIssues and PRs related to the i18n implementation.Issues and PRs related to the i18n implementation.
Description
Is your feature request related to a problem? Please describe.
Currently, Node.js supports the compilation with disabled ICU. I think we would benefit from officially deprecating it:
- There are already some features that are not supported, sometimes without warnings (E.G.: url: make ICU-dependent functions warn for node compiled --without-intl #35099)
- It blocks us from moving forward with the deprecation of
punycodecore module (punycode: runtime deprecation #35092) - It blocks us from using
Intlbuilt-in methods in node core. - Some of the tooling we use in core doesn't support it (E.G.: ESLint).
Describe the solution you'd like
Having a warning in the console when compiling using --without-intl flag, and document that Node.js versions compiled without ICU are expected to have some unavailable features.
Also, I think the project should allow initiatives like #27662 to land even if it doesn't work on --without-intl node versions.
If you are yourself a user of non-ICU versions of Node.js, please join the discussion, I'd be interested to hear what are the use-cases.
cc/ @nodejs/tsc
Metadata
Metadata
Assignees
Labels
i18n-apiIssues and PRs related to the i18n implementation.Issues and PRs related to the i18n implementation.