Skip to content
This repository was archived by the owner on Jul 31, 2020. It is now read-only.

fix #161, update some outdated packages#162

Merged
ayumi merged 3 commits intostagingfrom
fix/161
Oct 6, 2017
Merged

fix #161, update some outdated packages#162
ayumi merged 3 commits intostagingfrom
fix/161

Conversation

@diracdeltas
Copy link
Member

  • migrates to using the shared crypto library https://github.com/brave/crypto
  • updates some outdated Node modules
  • uses npm with package-lock instead of yarn by default; see reasons in 0fffc14

Yarn kept breaking for me since it was installed from homebrew and required the homebrew version of npm, which sometimes doesn't work with browser-laptop. IMO most of its important functionality is available in NPM 5+. This repo should not require devs to have Yarn.
* @param {Uint8Array} nonce
* @param {Uint8Array} secretboxKey
* @returns {Uint8Array|boolean}
* @returns {Uint8Array?}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a change from tweetnacl 1.0.0 - see dchest/tweetnacl-js#132. AFAIK it only affected tests (which were fixed)

@diracdeltas diracdeltas requested a review from ayumi October 5, 2017 23:23
Copy link
Contributor

@ayumi ayumi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🦇 browser-laptop sync tests pass the same amount with this patch

@diracdeltas
Copy link
Member Author

@ayumi yay, feel free to merge and do a sync release whenever u want

@ayumi ayumi merged commit 9b801d4 into staging Oct 6, 2017
@ayumi ayumi deleted the fix/161 branch October 6, 2017 00:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants