Commit a6c93af
lib: refactor crypto cipher/hash/curve getters
* refactor internal util.filterDuplicateStrings() to eliminate unused
code paths
* `.indexOf()` -> `.includes()` in test
* more concise arrow functions
PR-URL: #10682
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michal Zasso <targos@protonmail.com>1 parent dbb7727 commit a6c93afCopy full SHA for a6c93af
File tree
Expand file treeCollapse file tree
3 files changed
+12
-18
lines changedOpen diff view settings
Filter options
- lib
- internal
- test/parallel
Expand file treeCollapse file tree
3 files changed
+12
-18
lines changedOpen diff view settings
Collapse file
+9-9Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
637 | 637 | |
638 | 638 | |
639 | 639 | |
640 | | - |
641 | | - |
642 | | - |
| 640 | + |
| 641 | + |
| 642 | + |
643 | 643 | |
644 | | - |
645 | | - |
646 | | - |
| 644 | + |
| 645 | + |
| 646 | + |
647 | 647 | |
648 | | - |
649 | | - |
650 | | - |
| 648 | + |
| 649 | + |
| 650 | + |
651 | 651 | |
652 | 652 | |
653 | 653 | |
|
Collapse file
+2-8Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
134 | 134 | |
135 | 135 | |
136 | 136 | |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | 137 | |
143 | | - |
| 138 | + |
144 | 139 | |
145 | 140 | |
146 | 141 | |
147 | 142 | |
148 | 143 | |
149 | | - |
150 | | - |
| 144 | + |
151 | 145 | |
152 | 146 | |
153 | 147 | |
|
Collapse file
test/parallel/test-crypto-authenticated.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-authenticated.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
312 | 312 | |
313 | 313 | |
314 | 314 | |
315 | | - |
| 315 | + |
316 | 316 | |
317 | 317 | |
318 | 318 | |
|
0 commit comments