Skip to content

Commit

Permalink
docs: Add link in detect-new-buffer docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Feb 14, 2024
1 parent 91fe935 commit 56d5a42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/rules/detect-new-buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
⚠️ This rule _warns_ in the ✅ `recommended` config.

<!-- end auto-generated rule header -->

`new Buffer()` now emits a deprecation warning in Node.js.

More information: [new Buffer(number) is unsafe](https://github.com/nodejs/node/issues/4660)

0 comments on commit 56d5a42

Please sign in to comment.