Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

refactor!: Circular dependencies - src/crypto/crypto.js and src/auth/pluggable-auth-client.js #1539

@nstuyvesant

Description

@nstuyvesant

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

  1. Is this a client library issue or a product issue?
    Client library

  2. Did someone already solve this?
    No

  3. Do you have a support contract?
    No

If the support paths suggested above still do not result in a resolution, please provide the following details.

Environment details

  • OS: macOS 13.3.1
  • Node.js version: 18.16.0
  • npm version: 9.6.4
  • google-auth-library version: 8.7.0

Steps to reproduce

  1. Examine the files listed below in sequence to see circular dependencies...
Circular dependency: node_modules/google-auth-library/build/src/crypto/crypto.js -> node_modules/google-auth-library/build/src/crypto/browser/crypto.js -> node_modules/google-auth-library/build/src/crypto/crypto.js
Circular dependency: node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js -> node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js -> node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js

Metadata

Metadata

Assignees

Labels

Breaking Changenext major: breaking changethis is a change that we should wait to bundle into the next major versionpriority: p3Desirable enhancement or fix. May not be included in next release.semver: majorHint for users that this is an API breaking change.type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions