indutny / indutny/offset-buffer

Warning "DeprecatedWarning: Buffer() is deprecated..." when using the package

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

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:

![image](https://user-images.githubusercontent.com/79359661/108718940-4101b900-751f-11eb-86a6-69a3bae12857.png)

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.