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

Avoid Buffer and crypto dependencies #211

Merged
merged 1 commit into from
Aug 10, 2020
Merged

Avoid Buffer and crypto dependencies #211

merged 1 commit into from
Aug 10, 2020

Conversation

vvmnnnkv
Copy link
Member

@vvmnnnkv vvmnnnkv commented Aug 9, 2020

Description

Fixes #196.
Original problem is in buffer library, similar to aws-amplify/amplify-js#678
But since Buffer was used only for decoding/encoding base64, I removed its usage replacing with tiny library that does only base64. Same for crypto dependency - replaced it with utility func that creates random buffer.

Affected Dependencies

n/a

How has this been tested?

Created html file with TF.js and syft.js included, and MNIST example contents and checked it works.

Checklist

@vvmnnnkv vvmnnnkv added Type: Bug 🐛 Some functionality not working in the codebase as intended Severity: 1 - Critical 🔥 Causes a failure of the complete software system, subsystem or a program within the system Type: Improvement 📈 Performance improvement not introducing a new feature or requiring a major refactor labels Aug 9, 2020
@vvmnnnkv vvmnnnkv added this to the 0.3.0 milestone Aug 9, 2020
@vvmnnnkv vvmnnnkv added the Status: Review Needed 🙋 This needs someone to approve, deny, comment, or request changes label Aug 9, 2020
@cereallarceny cereallarceny merged commit 07950b4 into dev Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Severity: 1 - Critical 🔥 Causes a failure of the complete software system, subsystem or a program within the system Status: Review Needed 🙋 This needs someone to approve, deny, comment, or request changes Type: Bug 🐛 Some functionality not working in the codebase as intended Type: Improvement 📈 Performance improvement not introducing a new feature or requiring a major refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CDN version throws error when included on the page
2 participants