Closed Bug 1582051 Opened 2 months ago Closed 2 months ago

Use Buffer.from and Buffer.alloc in moz-http2.js & friends

Categories

(Core :: Networking, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: valentin, Assigned: valentin)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

I did a semi-automated replace of new Buffer with Buffer.from/Buffer.alloc` in order to get rid of the following deprecation warning.

 0:15.45 INFO (node:4787) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/290dad2a639f
Use Buffer.from and Buffer.alloc in moz-http2.js & friends r=kershaw
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.