bee-js icon indicating copy to clipboard operation
bee-js copied to clipboard

On `[email protected]` release remove legacy peer deps

Open AuHau opened this issue 2 years ago • 1 comments

With the Node 18 update that automatically comes with [email protected] this creates a problem for bee-js as in [email protected] was released fix that performs some new peer dependencies validation (see https://github.com/npm/cli/issues/4664) which unfortunately affects us as we are depending on [email protected], but the ky-universal has peer dependency definition >=2.0.0 which unfortunately does not incorporate pre-releases, so we are getting peer conflicts upon npm install or npm ci. The temporary solution is that I have enabled legacy peer dependency resolution and once the release [email protected] is out we should revert that and use the more strict current implementation.

AuHau avatar May 24 '22 10:05 AuHau

I have verified that this issue is not affecting normal users of this library that npm install it with the new NPM version. So this is only for the developers of bee-js.

AuHau avatar May 24 '22 10:05 AuHau