gcp-metadata
gcp-metadata copied to clipboard
refactor: fastFailMetadataRequest to use Promise.any
Fixes #603 🦕
- Use
Promise.any
instead ofPromise.race
- Update target library to
es2021
in tsconfig.json
Added do not merge
until we upgrade to Node 16+.