Commit 717cfa4
module: use buffer.toString base64
`btoa` only supports latin-1 charset and produces invalid source
mapping urls.
PR-URL: #56315
Refs: #56296
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent ab3e646 commit 717cfa4Copy full SHA for 717cfa4
File tree
Expand file treeCollapse file tree
3 files changed
+53
-29
lines changedOpen diff view settings
Filter options
- lib
- internal/modules
- test/parallel
Expand file treeCollapse file tree
3 files changed
+53
-29
lines changedOpen diff view settings
Collapse file
lib/eslint.config_partial.mjs
Copy file name to clipboardExpand all lines: lib/eslint.config_partial.mjs+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
16 | 25 | |
17 | 26 | |
18 | 27 | |
|
Collapse file
lib/internal/modules/typescript.js
Copy file name to clipboardExpand all lines: lib/internal/modules/typescript.js+5-3Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
| 20 | + |
20 | 21 | |
21 | 22 | |
22 | 23 | |
| ||
134 | 135 | |
135 | 136 | |
136 | 137 | |
137 | | - |
138 | | - |
139 | | - |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
140 | 142 | |
141 | 143 | |
142 | 144 | |
|
Collapse file
test/parallel/test-module-strip-types.js
Copy file name to clipboardExpand all lines: test/parallel/test-module-strip-types.js+39-26Lines changed: 39 additions & 26 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
15 | 21 | |
16 | 22 | |
17 | 23 | |
| ||
48 | 54 | |
49 | 55 | |
50 | 56 | |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
| 57 | + |
56 | 58 | |
57 | 59 | |
58 | 60 | |
59 | 61 | |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
| 62 | + |
66 | 63 | |
67 | | - |
| 64 | + |
68 | 65 | |
69 | | - |
| 66 | + |
| 67 | + |
70 | 68 | |
71 | 69 | |
72 | 70 | |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
78 | 95 | |
79 | 96 | |
80 | 97 | |
81 | 98 | |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
| 99 | + |
88 | 100 | |
89 | | - |
| 101 | + |
90 | 102 | |
91 | | - |
| 103 | + |
| 104 | + |
92 | 105 | |
0 commit comments