How to fix angular deprecate whitelistedNonPeerDependencies in favor of allowedNonPeerDependencies

Viewed 1303

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.
1 Answers

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.

Related