Skip to content

Release 7.13.0 drops support for node 18 because of use of File class #4371

@joejonespushsecurity

Description

@joejonespushsecurity

Bug Description

When running an app using undici I get the following error.

webidl.is.File = webidl.util.MakeTypeAssertion(File)
                                               ^

ReferenceError: File is not defined

Reproducible By

Install the auth0-deploy-cli package. Then run a0deploy --version

Expected Behaviour

It to return the version number not raise this error.

Logs & Screenshots

All above.

Environment

Mac osx with node version 18.17.1

Additional context

This looks to have been changed in this PR #4362. Doesn't this mean that node 18 will no longer work with this package?

Pretty weird error to get as it happens as soon as the package is imported. Having to go to your releases to find the issue is frustrating.

Rolling back to 7.12.0 resolves the issue

Thanks in advance

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