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

(node:1) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues #10481

Open
rafaelromcar-parabol opened this issue Nov 14, 2024 · 0 comments
Labels
bug p3 Should be addressed when able

Comments

@rafaelromcar-parabol
Copy link
Contributor

Issue - Bug

  • How serious is the bug? P3
  • OS: macOS / Linux / Windows / ?
  • Browser: Chrome / Safari / Lynx / ? + version
  • Node version: node --version
  • NPM version: npm --version

Observed in 7.3.1 and through 7.4.2, but probably started before 7.3.1.

When running the pre-deploy script with the flag --trace-deprecation we get the following log

(node:69) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    at showFlaggedDeprecation (node:buffer:193:11)
    at new Buffer (node:buffer:271:3)
    at alloc (/home/node/parabol/dist/preDeploy.js:176877:10)
    at 352847 (/home/node/parabol/dist/preDeploy.js:176865:54)
    at __webpack_require__ (/home/node/parabol/dist/preDeploy.js:237427:42)
    at 648204 (/home/node/parabol/dist/preDeploy.js:177080:37)
    at __webpack_require__ (/home/node/parabol/dist/preDeploy.js:237427:42)
    at 810816 (/home/node/parabol/dist/preDeploy.js:177530:17)
    at __webpack_require__ (/home/node/parabol/dist/preDeploy.js:237427:42)
    at 650897 (/home/node/parabol/dist/preDeploy.js:178348:18)

Acceptance Criteria (optional)

The warning is not shown anymore

Triage is performed to find the root cause of the bug, timeboxed to ~1 hour.

Estimated effort: 1 hour to triage. More if root cause is already identified.

@jordanh jordanh added the p3 Should be addressed when able label Jan 8, 2025
@jordanh jordanh added this to Product Jan 8, 2025
@github-project-automation github-project-automation bot moved this to To triage in Product Jan 8, 2025
@jordanh jordanh moved this from To triage to Backlog in Product Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug p3 Should be addressed when able
Projects
Status: No status
Status: Backlog
Development

No branches or pull requests

2 participants