Commit 468110b
tls: deprecate parseCertString & move to internal
`tls.parseCertString()` exposed by accident. Now move this function to
`internal/tls` and mark the original one as deprecated.
PR-URL: #14249
Refs: #14193
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>1 parent f68ab39 commit 468110bCopy full SHA for 468110b
File tree
Expand file treeCollapse file tree
6 files changed
+60
-29
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- internal
- test/parallel
Expand file treeCollapse file tree
6 files changed
+60
-29
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
664 | 664 | |
665 | 665 | |
666 | 666 | |
667 | | - |
| 667 | + |
668 | 668 | |
669 | 669 | |
670 | 670 | |
|
Collapse file
+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
| 24 | + |
24 | 25 | |
25 | 26 | |
26 | 27 | |
| ||
202 | 203 | |
203 | 204 | |
204 | 205 | |
205 | | - |
| 206 | + |
206 | 207 | |
207 | 208 | |
208 | 209 | |
209 | | - |
| 210 | + |
210 | 211 | |
211 | 212 | |
212 | 213 | |
|
Collapse file
lib/internal/tls.js
Copy file name to clipboard+28Lines changed: 28 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 | + |
Collapse file
+6-22Lines changed: 6 additions & 22 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
| 26 | + |
26 | 27 | |
27 | 28 | |
28 | 29 | |
| ||
228 | 229 | |
229 | 230 | |
230 | 231 | |
231 | | - |
232 | | - |
233 | | - |
234 | | - |
235 | | - |
236 | | - |
237 | | - |
238 | | - |
239 | | - |
240 | | - |
241 | | - |
242 | | - |
243 | | - |
244 | | - |
245 | | - |
246 | | - |
247 | | - |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
252 | | - |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | + |
253 | 237 | |
254 | 238 | |
255 | 239 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
112 | 112 | |
113 | 113 | |
114 | 114 | |
| 115 | + |
115 | 116 | |
116 | 117 | |
117 | 118 | |
|
Collapse file
test/parallel/test-tls-parse-cert-string.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-parse-cert-string.js+21-4Lines changed: 21 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
| 3 | + |
3 | 4 | |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | 8 | |
| 9 | + |
| 10 | + |
8 | 11 | |
9 | 12 | |
| 13 | + |
| 14 | + |
| 15 | + |
10 | 16 | |
11 | 17 | |
12 | 18 | |
13 | | - |
| 19 | + |
14 | 20 | |
15 | 21 | |
16 | 22 | |
| ||
26 | 32 | |
27 | 33 | |
28 | 34 | |
29 | | - |
| 35 | + |
30 | 36 | |
31 | 37 | |
32 | 38 | |
| ||
36 | 42 | |
37 | 43 | |
38 | 44 | |
39 | | - |
| 45 | + |
40 | 46 | |
41 | 47 | |
42 | 48 | |
| ||
45 | 51 | |
46 | 52 | |
47 | 53 | |
48 | | - |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
49 | 66 | |
0 commit comments