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

Use array index instead of Buffer.get #14

Closed
wants to merge 2 commits into from
Closed

Use array index instead of Buffer.get #14

wants to merge 2 commits into from

Conversation

bookercodes
Copy link
Collaborator

Buffer.get was deprecated in 2013 (source) and removed entirely in Node 6 (source).

Due to the removal of Buffer.get this module fails catastrophically in environments running Node 6. This impacts me because many modules depend on bufferjs (notablynode-slug).

Alex Booker added 2 commits May 6, 2016 21:17
bookercodes pushed a commit to base16-builder/base16-builder that referenced this pull request May 6, 2016
The "slug" module has a transitive dependency called "bufferjs".
"bufferjs" stopped working when Node 6 removed the Buffer.get method
[1]. This broke all modules that depend on "bufferjs" in environments
running Node 6. I sent a pull request [2] to fix "bufferjs" but I'm not
hopeful it'll get merged any time soon. What's more, even my pull
request *does* get merged, the "slug" module hasn't been updated in many
months.

Closes #105.

[1] coolaj86/node-bufferjs#13
[2] coolaj86/node-bufferjs#14
@coolaj86
Copy link
Owner

coolaj86 commented Jun 1, 2016

Sorry that I'm a lazy bum (or a busy bee, whichever the case may be). I've made you a collab on the repo. Give me your npm username and I'll give you write access there too.

@bookercodes
Copy link
Collaborator Author

bookercodes commented Jun 1, 2016

Hi there AJ,

No worries! I know you're busy (I heard you say so on a JavaScript Air
episode.)

I appreciate you giving me admin access to the repository and my npm username
is alexbooker.

@coolaj86
Copy link
Owner

coolaj86 commented Jun 1, 2016

Added!

@bookercodes
Copy link
Collaborator Author

Thanks, @coolaj86. I'll take care of all this tomorrow.

@bookercodes bookercodes force-pushed the master branch 2 times, most recently from aeeb2e1 to 72c7763 Compare June 3, 2016 21:46
@bookercodes bookercodes closed this Jun 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants