publish-vscode-extension icon indicating copy to clipboard operation
publish-vscode-extension copied to clipboard

(node:2354) [DEP0005] DeprecationWarning: Buffer() is deprecated

Open mark-wiemer opened this issue 4 months ago • 0 comments

publish-vscode-extension Version Operating System
v1.6.2 Ubuntu 24.04.1

Description

Node deprecation warning when publishing to Visual Studio Marketplace

Expected Behavior

No deprecation warning

Actual Behavior

Warning. Note that "skipping publish" is expected in this case.

  (node:2354) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
  (Use `node --trace-deprecation ...` to show where the warning was created)
  Publishing 'mark-wiemer.vscode-autohotkey-plus-plus v6.2.1'...
  Version 6.2.1 is already published. Skipping publish.

Steps to Reproduce

  1. Clone https://github.com/mark-wiemer-org/ahkpp
  2. Try to publish
  3. Review logs

Ref https://github.com/mark-wiemer-org/ahkpp/actions/runs/11227964022/job/31211070372

mark-wiemer avatar Oct 08 '24 03:10 mark-wiemer