Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

using buffer directly

  • Loading branch information...
commit ceff512dd5a8bb1fcdfdd83202b887aac9778f6f 1 parent aafe777
@substack authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  lib/builtins.js
  2. +1 −1  package.json
  3. +1 −1  readme.markdown
View
2  lib/builtins.js
@@ -1,5 +1,5 @@
exports.assert = require.resolve('assert/');
-exports.buffer = require.resolve('native-buffer-browserify');
+exports.buffer = require.resolve('buffer/');
exports.child_process = require.resolve('./_empty.js');
exports.cluster = require.resolve('./_empty.js');
exports.console = require.resolve('console-browserify');
View
2  package.json
@@ -46,7 +46,7 @@
"crypto-browserify": "~1.0.9",
"util": "~0.10.1",
"events": "~1.0.0",
- "native-buffer-browserify": "~2.0.0",
+ "buffer": "~2.1.3",
"url": "~0.7.9",
"https-browserify": "~0.0.0",
"path-browserify": "~0.0.0",
View
2  readme.markdown
@@ -187,7 +187,7 @@ when you explicitly `require()` or use their functionality.
When you `require()` any of these modules, you will get a browser-specific shim:
* [assert](https://npmjs.org/package/assert)
-* [buffer](https://npmjs.org/package/native-buffer-browserify)
+* [buffer](https://npmjs.org/package/buffer)
* [console](https://npmjs.org/package/console-browserify)
* [constants](https://npmjs.org/package/constants-browserify)
* [crypto](https://npmjs.org/package/crypto-browserify)
Please sign in to comment.
Something went wrong with that request. Please try again.