Skip to content

[bug] Node incompatibility: [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues #283

@TWiStErRob

Description

@TWiStErRob

What happened?

(node:2153) [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)

Downloading single artifact
Preparing to download the following artifacts:
- SVG 34 (ID: 11[9](https://github.com/TWiStErRob/net.twisterrob.inventory/actions/runs/7677783691/job/20928154830#step:16:10)9516438, Size: 1699777)
Redirecting to blob download url: https://productionresultssa1.blob.core.windows.net/actions-results/8e6d9f3f-6e3b-4c8e-83f4-f8e0f26bf973/workflow-job-run-e699d37f-058b-58cc-a4dc-39f1e1e20eb1/artifacts/3fb626b8b321bb42f173a9d27aebdf4dfa5873cca35cd8b44494ca76cc72f5e1.zip
Starting download of artifact to: /home/runner/work/net.twisterrob.inventory/net.twisterrob.inventory/downloads/SVG 34
(node:2153) [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)
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully

What did you expect to happen?

No security vulnerabilities by first party actions.

How can we reproduce it?

      - uses: actions/download-artifact@v4
        with:
          name: 'artifact-name'
          path: 'downloads/my-artifact'

Anything else we need to know?

According to https://github.com/actions/download-artifact/issues?q=is%3Aissue+is%3Aopen+DeprecationWarning, this has been ongoing for more than a year.

What version of the action are you using?

v4.1.1

What are your runner environments?

linux

Are you on GitHub Enterprise Server? If so, what version?

no

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions