googleapis / googleapis/google-cloud-node
Support `google-auth-library` v10 as dependency to avoid conflicts when using together with `googleapis` >= 150
- Dominant language
- TypeScript
- Stars
- 3.2k
- Forks
- 712
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 99
Description
### 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 https://github.com/googleapis/google-api-nodejs-client/issues/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.
Contributor guide
Assessment
This issue has not been assessed yet.