fix: remove optional chainning for compatible with Nodejs12 and below by bugb · Pull Request #2470 · nodejs/undici (original) (raw)

This relates to...

There are a lot of packages those built on top of undici but they are still in Nodejs 12 or below so it can not use optional chainning.

See the issue: #2469

Rationale

To make sure that undici can work with Nodejs 12 or below.

Changes

Features

N/A

Bug Fixes

To fix the issue: #2469

Breaking Changes and Deprecations

n/a

Status