Commit 5c9a28c
committed
Fix scala-js/scala-js#3351: Use Buffer.alloc and Buffer.from instead of new Buffer().
The latter was deprecated a long time ago, and has started printing
noisy warnings to the console in Node.js v10.
There is still one deprecation inside jszip, but there is nothing
we can do about that one.1 parent 1135bac commit 5c9a28c
File tree
1 file changed
+2
-2
lines changed- js-envs/src/main/scala/org/scalajs/jsenv/nodejs
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
0 commit comments