googleapis / googleapis/google-cloud-node
Deprecated node-domexception@1.0.0 in dependency tree via teeny-request → node-fetch@3
- Dominant language
- TypeScript
- Stars
- 3.2k
- Forks
- 712
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 99
Description
## Description
Installing `@google-cloud/bigquery@8.1.1` produces the following npm deprecation warning:
```
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
```
## Dependency chain
```
@google-cloud/bigquery@8.1.1
└── teeny-request@10.1.0
└── node-fetch@3.3.2
└── fetch-blob@3.2.0
└── node-domexception@1.0.0
```
## Context
`node-domexception` was deprecated in favor of the native `DOMException` available in Node.js 18+. Since `@google-cloud/bigquery` already requires Node.js ≥14 (and the ecosystem has moved to 18+ LTS), the dependency chain could be updated:
- `node-fetch@3` → consider replacing with native `fetch` (available since Node 18) or upgrading to a version that drops `node-domexception`
- Alternatively, bump `teeny-request` to a version that no longer depends on `node-fetch@3`
## Environment
- `@google-cloud/bigquery`: 8.1.1 (latest as of Jan 2026)
- Node.js: v22.x
- npm: 10.x
Contributor guide
Assessment
This issue has not been assessed yet.