indutny / indutny/offset-buffer
Warning "DeprecatedWarning: Buffer() is deprecated..." when using the package
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
The warning is thrown because of "new Buffer()" call:

This package is used as dependency by [pg-copy-stream](https://www.npmjs.com/package/pg-copy-streams) which I am using in my application. Fix would be appreciated to get rid of this warning. Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the package source for the reported `new Buffer()` call and inspect its surrounding usage first. Confirm completion by exercising the package's existing usage or checks, if present, and verify that the deprecation warning no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100