Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sha-256 compilation warning #671

Open
peterpeterparker opened this issue Dec 18, 2022 · 0 comments
Open

sha-256 compilation warning #671

peterpeterparker opened this issue Dec 18, 2022 · 0 comments

Comments

@peterpeterparker
Copy link
Member

Describe the bug
Noticed this warning while building a dapp today:

transforming (182) node_modules/@dfinity/agent/lib/esm/canisters/management_idl.jsUse of eval in "node_modules/js-sha256/src/sha256.js" is strongly discouraged as it poses security risks and may cause issues with minification.
Use of eval in "node_modules/js-sha256/src/sha256.js" is strongly discouraged as it poses security risks and may cause issues with minification.
transforming (220) node_modules/@dfinity/candid/lib/esm/utils/bigint-math.jsUse of eval in "node_modules/js-sha256/src/sha256.js" is strongly discouraged as it poses security risks and may cause issues with minification.
Use of eval in "node_modules/js-sha256/src/sha256.js" is strongly discouraged as it poses security risks and may cause issues with minification.

Expected behavior
No security risk and no warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant