Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Ensuring private Buffer require in lib/* files #8603

Closed
wants to merge 1 commit into from

Commits on Oct 23, 2014

  1. repl: Private Buffer object in lib/* files

    Fixes usage of global object 'Buffer' in lib/* files by ensuring
    that each file does an explicit require('buffer').Buffer.
    Previously, when running a repl, due to usage of global 'Buffer',
    any redefinition of Buffer would cause a crash eg var Buffer = {}.
    Emmanuel Odeke committed Oct 23, 2014
    Configuration menu
    Copy the full SHA
    6326bc7 View commit details
    Browse the repository at this point in the history