Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No buffer in browser #887

Merged
merged 2 commits into from May 31, 2017
Merged

No buffer in browser #887

merged 2 commits into from May 31, 2017

Commits on May 4, 2017

  1. Use is-buffer instead of Buffer.isBuffer

    The is-buffer module checks if an object is a Buffer without causing
    Webpack or Browserify to include the whole Buffer module in the bundle.
    fgnass committed May 4, 2017
    Copy the full SHA
    c82753c View commit details
    Browse the repository at this point in the history
  2. use Buffer global in http.js

    Since the http adapter is never used in the browser it's safe to use
    the Buffer global and its isBuffer() method directly.
    fgnass committed May 4, 2017
    Copy the full SHA
    c849467 View commit details
    Browse the repository at this point in the history