Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't extend Buffer prototype by default.
Make extension of Buffer.prototype opt-in. The rationale for that is that some of the buffertools methods conflict with the Buffer methods of the same name. Users now have to call `buffertools.extend()` if they want the old behavior. Bump the version number to 2.0.0 because this is a breaking change to the API.
- Loading branch information
1 parent
89144c3
commit 20b1921
Showing
5 changed files
with
133 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters