Commit 668ad44
intl: unexpose Intl.v8BreakIterator
It was never an official Ecma-402 API, it is about to be superseded
by `Intl.Segmenter` and it's prone to crash under some circumstances.
Searches don't turn up any usage in the wild and the recommendation
from the V8 team is to remove it. Now seems like a good a time as
any to do that.
Fixes: #8865
Fixes: #14909
Refs: https://github.com/tc39/proposal-intl-segmenter
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/620755
PR-URL: #15238
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 61e9ba1 commit 668ad44Copy full SHA for 668ad44
File tree
Expand file treeCollapse file tree
7 files changed
+35
-32
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal
- src
- test/parallel
Expand file treeCollapse file tree
7 files changed
+35
-32
lines changedOpen diff view settings
Collapse file
+3-2Lines changed: 3 additions & 2 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
185 | 185 | |
186 | 186 | |
187 | 187 | |
188 | | - |
| 188 | + |
189 | 189 | |
190 | | - |
| 190 | + |
| 191 | + |
191 | 192 | |
192 | 193 | |
193 | 194 | |
|
Collapse file
-2Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
275 | 275 | |
276 | 276 | |
277 | 277 | |
278 | | - |
279 | | - |
280 | 278 | |
281 | 279 | |
282 | 280 | |
|
Collapse file
-14Lines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
133 | 133 | |
134 | 134 | |
135 | 135 | |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | 136 | |
151 | 137 | |
152 | 138 | |
|
Collapse file
+18-1Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4586 | 4586 | |
4587 | 4587 | |
4588 | 4588 | |
| 4589 | + |
| 4590 | + |
| 4591 | + |
| 4592 | + |
| 4593 | + |
| 4594 | + |
| 4595 | + |
| 4596 | + |
| 4597 | + |
| 4598 | + |
| 4599 | + |
| 4600 | + |
| 4601 | + |
| 4602 | + |
| 4603 | + |
| 4604 | + |
| 4605 | + |
4589 | 4606 | |
4590 | 4607 | |
4591 | 4608 | |
4592 | 4609 | |
4593 | | - |
| 4610 | + |
4594 | 4611 | |
4595 | 4612 | |
4596 | 4613 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
240 | 240 | |
241 | 241 | |
242 | 242 | |
243 | | - |
| 243 | + |
244 | 244 | |
245 | 245 | |
246 | 246 | |
|
Collapse file
+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
125 | 125 | |
126 | 126 | |
127 | 127 | |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
128 | 136 | |
129 | 137 | |
130 | 138 | |
|
Collapse file
test/parallel/test-intl-v8BreakIterator.js
Copy file name to clipboard+5-12Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
| 3 | + |
| 4 | + |
3 | 5 | |
4 | | - |
| 6 | + |
5 | 7 | |
6 | 8 | |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
| 9 | + |
| 10 | + |
0 commit comments