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

cry/md5.js and cry/sha256.js do not work in browser? #6

Open
hilbix opened this issue Aug 13, 2023 · 0 comments
Open

cry/md5.js and cry/sha256.js do not work in browser? #6

hilbix opened this issue Aug 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@hilbix
Copy link
Owner

hilbix commented Aug 13, 2023

I had trouble including those beasts. As a module. And not as a module. OTOH cry/md5c.js and cry/sha256c.js work. However not as a module, too.

I am currently undecided if this is a bug, a feature or just some incompatibility. NodeJS seems to be happy with both. For unknown reason (looks like require is a declared variable there, because we are 'use strict').

However I put it as a bug. Because it would be good to be able to load them as a module, which is not implemented in the *c.js variants and will never be implemented there.

But ..

.. this, again, means that I have to re-invent a wheel, because, AFAICS, babel leaves me without support here.

@hilbix hilbix added the bug Something isn't working label Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant