Commit 69a3792
lib: fix AsyncResource.bind not using 'this' from the caller by default
PR-URL: #42177
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 70c0758 commit 69a3792Copy full SHA for 69a3792
File tree
Expand file treeCollapse file tree
3 files changed
+28
-10
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- test/parallel
Expand file treeCollapse file tree
3 files changed
+28
-10
lines changedOpen diff view settings
Collapse file
+8Lines changed: 8 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
446 | 446 | |
447 | 447 | |
448 | 448 | |
| 449 | + |
| 450 | + |
| 451 | + |
| 452 | + |
449 | 453 | |
450 | 454 | |
451 | 455 | |
| ||
468 | 472 | |
469 | 473 | |
470 | 474 | |
| 475 | + |
| 476 | + |
| 477 | + |
| 478 | + |
471 | 479 | |
472 | 480 | |
473 | 481 | |
|
Collapse file
+14-9Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
| 8 | + |
8 | 9 | |
9 | 10 | |
10 | 11 | |
| ||
223 | 224 | |
224 | 225 | |
225 | 226 | |
226 | | - |
| 227 | + |
227 | 228 | |
228 | | - |
229 | | - |
230 | | - |
231 | | - |
232 | | - |
233 | | - |
234 | | - |
| 229 | + |
| 230 | + |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
235 | 240 | |
236 | 241 | |
237 | 242 | |
| ||
245 | 250 | |
246 | 251 | |
247 | 252 | |
248 | | - |
| 253 | + |
249 | 254 | |
250 | 255 | |
251 | 256 | |
|
Collapse file
test/parallel/test-asyncresource-bind.js
Copy file name to clipboardExpand all lines: test/parallel/test-asyncresource-bind.js+6-1Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | | - |
| 44 | + |
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | 51 | |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
0 commit comments