Commit a16b570
committed
src: add --pending-deprecation and NODE_PENDING_DEPRECATION
Command line flag and environment variable that can be used to
indicate that pending deprecations should be emitted.
PR-URL: #11968
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent d3dedb7 commit a16b570Copy full SHA for a16b570
File tree
Expand file treeCollapse file tree
6 files changed
+100
-0
lines changedOpen diff view settings
Filter options
- doc
- api
- src
- test/parallel
Expand file treeCollapse file tree
6 files changed
+100
-0
lines changedOpen diff view settings
Collapse file
+28Lines changed: 28 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
137 | 137 | |
138 | 138 | |
139 | 139 | |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
140 | 154 | |
141 | 155 | |
142 | 156 | |
| ||
383 | 397 | |
384 | 398 | |
385 | 399 | |
| 400 | + |
| 401 | + |
| 402 | + |
| 403 | + |
| 404 | + |
| 405 | + |
| 406 | + |
| 407 | + |
| 408 | + |
| 409 | + |
| 410 | + |
| 411 | + |
| 412 | + |
| 413 | + |
386 | 414 | |
387 | 415 | |
388 | 416 | |
|
Collapse file
+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
115 | 115 | |
116 | 116 | |
117 | 117 | |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
118 | 122 | |
119 | 123 | |
120 | 124 | |
| ||
259 | 263 | |
260 | 264 | |
261 | 265 | |
| 266 | + |
| 267 | + |
| 268 | + |
| 269 | + |
262 | 270 | |
263 | 271 | |
264 | 272 | |
|
Collapse file
+12Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
209 | 209 | |
210 | 210 | |
211 | 211 | |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + |
212 | 216 | |
213 | 217 | |
214 | 218 | |
| ||
3768 | 3772 | |
3769 | 3773 | |
3770 | 3774 | |
| 3775 | + |
| 3776 | + |
3771 | 3777 | |
3772 | 3778 | |
3773 | 3779 | |
| ||
4187 | 4193 | |
4188 | 4194 | |
4189 | 4195 | |
| 4196 | + |
| 4197 | + |
| 4198 | + |
| 4199 | + |
| 4200 | + |
| 4201 | + |
4190 | 4202 | |
4191 | 4203 | |
4192 | 4204 | |
|
Collapse file
+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
| 52 | + |
| 53 | + |
| 54 | + |
52 | 55 | |
53 | 56 | |
54 | 57 | |
|
Collapse file
+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
76 | 76 | |
77 | 77 | |
78 | 78 | |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
79 | 83 | |
80 | 84 | |
81 | 85 | |
|
Collapse file
test/parallel/test-pending-deprecation.js
Copy file name to clipboard+45Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
0 commit comments