@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
@littledan has put forward a TC-39 proposal to introduce
Intl.Segmenteras a standardized replacement for the V8 specificIntl.v8BreakIterator.Currently in Node.js,
Intl.v8BreakIteratoronly works if the full-icu data is being used. Attempting to create an instance ofIntl.v8BreakIteratorwith 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