Commit f206505
util: fix instanceof checks with null prototypes during inspection
Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>
Backport-PR-URL: #37100
PR-URL: #36178
Fixes: #35730
Fixes: #36151
Refs: #35754
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 2f7944b commit f206505Copy full SHA for f206505
File tree
Expand file treeCollapse file tree
2 files changed
+20
-1
lines changedOpen diff view settings
Filter options
- lib/internal/util
- test/parallel
Expand file treeCollapse file tree
2 files changed
+20
-1
lines changedOpen diff view settings
Collapse file
lib/internal/util/inspect.js
Copy file name to clipboardExpand all lines: lib/internal/util/inspect.js+9-1Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
535 | 535 | |
536 | 536 | |
537 | 537 | |
| 538 | + |
| 539 | + |
| 540 | + |
| 541 | + |
| 542 | + |
| 543 | + |
| 544 | + |
| 545 | + |
538 | 546 | |
539 | 547 | |
540 | 548 | |
| ||
543 | 551 | |
544 | 552 | |
545 | 553 | |
546 | | - |
| 554 | + |
547 | 555 | |
548 | 556 | |
549 | 557 | |
|
Collapse file
test/parallel/test-util-inspect.js
Copy file name to clipboardExpand all lines: test/parallel/test-util-inspect.js+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2866 | 2866 | |
2867 | 2867 | |
2868 | 2868 | |
| 2869 | + |
| 2870 | + |
| 2871 | + |
| 2872 | + |
| 2873 | + |
| 2874 | + |
| 2875 | + |
| 2876 | + |
| 2877 | + |
| 2878 | + |
| 2879 | + |
2869 | 2880 | |
2870 | 2881 | |
2871 | 2882 | |
|
0 commit comments