Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1461

Buffer Constructor deprecated in Node 10

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Core, js-bson, Native
    • None

      Getting the following warning in Node 10:

       

      (node:26915) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. 

            Assignee:
            sophie.saskin@mongodb.com Sophie Saskin
            Reporter:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: