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

refactor: drop safe-buffer dependency in favor of native Buffer #3438

Merged
merged 1 commit into from
Mar 16, 2020

Conversation

devoto13
Copy link
Collaborator

This library is a polyfill for Buffer's static methods on ancient Node versions (new methods are available since at least Node 4). No reason to have this polyfill given that Karma support Node 10+.

When these methods are supported natively library exports native Buffer (code), so this removal should not affect anything.

This library is a polyfill for Buffer's static methods on ancient Node versions (new methods are available since [at least Node 4](https://nodejs.org/docs/latest-v4.x/api/buffer.html)). No reason to have this polyfill given that Karma support Node 10+.

When these methods are supported natively library exports native `Buffer` ([code](https://github.com/feross/safe-buffer/blob/master/index.js#L11)), so this removal should not affect anything.
@karmarunnerbot
Copy link
Member

Build karma 108 completed (commit 27bc4107b9 by @devoto13)

@karmarunnerbot
Copy link
Member

Build karma 107 completed (commit 27bc4107b9 by @devoto13)

@AppVeyorBot
Copy link

Build karma 2506 completed (commit 27bc4107b9 by @devoto13)

Copy link
Contributor

@johnjbarton johnjbarton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@johnjbarton johnjbarton merged commit 131d154 into karma-runner:master Mar 16, 2020
@devoto13 devoto13 deleted the no-safe-buffer branch March 21, 2020 09:48
@karmarunnerbot
Copy link
Member

🎉 This PR is included in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

anthony-redFox pushed a commit to anthony-redFox/karma that referenced this pull request May 16, 2023
…a-runner#3438)

This library is a polyfill for Buffer's static methods on ancient Node versions (new methods are available since [at least Node 4](https://nodejs.org/docs/latest-v4.x/api/buffer.html)). No reason to have this polyfill given that Karma support Node 10+.

When these methods are supported natively library exports native `Buffer` ([code](https://github.com/feross/safe-buffer/blob/master/index.js#L11)), so this removal should not affect anything.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants