Skip to content

Support google-auth-library v10 as dependency to avoid conflicts when using together with googleapis >= 150 #2601

@sceee

Description

@sceee

A screenshot that you have tested with "Try this API".

This is not directly a feature request but a compatibility request to further ensure compatibility when using the googleapis package in v150 or higher in the same project.

What would you like to see in the library?

Support google-auth-library v10 as dependency in addition to the currently supported v9.

Describe alternatives you've considered

No response

Additional context/notes

As @google-cloud/storage requires google-auth-library@9 as dependency it creates a conflict when it is being used with googleapis@150 in the same project as googleapis@150 requires google-auth-library@10 as dependency.

This creates compile errors in typescript projects such as being reported here googleapis/google-api-nodejs-client#3677 :

Type 'GoogleAuth' is not assignable to type 'GoogleAuth'
Property '#private' in type 'GoogleAuth' refers to a different member that cannot be accessed from within type 'GoogleAuth'

Therefore I would prefer if @google-cloud/storage would support google-auth-library in v9 and v10 to resolve this conflict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: storageIssues related to the googleapis/nodejs-storage API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions