Update fast-sha256 dependency #1250
Labels
bug
For tagging faulty or unexpected behavior.
investigation-needed
Indication that the maintainer or involved community members may need to investigate more.
Is your feature request related to a problem? Please describe.
When building Angular 14 application with reference to
angular-oauth2-oidc
, the following warning occurs:\node_modules\angular-oauth2-oidc\fesm2015\angular-oauth2-oidc.mjs depends on 'fast-sha256'. CommonJS or AMD dependencies can cause optimization bailouts.
fast-sha256
dependency is a CommonJS library which prevents bundlers and minifiers from optimizing an application (according to Angular official doc)Describe the solution you'd like
Replace
fast-sha256
library with any other suitable counterpart which is built using ECMAScript modules feature.The text was updated successfully, but these errors were encountered: