Commit 2dbf741
Breaking: deprecate safe-buffer.Buffer calls (#110)
safe-buffer.Buffer function/constructror is just a re-export of
buffer.Buffer and should be deprecated likewise.
Otherwise, using Buffer = require('safe-buffer').Buffer magically hides
the deprecation message, which it shouldn't, as that code will
actually cause runtime deprecation errors on Node.js >= 10.1 parent 5260039 commit 2dbf741
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
0 commit comments