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

Bug: The 'Buffer' is still an experimental feature The configured version range is '>=18.6'. #265

Closed
1 task
coderaiser opened this issue May 7, 2024 · 1 comment · Fixed by #266
Closed
1 task
Labels

Comments

@coderaiser
Copy link

Environment

Node version:
npm version:
ESLint version:
eslint-plugin-n version:
Operating System:
Latest

What rule do you want to report?

n/no-unsupported-features/node-builtins

Link to Minimal Reproducible Example

https://github.com/coderaiser/putout/actions/runs/8982632006/job/24670666707#step:7:24

What did you expect to happen?

image

I have such code examples in README.md:

new Buffer(123);
new Buffer(n);
new Buffer('hello');

new Buffer([]);
new Buffer(buf);

Looks like it is not experimental but deprecated syntax according to DEP005

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

No response

@coderaiser coderaiser added the bug label May 7, 2024
@scagood
Copy link

scagood commented May 7, 2024

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 a pull request may close this issue.

2 participants