How to fix angular deprecate whitelistedNonPeerDependencies in favor of allowedNonPeerDependencies
Asked Answered
C

1

5

I got the following warning in my cli and was wondering what was the new allowedNonPeerDependencies doing different.

WARNING: Option "whitelistedNonPeerDependencies" is deprecated: Use "allowedNonPeerDependencies" instead.
Cambridgeshire answered 23/3, 2021 at 7:34 Comment(0)
C
9

Basically we should only rename whitelistedNonPeerDependencies into allowedNonPeerDependencies into the package.json and ng-package.json files.

As said here it is to be "less racially charged" so nothing else to changes in the code.

Cambridgeshire answered 23/3, 2021 at 7:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.