Skip to content

Intl: Consider deprecating Intl.v8BreakIterator #8865

Description

@jasnell

@littledan has put forward a TC-39 proposal to introduce Intl.Segmenter as a standardized replacement for the V8 specific Intl.v8BreakIterator.

Currently in Node.js, Intl.v8BreakIterator only works if the full-icu data is being used. Attempting to create an instance of Intl.v8BreakIterator with the default small-icu with throw. That said, given the desire to replace it with a standardized alternative we should consider emitting a runtime deprecation warning when it is used.

/cc @srl295 @caridy @nodejs/ctc @nodejs/tc39

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussIssues opened for discussion and feedback.i18n-apiIssues and PRs related to Node.js internationalization support.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions